serkanBurakOrs commited on
Commit
2dc8c6f
1 Parent(s): 462156f

First Push

Browse files
README.md CHANGED
@@ -8,21 +8,27 @@ tags:
8
  ---
9
 
10
  # **ppo** Agent playing **SnowballTarget**
11
- This is a trained model of a **ppo** agent playing **SnowballTarget** using the [Unity ML-Agents Library](https://github.com/Unity-Technologies/ml-agents).
12
-
 
13
  ## Usage (with ML-Agents)
14
- The Documentation: https://github.com/huggingface/ml-agents#get-started
15
- We wrote a complete tutorial to learn to train your first agent using ML-Agents and publish it to the Hub:
16
 
 
 
 
 
 
17
 
18
  ### Resume the training
19
- ```
20
  mlagents-learn <your_configuration_file_path.yaml> --run-id=<run_id> --resume
21
  ```
 
22
  ### Watch your Agent play
23
- You can watch your agent **playing directly in your browser:**.
24
-
25
- 1. Go to https://huggingface.co/spaces/unity/ML-Agents-SnowballTarget
26
  2. Step 1: Find your model_id: serkanBurakOrs/ppo-SnowballTarget
27
  3. Step 2: Select your *.nn /*.onnx file
28
  4. Click on Watch the agent play 👀
 
8
  ---
9
 
10
  # **ppo** Agent playing **SnowballTarget**
11
+ This is a trained model of a **ppo** agent playing **SnowballTarget**
12
+ using the [Unity ML-Agents Library](https://github.com/Unity-Technologies/ml-agents).
13
+
14
  ## Usage (with ML-Agents)
15
+ The Documentation: https://unity-technologies.github.io/ml-agents/ML-Agents-Toolkit-Documentation/
 
16
 
17
+ We wrote a complete tutorial to learn to train your first agent using ML-Agents and publish it to the Hub:
18
+ - A *short tutorial* where you teach Huggy the Dog 🐶 to fetch the stick and then play with him directly in your
19
+ browser: https://huggingface.co/learn/deep-rl-course/unitbonus1/introduction
20
+ - A *longer tutorial* to understand how works ML-Agents:
21
+ https://huggingface.co/learn/deep-rl-course/unit5/introduction
22
 
23
  ### Resume the training
24
+ ```bash
25
  mlagents-learn <your_configuration_file_path.yaml> --run-id=<run_id> --resume
26
  ```
27
+
28
  ### Watch your Agent play
29
+ You can watch your agent **playing directly in your browser**
30
+
31
+ 1. If the environment is part of ML-Agents official environments, go to https://huggingface.co/unity
32
  2. Step 1: Find your model_id: serkanBurakOrs/ppo-SnowballTarget
33
  3. Step 2: Select your *.nn /*.onnx file
34
  4. Click on Watch the agent play 👀
SnowballTarget.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b2a0ec770bc4f3d3f5150acff96ee4c4121fb7a3463a17751e37fe6cf8dcf7de
3
  size 646532
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:939866a89df2d5be5185b96a0905420cf0352184b199f77e585f85ffec7d5154
3
  size 646532
SnowballTarget/SnowballTarget-149984.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0d753879f733d802368577e60fc31a94d806e88e9f97767879cf050a7622acf7
3
  size 646532
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c910bb69567b84ce1cc2e9a7392bb8cc895ee50a8a10b699535f0ca09b38f8b8
3
  size 646532
SnowballTarget/SnowballTarget-149984.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:257cef68748de2fedc2f9250f0f5a6b673fd07bff2e5b8cbdc7fc925c3805401
3
  size 3843968
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:23bebbb3991d202a2f6ce5e7b3619031e7114d43be564f13e4323b2738281603
3
  size 3843968
SnowballTarget/SnowballTarget-199984.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b2a0ec770bc4f3d3f5150acff96ee4c4121fb7a3463a17751e37fe6cf8dcf7de
3
  size 646532
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:939866a89df2d5be5185b96a0905420cf0352184b199f77e585f85ffec7d5154
3
  size 646532
SnowballTarget/SnowballTarget-199984.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4fbd5aae8fcdf83fabb18c9cb6fb744923fc5da56af24e2ec61d2c5796b696a8
3
  size 3843968
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:171254abc971716885ba28861a24533d11a5478daae28d70dcdd2b34bd4ec24a
3
  size 3843968
SnowballTarget/SnowballTarget-200112.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b2a0ec770bc4f3d3f5150acff96ee4c4121fb7a3463a17751e37fe6cf8dcf7de
3
  size 646532
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:939866a89df2d5be5185b96a0905420cf0352184b199f77e585f85ffec7d5154
3
  size 646532
SnowballTarget/SnowballTarget-200112.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e07a817588c5e8e52fb38e6129d6b02c51388b7ab37f9a9de6a4f80e8807a7d9
3
  size 3843968
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0952068cd6538593fc3563d1b0eec2ac21af7724a21cf632ecad460d248e2e03
3
  size 3843968
SnowballTarget/SnowballTarget-49936.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d6f2ff7f07a5932d3bb0a448ec3738386621d59383fc81b0093d7648eeebb3b6
3
  size 646532
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5b5ae1ca818fd7cf8056914bfb5c8cb03658e13ddebd57faccadf4a8d500ce3
3
  size 646532
SnowballTarget/SnowballTarget-49936.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5d0580d2fa3c924df111b7bd96b3f67c0bb8259c2d7d0135736fee20a5d283fa
3
  size 3843968
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3923bba20aa82bfe4a82a7c2a9c3286ca7c54e53f1bf924d50b7194cf95478f3
3
  size 3843968
SnowballTarget/SnowballTarget-99960.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1735ae598ecfc07eabcf2fd897958e415885640d3bba22682a8e59de604050d3
3
  size 646532
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f08980949628ee8bdd0976a071ad17ca8ff569eb35b5ea5f2672eb7440d5cddc
3
  size 646532
SnowballTarget/SnowballTarget-99960.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:932d40e83298ea532634d62649cf9b1400d3a729c1cebe315c1cd82f80bf0e88
3
  size 3843968
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:72c4256cc3b3e130d30a7d804cf80aada616aa126f03f23bc3a39ce5e6178bb0
3
  size 3843968
SnowballTarget/checkpoint.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e07a817588c5e8e52fb38e6129d6b02c51388b7ab37f9a9de6a4f80e8807a7d9
3
  size 3843968
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0952068cd6538593fc3563d1b0eec2ac21af7724a21cf632ecad460d248e2e03
3
  size 3843968
SnowballTarget/events.out.tfevents.1686488744.323e160b8448.1531.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:51ea6e3978cd7104901ed8368625acdb32c205d6e05bf562be7eebf7a87d55e8
3
+ size 23830
run_logs/Player-0.log CHANGED
@@ -34,7 +34,7 @@ ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM default
34
  FMOD failed to initialize the output device.: "Error initializing output device. " (60)
35
  FMOD initialized on nosound output
36
  Begin MonoManager ReloadAssembly
37
- - Completed reload, in 0.078 seconds
38
  ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
39
  ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
40
  ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
@@ -45,7 +45,7 @@ ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/f
45
  WARNING: Shader Unsupported: 'Standard' - All subshaders removed
46
  WARNING: Shader Did you use #pragma only_renderers and omit this platform?
47
  WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
48
- UnloadTime: 0.774043 ms
49
  ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
50
  requesting resize 84 x 84
51
  Setting up 1 worker threads for Enlighten.
@@ -169,7 +169,7 @@ Memory Statistics:
169
  Peak Allocated Bytes 0 B
170
  Overflow Count 0
171
  [ALLOC_DEFAULT] Dual Thread Allocator
172
- Peak main deferred allocation count 37
173
  [ALLOC_BUCKET]
174
  Large Block size 4.0 MB
175
  Used Block count 1
@@ -184,7 +184,7 @@ Memory Statistics:
184
  Peak usage frame count: [16.0 MB-32.0 MB]: 5461 frames
185
  Requested Block Size 16.0 MB
186
  Peak Block count 1
187
- Peak Allocated memory 17.8 MB
188
  Peak Large allocation bytes 16.0 MB
189
  [ALLOC_TEMP_JOB_1_FRAME]
190
  Initial Block Size 2.0 MB
@@ -213,10 +213,10 @@ Memory Statistics:
213
  Used Block count 1
214
  Peak Allocated bytes 1.0 MB
215
  [ALLOC_GFX_MAIN]
216
- Peak usage frame count: [32.0 KB-64.0 KB]: 4751 frames, [64.0 KB-128.0 KB]: 710 frames
217
  Requested Block Size 16.0 MB
218
  Peak Block count 1
219
- Peak Allocated memory 66.7 KB
220
  Peak Large allocation bytes 0 B
221
  [ALLOC_GFX_THREAD]
222
  Peak usage frame count: [32.0 KB-64.0 KB]: 5461 frames
 
34
  FMOD failed to initialize the output device.: "Error initializing output device. " (60)
35
  FMOD initialized on nosound output
36
  Begin MonoManager ReloadAssembly
37
+ - Completed reload, in 0.082 seconds
38
  ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
39
  ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
40
  ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
 
45
  WARNING: Shader Unsupported: 'Standard' - All subshaders removed
46
  WARNING: Shader Did you use #pragma only_renderers and omit this platform?
47
  WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
48
+ UnloadTime: 0.666344 ms
49
  ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
50
  requesting resize 84 x 84
51
  Setting up 1 worker threads for Enlighten.
 
169
  Peak Allocated Bytes 0 B
170
  Overflow Count 0
171
  [ALLOC_DEFAULT] Dual Thread Allocator
172
+ Peak main deferred allocation count 41
173
  [ALLOC_BUCKET]
174
  Large Block size 4.0 MB
175
  Used Block count 1
 
184
  Peak usage frame count: [16.0 MB-32.0 MB]: 5461 frames
185
  Requested Block Size 16.0 MB
186
  Peak Block count 1
187
+ Peak Allocated memory 17.9 MB
188
  Peak Large allocation bytes 16.0 MB
189
  [ALLOC_TEMP_JOB_1_FRAME]
190
  Initial Block Size 2.0 MB
 
213
  Used Block count 1
214
  Peak Allocated bytes 1.0 MB
215
  [ALLOC_GFX_MAIN]
216
+ Peak usage frame count: [32.0 KB-64.0 KB]: 4645 frames, [64.0 KB-128.0 KB]: 816 frames
217
  Requested Block Size 16.0 MB
218
  Peak Block count 1
219
+ Peak Allocated memory 66.8 KB
220
  Peak Large allocation bytes 0 B
221
  [ALLOC_GFX_THREAD]
222
  Peak usage frame count: [32.0 KB-64.0 KB]: 5461 frames
run_logs/timers.json CHANGED
@@ -2,15 +2,15 @@
2
  "name": "root",
3
  "gauges": {
4
  "SnowballTarget.Policy.Entropy.mean": {
5
- "value": 0.9425304532051086,
6
- "min": 0.9393610954284668,
7
- "max": 2.8627891540527344,
8
  "count": 20
9
  },
10
  "SnowballTarget.Policy.Entropy.sum": {
11
- "value": 9009.6484375,
12
- "min": 9009.6484375,
13
- "max": 29286.33203125,
14
  "count": 20
15
  },
16
  "SnowballTarget.Step.mean": {
@@ -26,15 +26,15 @@
26
  "count": 20
27
  },
28
  "SnowballTarget.Policy.ExtrinsicValueEstimate.mean": {
29
- "value": 12.648268699645996,
30
- "min": 0.3334487974643707,
31
- "max": 12.648268699645996,
32
  "count": 20
33
  },
34
  "SnowballTarget.Policy.ExtrinsicValueEstimate.sum": {
35
- "value": 2466.412353515625,
36
- "min": 64.6890640258789,
37
- "max": 2559.30908203125,
38
  "count": 20
39
  },
40
  "SnowballTarget.Environment.EpisodeLength.mean": {
@@ -50,27 +50,27 @@
50
  "count": 20
51
  },
52
  "SnowballTarget.Losses.PolicyLoss.mean": {
53
- "value": 0.06945821979224646,
54
- "min": 0.06348956603811244,
55
- "max": 0.07643009688791946,
56
  "count": 20
57
  },
58
  "SnowballTarget.Losses.PolicyLoss.sum": {
59
- "value": 0.27783287916898586,
60
- "min": 0.26049937989663186,
61
- "max": 0.35651437547729825,
62
  "count": 20
63
  },
64
  "SnowballTarget.Losses.ValueLoss.mean": {
65
- "value": 0.19860872436387866,
66
- "min": 0.11572435497324549,
67
- "max": 0.2921420812752902,
68
  "count": 20
69
  },
70
  "SnowballTarget.Losses.ValueLoss.sum": {
71
- "value": 0.7944348974555147,
72
- "min": 0.46289741989298194,
73
- "max": 1.4298705590121887,
74
  "count": 20
75
  },
76
  "SnowballTarget.Policy.LearningRate.mean": {
@@ -110,27 +110,27 @@
110
  "count": 20
111
  },
112
  "SnowballTarget.Environment.CumulativeReward.mean": {
113
- "value": 25.136363636363637,
114
- "min": 3.522727272727273,
115
- "max": 25.136363636363637,
116
  "count": 20
117
  },
118
  "SnowballTarget.Environment.CumulativeReward.sum": {
119
- "value": 1106.0,
120
- "min": 155.0,
121
- "max": 1350.0,
122
  "count": 20
123
  },
124
  "SnowballTarget.Policy.ExtrinsicReward.mean": {
125
- "value": 25.136363636363637,
126
- "min": 3.522727272727273,
127
- "max": 25.136363636363637,
128
  "count": 20
129
  },
130
  "SnowballTarget.Policy.ExtrinsicReward.sum": {
131
- "value": 1106.0,
132
- "min": 155.0,
133
- "max": 1350.0,
134
  "count": 20
135
  },
136
  "SnowballTarget.IsTraining.mean": {
@@ -148,67 +148,67 @@
148
  },
149
  "metadata": {
150
  "timer_format_version": "0.1.0",
151
- "start_time_seconds": "1680099115",
152
- "python_version": "3.9.16 (main, Dec 7 2022, 01:11:51) \n[GCC 9.4.0]",
153
  "command_line_arguments": "/usr/local/bin/mlagents-learn ./config/ppo/SnowballTarget.yaml --env=./training-envs-executables/linux/SnowballTarget/SnowballTarget --run-id=SnowballTarget1 --no-graphics",
154
  "mlagents_version": "0.31.0.dev0",
155
  "mlagents_envs_version": "0.31.0.dev0",
156
  "communication_protocol_version": "1.5.0",
157
  "pytorch_version": "1.11.0+cu102",
158
  "numpy_version": "1.21.2",
159
- "end_time_seconds": "1680099582"
160
  },
161
- "total": 467.17447543000003,
162
  "count": 1,
163
- "self": 0.43453103000001647,
164
  "children": {
165
  "run_training.setup": {
166
- "total": 0.11582107100002759,
167
  "count": 1,
168
- "self": 0.11582107100002759
169
  },
170
  "TrainerController.start_learning": {
171
- "total": 466.624123329,
172
  "count": 1,
173
- "self": 0.6654436950128115,
174
  "children": {
175
  "TrainerController._reset_env": {
176
- "total": 9.173768719999998,
177
  "count": 1,
178
- "self": 9.173768719999998
179
  },
180
  "TrainerController.advance": {
181
- "total": 456.6504492059872,
182
  "count": 18203,
183
- "self": 0.2795436139796834,
184
  "children": {
185
  "env_step": {
186
- "total": 456.3709055920075,
187
  "count": 18203,
188
- "self": 328.68918271000416,
189
  "children": {
190
  "SubprocessEnvManager._take_step": {
191
- "total": 127.41714271900082,
192
  "count": 18203,
193
- "self": 2.6438472859917397,
194
  "children": {
195
  "TorchPolicy.evaluate": {
196
- "total": 124.77329543300908,
197
  "count": 18203,
198
- "self": 124.77329543300908
199
  }
200
  }
201
  },
202
  "workers": {
203
- "total": 0.2645801630025062,
204
  "count": 18203,
205
  "self": 0.0,
206
  "children": {
207
  "worker_root": {
208
- "total": 465.0312205479948,
209
  "count": 18203,
210
  "is_parallel": true,
211
- "self": 222.75019768400927,
212
  "children": {
213
  "run_training.setup": {
214
  "total": 0.0,
@@ -217,48 +217,48 @@
217
  "self": 0.0,
218
  "children": {
219
  "steps_from_proto": {
220
- "total": 0.004836901000032867,
221
  "count": 1,
222
  "is_parallel": true,
223
- "self": 0.0034150740000313817,
224
  "children": {
225
  "_process_rank_one_or_two_observation": {
226
- "total": 0.0014218270000014854,
227
  "count": 10,
228
  "is_parallel": true,
229
- "self": 0.0014218270000014854
230
  }
231
  }
232
  },
233
  "UnityEnvironment.step": {
234
- "total": 0.09779084799998827,
235
  "count": 1,
236
  "is_parallel": true,
237
- "self": 0.0005894039999816414,
238
  "children": {
239
  "UnityEnvironment._generate_step_input": {
240
- "total": 0.00040947799999457857,
241
  "count": 1,
242
  "is_parallel": true,
243
- "self": 0.00040947799999457857
244
  },
245
  "communicator.exchange": {
246
- "total": 0.09509975700001405,
247
  "count": 1,
248
  "is_parallel": true,
249
- "self": 0.09509975700001405
250
  },
251
  "steps_from_proto": {
252
- "total": 0.0016922089999980017,
253
  "count": 1,
254
  "is_parallel": true,
255
- "self": 0.00033921899995448257,
256
  "children": {
257
  "_process_rank_one_or_two_observation": {
258
- "total": 0.001352990000043519,
259
  "count": 10,
260
  "is_parallel": true,
261
- "self": 0.001352990000043519
262
  }
263
  }
264
  }
@@ -267,34 +267,34 @@
267
  }
268
  },
269
  "UnityEnvironment.step": {
270
- "total": 242.28102286398553,
271
  "count": 18202,
272
  "is_parallel": true,
273
- "self": 9.645308362971207,
274
  "children": {
275
  "UnityEnvironment._generate_step_input": {
276
- "total": 5.1552355070109,
277
  "count": 18202,
278
  "is_parallel": true,
279
- "self": 5.1552355070109
280
  },
281
  "communicator.exchange": {
282
- "total": 196.36814868500198,
283
  "count": 18202,
284
  "is_parallel": true,
285
- "self": 196.36814868500198
286
  },
287
  "steps_from_proto": {
288
- "total": 31.112330309001436,
289
  "count": 18202,
290
  "is_parallel": true,
291
- "self": 6.112578479012427,
292
  "children": {
293
  "_process_rank_one_or_two_observation": {
294
- "total": 24.99975182998901,
295
  "count": 182020,
296
  "is_parallel": true,
297
- "self": 24.99975182998901
298
  }
299
  }
300
  }
@@ -309,9 +309,9 @@
309
  }
310
  },
311
  "trainer_threads": {
312
- "total": 0.00023677299998325907,
313
  "count": 1,
314
- "self": 0.00023677299998325907,
315
  "children": {
316
  "thread_root": {
317
  "total": 0.0,
@@ -320,36 +320,36 @@
320
  "self": 0.0,
321
  "children": {
322
  "trainer_advance": {
323
- "total": 453.39462994993335,
324
- "count": 408477,
325
  "is_parallel": true,
326
- "self": 10.144866852910354,
327
  "children": {
328
  "process_trajectory": {
329
- "total": 251.7209094920222,
330
- "count": 408477,
331
  "is_parallel": true,
332
- "self": 250.96597125602227,
333
  "children": {
334
  "RLTrainer._checkpoint": {
335
- "total": 0.7549382359999299,
336
  "count": 4,
337
  "is_parallel": true,
338
- "self": 0.7549382359999299
339
  }
340
  }
341
  },
342
  "_update_policy": {
343
- "total": 191.5288536050008,
344
  "count": 90,
345
  "is_parallel": true,
346
- "self": 71.45946164199677,
347
  "children": {
348
  "TorchPPOOptimizer.update": {
349
- "total": 120.06939196300402,
350
  "count": 4587,
351
  "is_parallel": true,
352
- "self": 120.06939196300402
353
  }
354
  }
355
  }
@@ -360,14 +360,14 @@
360
  }
361
  },
362
  "TrainerController._save_models": {
363
- "total": 0.1342249350000202,
364
  "count": 1,
365
- "self": 0.0009594509999715228,
366
  "children": {
367
  "RLTrainer._checkpoint": {
368
- "total": 0.13326548400004867,
369
  "count": 1,
370
- "self": 0.13326548400004867
371
  }
372
  }
373
  }
 
2
  "name": "root",
3
  "gauges": {
4
  "SnowballTarget.Policy.Entropy.mean": {
5
+ "value": 0.8860312104225159,
6
+ "min": 0.8860312104225159,
7
+ "max": 2.8547184467315674,
8
  "count": 20
9
  },
10
  "SnowballTarget.Policy.Entropy.sum": {
11
+ "value": 8469.572265625,
12
+ "min": 8469.572265625,
13
+ "max": 29235.171875,
14
  "count": 20
15
  },
16
  "SnowballTarget.Step.mean": {
 
26
  "count": 20
27
  },
28
  "SnowballTarget.Policy.ExtrinsicValueEstimate.mean": {
29
+ "value": 12.401437759399414,
30
+ "min": 0.43631571531295776,
31
+ "max": 12.401437759399414,
32
  "count": 20
33
  },
34
  "SnowballTarget.Policy.ExtrinsicValueEstimate.sum": {
35
+ "value": 2418.2802734375,
36
+ "min": 84.64524841308594,
37
+ "max": 2469.08642578125,
38
  "count": 20
39
  },
40
  "SnowballTarget.Environment.EpisodeLength.mean": {
 
50
  "count": 20
51
  },
52
  "SnowballTarget.Losses.PolicyLoss.mean": {
53
+ "value": 0.06929926320541804,
54
+ "min": 0.06106660047896416,
55
+ "max": 0.07362245074317815,
56
  "count": 20
57
  },
58
  "SnowballTarget.Losses.PolicyLoss.sum": {
59
+ "value": 0.2771970528216722,
60
+ "min": 0.2522543780474984,
61
+ "max": 0.3626175124987711,
62
  "count": 20
63
  },
64
  "SnowballTarget.Losses.ValueLoss.mean": {
65
+ "value": 0.20916674607524685,
66
+ "min": 0.12856522972773138,
67
+ "max": 0.2808943573166342,
68
  "count": 20
69
  },
70
  "SnowballTarget.Losses.ValueLoss.sum": {
71
+ "value": 0.8366669843009874,
72
+ "min": 0.5142609189109255,
73
+ "max": 1.404471786583171,
74
  "count": 20
75
  },
76
  "SnowballTarget.Policy.LearningRate.mean": {
 
110
  "count": 20
111
  },
112
  "SnowballTarget.Environment.CumulativeReward.mean": {
113
+ "value": 25.15909090909091,
114
+ "min": 3.5454545454545454,
115
+ "max": 25.15909090909091,
116
  "count": 20
117
  },
118
  "SnowballTarget.Environment.CumulativeReward.sum": {
119
+ "value": 1107.0,
120
+ "min": 156.0,
121
+ "max": 1360.0,
122
  "count": 20
123
  },
124
  "SnowballTarget.Policy.ExtrinsicReward.mean": {
125
+ "value": 25.15909090909091,
126
+ "min": 3.5454545454545454,
127
+ "max": 25.15909090909091,
128
  "count": 20
129
  },
130
  "SnowballTarget.Policy.ExtrinsicReward.sum": {
131
+ "value": 1107.0,
132
+ "min": 156.0,
133
+ "max": 1360.0,
134
  "count": 20
135
  },
136
  "SnowballTarget.IsTraining.mean": {
 
148
  },
149
  "metadata": {
150
  "timer_format_version": "0.1.0",
151
+ "start_time_seconds": "1686488743",
152
+ "python_version": "3.10.12 (main, Jun 7 2023, 12:45:35) [GCC 9.4.0]",
153
  "command_line_arguments": "/usr/local/bin/mlagents-learn ./config/ppo/SnowballTarget.yaml --env=./training-envs-executables/linux/SnowballTarget/SnowballTarget --run-id=SnowballTarget1 --no-graphics",
154
  "mlagents_version": "0.31.0.dev0",
155
  "mlagents_envs_version": "0.31.0.dev0",
156
  "communication_protocol_version": "1.5.0",
157
  "pytorch_version": "1.11.0+cu102",
158
  "numpy_version": "1.21.2",
159
+ "end_time_seconds": "1686489219"
160
  },
161
+ "total": 475.712537186,
162
  "count": 1,
163
+ "self": 0.38365829800005713,
164
  "children": {
165
  "run_training.setup": {
166
+ "total": 0.04212836400000697,
167
  "count": 1,
168
+ "self": 0.04212836400000697
169
  },
170
  "TrainerController.start_learning": {
171
+ "total": 475.28675052399996,
172
  "count": 1,
173
+ "self": 0.6000244030034878,
174
  "children": {
175
  "TrainerController._reset_env": {
176
+ "total": 4.0133400439999605,
177
  "count": 1,
178
+ "self": 4.0133400439999605
179
  },
180
  "TrainerController.advance": {
181
+ "total": 470.5411099679965,
182
  "count": 18203,
183
+ "self": 0.2956814329763233,
184
  "children": {
185
  "env_step": {
186
+ "total": 470.24542853502015,
187
  "count": 18203,
188
+ "self": 343.2098262260198,
189
  "children": {
190
  "SubprocessEnvManager._take_step": {
191
+ "total": 126.74192283399861,
192
  "count": 18203,
193
+ "self": 1.8255496789951735,
194
  "children": {
195
  "TorchPolicy.evaluate": {
196
+ "total": 124.91637315500344,
197
  "count": 18203,
198
+ "self": 124.91637315500344
199
  }
200
  }
201
  },
202
  "workers": {
203
+ "total": 0.2936794750017384,
204
  "count": 18203,
205
  "self": 0.0,
206
  "children": {
207
  "worker_root": {
208
+ "total": 473.58662686099785,
209
  "count": 18203,
210
  "is_parallel": true,
211
+ "self": 218.97701059199898,
212
  "children": {
213
  "run_training.setup": {
214
  "total": 0.0,
 
217
  "self": 0.0,
218
  "children": {
219
  "steps_from_proto": {
220
+ "total": 0.004993671000022459,
221
  "count": 1,
222
  "is_parallel": true,
223
+ "self": 0.0034961370000132774,
224
  "children": {
225
  "_process_rank_one_or_two_observation": {
226
+ "total": 0.001497534000009182,
227
  "count": 10,
228
  "is_parallel": true,
229
+ "self": 0.001497534000009182
230
  }
231
  }
232
  },
233
  "UnityEnvironment.step": {
234
+ "total": 0.0460440100000028,
235
  "count": 1,
236
  "is_parallel": true,
237
+ "self": 0.0005654870000171286,
238
  "children": {
239
  "UnityEnvironment._generate_step_input": {
240
+ "total": 0.00030069799998955205,
241
  "count": 1,
242
  "is_parallel": true,
243
+ "self": 0.00030069799998955205
244
  },
245
  "communicator.exchange": {
246
+ "total": 0.04301984500000344,
247
  "count": 1,
248
  "is_parallel": true,
249
+ "self": 0.04301984500000344
250
  },
251
  "steps_from_proto": {
252
+ "total": 0.0021579799999926763,
253
  "count": 1,
254
  "is_parallel": true,
255
+ "self": 0.00037325000005239417,
256
  "children": {
257
  "_process_rank_one_or_two_observation": {
258
+ "total": 0.0017847299999402821,
259
  "count": 10,
260
  "is_parallel": true,
261
+ "self": 0.0017847299999402821
262
  }
263
  }
264
  }
 
267
  }
268
  },
269
  "UnityEnvironment.step": {
270
+ "total": 254.60961626899888,
271
  "count": 18202,
272
  "is_parallel": true,
273
+ "self": 9.950199223993877,
274
  "children": {
275
  "UnityEnvironment._generate_step_input": {
276
+ "total": 5.308905314002402,
277
  "count": 18202,
278
  "is_parallel": true,
279
+ "self": 5.308905314002402
280
  },
281
  "communicator.exchange": {
282
+ "total": 205.67245253699713,
283
  "count": 18202,
284
  "is_parallel": true,
285
+ "self": 205.67245253699713
286
  },
287
  "steps_from_proto": {
288
+ "total": 33.67805919400547,
289
  "count": 18202,
290
  "is_parallel": true,
291
+ "self": 6.583394628998633,
292
  "children": {
293
  "_process_rank_one_or_two_observation": {
294
+ "total": 27.094664565006838,
295
  "count": 182020,
296
  "is_parallel": true,
297
+ "self": 27.094664565006838
298
  }
299
  }
300
  }
 
309
  }
310
  },
311
  "trainer_threads": {
312
+ "total": 0.00012717300000986143,
313
  "count": 1,
314
+ "self": 0.00012717300000986143,
315
  "children": {
316
  "thread_root": {
317
  "total": 0.0,
 
320
  "self": 0.0,
321
  "children": {
322
  "trainer_advance": {
323
+ "total": 466.88163048496557,
324
+ "count": 465441,
325
  "is_parallel": true,
326
+ "self": 10.076395576984055,
327
  "children": {
328
  "process_trajectory": {
329
+ "total": 256.432567695982,
330
+ "count": 465441,
331
  "is_parallel": true,
332
+ "self": 255.20579185698193,
333
  "children": {
334
  "RLTrainer._checkpoint": {
335
+ "total": 1.2267758390000836,
336
  "count": 4,
337
  "is_parallel": true,
338
+ "self": 1.2267758390000836
339
  }
340
  }
341
  },
342
  "_update_policy": {
343
+ "total": 200.3726672119995,
344
  "count": 90,
345
  "is_parallel": true,
346
+ "self": 74.59332602600608,
347
  "children": {
348
  "TorchPPOOptimizer.update": {
349
+ "total": 125.77934118599342,
350
  "count": 4587,
351
  "is_parallel": true,
352
+ "self": 125.77934118599342
353
  }
354
  }
355
  }
 
360
  }
361
  },
362
  "TrainerController._save_models": {
363
+ "total": 0.13214893600002142,
364
  "count": 1,
365
+ "self": 0.0008774120000225594,
366
  "children": {
367
  "RLTrainer._checkpoint": {
368
+ "total": 0.13127152399999886,
369
  "count": 1,
370
+ "self": 0.13127152399999886
371
  }
372
  }
373
  }
run_logs/training_status.json CHANGED
@@ -4,8 +4,8 @@
4
  {
5
  "steps": 49936,
6
  "file_path": "results/SnowballTarget1/SnowballTarget/SnowballTarget-49936.onnx",
7
- "reward": 12.454545454545455,
8
- "creation_time": 1680099240.2027602,
9
  "auxillary_file_paths": [
10
  "results/SnowballTarget1/SnowballTarget/SnowballTarget-49936.pt"
11
  ]
@@ -13,8 +13,8 @@
13
  {
14
  "steps": 99960,
15
  "file_path": "results/SnowballTarget1/SnowballTarget/SnowballTarget-99960.onnx",
16
- "reward": 21.0,
17
- "creation_time": 1680099354.8681703,
18
  "auxillary_file_paths": [
19
  "results/SnowballTarget1/SnowballTarget/SnowballTarget-99960.pt"
20
  ]
@@ -22,8 +22,8 @@
22
  {
23
  "steps": 149984,
24
  "file_path": "results/SnowballTarget1/SnowballTarget/SnowballTarget-149984.onnx",
25
- "reward": 24.727272727272727,
26
- "creation_time": 1680099467.931679,
27
  "auxillary_file_paths": [
28
  "results/SnowballTarget1/SnowballTarget/SnowballTarget-149984.pt"
29
  ]
@@ -31,8 +31,8 @@
31
  {
32
  "steps": 199984,
33
  "file_path": "results/SnowballTarget1/SnowballTarget/SnowballTarget-199984.onnx",
34
- "reward": 25.727272727272727,
35
- "creation_time": 1680099582.2061,
36
  "auxillary_file_paths": [
37
  "results/SnowballTarget1/SnowballTarget/SnowballTarget-199984.pt"
38
  ]
@@ -40,8 +40,8 @@
40
  {
41
  "steps": 200112,
42
  "file_path": "results/SnowballTarget1/SnowballTarget/SnowballTarget-200112.onnx",
43
- "reward": 25.727272727272727,
44
- "creation_time": 1680099582.502875,
45
  "auxillary_file_paths": [
46
  "results/SnowballTarget1/SnowballTarget/SnowballTarget-200112.pt"
47
  ]
@@ -50,8 +50,8 @@
50
  "final_checkpoint": {
51
  "steps": 200112,
52
  "file_path": "results/SnowballTarget1/SnowballTarget.onnx",
53
- "reward": 25.727272727272727,
54
- "creation_time": 1680099582.502875,
55
  "auxillary_file_paths": [
56
  "results/SnowballTarget1/SnowballTarget/SnowballTarget-200112.pt"
57
  ]
 
4
  {
5
  "steps": 49936,
6
  "file_path": "results/SnowballTarget1/SnowballTarget/SnowballTarget-49936.onnx",
7
+ "reward": 13.545454545454545,
8
+ "creation_time": 1686488865.6682534,
9
  "auxillary_file_paths": [
10
  "results/SnowballTarget1/SnowballTarget/SnowballTarget-49936.pt"
11
  ]
 
13
  {
14
  "steps": 99960,
15
  "file_path": "results/SnowballTarget1/SnowballTarget/SnowballTarget-99960.onnx",
16
+ "reward": 20.181818181818183,
17
+ "creation_time": 1686488983.6479273,
18
  "auxillary_file_paths": [
19
  "results/SnowballTarget1/SnowballTarget/SnowballTarget-99960.pt"
20
  ]
 
22
  {
23
  "steps": 149984,
24
  "file_path": "results/SnowballTarget1/SnowballTarget/SnowballTarget-149984.onnx",
25
+ "reward": 23.181818181818183,
26
+ "creation_time": 1686489100.5036135,
27
  "auxillary_file_paths": [
28
  "results/SnowballTarget1/SnowballTarget/SnowballTarget-149984.pt"
29
  ]
 
31
  {
32
  "steps": 199984,
33
  "file_path": "results/SnowballTarget1/SnowballTarget/SnowballTarget-199984.onnx",
34
+ "reward": 24.272727272727273,
35
+ "creation_time": 1686489219.092746,
36
  "auxillary_file_paths": [
37
  "results/SnowballTarget1/SnowballTarget/SnowballTarget-199984.pt"
38
  ]
 
40
  {
41
  "steps": 200112,
42
  "file_path": "results/SnowballTarget1/SnowballTarget/SnowballTarget-200112.onnx",
43
+ "reward": 24.272727272727273,
44
+ "creation_time": 1686489219.253513,
45
  "auxillary_file_paths": [
46
  "results/SnowballTarget1/SnowballTarget/SnowballTarget-200112.pt"
47
  ]
 
50
  "final_checkpoint": {
51
  "steps": 200112,
52
  "file_path": "results/SnowballTarget1/SnowballTarget.onnx",
53
+ "reward": 24.272727272727273,
54
+ "creation_time": 1686489219.253513,
55
  "auxillary_file_paths": [
56
  "results/SnowballTarget1/SnowballTarget/SnowballTarget-200112.pt"
57
  ]