kebei commited on
Commit
42c1b15
1 Parent(s): cc3ff2b

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: kebei/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: kebei/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:e655a904d4400686999620e0ea2ddca710c78034d432222a3febf3d32b757a8a
3
  size 646532
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:58d0b849300fd5518a1e0195db57323a89d1f536feb80e8a8536ab0e2c8f0498
3
  size 646532
SnowballTarget/SnowballTarget-149984.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:49a6f214d2345432c45ea25e94e09500f8481799f305814a6e427701bb1f8f35
3
  size 646532
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f3482900f7c3513fb3fb9571b6ec7913eb2fae6dbf64e7ecaa0b0cc2e6cde588
3
  size 646532
SnowballTarget/SnowballTarget-149984.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:17055b22e735d958ab838d599a0e8c7d3966368fc0fc1a151ae821f361497813
3
  size 3843968
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a4828a7fb5a66e68657454a6173a3dac2fd2917fd5eafeba68b97159cfc9e922
3
  size 3843968
SnowballTarget/SnowballTarget-199984.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e655a904d4400686999620e0ea2ddca710c78034d432222a3febf3d32b757a8a
3
  size 646532
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:58d0b849300fd5518a1e0195db57323a89d1f536feb80e8a8536ab0e2c8f0498
3
  size 646532
SnowballTarget/SnowballTarget-199984.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b0444f20fe5031be2a3db9a36eafb94bab281b59e46683c0cb9ad613c3d39bcf
3
  size 3843968
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b23290c984330ee700181a51cecaee72adef4aa1a47ba382e06c393020fe2e6b
3
  size 3843968
SnowballTarget/SnowballTarget-200112.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e655a904d4400686999620e0ea2ddca710c78034d432222a3febf3d32b757a8a
3
  size 646532
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:58d0b849300fd5518a1e0195db57323a89d1f536feb80e8a8536ab0e2c8f0498
3
  size 646532
SnowballTarget/SnowballTarget-200112.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6814ed6244f72b8a888d31101aa0fc247e1668ee5051bb406a7a75b86c3fe81f
3
  size 3843968
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a01e01e29526e10addcdaff3d29ecbc2854d93d4bc138151bba84e6fad6f5f3c
3
  size 3843968
SnowballTarget/SnowballTarget-49936.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:441286e70e0ba0e3509ac2303b62ff13761f5aef3cec3babd9ffbcd9f5f9a68a
3
  size 646532
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:198a59034cc1b7377a2474f8c9b3b3776cf07d4896e1377bc77f84ce71979e52
3
  size 646532
SnowballTarget/SnowballTarget-49936.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0ac5151defb205909a8e23a0912c56731a719f5afe2060256c29f9670dcda737
3
  size 3843968
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d47fa3b19ec3fcab6b6746149863fc90033c7a95e6d253603d51b862093e10a7
3
  size 3843968
SnowballTarget/SnowballTarget-99960.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6964fdbef6b6c409c9c912d1c709fa93b9ae00524364f47d12b55fe72da3b251
3
  size 646532
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:26e44fce1b840827e971f94cebb0a531fd057626757bc1cfeb2d8d2b7dd21af8
3
  size 646532
SnowballTarget/SnowballTarget-99960.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:92b51067c4b8dc544d7d5e79a52c6ed45007f32cf5caa7be297d3ec3878f76ea
3
  size 3843968
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c60c84bee9feb5b4ff04521df0e1b5dc9b9e424a04d055dc695d1bbc9a033c03
3
  size 3843968
SnowballTarget/checkpoint.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6814ed6244f72b8a888d31101aa0fc247e1668ee5051bb406a7a75b86c3fe81f
3
  size 3843968
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a01e01e29526e10addcdaff3d29ecbc2854d93d4bc138151bba84e6fad6f5f3c
3
  size 3843968
SnowballTarget/events.out.tfevents.1687223002.ba5648ee000a.5311.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:94823b4b5e5bf8c3f1d571b1f89ebda9dd83316a4d91fd35c0fa5e645d842af6
3
+ size 28251
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.080 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.643732 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.
@@ -53,7 +53,7 @@ Memory Statistics:
53
  [ALLOC_TEMP_TLS] TLS Allocator
54
  StackAllocators :
55
  [ALLOC_TEMP_MAIN]
56
- Peak usage frame count: [8.0 KB-16.0 KB]: 5369 frames, [16.0 KB-32.0 KB]: 91 frames, [2.0 MB-4.0 MB]: 1 frames
57
  Initial Block Size 4.0 MB
58
  Current Block Size 4.0 MB
59
  Peak Allocated Bytes 2.0 MB
@@ -169,22 +169,22 @@ Memory Statistics:
169
  Peak Allocated Bytes 0 B
170
  Overflow Count 0
171
  [ALLOC_DEFAULT] Dual Thread Allocator
172
- Peak main deferred allocation count 40
173
  [ALLOC_BUCKET]
174
  Large Block size 4.0 MB
175
  Used Block count 1
176
  Peak Allocated bytes 1.0 MB
177
  [ALLOC_DEFAULT_MAIN]
178
- Peak usage frame count: [4.0 MB-8.0 MB]: 5461 frames
179
  Requested Block Size 16.0 MB
180
  Peak Block count 1
181
- Peak Allocated memory 6.7 MB
182
  Peak Large allocation bytes 0 B
183
  [ALLOC_DEFAULT_THREAD]
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,13 +213,13 @@ 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]: 5006 frames, [64.0 KB-128.0 KB]: 455 frames
217
  Requested Block Size 16.0 MB
218
  Peak Block count 1
219
- Peak Allocated memory 66.4 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
223
  Requested Block Size 16.0 MB
224
  Peak Block count 1
225
  Peak Allocated memory 39.6 KB
@@ -231,13 +231,13 @@ Memory Statistics:
231
  Used Block count 1
232
  Peak Allocated bytes 1.0 MB
233
  [ALLOC_CACHEOBJECTS_MAIN]
234
- Peak usage frame count: [0.5 MB-1.0 MB]: 5461 frames
235
  Requested Block Size 4.0 MB
236
  Peak Block count 1
237
  Peak Allocated memory 0.6 MB
238
  Peak Large allocation bytes 0 B
239
  [ALLOC_CACHEOBJECTS_THREAD]
240
- Peak usage frame count: [0.5 MB-1.0 MB]: 5460 frames, [2.0 MB-4.0 MB]: 1 frames
241
  Requested Block Size 4.0 MB
242
  Peak Block count 1
243
  Peak Allocated memory 2.2 MB
@@ -249,13 +249,13 @@ Memory Statistics:
249
  Used Block count 1
250
  Peak Allocated bytes 1.0 MB
251
  [ALLOC_TYPETREE_MAIN]
252
- Peak usage frame count: [0-1.0 KB]: 5461 frames
253
  Requested Block Size 2.0 MB
254
  Peak Block count 1
255
  Peak Allocated memory 1.0 KB
256
  Peak Large allocation bytes 0 B
257
  [ALLOC_TYPETREE_THREAD]
258
- Peak usage frame count: [1.0 KB-2.0 KB]: 5461 frames
259
  Requested Block Size 2.0 MB
260
  Peak Block count 1
261
  Peak Allocated memory 1.7 KB
 
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.085 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.699501 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.
 
53
  [ALLOC_TEMP_TLS] TLS Allocator
54
  StackAllocators :
55
  [ALLOC_TEMP_MAIN]
56
+ Peak usage frame count: [8.0 KB-16.0 KB]: 5371 frames, [16.0 KB-32.0 KB]: 91 frames, [2.0 MB-4.0 MB]: 1 frames
57
  Initial Block Size 4.0 MB
58
  Current Block Size 4.0 MB
59
  Peak Allocated Bytes 2.0 MB
 
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
176
  Peak Allocated bytes 1.0 MB
177
  [ALLOC_DEFAULT_MAIN]
178
+ Peak usage frame count: [4.0 MB-8.0 MB]: 5463 frames
179
  Requested Block Size 16.0 MB
180
  Peak Block count 1
181
+ Peak Allocated memory 6.6 MB
182
  Peak Large allocation bytes 0 B
183
  [ALLOC_DEFAULT_THREAD]
184
+ Peak usage frame count: [16.0 MB-32.0 MB]: 5463 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]: 4764 frames, [64.0 KB-128.0 KB]: 699 frames
217
  Requested Block Size 16.0 MB
218
  Peak Block count 1
219
+ Peak Allocated memory 67.3 KB
220
  Peak Large allocation bytes 0 B
221
  [ALLOC_GFX_THREAD]
222
+ Peak usage frame count: [32.0 KB-64.0 KB]: 5463 frames
223
  Requested Block Size 16.0 MB
224
  Peak Block count 1
225
  Peak Allocated memory 39.6 KB
 
231
  Used Block count 1
232
  Peak Allocated bytes 1.0 MB
233
  [ALLOC_CACHEOBJECTS_MAIN]
234
+ Peak usage frame count: [0.5 MB-1.0 MB]: 5463 frames
235
  Requested Block Size 4.0 MB
236
  Peak Block count 1
237
  Peak Allocated memory 0.6 MB
238
  Peak Large allocation bytes 0 B
239
  [ALLOC_CACHEOBJECTS_THREAD]
240
+ Peak usage frame count: [0.5 MB-1.0 MB]: 5462 frames, [2.0 MB-4.0 MB]: 1 frames
241
  Requested Block Size 4.0 MB
242
  Peak Block count 1
243
  Peak Allocated memory 2.2 MB
 
249
  Used Block count 1
250
  Peak Allocated bytes 1.0 MB
251
  [ALLOC_TYPETREE_MAIN]
252
+ Peak usage frame count: [0-1.0 KB]: 5463 frames
253
  Requested Block Size 2.0 MB
254
  Peak Block count 1
255
  Peak Allocated memory 1.0 KB
256
  Peak Large allocation bytes 0 B
257
  [ALLOC_TYPETREE_THREAD]
258
+ Peak usage frame count: [1.0 KB-2.0 KB]: 5463 frames
259
  Requested Block Size 2.0 MB
260
  Peak Block count 1
261
  Peak Allocated memory 1.7 KB
run_logs/timers.json CHANGED
@@ -2,15 +2,15 @@
2
  "name": "root",
3
  "gauges": {
4
  "SnowballTarget.Policy.Entropy.mean": {
5
- "value": 0.9758899211883545,
6
- "min": 0.947275698184967,
7
- "max": 2.8698208332061768,
8
  "count": 20
9
  },
10
  "SnowballTarget.Policy.Entropy.sum": {
11
- "value": 9317.796875,
12
- "min": 9317.796875,
13
- "max": 29389.833984375,
14
  "count": 20
15
  },
16
  "SnowballTarget.Step.mean": {
@@ -26,15 +26,15 @@
26
  "count": 20
27
  },
28
  "SnowballTarget.Policy.ExtrinsicValueEstimate.mean": {
29
- "value": 13.00918197631836,
30
- "min": 0.4113742709159851,
31
- "max": 13.00918197631836,
32
  "count": 20
33
  },
34
  "SnowballTarget.Policy.ExtrinsicValueEstimate.sum": {
35
- "value": 2536.79052734375,
36
- "min": 79.80661010742188,
37
- "max": 2652.37939453125,
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.06917101987581939,
54
- "min": 0.06393848401093433,
55
- "max": 0.07891287006227773,
56
  "count": 20
57
  },
58
  "SnowballTarget.Losses.PolicyLoss.sum": {
59
- "value": 0.27668407950327756,
60
- "min": 0.2557539360437373,
61
- "max": 0.3945643503113887,
62
  "count": 20
63
  },
64
  "SnowballTarget.Losses.ValueLoss.mean": {
65
- "value": 0.18508315203236597,
66
- "min": 0.14512975898790448,
67
- "max": 0.2718171359861598,
68
  "count": 20
69
  },
70
  "SnowballTarget.Losses.ValueLoss.sum": {
71
- "value": 0.7403326081294639,
72
- "min": 0.5805190359516179,
73
- "max": 1.359085679930799,
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.65909090909091,
114
- "min": 3.909090909090909,
115
- "max": 25.727272727272727,
116
  "count": 20
117
  },
118
  "SnowballTarget.Environment.CumulativeReward.sum": {
119
- "value": 1129.0,
120
- "min": 172.0,
121
- "max": 1404.0,
122
  "count": 20
123
  },
124
  "SnowballTarget.Policy.ExtrinsicReward.mean": {
125
- "value": 25.65909090909091,
126
- "min": 3.909090909090909,
127
- "max": 25.727272727272727,
128
  "count": 20
129
  },
130
  "SnowballTarget.Policy.ExtrinsicReward.sum": {
131
- "value": 1129.0,
132
- "min": 172.0,
133
- "max": 1404.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": "1679838549",
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": "1679839004"
160
  },
161
- "total": 454.9551228680001,
162
  "count": 1,
163
- "self": 0.43525388400007614,
164
  "children": {
165
  "run_training.setup": {
166
- "total": 0.10883565200003886,
167
  "count": 1,
168
- "self": 0.10883565200003886
169
  },
170
  "TrainerController.start_learning": {
171
- "total": 454.411033332,
172
  "count": 1,
173
- "self": 0.5292034689956608,
174
  "children": {
175
  "TrainerController._reset_env": {
176
- "total": 9.166022680999959,
177
  "count": 1,
178
- "self": 9.166022680999959
179
  },
180
  "TrainerController.advance": {
181
- "total": 444.5904373340044,
182
- "count": 18201,
183
- "self": 0.2626229849863648,
184
  "children": {
185
  "env_step": {
186
- "total": 444.327814349018,
187
- "count": 18201,
188
- "self": 322.2620726870027,
189
  "children": {
190
  "SubprocessEnvManager._take_step": {
191
- "total": 121.81262818601635,
192
- "count": 18201,
193
- "self": 2.0394551590103447,
194
  "children": {
195
  "TorchPolicy.evaluate": {
196
- "total": 119.77317302700601,
197
- "count": 18201,
198
- "self": 119.77317302700601
199
  }
200
  }
201
  },
202
  "workers": {
203
- "total": 0.25311347599892997,
204
- "count": 18201,
205
  "self": 0.0,
206
  "children": {
207
  "worker_root": {
208
- "total": 452.98184547599885,
209
- "count": 18201,
210
  "is_parallel": true,
211
- "self": 216.62685109199685,
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.005905582999957915,
221
  "count": 1,
222
  "is_parallel": true,
223
- "self": 0.00423142500017093,
224
  "children": {
225
  "_process_rank_one_or_two_observation": {
226
- "total": 0.0016741579997869849,
227
  "count": 10,
228
  "is_parallel": true,
229
- "self": 0.0016741579997869849
230
  }
231
  }
232
  },
233
  "UnityEnvironment.step": {
234
- "total": 0.058786609999970096,
235
  "count": 1,
236
  "is_parallel": true,
237
- "self": 0.0005741009999837843,
238
  "children": {
239
  "UnityEnvironment._generate_step_input": {
240
- "total": 0.00042716699999800767,
241
  "count": 1,
242
  "is_parallel": true,
243
- "self": 0.00042716699999800767
244
  },
245
  "communicator.exchange": {
246
- "total": 0.05595603200004007,
247
  "count": 1,
248
  "is_parallel": true,
249
- "self": 0.05595603200004007
250
  },
251
  "steps_from_proto": {
252
- "total": 0.0018293099999482365,
253
  "count": 1,
254
  "is_parallel": true,
255
- "self": 0.0003587790000665336,
256
  "children": {
257
  "_process_rank_one_or_two_observation": {
258
- "total": 0.0014705309998817029,
259
  "count": 10,
260
  "is_parallel": true,
261
- "self": 0.0014705309998817029
262
  }
263
  }
264
  }
@@ -267,34 +267,34 @@
267
  }
268
  },
269
  "UnityEnvironment.step": {
270
- "total": 236.354994384002,
271
- "count": 18200,
272
  "is_parallel": true,
273
- "self": 9.39572136901677,
274
  "children": {
275
  "UnityEnvironment._generate_step_input": {
276
- "total": 5.013099709008202,
277
- "count": 18200,
278
  "is_parallel": true,
279
- "self": 5.013099709008202
280
  },
281
  "communicator.exchange": {
282
- "total": 191.51613447197713,
283
- "count": 18200,
284
  "is_parallel": true,
285
- "self": 191.51613447197713
286
  },
287
  "steps_from_proto": {
288
- "total": 30.4300388339999,
289
- "count": 18200,
290
  "is_parallel": true,
291
- "self": 5.9183966819527996,
292
  "children": {
293
  "_process_rank_one_or_two_observation": {
294
- "total": 24.511642152047102,
295
- "count": 182000,
296
  "is_parallel": true,
297
- "self": 24.511642152047102
298
  }
299
  }
300
  }
@@ -309,9 +309,9 @@
309
  }
310
  },
311
  "trainer_threads": {
312
- "total": 9.9804999990738e-05,
313
  "count": 1,
314
- "self": 9.9804999990738e-05,
315
  "children": {
316
  "thread_root": {
317
  "total": 0.0,
@@ -320,36 +320,36 @@
320
  "self": 0.0,
321
  "children": {
322
  "trainer_advance": {
323
- "total": 441.3342908530461,
324
- "count": 382943,
325
  "is_parallel": true,
326
- "self": 9.427166723064488,
327
  "children": {
328
  "process_trajectory": {
329
- "total": 245.6809029919806,
330
- "count": 382943,
331
  "is_parallel": true,
332
- "self": 244.86220763298047,
333
  "children": {
334
  "RLTrainer._checkpoint": {
335
- "total": 0.8186953590001167,
336
  "count": 4,
337
  "is_parallel": true,
338
- "self": 0.8186953590001167
339
  }
340
  }
341
  },
342
  "_update_policy": {
343
- "total": 186.22622113800105,
344
  "count": 90,
345
  "is_parallel": true,
346
- "self": 68.11953355398612,
347
  "children": {
348
  "TorchPPOOptimizer.update": {
349
- "total": 118.10668758401494,
350
  "count": 4587,
351
  "is_parallel": true,
352
- "self": 118.10668758401494
353
  }
354
  }
355
  }
@@ -360,14 +360,14 @@
360
  }
361
  },
362
  "TrainerController._save_models": {
363
- "total": 0.12527004300000044,
364
  "count": 1,
365
- "self": 0.0008378039999570319,
366
  "children": {
367
  "RLTrainer._checkpoint": {
368
- "total": 0.12443223900004341,
369
  "count": 1,
370
- "self": 0.12443223900004341
371
  }
372
  }
373
  }
 
2
  "name": "root",
3
  "gauges": {
4
  "SnowballTarget.Policy.Entropy.mean": {
5
+ "value": 0.8865359425544739,
6
+ "min": 0.8865359425544739,
7
+ "max": 2.8674285411834717,
8
  "count": 20
9
  },
10
  "SnowballTarget.Policy.Entropy.sum": {
11
+ "value": 8454.8935546875,
12
+ "min": 8454.8935546875,
13
+ "max": 29365.3359375,
14
  "count": 20
15
  },
16
  "SnowballTarget.Step.mean": {
 
26
  "count": 20
27
  },
28
  "SnowballTarget.Policy.ExtrinsicValueEstimate.mean": {
29
+ "value": 13.102118492126465,
30
+ "min": 0.40484389662742615,
31
+ "max": 13.102118492126465,
32
  "count": 20
33
  },
34
  "SnowballTarget.Policy.ExtrinsicValueEstimate.sum": {
35
+ "value": 2554.9130859375,
36
+ "min": 78.53971862792969,
37
+ "max": 2665.3193359375,
38
  "count": 20
39
  },
40
  "SnowballTarget.Environment.EpisodeLength.mean": {
 
50
  "count": 20
51
  },
52
  "SnowballTarget.Losses.PolicyLoss.mean": {
53
+ "value": 0.07084275143193629,
54
+ "min": 0.0636858584903701,
55
+ "max": 0.07592623850259948,
56
  "count": 20
57
  },
58
  "SnowballTarget.Losses.PolicyLoss.sum": {
59
+ "value": 0.28337100572774515,
60
+ "min": 0.2547434339614804,
61
+ "max": 0.357626071139855,
62
  "count": 20
63
  },
64
  "SnowballTarget.Losses.ValueLoss.mean": {
65
+ "value": 0.1975961830101761,
66
+ "min": 0.12905799689663885,
67
+ "max": 0.31555733131427394,
68
  "count": 20
69
  },
70
  "SnowballTarget.Losses.ValueLoss.sum": {
71
+ "value": 0.7903847320407044,
72
+ "min": 0.5162319875865554,
73
+ "max": 1.5777866565713696,
74
  "count": 20
75
  },
76
  "SnowballTarget.Policy.LearningRate.mean": {
 
110
  "count": 20
111
  },
112
  "SnowballTarget.Environment.CumulativeReward.mean": {
113
+ "value": 25.545454545454547,
114
+ "min": 4.0,
115
+ "max": 25.90909090909091,
116
  "count": 20
117
  },
118
  "SnowballTarget.Environment.CumulativeReward.sum": {
119
+ "value": 1124.0,
120
+ "min": 176.0,
121
+ "max": 1425.0,
122
  "count": 20
123
  },
124
  "SnowballTarget.Policy.ExtrinsicReward.mean": {
125
+ "value": 25.545454545454547,
126
+ "min": 4.0,
127
+ "max": 25.90909090909091,
128
  "count": 20
129
  },
130
  "SnowballTarget.Policy.ExtrinsicReward.sum": {
131
+ "value": 1124.0,
132
+ "min": 176.0,
133
+ "max": 1425.0,
134
  "count": 20
135
  },
136
  "SnowballTarget.IsTraining.mean": {
 
148
  },
149
  "metadata": {
150
  "timer_format_version": "0.1.0",
151
+ "start_time_seconds": "1687223001",
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": "1687223471"
160
  },
161
+ "total": 470.71241685300015,
162
  "count": 1,
163
+ "self": 0.8419991419998496,
164
  "children": {
165
  "run_training.setup": {
166
+ "total": 0.043289350000122795,
167
  "count": 1,
168
+ "self": 0.043289350000122795
169
  },
170
  "TrainerController.start_learning": {
171
+ "total": 469.8271283610002,
172
  "count": 1,
173
+ "self": 0.5444432050076102,
174
  "children": {
175
  "TrainerController._reset_env": {
176
+ "total": 4.180826497999988,
177
  "count": 1,
178
+ "self": 4.180826497999988
179
  },
180
  "TrainerController.advance": {
181
+ "total": 464.8812328859924,
182
+ "count": 18209,
183
+ "self": 0.25663818497855573,
184
  "children": {
185
  "env_step": {
186
+ "total": 464.62459470101385,
187
+ "count": 18209,
188
+ "self": 342.1357233350177,
189
  "children": {
190
  "SubprocessEnvManager._take_step": {
191
+ "total": 122.22314887400307,
192
+ "count": 18209,
193
+ "self": 1.6764102440267834,
194
  "children": {
195
  "TorchPolicy.evaluate": {
196
+ "total": 120.54673862997629,
197
+ "count": 18209,
198
+ "self": 120.54673862997629
199
  }
200
  }
201
  },
202
  "workers": {
203
+ "total": 0.2657224919930741,
204
+ "count": 18209,
205
  "self": 0.0,
206
  "children": {
207
  "worker_root": {
208
+ "total": 468.2216159179677,
209
+ "count": 18209,
210
  "is_parallel": true,
211
+ "self": 217.45074089196942,
212
  "children": {
213
  "run_training.setup": {
214
  "total": 0.0,
 
217
  "self": 0.0,
218
  "children": {
219
  "steps_from_proto": {
220
+ "total": 0.005871605000038471,
221
  "count": 1,
222
  "is_parallel": true,
223
+ "self": 0.004296466000141663,
224
  "children": {
225
  "_process_rank_one_or_two_observation": {
226
+ "total": 0.001575138999896808,
227
  "count": 10,
228
  "is_parallel": true,
229
+ "self": 0.001575138999896808
230
  }
231
  }
232
  },
233
  "UnityEnvironment.step": {
234
+ "total": 0.04659999499995138,
235
  "count": 1,
236
  "is_parallel": true,
237
+ "self": 0.0006160559998988901,
238
  "children": {
239
  "UnityEnvironment._generate_step_input": {
240
+ "total": 0.0003064190000259259,
241
  "count": 1,
242
  "is_parallel": true,
243
+ "self": 0.0003064190000259259
244
  },
245
  "communicator.exchange": {
246
+ "total": 0.03085174700004245,
247
  "count": 1,
248
  "is_parallel": true,
249
+ "self": 0.03085174700004245
250
  },
251
  "steps_from_proto": {
252
+ "total": 0.01482577299998411,
253
  "count": 1,
254
  "is_parallel": true,
255
+ "self": 0.0004151090004143043,
256
  "children": {
257
  "_process_rank_one_or_two_observation": {
258
+ "total": 0.014410663999569806,
259
  "count": 10,
260
  "is_parallel": true,
261
+ "self": 0.014410663999569806
262
  }
263
  }
264
  }
 
267
  }
268
  },
269
  "UnityEnvironment.step": {
270
+ "total": 250.7708750259983,
271
+ "count": 18208,
272
  "is_parallel": true,
273
+ "self": 10.580150923986366,
274
  "children": {
275
  "UnityEnvironment._generate_step_input": {
276
+ "total": 5.262178323985609,
277
+ "count": 18208,
278
  "is_parallel": true,
279
+ "self": 5.262178323985609
280
  },
281
  "communicator.exchange": {
282
+ "total": 199.9149053040219,
283
+ "count": 18208,
284
  "is_parallel": true,
285
+ "self": 199.9149053040219
286
  },
287
  "steps_from_proto": {
288
+ "total": 35.01364047400443,
289
+ "count": 18208,
290
  "is_parallel": true,
291
+ "self": 6.319171928062133,
292
  "children": {
293
  "_process_rank_one_or_two_observation": {
294
+ "total": 28.6944685459423,
295
+ "count": 182080,
296
  "is_parallel": true,
297
+ "self": 28.6944685459423
298
  }
299
  }
300
  }
 
309
  }
310
  },
311
  "trainer_threads": {
312
+ "total": 0.0001469989999804966,
313
  "count": 1,
314
+ "self": 0.0001469989999804966,
315
  "children": {
316
  "thread_root": {
317
  "total": 0.0,
 
320
  "self": 0.0,
321
  "children": {
322
  "trainer_advance": {
323
+ "total": 461.5913647940588,
324
+ "count": 428721,
325
  "is_parallel": true,
326
+ "self": 9.001679323132521,
327
  "children": {
328
  "process_trajectory": {
329
+ "total": 252.33345805292515,
330
+ "count": 428721,
331
  "is_parallel": true,
332
+ "self": 250.82490206992497,
333
  "children": {
334
  "RLTrainer._checkpoint": {
335
+ "total": 1.5085559830001785,
336
  "count": 4,
337
  "is_parallel": true,
338
+ "self": 1.5085559830001785
339
  }
340
  }
341
  },
342
  "_update_policy": {
343
+ "total": 200.25622741800112,
344
  "count": 90,
345
  "is_parallel": true,
346
+ "self": 79.18940380599838,
347
  "children": {
348
  "TorchPPOOptimizer.update": {
349
+ "total": 121.06682361200274,
350
  "count": 4587,
351
  "is_parallel": true,
352
+ "self": 121.06682361200274
353
  }
354
  }
355
  }
 
360
  }
361
  },
362
  "TrainerController._save_models": {
363
+ "total": 0.22047877300019536,
364
  "count": 1,
365
+ "self": 0.001132686000346439,
366
  "children": {
367
  "RLTrainer._checkpoint": {
368
+ "total": 0.21934608699984892,
369
  "count": 1,
370
+ "self": 0.21934608699984892
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": 13.363636363636363,
8
- "creation_time": 1679838672.2344048,
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": 22.818181818181817,
17
- "creation_time": 1679838782.7746797,
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.90909090909091,
26
- "creation_time": 1679838894.3837185,
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.545454545454547,
35
- "creation_time": 1679839004.040888,
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.545454545454547,
44
- "creation_time": 1679839004.1895702,
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.545454545454547,
54
- "creation_time": 1679839004.1895702,
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": 15.272727272727273,
8
+ "creation_time": 1687223121.2512884,
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": 21.181818181818183,
17
+ "creation_time": 1687223238.0020137,
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": 26.454545454545453,
26
+ "creation_time": 1687223355.0962079,
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.90909090909091,
35
+ "creation_time": 1687223470.8407545,
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.90909090909091,
44
+ "creation_time": 1687223471.0815701,
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.90909090909091,
54
+ "creation_time": 1687223471.0815701,
55
  "auxillary_file_paths": [
56
  "results/SnowballTarget1/SnowballTarget/SnowballTarget-200112.pt"
57
  ]