zzen0008 commited on
Commit
008f830
·
1 Parent(s): 590555f

First Commit

Browse files
Pyramids.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e1642f96db95f8cfa9e5a299a74af4fa2c046fbe3351be5ae145fac7dbff3275
3
+ size 1420238
Pyramids/Pyramids-29901.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e1642f96db95f8cfa9e5a299a74af4fa2c046fbe3351be5ae145fac7dbff3275
3
+ size 1420238
Pyramids/Pyramids-29901.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:35e9d88774c9ea2d055fa53a988925160f8e916d8cace6cd7c751e9fb5693a3e
3
+ size 8655647
Pyramids/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a175f39512ada8f28818156992c38909c129627e61817aa723c1d69dd512c10
3
+ size 8655339
Pyramids/events.out.tfevents.1678424656.ZZDev.341750.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1dde01524ad680c03b3238b3953f57da08b50e3a2ba39482415f654cc3606a61
3
+ size 2034
README.md ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ tags:
4
+ - unity-ml-agents
5
+ - ml-agents
6
+ - deep-reinforcement-learning
7
+ - reinforcement-learning
8
+ - ML-Agents-Pyramids
9
+ library_name: ml-agents
10
+ ---
11
+
12
+ # **ppo** Agent playing **Pyramids**
13
+ This is a trained model of a **ppo** agent playing **Pyramids** using the [Unity ML-Agents Library](https://github.com/Unity-Technologies/ml-agents).
14
+
15
+ ## Usage (with ML-Agents)
16
+ The Documentation: https://github.com/huggingface/ml-agents#get-started
17
+ We wrote a complete tutorial to learn to train your first agent using ML-Agents and publish it to the Hub:
18
+
19
+
20
+ ### Resume the training
21
+ ```
22
+ mlagents-learn <your_configuration_file_path.yaml> --run-id=<run_id> --resume
23
+ ```
24
+ ### Watch your Agent play
25
+ You can watch your agent **playing directly in your browser:**.
26
+
27
+ 1. Go to https://huggingface.co/spaces/unity/ML-Agents-Pyramids
28
+ 2. Step 1: Write your model_id: zzen0008/PyramidsRND
29
+ 3. Step 2: Select your *.nn /*.onnx file
30
+ 4. Click on Watch the agent play 👀
31
+
config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"default_settings": null, "behaviors": {"Pyramids": {"trainer_type": "ppo", "hyperparameters": {"batch_size": 128, "buffer_size": 2048, "learning_rate": 0.0003, "beta": 0.01, "epsilon": 0.2, "lambd": 0.95, "num_epoch": 3, "learning_rate_schedule": "linear", "beta_schedule": "linear", "epsilon_schedule": "linear"}, "network_settings": {"normalize": false, "hidden_units": 512, "num_layers": 2, "vis_encode_type": "simple", "memory": null, "goal_conditioning_type": "hyper", "deterministic": false}, "reward_signals": {"extrinsic": {"gamma": 0.99, "strength": 1.0, "network_settings": {"normalize": false, "hidden_units": 128, "num_layers": 2, "vis_encode_type": "simple", "memory": null, "goal_conditioning_type": "hyper", "deterministic": false}}, "rnd": {"gamma": 0.99, "strength": 0.01, "network_settings": {"normalize": false, "hidden_units": 64, "num_layers": 3, "vis_encode_type": "simple", "memory": null, "goal_conditioning_type": "hyper", "deterministic": false}, "learning_rate": 0.0001, "encoding_size": null}}, "init_path": null, "keep_checkpoints": 5, "checkpoint_interval": 500000, "max_steps": 3000000, "time_horizon": 128, "summary_freq": 30000, "threaded": false, "self_play": null, "behavioral_cloning": null}}, "env_settings": {"env_path": "./training-envs-executables/linux/Pyramids/Pyramids", "env_args": null, "base_port": 5005, "num_envs": 1, "num_areas": 1, "seed": -1, "max_lifetime_restarts": 10, "restarts_rate_limit_n": 1, "restarts_rate_limit_period_s": 60}, "engine_settings": {"width": 84, "height": 84, "quality_level": 5, "time_scale": 20, "target_frame_rate": -1, "capture_frame_rate": 60, "no_graphics": true}, "environment_parameters": null, "checkpoint_settings": {"run_id": "Pyramids Training", "initialize_from": null, "load_model": false, "resume": false, "force": false, "train_model": false, "inference": false, "results_dir": "results"}, "torch_settings": {"device": null}, "debug": false}
configuration.yaml ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ default_settings: null
2
+ behaviors:
3
+ Pyramids:
4
+ trainer_type: ppo
5
+ hyperparameters:
6
+ batch_size: 128
7
+ buffer_size: 2048
8
+ learning_rate: 0.0003
9
+ beta: 0.01
10
+ epsilon: 0.2
11
+ lambd: 0.95
12
+ num_epoch: 3
13
+ learning_rate_schedule: linear
14
+ beta_schedule: linear
15
+ epsilon_schedule: linear
16
+ network_settings:
17
+ normalize: false
18
+ hidden_units: 512
19
+ num_layers: 2
20
+ vis_encode_type: simple
21
+ memory: null
22
+ goal_conditioning_type: hyper
23
+ deterministic: false
24
+ reward_signals:
25
+ extrinsic:
26
+ gamma: 0.99
27
+ strength: 1.0
28
+ network_settings:
29
+ normalize: false
30
+ hidden_units: 128
31
+ num_layers: 2
32
+ vis_encode_type: simple
33
+ memory: null
34
+ goal_conditioning_type: hyper
35
+ deterministic: false
36
+ rnd:
37
+ gamma: 0.99
38
+ strength: 0.01
39
+ network_settings:
40
+ normalize: false
41
+ hidden_units: 64
42
+ num_layers: 3
43
+ vis_encode_type: simple
44
+ memory: null
45
+ goal_conditioning_type: hyper
46
+ deterministic: false
47
+ learning_rate: 0.0001
48
+ encoding_size: null
49
+ init_path: null
50
+ keep_checkpoints: 5
51
+ checkpoint_interval: 500000
52
+ max_steps: 3000000
53
+ time_horizon: 128
54
+ summary_freq: 30000
55
+ threaded: false
56
+ self_play: null
57
+ behavioral_cloning: null
58
+ env_settings:
59
+ env_path: ./training-envs-executables/linux/Pyramids/Pyramids
60
+ env_args: null
61
+ base_port: 5005
62
+ num_envs: 1
63
+ num_areas: 1
64
+ seed: -1
65
+ max_lifetime_restarts: 10
66
+ restarts_rate_limit_n: 1
67
+ restarts_rate_limit_period_s: 60
68
+ engine_settings:
69
+ width: 84
70
+ height: 84
71
+ quality_level: 5
72
+ time_scale: 20
73
+ target_frame_rate: -1
74
+ capture_frame_rate: 60
75
+ no_graphics: true
76
+ environment_parameters: null
77
+ checkpoint_settings:
78
+ run_id: Pyramids Training
79
+ initialize_from: null
80
+ load_model: false
81
+ resume: false
82
+ force: false
83
+ train_model: false
84
+ inference: false
85
+ results_dir: results
86
+ torch_settings:
87
+ device: null
88
+ debug: false
run_logs/Player-0.log ADDED
@@ -0,0 +1,407 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/home/zz/DOD/DeepRL/HuggingFaceCourse/Introduction_to_Unity_ML_Agents/ml-agents/training-envs-executables/linux/Pyramids/Pyramids_Data/Managed'
2
+ Mono config path = '/home/zz/DOD/DeepRL/HuggingFaceCourse/Introduction_to_Unity_ML_Agents/ml-agents/training-envs-executables/linux/Pyramids/Pyramids_Data/MonoBleedingEdge/etc'
3
+ Found 4 interfaces on host : 0) 192.168.1.196 1) 10.42.0.1 2) 172.17.0.1 3) 172.18.0.1
4
+ Multi-casting "[IP] 192.168.1.196 [Port] 55483 [Flags] 2 [Guid] 1310654761 [EditorId] 764847374 [Version] 1048832 [Id] LinuxPlayer(13,192.168.1.196) [Debug] 0 [PackageName] LinuxPlayer [ProjectName] UnityEnvironment" to [225.0.0.222:54997]...
5
+ Preloaded 'lib_burst_generated.so'
6
+ Preloaded 'libgrpc_csharp_ext.x64.so'
7
+ PlayerPrefs - Creating folder: /home/zz/.config/unity3d/Unity Technologies
8
+ PlayerPrefs - Creating folder: /home/zz/.config/unity3d/Unity Technologies/UnityEnvironment
9
+ Unable to load player prefs
10
+ Initialize engine version: 2021.3.5f1 (40eb3a945986)
11
+ [Subsystems] Discovering subsystems at path /home/zz/DOD/DeepRL/HuggingFaceCourse/Introduction_to_Unity_ML_Agents/ml-agents/training-envs-executables/linux/Pyramids/Pyramids_Data/UnitySubsystems
12
+ Forcing GfxDevice: Null
13
+ GfxDevice: creating device client; threaded=0; jobified=0
14
+ NullGfxDevice:
15
+ Version: NULL 1.0 [1.0]
16
+ Renderer: Null Device
17
+ Vendor: Unity Technologies
18
+ Begin MonoManager ReloadAssembly
19
+ - Completed reload, in 0.059 seconds
20
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
21
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
22
+ ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
23
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
24
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
25
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
26
+ ERROR: Shader Autodesk Interactive shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
27
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
28
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
29
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
30
+ WARNING: Shader Unsupported: 'Legacy Shaders/Diffuse' - All subshaders removed
31
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
32
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
33
+ ERROR: Shader Legacy Shaders/Diffuse shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
34
+ WARNING: Shader Unsupported: 'Legacy Shaders/Diffuse' - All subshaders removed
35
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
36
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
37
+ WARNING: Shader Unsupported: 'ML-Agents/GridPattern' - All subshaders removed
38
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
39
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
40
+ ERROR: Shader ML-Agents/GridPattern shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
41
+ WARNING: Shader Unsupported: 'ML-Agents/GridPattern' - All subshaders removed
42
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
43
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
44
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
45
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
46
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
47
+ ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
48
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
49
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
50
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
51
+ UnloadTime: 0.567003 ms
52
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
53
+ requesting resize 84 x 84
54
+ Setting up 12 worker threads for Enlighten.
55
+ PlayerConnection::CleanupMemory Statistics:
56
+ [ALLOC_TEMP_TLS] TLS Allocator
57
+ StackAllocators :
58
+ [ALLOC_TEMP_MAIN]
59
+ Peak usage frame count: [16.0 KB-32.0 KB]: 228 frames, [32.0 KB-64.0 KB]: 326 frames, [64.0 KB-128.0 KB]: 14 frames, [2.0 MB-4.0 MB]: 1 frames
60
+ Initial Block Size 4.0 MB
61
+ Current Block Size 4.0 MB
62
+ Peak Allocated Bytes 2.0 MB
63
+ Overflow Count 0
64
+ [ALLOC_TEMP_Job.Worker 18]
65
+ Initial Block Size 256.0 KB
66
+ Current Block Size 256.0 KB
67
+ Peak Allocated Bytes 0 B
68
+ Overflow Count 0
69
+ [ALLOC_TEMP_Background Job.Worker 8]
70
+ Initial Block Size 32.0 KB
71
+ Current Block Size 32.0 KB
72
+ Peak Allocated Bytes 0 B
73
+ Overflow Count 0
74
+ [ALLOC_TEMP_Job.Worker 4]
75
+ Initial Block Size 256.0 KB
76
+ Current Block Size 256.0 KB
77
+ Peak Allocated Bytes 0 B
78
+ Overflow Count 0
79
+ [ALLOC_TEMP_Background Job.Worker 11]
80
+ Initial Block Size 32.0 KB
81
+ Current Block Size 32.0 KB
82
+ Peak Allocated Bytes 0 B
83
+ Overflow Count 0
84
+ [ALLOC_TEMP_Background Job.Worker 3]
85
+ Initial Block Size 32.0 KB
86
+ Current Block Size 32.0 KB
87
+ Peak Allocated Bytes 0 B
88
+ Overflow Count 0
89
+ [ALLOC_TEMP_BatchDeleteObjects]
90
+ Initial Block Size 64.0 KB
91
+ Current Block Size 64.0 KB
92
+ Peak Allocated Bytes 0 B
93
+ Overflow Count 0
94
+ [ALLOC_TEMP_Job.Worker 21]
95
+ Initial Block Size 256.0 KB
96
+ Current Block Size 256.0 KB
97
+ Peak Allocated Bytes 0 B
98
+ Overflow Count 0
99
+ [ALLOC_TEMP_Job.Worker 13]
100
+ Initial Block Size 256.0 KB
101
+ Current Block Size 256.0 KB
102
+ Peak Allocated Bytes 0 B
103
+ Overflow Count 0
104
+ [ALLOC_TEMP_Background Job.Worker 2]
105
+ Initial Block Size 32.0 KB
106
+ Current Block Size 32.0 KB
107
+ Peak Allocated Bytes 0 B
108
+ Overflow Count 0
109
+ [ALLOC_TEMP_Job.Worker 22]
110
+ Initial Block Size 256.0 KB
111
+ Current Block Size 256.0 KB
112
+ Peak Allocated Bytes 0 B
113
+ Overflow Count 0
114
+ [ALLOC_TEMP_Job.Worker 10]
115
+ Initial Block Size 256.0 KB
116
+ Current Block Size 256.0 KB
117
+ Peak Allocated Bytes 0 B
118
+ Overflow Count 0
119
+ [ALLOC_TEMP_Job.Worker 15]
120
+ Initial Block Size 256.0 KB
121
+ Current Block Size 256.0 KB
122
+ Peak Allocated Bytes 0 B
123
+ Overflow Count 0
124
+ [ALLOC_TEMP_Job.Worker 12]
125
+ Initial Block Size 256.0 KB
126
+ Current Block Size 256.0 KB
127
+ Peak Allocated Bytes 0 B
128
+ Overflow Count 0
129
+ [ALLOC_TEMP_Loading.PreloadManager]
130
+ Initial Block Size 256.0 KB
131
+ Current Block Size 320.0 KB
132
+ Peak Allocated Bytes 251.6 KB
133
+ Overflow Count 4
134
+ [ALLOC_TEMP_AUDIO_FMOD PulseAudio Mixer]
135
+ Initial Block Size 64.0 KB
136
+ Current Block Size 64.0 KB
137
+ Peak Allocated Bytes 0 B
138
+ Overflow Count 0
139
+ [ALLOC_TEMP_Job.Worker 14]
140
+ Initial Block Size 256.0 KB
141
+ Current Block Size 256.0 KB
142
+ Peak Allocated Bytes 0 B
143
+ Overflow Count 0
144
+ [ALLOC_TEMP_Job.Worker 3]
145
+ Initial Block Size 256.0 KB
146
+ Current Block Size 256.0 KB
147
+ Peak Allocated Bytes 0 B
148
+ Overflow Count 0
149
+ [ALLOC_TEMP_Profiler.Dispatcher]
150
+ Initial Block Size 64.0 KB
151
+ Current Block Size 64.0 KB
152
+ Peak Allocated Bytes 0 B
153
+ Overflow Count 0
154
+ [ALLOC_TEMP_Job.Worker 17]
155
+ Initial Block Size 256.0 KB
156
+ Current Block Size 256.0 KB
157
+ Peak Allocated Bytes 0 B
158
+ Overflow Count 0
159
+ [ALLOC_TEMP_Background Job.Worker 5]
160
+ Initial Block Size 32.0 KB
161
+ Current Block Size 32.0 KB
162
+ Peak Allocated Bytes 0 B
163
+ Overflow Count 0
164
+ [ALLOC_TEMP_Background Job.Worker 13]
165
+ Initial Block Size 32.0 KB
166
+ Current Block Size 32.0 KB
167
+ Peak Allocated Bytes 0 B
168
+ Overflow Count 0
169
+ [ALLOC_TEMP_Job.Worker 2]
170
+ Initial Block Size 256.0 KB
171
+ Current Block Size 256.0 KB
172
+ Peak Allocated Bytes 0 B
173
+ Overflow Count 0
174
+ [ALLOC_TEMP_Job.Worker 11]
175
+ Initial Block Size 256.0 KB
176
+ Current Block Size 256.0 KB
177
+ Peak Allocated Bytes 0 B
178
+ Overflow Count 0
179
+ [ALLOC_TEMP_Job.Worker 0]
180
+ Initial Block Size 256.0 KB
181
+ Current Block Size 256.0 KB
182
+ Peak Allocated Bytes 0 B
183
+ Overflow Count 0
184
+ [ALLOC_TEMP_Job.Worker 5]
185
+ Initial Block Size 256.0 KB
186
+ Current Block Size 256.0 KB
187
+ Peak Allocated Bytes 0.8 KB
188
+ Overflow Count 0
189
+ [ALLOC_TEMP_Job.Worker 6]
190
+ Initial Block Size 256.0 KB
191
+ Current Block Size 256.0 KB
192
+ Peak Allocated Bytes 0 B
193
+ Overflow Count 0
194
+ [ALLOC_TEMP_EnlightenWorker] x 12
195
+ Initial Block Size 64.0 KB
196
+ Current Block Size 64.0 KB
197
+ Peak Allocated Bytes 0 B
198
+ Overflow Count 0
199
+ [ALLOC_TEMP_Job.Worker 9]
200
+ Initial Block Size 256.0 KB
201
+ Current Block Size 256.0 KB
202
+ Peak Allocated Bytes 0 B
203
+ Overflow Count 0
204
+ [ALLOC_TEMP_Background Job.Worker 9]
205
+ Initial Block Size 32.0 KB
206
+ Current Block Size 32.0 KB
207
+ Peak Allocated Bytes 0 B
208
+ Overflow Count 0
209
+ [ALLOC_TEMP_Loading.AsyncRead]
210
+ Initial Block Size 64.0 KB
211
+ Current Block Size 64.0 KB
212
+ Peak Allocated Bytes 161 B
213
+ Overflow Count 0
214
+ [ALLOC_TEMP_Background Job.Worker 10]
215
+ Initial Block Size 32.0 KB
216
+ Current Block Size 32.0 KB
217
+ Peak Allocated Bytes 0 B
218
+ Overflow Count 0
219
+ [ALLOC_TEMP_Job.Worker 16]
220
+ Initial Block Size 256.0 KB
221
+ Current Block Size 256.0 KB
222
+ Peak Allocated Bytes 0 B
223
+ Overflow Count 0
224
+ [ALLOC_TEMP_Background Job.Worker 6]
225
+ Initial Block Size 32.0 KB
226
+ Current Block Size 32.0 KB
227
+ Peak Allocated Bytes 0 B
228
+ Overflow Count 0
229
+ [ALLOC_TEMP_Background Job.Worker 1]
230
+ Initial Block Size 32.0 KB
231
+ Current Block Size 32.0 KB
232
+ Peak Allocated Bytes 0 B
233
+ Overflow Count 0
234
+ [ALLOC_TEMP_Job.Worker 20]
235
+ Initial Block Size 256.0 KB
236
+ Current Block Size 256.0 KB
237
+ Peak Allocated Bytes 0 B
238
+ Overflow Count 0
239
+ [ALLOC_TEMP_AUDIO_FMOD stream thread]
240
+ Initial Block Size 64.0 KB
241
+ Current Block Size 64.0 KB
242
+ Peak Allocated Bytes 0 B
243
+ Overflow Count 0
244
+ [ALLOC_TEMP_Background Job.Worker 15]
245
+ Initial Block Size 32.0 KB
246
+ Current Block Size 32.0 KB
247
+ Peak Allocated Bytes 0 B
248
+ Overflow Count 0
249
+ [ALLOC_TEMP_Background Job.Worker 7]
250
+ Initial Block Size 32.0 KB
251
+ Current Block Size 32.0 KB
252
+ Peak Allocated Bytes 0 B
253
+ Overflow Count 0
254
+ [ALLOC_TEMP_Job.Worker 8]
255
+ Initial Block Size 256.0 KB
256
+ Current Block Size 256.0 KB
257
+ Peak Allocated Bytes 0 B
258
+ Overflow Count 0
259
+ [ALLOC_TEMP_Job.Worker 1]
260
+ Initial Block Size 256.0 KB
261
+ Current Block Size 256.0 KB
262
+ Peak Allocated Bytes 0 B
263
+ Overflow Count 0
264
+ [ALLOC_TEMP_Background Job.Worker 12]
265
+ Initial Block Size 32.0 KB
266
+ Current Block Size 32.0 KB
267
+ Peak Allocated Bytes 0 B
268
+ Overflow Count 0
269
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 23
270
+ Initial Block Size 64.0 KB
271
+ Current Block Size 64.0 KB
272
+ Peak Allocated Bytes 0 B
273
+ Overflow Count 0
274
+ [ALLOC_TEMP_Background Job.Worker 0]
275
+ Initial Block Size 32.0 KB
276
+ Current Block Size 32.0 KB
277
+ Peak Allocated Bytes 0 B
278
+ Overflow Count 0
279
+ [ALLOC_TEMP_Background Job.Worker 4]
280
+ Initial Block Size 32.0 KB
281
+ Current Block Size 32.0 KB
282
+ Peak Allocated Bytes 0 B
283
+ Overflow Count 0
284
+ [ALLOC_TEMP_Background Job.Worker 14]
285
+ Initial Block Size 32.0 KB
286
+ Current Block Size 32.0 KB
287
+ Peak Allocated Bytes 0 B
288
+ Overflow Count 0
289
+ [ALLOC_TEMP_Job.Worker 7]
290
+ Initial Block Size 256.0 KB
291
+ Current Block Size 256.0 KB
292
+ Peak Allocated Bytes 0 B
293
+ Overflow Count 0
294
+ [ALLOC_TEMP_Job.Worker 19]
295
+ Initial Block Size 256.0 KB
296
+ Current Block Size 256.0 KB
297
+ Peak Allocated Bytes 0 B
298
+ Overflow Count 0
299
+ [ALLOC_MEMORYPROFILER]
300
+ Peak usage frame count: [0.5 MB-1.0 MB]: 299 frames, [1.0 MB-2.0 MB]: 270 frames
301
+ Requested Block Size 1.0 MB
302
+ Peak Block count 2
303
+ Peak Allocated memory 1.6 MB
304
+ Peak Large allocation bytes 0 B
305
+ [ALLOC_DEFAULT] Dual Thread Allocator
306
+ Peak main deferred allocation count 3221
307
+ [ALLOC_BUCKET]
308
+ Large Block size 4.0 MB
309
+ Used Block count 1
310
+ Peak Allocated bytes 1.7 MB
311
+ [ALLOC_DEFAULT_MAIN]
312
+ Peak usage frame count: [8.0 MB-16.0 MB]: 1 frames, [16.0 MB-32.0 MB]: 568 frames
313
+ Requested Block Size 16.0 MB
314
+ Peak Block count 2
315
+ Peak Allocated memory 27.8 MB
316
+ Peak Large allocation bytes 0 B
317
+ [ALLOC_DEFAULT_THREAD]
318
+ Peak usage frame count: [16.0 MB-32.0 MB]: 569 frames
319
+ Requested Block Size 16.0 MB
320
+ Peak Block count 1
321
+ Peak Allocated memory 29.6 MB
322
+ Peak Large allocation bytes 16.0 MB
323
+ [ALLOC_TEMP_JOB_1_FRAME]
324
+ Initial Block Size 2.0 MB
325
+ Used Block Count 1
326
+ Overflow Count (too large) 0
327
+ Overflow Count (full) 0
328
+ [ALLOC_TEMP_JOB_2_FRAMES]
329
+ Initial Block Size 2.0 MB
330
+ Used Block Count 1
331
+ Overflow Count (too large) 0
332
+ Overflow Count (full) 0
333
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
334
+ Initial Block Size 2.0 MB
335
+ Used Block Count 2
336
+ Overflow Count (too large) 0
337
+ Overflow Count (full) 0
338
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
339
+ Initial Block Size 1.0 MB
340
+ Used Block Count 3
341
+ Overflow Count (too large) 0
342
+ Overflow Count (full) 0
343
+ [ALLOC_GFX] Dual Thread Allocator
344
+ Peak main deferred allocation count 0
345
+ [ALLOC_BUCKET]
346
+ Large Block size 4.0 MB
347
+ Used Block count 1
348
+ Peak Allocated bytes 1.7 MB
349
+ [ALLOC_GFX_MAIN]
350
+ Peak usage frame count: [32.0 KB-64.0 KB]: 568 frames, [64.0 KB-128.0 KB]: 1 frames
351
+ Requested Block Size 16.0 MB
352
+ Peak Block count 1
353
+ Peak Allocated memory 67.0 KB
354
+ Peak Large allocation bytes 0 B
355
+ [ALLOC_GFX_THREAD]
356
+ Peak usage frame count: [64.0 KB-128.0 KB]: 569 frames
357
+ Requested Block Size 16.0 MB
358
+ Peak Block count 1
359
+ Peak Allocated memory 67.7 KB
360
+ Peak Large allocation bytes 0 B
361
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
362
+ Peak main deferred allocation count 1
363
+ [ALLOC_BUCKET]
364
+ Large Block size 4.0 MB
365
+ Used Block count 1
366
+ Peak Allocated bytes 1.7 MB
367
+ [ALLOC_CACHEOBJECTS_MAIN]
368
+ Peak usage frame count: [0.5 MB-1.0 MB]: 299 frames, [1.0 MB-2.0 MB]: 270 frames
369
+ Requested Block Size 4.0 MB
370
+ Peak Block count 1
371
+ Peak Allocated memory 1.4 MB
372
+ Peak Large allocation bytes 0 B
373
+ [ALLOC_CACHEOBJECTS_THREAD]
374
+ Peak usage frame count: [1.0 MB-2.0 MB]: 568 frames, [4.0 MB-8.0 MB]: 1 frames
375
+ Requested Block Size 4.0 MB
376
+ Peak Block count 2
377
+ Peak Allocated memory 4.7 MB
378
+ Peak Large allocation bytes 0 B
379
+ [ALLOC_TYPETREE] Dual Thread Allocator
380
+ Peak main deferred allocation count 0
381
+ [ALLOC_BUCKET]
382
+ Large Block size 4.0 MB
383
+ Used Block count 1
384
+ Peak Allocated bytes 1.7 MB
385
+ [ALLOC_TYPETREE_MAIN]
386
+ Peak usage frame count: [0-1.0 KB]: 569 frames
387
+ Requested Block Size 2.0 MB
388
+ Peak Block count 1
389
+ Peak Allocated memory 1.0 KB
390
+ Peak Large allocation bytes 0 B
391
+ [ALLOC_TYPETREE_THREAD]
392
+ Peak usage frame count: [1.0 KB-2.0 KB]: 569 frames
393
+ Requested Block Size 2.0 MB
394
+ Peak Block count 1
395
+ Peak Allocated memory 1.9 KB
396
+ Peak Large allocation bytes 0 B
397
+ [ALLOC_PROFILER]
398
+ Peak usage frame count: [32.0 KB-64.0 KB]: 569 frames
399
+ Requested Block Size 16.0 MB
400
+ Peak Block count 1
401
+ Peak Allocated memory 47.1 KB
402
+ Peak Large allocation bytes 0 B
403
+ [ALLOC_PROFILER_BUCKET]
404
+ Large Block size 4.0 MB
405
+ Used Block count 1
406
+ Peak Allocated bytes 396 B
407
+ ##utp:{"type":"MemoryLeaks","version":2,"phase":"Immediate","time":1678424697341,"processId":341856,"allocatedMemory":1998379,"memoryLabels":[{"Default":9033},{"Permanent":1264},{"NewDelete":12801},{"Thread":35076},{"Manager":29071},{"VertexData":12},{"Geometry":280},{"Texture":16},{"Shader":69173},{"Material":24},{"GfxDevice":35248},{"Animation":304},{"Audio":3976},{"Physics":288},{"Serialization":216},{"Input":9176},{"JobScheduler":200},{"Mono":40},{"ScriptingNativeRuntime":216},{"BaseObject":1609212},{"Resource":592},{"Renderer":1936},{"Transform":48},{"File":800},{"WebCam":24},{"Culling":40},{"Terrain":953},{"Wind":24},{"String":3633},{"DynamicArray":30868},{"HashMap":7680},{"Utility":10336},{"PoolAlloc":1160},{"TypeTree":1792},{"ScriptManager":80},{"RuntimeInitializeOnLoadManager":72},{"SpriteAtlas":112},{"GI":3272},{"Unet":16},{"Director":7760},{"WebRequest":720},{"VR":45473},{"SceneManager":424},{"Video":32},{"LazyScriptCache":32},{"NativeArray":384},{"Camera":25},{"Secure":1},{"SerializationCache":624},{"APIUpdating":5872},{"Subsystems":384},{"VirtualTexturing":57552},{"AssetReference":32}]}
run_logs/timers.json ADDED
@@ -0,0 +1,211 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "metadata": {
4
+ "timer_format_version": "0.1.0",
5
+ "start_time_seconds": "1678424655",
6
+ "python_version": "3.8.14 (default, Mar 10 2023, 14:51:15) \n[GCC 10.2.1 20210110]",
7
+ "command_line_arguments": "/home/zz/.pyenv/versions/3.8.14/bin/mlagents-learn ./config/ppo/PyramidsRND.yaml --env=./training-envs-executables/linux/Pyramids/Pyramids --run-id=Pyramids Training --no-graphics",
8
+ "mlagents_version": "0.29.0.dev0",
9
+ "mlagents_envs_version": "0.29.0.dev0",
10
+ "communication_protocol_version": "1.5.0",
11
+ "pytorch_version": "1.13.1+cu117",
12
+ "numpy_version": "1.24.2",
13
+ "end_time_seconds": "1678424697"
14
+ },
15
+ "total": 41.98362304200418,
16
+ "count": 1,
17
+ "self": 0.2702634320012294,
18
+ "children": {
19
+ "run_training.setup": {
20
+ "total": 0.01751701900502667,
21
+ "count": 1,
22
+ "self": 0.01751701900502667
23
+ },
24
+ "TrainerController.start_learning": {
25
+ "total": 41.69584259099793,
26
+ "count": 1,
27
+ "self": 0.022200065897777677,
28
+ "children": {
29
+ "TrainerController._reset_env": {
30
+ "total": 1.4811971639865078,
31
+ "count": 1,
32
+ "self": 1.4811971639865078
33
+ },
34
+ "TrainerController.advance": {
35
+ "total": 40.13959640311077,
36
+ "count": 1897,
37
+ "self": 0.022880050295498222,
38
+ "children": {
39
+ "env_step": {
40
+ "total": 23.578684275853448,
41
+ "count": 1897,
42
+ "self": 21.29206355236238,
43
+ "children": {
44
+ "SubprocessEnvManager._take_step": {
45
+ "total": 2.2726031048805453,
46
+ "count": 1897,
47
+ "self": 0.0738019131240435,
48
+ "children": {
49
+ "TorchPolicy.evaluate": {
50
+ "total": 2.198801191756502,
51
+ "count": 1896,
52
+ "self": 0.606906324333977,
53
+ "children": {
54
+ "TorchPolicy.sample_actions": {
55
+ "total": 1.5918948674225248,
56
+ "count": 1896,
57
+ "self": 1.5918948674225248
58
+ }
59
+ }
60
+ }
61
+ }
62
+ },
63
+ "workers": {
64
+ "total": 0.014017618610523641,
65
+ "count": 1897,
66
+ "self": 0.0,
67
+ "children": {
68
+ "worker_root": {
69
+ "total": 41.445293958997354,
70
+ "count": 1897,
71
+ "is_parallel": true,
72
+ "self": 22.234656119486317,
73
+ "children": {
74
+ "run_training.setup": {
75
+ "total": 0.0,
76
+ "count": 0,
77
+ "is_parallel": true,
78
+ "self": 0.0,
79
+ "children": {
80
+ "steps_from_proto": {
81
+ "total": 0.001890157989691943,
82
+ "count": 1,
83
+ "is_parallel": true,
84
+ "self": 0.00048540992429479957,
85
+ "children": {
86
+ "_process_rank_one_or_two_observation": {
87
+ "total": 0.0014047480653971434,
88
+ "count": 8,
89
+ "is_parallel": true,
90
+ "self": 0.0014047480653971434
91
+ }
92
+ }
93
+ },
94
+ "UnityEnvironment.step": {
95
+ "total": 0.029134173993952572,
96
+ "count": 1,
97
+ "is_parallel": true,
98
+ "self": 0.0004963880055584013,
99
+ "children": {
100
+ "UnityEnvironment._generate_step_input": {
101
+ "total": 0.0004337410209700465,
102
+ "count": 1,
103
+ "is_parallel": true,
104
+ "self": 0.0004337410209700465
105
+ },
106
+ "communicator.exchange": {
107
+ "total": 0.0268685239716433,
108
+ "count": 1,
109
+ "is_parallel": true,
110
+ "self": 0.0268685239716433
111
+ },
112
+ "steps_from_proto": {
113
+ "total": 0.0013355209957808256,
114
+ "count": 1,
115
+ "is_parallel": true,
116
+ "self": 0.00029113516211509705,
117
+ "children": {
118
+ "_process_rank_one_or_two_observation": {
119
+ "total": 0.0010443858336657286,
120
+ "count": 8,
121
+ "is_parallel": true,
122
+ "self": 0.0010443858336657286
123
+ }
124
+ }
125
+ }
126
+ }
127
+ }
128
+ }
129
+ },
130
+ "UnityEnvironment.step": {
131
+ "total": 19.210637839511037,
132
+ "count": 1896,
133
+ "is_parallel": true,
134
+ "self": 0.8284600864863023,
135
+ "children": {
136
+ "UnityEnvironment._generate_step_input": {
137
+ "total": 0.5830911239027046,
138
+ "count": 1896,
139
+ "is_parallel": true,
140
+ "self": 0.5830911239027046
141
+ },
142
+ "communicator.exchange": {
143
+ "total": 15.700612506538164,
144
+ "count": 1896,
145
+ "is_parallel": true,
146
+ "self": 15.700612506538164
147
+ },
148
+ "steps_from_proto": {
149
+ "total": 2.098474122583866,
150
+ "count": 1896,
151
+ "is_parallel": true,
152
+ "self": 0.4237532202969305,
153
+ "children": {
154
+ "_process_rank_one_or_two_observation": {
155
+ "total": 1.6747209022869356,
156
+ "count": 15168,
157
+ "is_parallel": true,
158
+ "self": 1.6747209022869356
159
+ }
160
+ }
161
+ }
162
+ }
163
+ }
164
+ }
165
+ }
166
+ }
167
+ }
168
+ }
169
+ },
170
+ "trainer_advance": {
171
+ "total": 16.538032076961827,
172
+ "count": 1897,
173
+ "self": 0.02513096365146339,
174
+ "children": {
175
+ "process_trajectory": {
176
+ "total": 3.4005981103982776,
177
+ "count": 1897,
178
+ "self": 3.4005981103982776
179
+ },
180
+ "_update_policy": {
181
+ "total": 13.112303002912086,
182
+ "count": 7,
183
+ "self": 4.897420126071665,
184
+ "children": {
185
+ "TorchPPOOptimizer.update": {
186
+ "total": 8.21488287684042,
187
+ "count": 663,
188
+ "self": 8.21488287684042
189
+ }
190
+ }
191
+ }
192
+ }
193
+ }
194
+ }
195
+ },
196
+ "TrainerController._save_models": {
197
+ "total": 0.05284895800286904,
198
+ "count": 1,
199
+ "self": 0.0009193419828079641,
200
+ "children": {
201
+ "RLTrainer._checkpoint": {
202
+ "total": 0.051929616020061076,
203
+ "count": 1,
204
+ "self": 0.051929616020061076
205
+ }
206
+ }
207
+ }
208
+ }
209
+ }
210
+ }
211
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Pyramids": {
3
+ "checkpoints": [
4
+ {
5
+ "steps": 29901,
6
+ "file_path": "results/Pyramids Training/Pyramids/Pyramids-29901.onnx",
7
+ "reward": 1.1559999883174896,
8
+ "creation_time": 1678424697.101012,
9
+ "auxillary_file_paths": [
10
+ "results/Pyramids Training/Pyramids/Pyramids-29901.pt"
11
+ ]
12
+ }
13
+ ],
14
+ "final_checkpoint": {
15
+ "steps": 29901,
16
+ "file_path": "results/Pyramids Training/Pyramids.onnx",
17
+ "reward": 1.1559999883174896,
18
+ "creation_time": 1678424697.101012,
19
+ "auxillary_file_paths": [
20
+ "results/Pyramids Training/Pyramids/Pyramids-29901.pt"
21
+ ]
22
+ }
23
+ },
24
+ "metadata": {
25
+ "stats_format_version": "0.3.0",
26
+ "mlagents_version": "0.29.0.dev0",
27
+ "torch_version": "1.13.1+cu117"
28
+ }
29
+ }