darthrevenge commited on
Commit
626144e
·
1 Parent(s): e0f3b6b

First Push

Browse files
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-SnowballTarget
9
+ library_name: ml-agents
10
+ ---
11
+
12
+ # **ppo** Agent playing **SnowballTarget**
13
+ This is a trained model of a **ppo** agent playing **SnowballTarget** 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-SnowballTarget
28
+ 2. Step 1: Write your model_id: darthrevenge/ppo-SnowballTarget
29
+ 3. Step 2: Select your *.nn /*.onnx file
30
+ 4. Click on Watch the agent play 👀
31
+
SnowballTarget.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bf4eb62bf23ddc5df41f7f4694e8effcf364931ad2decada554431664d9387a7
3
+ size 435711
SnowballTarget/SnowballTarget-49936.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:25b682cb5bae68425cb24c75717c302795515428e65beb91caa6578799fc7077
3
+ size 435711
SnowballTarget/SnowballTarget-49936.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:75e7fd5910ca8a9f8270158424ab81cabba05deaec20daef280ed700a52fbad7
3
+ size 2594434
SnowballTarget/SnowballTarget-90112.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bf4eb62bf23ddc5df41f7f4694e8effcf364931ad2decada554431664d9387a7
3
+ size 435711
SnowballTarget/SnowballTarget-90112.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed30dc32cd00001be01849ac219f1b0443aa7290fdc68af9d97b9aef7960cebd
3
+ size 2594434
SnowballTarget/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed30dc32cd00001be01849ac219f1b0443aa7290fdc68af9d97b9aef7960cebd
3
+ size 2594434
SnowballTarget/events.out.tfevents.1678404599.eva02.3381335.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bb67da2ae21e40ce1f86c1ef438e82404698da3bbefc8a7b8c362b01e51b7680
3
+ size 24160
config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"default_settings": null, "behaviors": {"SnowballTarget": {"trainer_type": "ppo", "hyperparameters": {"batch_size": 128, "buffer_size": 2048, "learning_rate": 0.0003, "beta": 0.005, "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": 192, "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}}}, "init_path": null, "keep_checkpoints": 10, "checkpoint_interval": 50000, "max_steps": 90000, "time_horizon": 64, "summary_freq": 10000, "threaded": true, "self_play": null, "behavioral_cloning": null}}, "env_settings": {"env_path": "./training-envs-executables/linux/SnowballTarget/SnowballTarget", "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": "SnowballTarget1", "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,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ default_settings: null
2
+ behaviors:
3
+ SnowballTarget:
4
+ trainer_type: ppo
5
+ hyperparameters:
6
+ batch_size: 128
7
+ buffer_size: 2048
8
+ learning_rate: 0.0003
9
+ beta: 0.005
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: 192
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
+ init_path: null
37
+ keep_checkpoints: 10
38
+ checkpoint_interval: 50000
39
+ max_steps: 90000
40
+ time_horizon: 64
41
+ summary_freq: 10000
42
+ threaded: true
43
+ self_play: null
44
+ behavioral_cloning: null
45
+ env_settings:
46
+ env_path: ./training-envs-executables/linux/SnowballTarget/SnowballTarget
47
+ env_args: null
48
+ base_port: 5005
49
+ num_envs: 1
50
+ num_areas: 1
51
+ seed: -1
52
+ max_lifetime_restarts: 10
53
+ restarts_rate_limit_n: 1
54
+ restarts_rate_limit_period_s: 60
55
+ engine_settings:
56
+ width: 84
57
+ height: 84
58
+ quality_level: 5
59
+ time_scale: 20
60
+ target_frame_rate: -1
61
+ capture_frame_rate: 60
62
+ no_graphics: true
63
+ environment_parameters: null
64
+ checkpoint_settings:
65
+ run_id: SnowballTarget1
66
+ initialize_from: null
67
+ load_model: false
68
+ resume: false
69
+ force: false
70
+ train_model: false
71
+ inference: false
72
+ results_dir: results
73
+ torch_settings:
74
+ device: null
75
+ debug: false
run_logs/Player-0.log ADDED
@@ -0,0 +1,352 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/data/nikita/deep-rl-class/unit4/ml-agents/training-envs-executables/linux/SnowballTarget/SnowballTarget_Data/Managed'
2
+ Mono config path = '/data/nikita/deep-rl-class/unit4/ml-agents/training-envs-executables/linux/SnowballTarget/SnowballTarget_Data/MonoBleedingEdge/etc'
3
+ Preloaded 'lib_burst_generated.so'
4
+ Preloaded 'libgrpc_csharp_ext.x64.so'
5
+ PlayerPrefs - Creating folder: /home/ikari/.config/unity3d/Hugging Face
6
+ PlayerPrefs - Creating folder: /home/ikari/.config/unity3d/Hugging Face/SnowballTarget
7
+ Unable to load player prefs
8
+ Initialize engine version: 2021.3.14f1 (eee1884e7226)
9
+ [Subsystems] Discovering subsystems at path /data/nikita/deep-rl-class/unit4/ml-agents/training-envs-executables/linux/SnowballTarget/SnowballTarget_Data/UnitySubsystems
10
+ Forcing GfxDevice: Null
11
+ GfxDevice: creating device client; threaded=0; jobified=0
12
+ NullGfxDevice:
13
+ Version: NULL 1.0 [1.0]
14
+ Renderer: Null Device
15
+ Vendor: Unity Technologies
16
+ Begin MonoManager ReloadAssembly
17
+ - Completed reload, in 0.090 seconds
18
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
19
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
20
+ ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
21
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
22
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
23
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
24
+ ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
25
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
26
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
27
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
28
+ UnloadTime: 1.256982 ms
29
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
30
+ requesting resize 84 x 84
31
+ Setting up 12 worker threads for Enlighten.
32
+ Memory Statistics:
33
+ [ALLOC_TEMP_TLS] TLS Allocator
34
+ StackAllocators :
35
+ [ALLOC_TEMP_MAIN]
36
+ Peak usage frame count: [8.0 KB-16.0 KB]: 2417 frames, [16.0 KB-32.0 KB]: 40 frames, [2.0 MB-4.0 MB]: 1 frames
37
+ Initial Block Size 4.0 MB
38
+ Current Block Size 4.0 MB
39
+ Peak Allocated Bytes 2.0 MB
40
+ Overflow Count 0
41
+ [ALLOC_TEMP_Job.Worker 18]
42
+ Initial Block Size 256.0 KB
43
+ Current Block Size 256.0 KB
44
+ Peak Allocated Bytes 3.6 KB
45
+ Overflow Count 0
46
+ [ALLOC_TEMP_Loading.PreloadManager]
47
+ Initial Block Size 256.0 KB
48
+ Current Block Size 304.0 KB
49
+ Peak Allocated Bytes 228.9 KB
50
+ Overflow Count 4
51
+ [ALLOC_TEMP_Background Job.Worker 8]
52
+ Initial Block Size 32.0 KB
53
+ Current Block Size 32.0 KB
54
+ Peak Allocated Bytes 0 B
55
+ Overflow Count 0
56
+ [ALLOC_TEMP_Background Job.Worker 10]
57
+ Initial Block Size 32.0 KB
58
+ Current Block Size 32.0 KB
59
+ Peak Allocated Bytes 0 B
60
+ Overflow Count 0
61
+ [ALLOC_TEMP_Job.Worker 16]
62
+ Initial Block Size 256.0 KB
63
+ Current Block Size 256.0 KB
64
+ Peak Allocated Bytes 3.6 KB
65
+ Overflow Count 0
66
+ [ALLOC_TEMP_Background Job.Worker 6]
67
+ Initial Block Size 32.0 KB
68
+ Current Block Size 32.0 KB
69
+ Peak Allocated Bytes 0 B
70
+ Overflow Count 0
71
+ [ALLOC_TEMP_Job.Worker 4]
72
+ Initial Block Size 256.0 KB
73
+ Current Block Size 256.0 KB
74
+ Peak Allocated Bytes 3.6 KB
75
+ Overflow Count 0
76
+ [ALLOC_TEMP_Job.Worker 17]
77
+ Initial Block Size 256.0 KB
78
+ Current Block Size 256.0 KB
79
+ Peak Allocated Bytes 3.6 KB
80
+ Overflow Count 0
81
+ [ALLOC_TEMP_Job.Worker 14]
82
+ Initial Block Size 256.0 KB
83
+ Current Block Size 256.0 KB
84
+ Peak Allocated Bytes 3.6 KB
85
+ Overflow Count 0
86
+ [ALLOC_TEMP_Job.Worker 3]
87
+ Initial Block Size 256.0 KB
88
+ Current Block Size 256.0 KB
89
+ Peak Allocated Bytes 3.6 KB
90
+ Overflow Count 0
91
+ [ALLOC_TEMP_Background Job.Worker 12]
92
+ Initial Block Size 32.0 KB
93
+ Current Block Size 32.0 KB
94
+ Peak Allocated Bytes 0 B
95
+ Overflow Count 0
96
+ [ALLOC_TEMP_Background Job.Worker 1]
97
+ Initial Block Size 32.0 KB
98
+ Current Block Size 32.0 KB
99
+ Peak Allocated Bytes 0 B
100
+ Overflow Count 0
101
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 23
102
+ Initial Block Size 64.0 KB
103
+ Current Block Size 64.0 KB
104
+ Peak Allocated Bytes 0 B
105
+ Overflow Count 0
106
+ [ALLOC_TEMP_Background Job.Worker 5]
107
+ Initial Block Size 32.0 KB
108
+ Current Block Size 32.0 KB
109
+ Peak Allocated Bytes 0 B
110
+ Overflow Count 0
111
+ [ALLOC_TEMP_Background Job.Worker 13]
112
+ Initial Block Size 32.0 KB
113
+ Current Block Size 32.0 KB
114
+ Peak Allocated Bytes 0 B
115
+ Overflow Count 0
116
+ [ALLOC_TEMP_Background Job.Worker 11]
117
+ Initial Block Size 32.0 KB
118
+ Current Block Size 32.0 KB
119
+ Peak Allocated Bytes 0 B
120
+ Overflow Count 0
121
+ [ALLOC_TEMP_Job.Worker 2]
122
+ Initial Block Size 256.0 KB
123
+ Current Block Size 256.0 KB
124
+ Peak Allocated Bytes 3.6 KB
125
+ Overflow Count 0
126
+ [ALLOC_TEMP_Background Job.Worker 3]
127
+ Initial Block Size 32.0 KB
128
+ Current Block Size 32.0 KB
129
+ Peak Allocated Bytes 0 B
130
+ Overflow Count 0
131
+ [ALLOC_TEMP_Background Job.Worker 0]
132
+ Initial Block Size 32.0 KB
133
+ Current Block Size 32.0 KB
134
+ Peak Allocated Bytes 0 B
135
+ Overflow Count 0
136
+ [ALLOC_TEMP_Job.Worker 20]
137
+ Initial Block Size 256.0 KB
138
+ Current Block Size 256.0 KB
139
+ Peak Allocated Bytes 3.6 KB
140
+ Overflow Count 0
141
+ [ALLOC_TEMP_Job.Worker 11]
142
+ Initial Block Size 256.0 KB
143
+ Current Block Size 256.0 KB
144
+ Peak Allocated Bytes 3.6 KB
145
+ Overflow Count 0
146
+ [ALLOC_TEMP_Background Job.Worker 4]
147
+ Initial Block Size 32.0 KB
148
+ Current Block Size 32.0 KB
149
+ Peak Allocated Bytes 0 B
150
+ Overflow Count 0
151
+ [ALLOC_TEMP_BatchDeleteObjects]
152
+ Initial Block Size 64.0 KB
153
+ Current Block Size 64.0 KB
154
+ Peak Allocated Bytes 0 B
155
+ Overflow Count 0
156
+ [ALLOC_TEMP_Job.Worker 6]
157
+ Initial Block Size 256.0 KB
158
+ Current Block Size 256.0 KB
159
+ Peak Allocated Bytes 3.6 KB
160
+ Overflow Count 0
161
+ [ALLOC_TEMP_Job.Worker 0]
162
+ Initial Block Size 256.0 KB
163
+ Current Block Size 256.0 KB
164
+ Peak Allocated Bytes 3.6 KB
165
+ Overflow Count 0
166
+ [ALLOC_TEMP_Job.Worker 21]
167
+ Initial Block Size 256.0 KB
168
+ Current Block Size 256.0 KB
169
+ Peak Allocated Bytes 3.6 KB
170
+ Overflow Count 0
171
+ [ALLOC_TEMP_Job.Worker 5]
172
+ Initial Block Size 256.0 KB
173
+ Current Block Size 256.0 KB
174
+ Peak Allocated Bytes 3.6 KB
175
+ Overflow Count 0
176
+ [ALLOC_TEMP_Background Job.Worker 9]
177
+ Initial Block Size 32.0 KB
178
+ Current Block Size 32.0 KB
179
+ Peak Allocated Bytes 0 B
180
+ Overflow Count 0
181
+ [ALLOC_TEMP_Background Job.Worker 14]
182
+ Initial Block Size 32.0 KB
183
+ Current Block Size 32.0 KB
184
+ Peak Allocated Bytes 0 B
185
+ Overflow Count 0
186
+ [ALLOC_TEMP_Job.Worker 13]
187
+ Initial Block Size 256.0 KB
188
+ Current Block Size 256.0 KB
189
+ Peak Allocated Bytes 3.6 KB
190
+ Overflow Count 0
191
+ [ALLOC_TEMP_EnlightenWorker] x 12
192
+ Initial Block Size 64.0 KB
193
+ Current Block Size 64.0 KB
194
+ Peak Allocated Bytes 0 B
195
+ Overflow Count 0
196
+ [ALLOC_TEMP_Background Job.Worker 15]
197
+ Initial Block Size 32.0 KB
198
+ Current Block Size 32.0 KB
199
+ Peak Allocated Bytes 0 B
200
+ Overflow Count 0
201
+ [ALLOC_TEMP_Background Job.Worker 2]
202
+ Initial Block Size 32.0 KB
203
+ Current Block Size 32.0 KB
204
+ Peak Allocated Bytes 0 B
205
+ Overflow Count 0
206
+ [ALLOC_TEMP_Background Job.Worker 7]
207
+ Initial Block Size 32.0 KB
208
+ Current Block Size 32.0 KB
209
+ Peak Allocated Bytes 0 B
210
+ Overflow Count 0
211
+ [ALLOC_TEMP_Job.Worker 22]
212
+ Initial Block Size 256.0 KB
213
+ Current Block Size 256.0 KB
214
+ Peak Allocated Bytes 3.6 KB
215
+ Overflow Count 0
216
+ [ALLOC_TEMP_Job.Worker 9]
217
+ Initial Block Size 256.0 KB
218
+ Current Block Size 256.0 KB
219
+ Peak Allocated Bytes 3.6 KB
220
+ Overflow Count 0
221
+ [ALLOC_TEMP_Job.Worker 8]
222
+ Initial Block Size 256.0 KB
223
+ Current Block Size 256.0 KB
224
+ Peak Allocated Bytes 3.6 KB
225
+ Overflow Count 0
226
+ [ALLOC_TEMP_Job.Worker 7]
227
+ Initial Block Size 256.0 KB
228
+ Current Block Size 256.0 KB
229
+ Peak Allocated Bytes 3.6 KB
230
+ Overflow Count 0
231
+ [ALLOC_TEMP_Job.Worker 1]
232
+ Initial Block Size 256.0 KB
233
+ Current Block Size 256.0 KB
234
+ Peak Allocated Bytes 3.6 KB
235
+ Overflow Count 0
236
+ [ALLOC_TEMP_Job.Worker 10]
237
+ Initial Block Size 256.0 KB
238
+ Current Block Size 256.0 KB
239
+ Peak Allocated Bytes 3.6 KB
240
+ Overflow Count 0
241
+ [ALLOC_TEMP_Job.Worker 15]
242
+ Initial Block Size 256.0 KB
243
+ Current Block Size 256.0 KB
244
+ Peak Allocated Bytes 3.6 KB
245
+ Overflow Count 0
246
+ [ALLOC_TEMP_Job.Worker 19]
247
+ Initial Block Size 256.0 KB
248
+ Current Block Size 256.0 KB
249
+ Peak Allocated Bytes 3.6 KB
250
+ Overflow Count 0
251
+ [ALLOC_TEMP_Job.Worker 12]
252
+ Initial Block Size 256.0 KB
253
+ Current Block Size 256.0 KB
254
+ Peak Allocated Bytes 3.6 KB
255
+ Overflow Count 0
256
+ [ALLOC_TEMP_Loading.AsyncRead]
257
+ Initial Block Size 64.0 KB
258
+ Current Block Size 64.0 KB
259
+ Peak Allocated Bytes 246 B
260
+ Overflow Count 0
261
+ [ALLOC_DEFAULT] Dual Thread Allocator
262
+ Peak main deferred allocation count 44
263
+ [ALLOC_BUCKET]
264
+ Large Block size 4.0 MB
265
+ Used Block count 1
266
+ Peak Allocated bytes 1.0 MB
267
+ [ALLOC_DEFAULT_MAIN]
268
+ Peak usage frame count: [4.0 MB-8.0 MB]: 2458 frames
269
+ Requested Block Size 16.0 MB
270
+ Peak Block count 1
271
+ Peak Allocated memory 6.3 MB
272
+ Peak Large allocation bytes 0 B
273
+ [ALLOC_DEFAULT_THREAD]
274
+ Peak usage frame count: [16.0 MB-32.0 MB]: 2458 frames
275
+ Requested Block Size 16.0 MB
276
+ Peak Block count 1
277
+ Peak Allocated memory 17.5 MB
278
+ Peak Large allocation bytes 16.0 MB
279
+ [ALLOC_TEMP_JOB_1_FRAME]
280
+ Initial Block Size 2.0 MB
281
+ Used Block Count 1
282
+ Overflow Count (too large) 0
283
+ Overflow Count (full) 0
284
+ [ALLOC_TEMP_JOB_2_FRAMES]
285
+ Initial Block Size 2.0 MB
286
+ Used Block Count 1
287
+ Overflow Count (too large) 0
288
+ Overflow Count (full) 0
289
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
290
+ Initial Block Size 2.0 MB
291
+ Used Block Count 2
292
+ Overflow Count (too large) 0
293
+ Overflow Count (full) 0
294
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
295
+ Initial Block Size 1.0 MB
296
+ Used Block Count 3
297
+ Overflow Count (too large) 0
298
+ Overflow Count (full) 0
299
+ [ALLOC_GFX] Dual Thread Allocator
300
+ Peak main deferred allocation count 0
301
+ [ALLOC_BUCKET]
302
+ Large Block size 4.0 MB
303
+ Used Block count 1
304
+ Peak Allocated bytes 1.0 MB
305
+ [ALLOC_GFX_MAIN]
306
+ Peak usage frame count: [32.0 KB-64.0 KB]: 1380 frames, [64.0 KB-128.0 KB]: 1078 frames
307
+ Requested Block Size 16.0 MB
308
+ Peak Block count 1
309
+ Peak Allocated memory 68.2 KB
310
+ Peak Large allocation bytes 0 B
311
+ [ALLOC_GFX_THREAD]
312
+ Peak usage frame count: [32.0 KB-64.0 KB]: 2458 frames
313
+ Requested Block Size 16.0 MB
314
+ Peak Block count 1
315
+ Peak Allocated memory 39.6 KB
316
+ Peak Large allocation bytes 0 B
317
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
318
+ Peak main deferred allocation count 0
319
+ [ALLOC_BUCKET]
320
+ Large Block size 4.0 MB
321
+ Used Block count 1
322
+ Peak Allocated bytes 1.0 MB
323
+ [ALLOC_CACHEOBJECTS_MAIN]
324
+ Peak usage frame count: [0.5 MB-1.0 MB]: 2458 frames
325
+ Requested Block Size 4.0 MB
326
+ Peak Block count 1
327
+ Peak Allocated memory 0.6 MB
328
+ Peak Large allocation bytes 0 B
329
+ [ALLOC_CACHEOBJECTS_THREAD]
330
+ Peak usage frame count: [0.5 MB-1.0 MB]: 2457 frames, [2.0 MB-4.0 MB]: 1 frames
331
+ Requested Block Size 4.0 MB
332
+ Peak Block count 1
333
+ Peak Allocated memory 2.2 MB
334
+ Peak Large allocation bytes 0 B
335
+ [ALLOC_TYPETREE] Dual Thread Allocator
336
+ Peak main deferred allocation count 0
337
+ [ALLOC_BUCKET]
338
+ Large Block size 4.0 MB
339
+ Used Block count 1
340
+ Peak Allocated bytes 1.0 MB
341
+ [ALLOC_TYPETREE_MAIN]
342
+ Peak usage frame count: [0-1.0 KB]: 2458 frames
343
+ Requested Block Size 2.0 MB
344
+ Peak Block count 1
345
+ Peak Allocated memory 1.0 KB
346
+ Peak Large allocation bytes 0 B
347
+ [ALLOC_TYPETREE_THREAD]
348
+ Peak usage frame count: [1.0 KB-2.0 KB]: 2458 frames
349
+ Requested Block Size 2.0 MB
350
+ Peak Block count 1
351
+ Peak Allocated memory 1.7 KB
352
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,384 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "SnowballTarget.Policy.Entropy.mean": {
5
+ "value": 1.7582496404647827,
6
+ "min": 1.7582496404647827,
7
+ "max": 2.8732705116271973,
8
+ "count": 9
9
+ },
10
+ "SnowballTarget.Policy.Entropy.sum": {
11
+ "value": 16710.404296875,
12
+ "min": 16710.404296875,
13
+ "max": 29330.345703125,
14
+ "count": 9
15
+ },
16
+ "SnowballTarget.Step.mean": {
17
+ "value": 89984.0,
18
+ "min": 9952.0,
19
+ "max": 89984.0,
20
+ "count": 9
21
+ },
22
+ "SnowballTarget.Step.sum": {
23
+ "value": 89984.0,
24
+ "min": 9952.0,
25
+ "max": 89984.0,
26
+ "count": 9
27
+ },
28
+ "SnowballTarget.Policy.ExtrinsicValueEstimate.mean": {
29
+ "value": 6.881193161010742,
30
+ "min": 0.2905563712120056,
31
+ "max": 6.881193161010742,
32
+ "count": 9
33
+ },
34
+ "SnowballTarget.Policy.ExtrinsicValueEstimate.sum": {
35
+ "value": 1341.8326416015625,
36
+ "min": 56.36793518066406,
37
+ "max": 1341.8326416015625,
38
+ "count": 9
39
+ },
40
+ "SnowballTarget.Environment.EpisodeLength.mean": {
41
+ "value": 199.0,
42
+ "min": 199.0,
43
+ "max": 199.0,
44
+ "count": 9
45
+ },
46
+ "SnowballTarget.Environment.EpisodeLength.sum": {
47
+ "value": 8756.0,
48
+ "min": 8756.0,
49
+ "max": 10945.0,
50
+ "count": 9
51
+ },
52
+ "SnowballTarget.Losses.PolicyLoss.mean": {
53
+ "value": 0.06985484212985765,
54
+ "min": 0.06412071222867406,
55
+ "max": 0.07342298536341153,
56
+ "count": 9
57
+ },
58
+ "SnowballTarget.Losses.PolicyLoss.sum": {
59
+ "value": 0.2794193685194306,
60
+ "min": 0.2668068508839996,
61
+ "max": 0.35563840620406884,
62
+ "count": 9
63
+ },
64
+ "SnowballTarget.Losses.ValueLoss.mean": {
65
+ "value": 0.2580464796400538,
66
+ "min": 0.1461484599721563,
67
+ "max": 0.29191161920042596,
68
+ "count": 9
69
+ },
70
+ "SnowballTarget.Losses.ValueLoss.sum": {
71
+ "value": 1.0321859185602151,
72
+ "min": 0.5845938398886252,
73
+ "max": 1.45955809600213,
74
+ "count": 9
75
+ },
76
+ "SnowballTarget.Policy.LearningRate.mean": {
77
+ "value": 1.7960094013333337e-05,
78
+ "min": 1.7960094013333337e-05,
79
+ "max": 0.0002819600060133333,
80
+ "count": 9
81
+ },
82
+ "SnowballTarget.Policy.LearningRate.sum": {
83
+ "value": 7.184037605333335e-05,
84
+ "min": 7.184037605333335e-05,
85
+ "max": 0.0012448000850666665,
86
+ "count": 9
87
+ },
88
+ "SnowballTarget.Policy.Epsilon.mean": {
89
+ "value": 0.10598666666666667,
90
+ "min": 0.10598666666666667,
91
+ "max": 0.1939866666666667,
92
+ "count": 9
93
+ },
94
+ "SnowballTarget.Policy.Epsilon.sum": {
95
+ "value": 0.4239466666666667,
96
+ "min": 0.4239466666666667,
97
+ "max": 0.9149333333333333,
98
+ "count": 9
99
+ },
100
+ "SnowballTarget.Policy.Beta.mean": {
101
+ "value": 0.0003087346666666668,
102
+ "min": 0.0003087346666666668,
103
+ "max": 0.004699934666666667,
104
+ "count": 9
105
+ },
106
+ "SnowballTarget.Policy.Beta.sum": {
107
+ "value": 0.0012349386666666673,
108
+ "min": 0.0012349386666666673,
109
+ "max": 0.020755173333333335,
110
+ "count": 9
111
+ },
112
+ "SnowballTarget.Environment.CumulativeReward.mean": {
113
+ "value": 14.772727272727273,
114
+ "min": 3.909090909090909,
115
+ "max": 14.772727272727273,
116
+ "count": 9
117
+ },
118
+ "SnowballTarget.Environment.CumulativeReward.sum": {
119
+ "value": 650.0,
120
+ "min": 172.0,
121
+ "max": 812.0,
122
+ "count": 9
123
+ },
124
+ "SnowballTarget.Policy.ExtrinsicReward.mean": {
125
+ "value": 14.772727272727273,
126
+ "min": 3.909090909090909,
127
+ "max": 14.772727272727273,
128
+ "count": 9
129
+ },
130
+ "SnowballTarget.Policy.ExtrinsicReward.sum": {
131
+ "value": 650.0,
132
+ "min": 172.0,
133
+ "max": 812.0,
134
+ "count": 9
135
+ },
136
+ "SnowballTarget.IsTraining.mean": {
137
+ "value": 1.0,
138
+ "min": 1.0,
139
+ "max": 1.0,
140
+ "count": 9
141
+ },
142
+ "SnowballTarget.IsTraining.sum": {
143
+ "value": 1.0,
144
+ "min": 1.0,
145
+ "max": 1.0,
146
+ "count": 9
147
+ }
148
+ },
149
+ "metadata": {
150
+ "timer_format_version": "0.1.0",
151
+ "start_time_seconds": "1678404598",
152
+ "python_version": "3.8.16 (default, Mar 2 2023, 03:21:46) \n[GCC 11.2.0]",
153
+ "command_line_arguments": "/home/ikari/miniconda3/envs/unity/bin/mlagents-learn ./config/ppo/SnowballTarget.yaml --env=./training-envs-executables/linux/SnowballTarget/SnowballTarget --run-id=SnowballTarget1 --no-graphics",
154
+ "mlagents_version": "0.29.0.dev0",
155
+ "mlagents_envs_version": "0.29.0.dev0",
156
+ "communication_protocol_version": "1.5.0",
157
+ "pytorch_version": "1.8.1+cu102",
158
+ "numpy_version": "1.23.5",
159
+ "end_time_seconds": "1678405249"
160
+ },
161
+ "total": 650.312900009565,
162
+ "count": 1,
163
+ "self": 0.2700703917071223,
164
+ "children": {
165
+ "run_training.setup": {
166
+ "total": 0.009441652335226536,
167
+ "count": 1,
168
+ "self": 0.009441652335226536
169
+ },
170
+ "TrainerController.start_learning": {
171
+ "total": 650.0333879655227,
172
+ "count": 1,
173
+ "self": 0.2312399549409747,
174
+ "children": {
175
+ "TrainerController._reset_env": {
176
+ "total": 2.7830329472199082,
177
+ "count": 1,
178
+ "self": 2.7830329472199082
179
+ },
180
+ "TrainerController.advance": {
181
+ "total": 646.9452639510855,
182
+ "count": 8193,
183
+ "self": 0.10732761956751347,
184
+ "children": {
185
+ "env_step": {
186
+ "total": 646.837936331518,
187
+ "count": 8193,
188
+ "self": 610.2038674978539,
189
+ "children": {
190
+ "SubprocessEnvManager._take_step": {
191
+ "total": 36.524221491999924,
192
+ "count": 8193,
193
+ "self": 0.5574217159301043,
194
+ "children": {
195
+ "TorchPolicy.evaluate": {
196
+ "total": 35.96679977606982,
197
+ "count": 8193,
198
+ "self": 10.072846656665206,
199
+ "children": {
200
+ "TorchPolicy.sample_actions": {
201
+ "total": 25.893953119404614,
202
+ "count": 8193,
203
+ "self": 25.893953119404614
204
+ }
205
+ }
206
+ }
207
+ }
208
+ },
209
+ "workers": {
210
+ "total": 0.10984734166413546,
211
+ "count": 8193,
212
+ "self": 0.0,
213
+ "children": {
214
+ "worker_root": {
215
+ "total": 649.6689202757552,
216
+ "count": 8193,
217
+ "is_parallel": true,
218
+ "self": 54.26923300419003,
219
+ "children": {
220
+ "run_training.setup": {
221
+ "total": 0.0,
222
+ "count": 0,
223
+ "is_parallel": true,
224
+ "self": 0.0,
225
+ "children": {
226
+ "steps_from_proto": {
227
+ "total": 0.0026355786249041557,
228
+ "count": 1,
229
+ "is_parallel": true,
230
+ "self": 0.0006427997723221779,
231
+ "children": {
232
+ "_process_rank_one_or_two_observation": {
233
+ "total": 0.001992778852581978,
234
+ "count": 10,
235
+ "is_parallel": true,
236
+ "self": 0.001992778852581978
237
+ }
238
+ }
239
+ },
240
+ "UnityEnvironment.step": {
241
+ "total": 0.11102177947759628,
242
+ "count": 1,
243
+ "is_parallel": true,
244
+ "self": 0.0001742178574204445,
245
+ "children": {
246
+ "UnityEnvironment._generate_step_input": {
247
+ "total": 0.0037980694323778152,
248
+ "count": 1,
249
+ "is_parallel": true,
250
+ "self": 0.0037980694323778152
251
+ },
252
+ "communicator.exchange": {
253
+ "total": 0.10582990106195211,
254
+ "count": 1,
255
+ "is_parallel": true,
256
+ "self": 0.10582990106195211
257
+ },
258
+ "steps_from_proto": {
259
+ "total": 0.0012195911258459091,
260
+ "count": 1,
261
+ "is_parallel": true,
262
+ "self": 0.00023738760501146317,
263
+ "children": {
264
+ "_process_rank_one_or_two_observation": {
265
+ "total": 0.000982203520834446,
266
+ "count": 10,
267
+ "is_parallel": true,
268
+ "self": 0.000982203520834446
269
+ }
270
+ }
271
+ }
272
+ }
273
+ }
274
+ }
275
+ },
276
+ "UnityEnvironment.step": {
277
+ "total": 595.3996872715652,
278
+ "count": 8192,
279
+ "is_parallel": true,
280
+ "self": 1.4022328099235892,
281
+ "children": {
282
+ "UnityEnvironment._generate_step_input": {
283
+ "total": 6.712042492814362,
284
+ "count": 8192,
285
+ "is_parallel": true,
286
+ "self": 6.712042492814362
287
+ },
288
+ "communicator.exchange": {
289
+ "total": 573.1448611896485,
290
+ "count": 8192,
291
+ "is_parallel": true,
292
+ "self": 573.1448611896485
293
+ },
294
+ "steps_from_proto": {
295
+ "total": 14.140550779178739,
296
+ "count": 8192,
297
+ "is_parallel": true,
298
+ "self": 2.4001528108492494,
299
+ "children": {
300
+ "_process_rank_one_or_two_observation": {
301
+ "total": 11.74039796832949,
302
+ "count": 81920,
303
+ "is_parallel": true,
304
+ "self": 11.74039796832949
305
+ }
306
+ }
307
+ }
308
+ }
309
+ }
310
+ }
311
+ }
312
+ }
313
+ }
314
+ }
315
+ }
316
+ }
317
+ },
318
+ "trainer_threads": {
319
+ "total": 0.0002156272530555725,
320
+ "count": 1,
321
+ "self": 0.0002156272530555725,
322
+ "children": {
323
+ "thread_root": {
324
+ "total": 0.0,
325
+ "count": 0,
326
+ "is_parallel": true,
327
+ "self": 0.0,
328
+ "children": {
329
+ "trainer_advance": {
330
+ "total": 638.4095737310126,
331
+ "count": 1142249,
332
+ "is_parallel": true,
333
+ "self": 20.734978548251092,
334
+ "children": {
335
+ "process_trajectory": {
336
+ "total": 469.41368334461004,
337
+ "count": 1142249,
338
+ "is_parallel": true,
339
+ "self": 469.19344600476325,
340
+ "children": {
341
+ "RLTrainer._checkpoint": {
342
+ "total": 0.22023733984678984,
343
+ "count": 1,
344
+ "is_parallel": true,
345
+ "self": 0.22023733984678984
346
+ }
347
+ }
348
+ },
349
+ "_update_policy": {
350
+ "total": 148.26091183815151,
351
+ "count": 40,
352
+ "is_parallel": true,
353
+ "self": 13.538019889965653,
354
+ "children": {
355
+ "TorchPPOOptimizer.update": {
356
+ "total": 134.72289194818586,
357
+ "count": 2037,
358
+ "is_parallel": true,
359
+ "self": 134.72289194818586
360
+ }
361
+ }
362
+ }
363
+ }
364
+ }
365
+ }
366
+ }
367
+ }
368
+ },
369
+ "TrainerController._save_models": {
370
+ "total": 0.07363548502326012,
371
+ "count": 1,
372
+ "self": 0.00046004634350538254,
373
+ "children": {
374
+ "RLTrainer._checkpoint": {
375
+ "total": 0.07317543867975473,
376
+ "count": 1,
377
+ "self": 0.07317543867975473
378
+ }
379
+ }
380
+ }
381
+ }
382
+ }
383
+ }
384
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SnowballTarget": {
3
+ "checkpoints": [
4
+ {
5
+ "steps": 49936,
6
+ "file_path": "results/SnowballTarget1/SnowballTarget/SnowballTarget-49936.onnx",
7
+ "reward": 12.0,
8
+ "creation_time": 1678404972.8353922,
9
+ "auxillary_file_paths": [
10
+ "results/SnowballTarget1/SnowballTarget/SnowballTarget-49936.pt"
11
+ ]
12
+ },
13
+ {
14
+ "steps": 90112,
15
+ "file_path": "results/SnowballTarget1/SnowballTarget/SnowballTarget-90112.onnx",
16
+ "reward": 14.727272727272727,
17
+ "creation_time": 1678405248.830123,
18
+ "auxillary_file_paths": [
19
+ "results/SnowballTarget1/SnowballTarget/SnowballTarget-90112.pt"
20
+ ]
21
+ }
22
+ ],
23
+ "final_checkpoint": {
24
+ "steps": 90112,
25
+ "file_path": "results/SnowballTarget1/SnowballTarget.onnx",
26
+ "reward": 14.727272727272727,
27
+ "creation_time": 1678405248.830123,
28
+ "auxillary_file_paths": [
29
+ "results/SnowballTarget1/SnowballTarget/SnowballTarget-90112.pt"
30
+ ]
31
+ }
32
+ },
33
+ "metadata": {
34
+ "stats_format_version": "0.3.0",
35
+ "mlagents_version": "0.29.0.dev0",
36
+ "torch_version": "1.8.1+cu102"
37
+ }
38
+ }