chavicoski commited on
Commit
9bcd346
1 Parent(s): a4eeb45

SnowballTarget agent trained for 1000000 steps

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: chavicoski/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:0e3222262171cc83fce22b10b546260019b02e24d2396ba648774f7b981b559b
3
+ size 645119
SnowballTarget/SnowballTarget-1000208.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e3222262171cc83fce22b10b546260019b02e24d2396ba648774f7b981b559b
3
+ size 645119
SnowballTarget/SnowballTarget-1000208.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0cd8b5148dde592b251f9d5c5784d65c88349631339effa7830e2a2c4948b948
3
+ size 3845822
SnowballTarget/SnowballTarget-899992.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f392584b4fb5309e97f405f18369aeac741407ad0e93b507277bc63ee596f5ee
3
+ size 645119
SnowballTarget/SnowballTarget-899992.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fba8be6a6dcb2ae82109a2ce22343981c891ad788893513d12e5a9e9138d12ac
3
+ size 3845822
SnowballTarget/SnowballTarget-999952.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e3222262171cc83fce22b10b546260019b02e24d2396ba648774f7b981b559b
3
+ size 645119
SnowballTarget/SnowballTarget-999952.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:16727103aeb3bff4808d68f1892d3a204a943bc54cd5719328b47d5b62eafe6a
3
+ size 3845822
SnowballTarget/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0cd8b5148dde592b251f9d5c5784d65c88349631339effa7830e2a2c4948b948
3
+ size 3845822
SnowballTarget/events.out.tfevents.1673690943.c0fc07f2fe7d.8.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d84555e7e5126e040b1c4d16bd5c4f5139c5bc64bfd33194f1908ef7f780f70b
3
+ size 98981
config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"default_settings": null, "behaviors": {"SnowballTarget": {"trainer_type": "ppo", "hyperparameters": {"batch_size": 512, "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": 256, "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": 3, "checkpoint_interval": 100000, "max_steps": 1000000, "time_horizon": 64, "summary_freq": 10000, "threaded": true, "self_play": null, "behavioral_cloning": null}}, "env_settings": {"env_path": "ml-agents/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": "2023-01-14_10-09-01", "initialize_from": null, "load_model": false, "resume": false, "force": false, "train_model": false, "inference": false, "results_dir": "./src/runs/train"}, "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: 512
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: 256
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: 3
38
+ checkpoint_interval: 100000
39
+ max_steps: 1000000
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: ml-agents/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: 2023-01-14_10-09-01
66
+ initialize_from: null
67
+ load_model: false
68
+ resume: false
69
+ force: false
70
+ train_model: false
71
+ inference: false
72
+ results_dir: ./src/runs/train
73
+ torch_settings:
74
+ device: null
75
+ debug: false
run_logs/Player-0.log ADDED
@@ -0,0 +1,393 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/workspace/ml-agents/training-envs-executables/linux/SnowballTarget/SnowballTarget_Data/Managed'
2
+ Mono config path = '/workspace/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: /root/.config/unity3d/Hugging Face
6
+ PlayerPrefs - Creating folder: /root/.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 /workspace/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
+ FMOD initialized on nosound output
17
+ Begin MonoManager ReloadAssembly
18
+ - Completed reload, in 0.049 seconds
19
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
20
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
21
+ ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
22
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
23
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
24
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
25
+ ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
26
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
27
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
28
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
29
+ UnloadTime: 0.407651 ms
30
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
31
+ requesting resize 84 x 84
32
+ Setting up 16 worker threads for Enlighten.
33
+ Memory Statistics:
34
+ [ALLOC_TEMP_TLS] TLS Allocator
35
+ StackAllocators :
36
+ [ALLOC_TEMP_MAIN]
37
+ Peak usage frame count: [8.0 KB-16.0 KB]: 26828 frames, [16.0 KB-32.0 KB]: 454 frames, [2.0 MB-4.0 MB]: 1 frames
38
+ Initial Block Size 4.0 MB
39
+ Current Block Size 4.0 MB
40
+ Peak Allocated Bytes 2.0 MB
41
+ Overflow Count 0
42
+ [ALLOC_TEMP_Job.Worker 18]
43
+ Initial Block Size 256.0 KB
44
+ Current Block Size 256.0 KB
45
+ Peak Allocated Bytes 3.6 KB
46
+ Overflow Count 0
47
+ [ALLOC_TEMP_Loading.PreloadManager]
48
+ Initial Block Size 256.0 KB
49
+ Current Block Size 304.0 KB
50
+ Peak Allocated Bytes 228.9 KB
51
+ Overflow Count 4
52
+ [ALLOC_TEMP_Background Job.Worker 8]
53
+ Initial Block Size 32.0 KB
54
+ Current Block Size 32.0 KB
55
+ Peak Allocated Bytes 0 B
56
+ Overflow Count 0
57
+ [ALLOC_TEMP_Background Job.Worker 10]
58
+ Initial Block Size 32.0 KB
59
+ Current Block Size 32.0 KB
60
+ Peak Allocated Bytes 0 B
61
+ Overflow Count 0
62
+ [ALLOC_TEMP_Job.Worker 16]
63
+ Initial Block Size 256.0 KB
64
+ Current Block Size 256.0 KB
65
+ Peak Allocated Bytes 3.6 KB
66
+ Overflow Count 0
67
+ [ALLOC_TEMP_Background Job.Worker 6]
68
+ Initial Block Size 32.0 KB
69
+ Current Block Size 32.0 KB
70
+ Peak Allocated Bytes 0 B
71
+ Overflow Count 0
72
+ [ALLOC_TEMP_Job.Worker 4]
73
+ Initial Block Size 256.0 KB
74
+ Current Block Size 256.0 KB
75
+ Peak Allocated Bytes 3.6 KB
76
+ Overflow Count 0
77
+ [ALLOC_TEMP_Job.Worker 27]
78
+ Initial Block Size 256.0 KB
79
+ Current Block Size 256.0 KB
80
+ Peak Allocated Bytes 3.6 KB
81
+ Overflow Count 0
82
+ [ALLOC_TEMP_Job.Worker 14]
83
+ Initial Block Size 256.0 KB
84
+ Current Block Size 256.0 KB
85
+ Peak Allocated Bytes 3.6 KB
86
+ Overflow Count 0
87
+ [ALLOC_TEMP_Job.Worker 17]
88
+ Initial Block Size 256.0 KB
89
+ Current Block Size 256.0 KB
90
+ Peak Allocated Bytes 3.6 KB
91
+ Overflow Count 0
92
+ [ALLOC_TEMP_Job.Worker 3]
93
+ Initial Block Size 256.0 KB
94
+ Current Block Size 256.0 KB
95
+ Peak Allocated Bytes 3.6 KB
96
+ Overflow Count 0
97
+ [ALLOC_TEMP_Background Job.Worker 12]
98
+ Initial Block Size 32.0 KB
99
+ Current Block Size 32.0 KB
100
+ Peak Allocated Bytes 0 B
101
+ Overflow Count 0
102
+ [ALLOC_TEMP_Background Job.Worker 1]
103
+ Initial Block Size 32.0 KB
104
+ Current Block Size 32.0 KB
105
+ Peak Allocated Bytes 0 B
106
+ Overflow Count 0
107
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 31
108
+ Initial Block Size 64.0 KB
109
+ Current Block Size 64.0 KB
110
+ Peak Allocated Bytes 0 B
111
+ Overflow Count 0
112
+ [ALLOC_TEMP_Background Job.Worker 5]
113
+ Initial Block Size 32.0 KB
114
+ Current Block Size 32.0 KB
115
+ Peak Allocated Bytes 0 B
116
+ Overflow Count 0
117
+ [ALLOC_TEMP_Background Job.Worker 13]
118
+ Initial Block Size 32.0 KB
119
+ Current Block Size 32.0 KB
120
+ Peak Allocated Bytes 0 B
121
+ Overflow Count 0
122
+ [ALLOC_TEMP_Background Job.Worker 11]
123
+ Initial Block Size 32.0 KB
124
+ Current Block Size 32.0 KB
125
+ Peak Allocated Bytes 0 B
126
+ Overflow Count 0
127
+ [ALLOC_TEMP_Job.Worker 2]
128
+ Initial Block Size 256.0 KB
129
+ Current Block Size 256.0 KB
130
+ Peak Allocated Bytes 3.6 KB
131
+ Overflow Count 0
132
+ [ALLOC_TEMP_Background Job.Worker 3]
133
+ Initial Block Size 32.0 KB
134
+ Current Block Size 32.0 KB
135
+ Peak Allocated Bytes 0 B
136
+ Overflow Count 0
137
+ [ALLOC_TEMP_Background Job.Worker 0]
138
+ Initial Block Size 32.0 KB
139
+ Current Block Size 32.0 KB
140
+ Peak Allocated Bytes 0 B
141
+ Overflow Count 0
142
+ [ALLOC_TEMP_Job.Worker 20]
143
+ Initial Block Size 256.0 KB
144
+ Current Block Size 256.0 KB
145
+ Peak Allocated Bytes 3.6 KB
146
+ Overflow Count 0
147
+ [ALLOC_TEMP_Job.Worker 11]
148
+ Initial Block Size 256.0 KB
149
+ Current Block Size 256.0 KB
150
+ Peak Allocated Bytes 3.6 KB
151
+ Overflow Count 0
152
+ [ALLOC_TEMP_Background Job.Worker 4]
153
+ Initial Block Size 32.0 KB
154
+ Current Block Size 32.0 KB
155
+ Peak Allocated Bytes 0 B
156
+ Overflow Count 0
157
+ [ALLOC_TEMP_BatchDeleteObjects]
158
+ Initial Block Size 64.0 KB
159
+ Current Block Size 64.0 KB
160
+ Peak Allocated Bytes 0 B
161
+ Overflow Count 0
162
+ [ALLOC_TEMP_Job.Worker 30]
163
+ Initial Block Size 256.0 KB
164
+ Current Block Size 256.0 KB
165
+ Peak Allocated Bytes 3.6 KB
166
+ Overflow Count 0
167
+ [ALLOC_TEMP_Job.Worker 6]
168
+ Initial Block Size 256.0 KB
169
+ Current Block Size 256.0 KB
170
+ Peak Allocated Bytes 3.6 KB
171
+ Overflow Count 0
172
+ [ALLOC_TEMP_Job.Worker 0]
173
+ Initial Block Size 256.0 KB
174
+ Current Block Size 256.0 KB
175
+ Peak Allocated Bytes 3.6 KB
176
+ Overflow Count 0
177
+ [ALLOC_TEMP_Job.Worker 21]
178
+ Initial Block Size 256.0 KB
179
+ Current Block Size 256.0 KB
180
+ Peak Allocated Bytes 3.6 KB
181
+ Overflow Count 0
182
+ [ALLOC_TEMP_Job.Worker 26]
183
+ Initial Block Size 256.0 KB
184
+ Current Block Size 256.0 KB
185
+ Peak Allocated Bytes 3.6 KB
186
+ Overflow Count 0
187
+ [ALLOC_TEMP_Job.Worker 5]
188
+ Initial Block Size 256.0 KB
189
+ Current Block Size 256.0 KB
190
+ Peak Allocated Bytes 3.6 KB
191
+ Overflow Count 0
192
+ [ALLOC_TEMP_Background Job.Worker 9]
193
+ Initial Block Size 32.0 KB
194
+ Current Block Size 32.0 KB
195
+ Peak Allocated Bytes 0 B
196
+ Overflow Count 0
197
+ [ALLOC_TEMP_Job.Worker 25]
198
+ Initial Block Size 256.0 KB
199
+ Current Block Size 256.0 KB
200
+ Peak Allocated Bytes 3.6 KB
201
+ Overflow Count 0
202
+ [ALLOC_TEMP_Background Job.Worker 14]
203
+ Initial Block Size 32.0 KB
204
+ Current Block Size 32.0 KB
205
+ Peak Allocated Bytes 0 B
206
+ Overflow Count 0
207
+ [ALLOC_TEMP_Job.Worker 29]
208
+ Initial Block Size 256.0 KB
209
+ Current Block Size 256.0 KB
210
+ Peak Allocated Bytes 3.6 KB
211
+ Overflow Count 0
212
+ [ALLOC_TEMP_Job.Worker 13]
213
+ Initial Block Size 256.0 KB
214
+ Current Block Size 256.0 KB
215
+ Peak Allocated Bytes 3.6 KB
216
+ Overflow Count 0
217
+ [ALLOC_TEMP_EnlightenWorker] x 16
218
+ Initial Block Size 64.0 KB
219
+ Current Block Size 64.0 KB
220
+ Peak Allocated Bytes 0 B
221
+ Overflow Count 0
222
+ [ALLOC_TEMP_Background Job.Worker 15]
223
+ Initial Block Size 32.0 KB
224
+ Current Block Size 32.0 KB
225
+ Peak Allocated Bytes 0 B
226
+ Overflow Count 0
227
+ [ALLOC_TEMP_Background Job.Worker 2]
228
+ Initial Block Size 32.0 KB
229
+ Current Block Size 32.0 KB
230
+ Peak Allocated Bytes 0 B
231
+ Overflow Count 0
232
+ [ALLOC_TEMP_Job.Worker 28]
233
+ Initial Block Size 256.0 KB
234
+ Current Block Size 256.0 KB
235
+ Peak Allocated Bytes 3.6 KB
236
+ Overflow Count 0
237
+ [ALLOC_TEMP_Job.Worker 22]
238
+ Initial Block Size 256.0 KB
239
+ Current Block Size 256.0 KB
240
+ Peak Allocated Bytes 3.6 KB
241
+ Overflow Count 0
242
+ [ALLOC_TEMP_Background Job.Worker 7]
243
+ Initial Block Size 32.0 KB
244
+ Current Block Size 32.0 KB
245
+ Peak Allocated Bytes 0 B
246
+ Overflow Count 0
247
+ [ALLOC_TEMP_Job.Worker 9]
248
+ Initial Block Size 256.0 KB
249
+ Current Block Size 256.0 KB
250
+ Peak Allocated Bytes 3.6 KB
251
+ Overflow Count 0
252
+ [ALLOC_TEMP_Job.Worker 8]
253
+ Initial Block Size 256.0 KB
254
+ Current Block Size 256.0 KB
255
+ Peak Allocated Bytes 3.6 KB
256
+ Overflow Count 0
257
+ [ALLOC_TEMP_Job.Worker 7]
258
+ Initial Block Size 256.0 KB
259
+ Current Block Size 256.0 KB
260
+ Peak Allocated Bytes 3.6 KB
261
+ Overflow Count 0
262
+ [ALLOC_TEMP_Job.Worker 23]
263
+ Initial Block Size 256.0 KB
264
+ Current Block Size 256.0 KB
265
+ Peak Allocated Bytes 3.6 KB
266
+ Overflow Count 0
267
+ [ALLOC_TEMP_Job.Worker 1]
268
+ Initial Block Size 256.0 KB
269
+ Current Block Size 256.0 KB
270
+ Peak Allocated Bytes 3.6 KB
271
+ Overflow Count 0
272
+ [ALLOC_TEMP_Job.Worker 10]
273
+ Initial Block Size 256.0 KB
274
+ Current Block Size 256.0 KB
275
+ Peak Allocated Bytes 3.6 KB
276
+ Overflow Count 0
277
+ [ALLOC_TEMP_Job.Worker 24]
278
+ Initial Block Size 256.0 KB
279
+ Current Block Size 256.0 KB
280
+ Peak Allocated Bytes 3.6 KB
281
+ Overflow Count 0
282
+ [ALLOC_TEMP_Job.Worker 15]
283
+ Initial Block Size 256.0 KB
284
+ Current Block Size 256.0 KB
285
+ Peak Allocated Bytes 3.6 KB
286
+ Overflow Count 0
287
+ [ALLOC_TEMP_Job.Worker 19]
288
+ Initial Block Size 256.0 KB
289
+ Current Block Size 256.0 KB
290
+ Peak Allocated Bytes 3.6 KB
291
+ Overflow Count 0
292
+ [ALLOC_TEMP_Job.Worker 12]
293
+ Initial Block Size 256.0 KB
294
+ Current Block Size 256.0 KB
295
+ Peak Allocated Bytes 3.6 KB
296
+ Overflow Count 0
297
+ [ALLOC_TEMP_Loading.AsyncRead]
298
+ Initial Block Size 64.0 KB
299
+ Current Block Size 64.0 KB
300
+ Peak Allocated Bytes 202 B
301
+ Overflow Count 0
302
+ [ALLOC_DEFAULT] Dual Thread Allocator
303
+ Peak main deferred allocation count 37
304
+ [ALLOC_BUCKET]
305
+ Large Block size 4.0 MB
306
+ Used Block count 1
307
+ Peak Allocated bytes 1.0 MB
308
+ [ALLOC_DEFAULT_MAIN]
309
+ Peak usage frame count: [4.0 MB-8.0 MB]: 11289 frames, [8.0 MB-16.0 MB]: 15994 frames
310
+ Requested Block Size 16.0 MB
311
+ Peak Block count 2
312
+ Peak Allocated memory 14.6 MB
313
+ Peak Large allocation bytes 0 B
314
+ [ALLOC_DEFAULT_THREAD]
315
+ Peak usage frame count: [16.0 MB-32.0 MB]: 27283 frames
316
+ Requested Block Size 16.0 MB
317
+ Peak Block count 1
318
+ Peak Allocated memory 17.5 MB
319
+ Peak Large allocation bytes 16.0 MB
320
+ [ALLOC_TEMP_JOB_1_FRAME]
321
+ Initial Block Size 2.0 MB
322
+ Used Block Count 1
323
+ Overflow Count (too large) 0
324
+ Overflow Count (full) 0
325
+ [ALLOC_TEMP_JOB_2_FRAMES]
326
+ Initial Block Size 2.0 MB
327
+ Used Block Count 1
328
+ Overflow Count (too large) 0
329
+ Overflow Count (full) 0
330
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
331
+ Initial Block Size 2.0 MB
332
+ Used Block Count 2
333
+ Overflow Count (too large) 0
334
+ Overflow Count (full) 0
335
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
336
+ Initial Block Size 1.0 MB
337
+ Used Block Count 3
338
+ Overflow Count (too large) 0
339
+ Overflow Count (full) 0
340
+ [ALLOC_GFX] Dual Thread Allocator
341
+ Peak main deferred allocation count 0
342
+ [ALLOC_BUCKET]
343
+ Large Block size 4.0 MB
344
+ Used Block count 1
345
+ Peak Allocated bytes 1.0 MB
346
+ [ALLOC_GFX_MAIN]
347
+ Peak usage frame count: [32.0 KB-64.0 KB]: 26406 frames, [64.0 KB-128.0 KB]: 877 frames
348
+ Requested Block Size 16.0 MB
349
+ Peak Block count 1
350
+ Peak Allocated memory 66.8 KB
351
+ Peak Large allocation bytes 0 B
352
+ [ALLOC_GFX_THREAD]
353
+ Peak usage frame count: [32.0 KB-64.0 KB]: 27283 frames
354
+ Requested Block Size 16.0 MB
355
+ Peak Block count 1
356
+ Peak Allocated memory 39.6 KB
357
+ Peak Large allocation bytes 0 B
358
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
359
+ Peak main deferred allocation count 0
360
+ [ALLOC_BUCKET]
361
+ Large Block size 4.0 MB
362
+ Used Block count 1
363
+ Peak Allocated bytes 1.0 MB
364
+ [ALLOC_CACHEOBJECTS_MAIN]
365
+ Peak usage frame count: [0.5 MB-1.0 MB]: 27283 frames
366
+ Requested Block Size 4.0 MB
367
+ Peak Block count 1
368
+ Peak Allocated memory 0.6 MB
369
+ Peak Large allocation bytes 0 B
370
+ [ALLOC_CACHEOBJECTS_THREAD]
371
+ Peak usage frame count: [0.5 MB-1.0 MB]: 27282 frames, [2.0 MB-4.0 MB]: 1 frames
372
+ Requested Block Size 4.0 MB
373
+ Peak Block count 1
374
+ Peak Allocated memory 2.2 MB
375
+ Peak Large allocation bytes 0 B
376
+ [ALLOC_TYPETREE] Dual Thread Allocator
377
+ Peak main deferred allocation count 0
378
+ [ALLOC_BUCKET]
379
+ Large Block size 4.0 MB
380
+ Used Block count 1
381
+ Peak Allocated bytes 1.0 MB
382
+ [ALLOC_TYPETREE_MAIN]
383
+ Peak usage frame count: [0-1.0 KB]: 27283 frames
384
+ Requested Block Size 2.0 MB
385
+ Peak Block count 1
386
+ Peak Allocated memory 1.0 KB
387
+ Peak Large allocation bytes 0 B
388
+ [ALLOC_TYPETREE_THREAD]
389
+ Peak usage frame count: [1.0 KB-2.0 KB]: 27283 frames
390
+ Requested Block Size 2.0 MB
391
+ Peak Block count 1
392
+ Peak Allocated memory 1.7 KB
393
+ 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": 0.6769737601280212,
6
+ "min": 0.6477652788162231,
7
+ "max": 2.8848772048950195,
8
+ "count": 100
9
+ },
10
+ "SnowballTarget.Policy.Entropy.sum": {
11
+ "value": 6523.3193359375,
12
+ "min": 6220.490234375,
13
+ "max": 29575.76171875,
14
+ "count": 100
15
+ },
16
+ "SnowballTarget.Step.mean": {
17
+ "value": 999952.0,
18
+ "min": 9952.0,
19
+ "max": 999952.0,
20
+ "count": 100
21
+ },
22
+ "SnowballTarget.Step.sum": {
23
+ "value": 999952.0,
24
+ "min": 9952.0,
25
+ "max": 999952.0,
26
+ "count": 100
27
+ },
28
+ "SnowballTarget.Policy.ExtrinsicValueEstimate.mean": {
29
+ "value": 13.476271629333496,
30
+ "min": 0.2929825186729431,
31
+ "max": 13.846470832824707,
32
+ "count": 100
33
+ },
34
+ "SnowballTarget.Policy.ExtrinsicValueEstimate.sum": {
35
+ "value": 2627.873046875,
36
+ "min": 56.83860778808594,
37
+ "max": 2817.32958984375,
38
+ "count": 100
39
+ },
40
+ "SnowballTarget.Environment.EpisodeLength.mean": {
41
+ "value": 199.0,
42
+ "min": 199.0,
43
+ "max": 199.0,
44
+ "count": 100
45
+ },
46
+ "SnowballTarget.Environment.EpisodeLength.sum": {
47
+ "value": 8756.0,
48
+ "min": 8756.0,
49
+ "max": 10945.0,
50
+ "count": 100
51
+ },
52
+ "SnowballTarget.Losses.PolicyLoss.mean": {
53
+ "value": 0.027597169479122385,
54
+ "min": 0.02255445428535268,
55
+ "max": 0.040866594271695554,
56
+ "count": 100
57
+ },
58
+ "SnowballTarget.Losses.PolicyLoss.sum": {
59
+ "value": 0.11038867791648954,
60
+ "min": 0.09557162324199453,
61
+ "max": 0.20007359457667914,
62
+ "count": 100
63
+ },
64
+ "SnowballTarget.Losses.ValueLoss.mean": {
65
+ "value": 0.16476727463304996,
66
+ "min": 0.11405681275452176,
67
+ "max": 0.36527897914250695,
68
+ "count": 100
69
+ },
70
+ "SnowballTarget.Losses.ValueLoss.sum": {
71
+ "value": 0.6590690985321999,
72
+ "min": 0.45622725101808703,
73
+ "max": 1.7647033855319023,
74
+ "count": 100
75
+ },
76
+ "SnowballTarget.Policy.LearningRate.mean": {
77
+ "value": 1.3764995412000023e-06,
78
+ "min": 1.3764995412000023e-06,
79
+ "max": 0.00029837640054119997,
80
+ "count": 100
81
+ },
82
+ "SnowballTarget.Policy.LearningRate.sum": {
83
+ "value": 5.505998164800009e-06,
84
+ "min": 5.505998164800009e-06,
85
+ "max": 0.001477032007656,
86
+ "count": 100
87
+ },
88
+ "SnowballTarget.Policy.Epsilon.mean": {
89
+ "value": 0.10045880000000001,
90
+ "min": 0.10045880000000001,
91
+ "max": 0.19945880000000002,
92
+ "count": 100
93
+ },
94
+ "SnowballTarget.Policy.Epsilon.sum": {
95
+ "value": 0.40183520000000006,
96
+ "min": 0.40183520000000006,
97
+ "max": 0.992344,
98
+ "count": 100
99
+ },
100
+ "SnowballTarget.Policy.Beta.mean": {
101
+ "value": 3.289412000000005e-05,
102
+ "min": 3.289412000000005e-05,
103
+ "max": 0.00497299412,
104
+ "count": 100
105
+ },
106
+ "SnowballTarget.Policy.Beta.sum": {
107
+ "value": 0.0001315764800000002,
108
+ "min": 0.0001315764800000002,
109
+ "max": 0.0246179656,
110
+ "count": 100
111
+ },
112
+ "SnowballTarget.Environment.CumulativeReward.mean": {
113
+ "value": 26.355555555555554,
114
+ "min": 2.9318181818181817,
115
+ "max": 27.431818181818183,
116
+ "count": 100
117
+ },
118
+ "SnowballTarget.Environment.CumulativeReward.sum": {
119
+ "value": 1186.0,
120
+ "min": 129.0,
121
+ "max": 1483.0,
122
+ "count": 100
123
+ },
124
+ "SnowballTarget.Policy.ExtrinsicReward.mean": {
125
+ "value": 26.355555555555554,
126
+ "min": 2.9318181818181817,
127
+ "max": 27.431818181818183,
128
+ "count": 100
129
+ },
130
+ "SnowballTarget.Policy.ExtrinsicReward.sum": {
131
+ "value": 1186.0,
132
+ "min": 129.0,
133
+ "max": 1483.0,
134
+ "count": 100
135
+ },
136
+ "SnowballTarget.IsTraining.mean": {
137
+ "value": 1.0,
138
+ "min": 1.0,
139
+ "max": 1.0,
140
+ "count": 100
141
+ },
142
+ "SnowballTarget.IsTraining.sum": {
143
+ "value": 1.0,
144
+ "min": 1.0,
145
+ "max": 1.0,
146
+ "count": 100
147
+ }
148
+ },
149
+ "metadata": {
150
+ "timer_format_version": "0.1.0",
151
+ "start_time_seconds": "1673690942",
152
+ "python_version": "3.8.8 (default, Feb 24 2021, 21:46:12) \n[GCC 7.3.0]",
153
+ "command_line_arguments": "/opt/conda/bin/mlagents-learn ./src/SnowballTarget_params.yaml --env=ml-agents/training-envs-executables/linux/SnowballTarget/SnowballTarget --run-id=2023-01-14_10-09-01 --results-dir=./src/runs/train --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",
158
+ "numpy_version": "1.19.2",
159
+ "end_time_seconds": "1673695344"
160
+ },
161
+ "total": 4401.617215140001,
162
+ "count": 1,
163
+ "self": 0.2190979890001472,
164
+ "children": {
165
+ "run_training.setup": {
166
+ "total": 0.030691262999880564,
167
+ "count": 1,
168
+ "self": 0.030691262999880564
169
+ },
170
+ "TrainerController.start_learning": {
171
+ "total": 4401.367425888,
172
+ "count": 1,
173
+ "self": 1.5544644770998275,
174
+ "children": {
175
+ "TrainerController._reset_env": {
176
+ "total": 2.4205356739998933,
177
+ "count": 1,
178
+ "self": 2.4205356739998933
179
+ },
180
+ "TrainerController.advance": {
181
+ "total": 4397.3119387529005,
182
+ "count": 90942,
183
+ "self": 0.7482325350829342,
184
+ "children": {
185
+ "env_step": {
186
+ "total": 4396.5637062178175,
187
+ "count": 90942,
188
+ "self": 3912.197442464144,
189
+ "children": {
190
+ "SubprocessEnvManager._take_step": {
191
+ "total": 483.5600099767471,
192
+ "count": 90942,
193
+ "self": 3.5419182595856,
194
+ "children": {
195
+ "TorchPolicy.evaluate": {
196
+ "total": 480.0180917171615,
197
+ "count": 90942,
198
+ "self": 107.47260620901943,
199
+ "children": {
200
+ "TorchPolicy.sample_actions": {
201
+ "total": 372.54548550814206,
202
+ "count": 90942,
203
+ "self": 372.54548550814206
204
+ }
205
+ }
206
+ }
207
+ }
208
+ },
209
+ "workers": {
210
+ "total": 0.8062537769264964,
211
+ "count": 90942,
212
+ "self": 0.0,
213
+ "children": {
214
+ "worker_root": {
215
+ "total": 4399.180905620952,
216
+ "count": 90942,
217
+ "is_parallel": true,
218
+ "self": 573.7414039370292,
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.002669847000106529,
228
+ "count": 1,
229
+ "is_parallel": true,
230
+ "self": 0.0008883280002009997,
231
+ "children": {
232
+ "_process_rank_one_or_two_observation": {
233
+ "total": 0.0017815189999055292,
234
+ "count": 10,
235
+ "is_parallel": true,
236
+ "self": 0.0017815189999055292
237
+ }
238
+ }
239
+ },
240
+ "UnityEnvironment.step": {
241
+ "total": 0.0741495180000129,
242
+ "count": 1,
243
+ "is_parallel": true,
244
+ "self": 0.00012181300053271116,
245
+ "children": {
246
+ "UnityEnvironment._generate_step_input": {
247
+ "total": 0.0006089759999667876,
248
+ "count": 1,
249
+ "is_parallel": true,
250
+ "self": 0.0006089759999667876
251
+ },
252
+ "communicator.exchange": {
253
+ "total": 0.07145878899973468,
254
+ "count": 1,
255
+ "is_parallel": true,
256
+ "self": 0.07145878899973468
257
+ },
258
+ "steps_from_proto": {
259
+ "total": 0.001959939999778726,
260
+ "count": 1,
261
+ "is_parallel": true,
262
+ "self": 0.00018193099913332844,
263
+ "children": {
264
+ "_process_rank_one_or_two_observation": {
265
+ "total": 0.0017780090006453975,
266
+ "count": 10,
267
+ "is_parallel": true,
268
+ "self": 0.0017780090006453975
269
+ }
270
+ }
271
+ }
272
+ }
273
+ }
274
+ }
275
+ },
276
+ "UnityEnvironment.step": {
277
+ "total": 3825.439501683923,
278
+ "count": 90941,
279
+ "is_parallel": true,
280
+ "self": 11.365759420959876,
281
+ "children": {
282
+ "UnityEnvironment._generate_step_input": {
283
+ "total": 47.11917420311329,
284
+ "count": 90941,
285
+ "is_parallel": true,
286
+ "self": 47.11917420311329
287
+ },
288
+ "communicator.exchange": {
289
+ "total": 3562.0366735060857,
290
+ "count": 90941,
291
+ "is_parallel": true,
292
+ "self": 3562.0366735060857
293
+ },
294
+ "steps_from_proto": {
295
+ "total": 204.9178945537642,
296
+ "count": 90941,
297
+ "is_parallel": true,
298
+ "self": 17.167834095604576,
299
+ "children": {
300
+ "_process_rank_one_or_two_observation": {
301
+ "total": 187.75006045815962,
302
+ "count": 909410,
303
+ "is_parallel": true,
304
+ "self": 187.75006045815962
305
+ }
306
+ }
307
+ }
308
+ }
309
+ }
310
+ }
311
+ }
312
+ }
313
+ }
314
+ }
315
+ }
316
+ }
317
+ },
318
+ "trainer_threads": {
319
+ "total": 8.299100045405794e-05,
320
+ "count": 1,
321
+ "self": 8.299100045405794e-05,
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": 4393.914356482512,
331
+ "count": 838210,
332
+ "is_parallel": true,
333
+ "self": 11.423304304487829,
334
+ "children": {
335
+ "process_trajectory": {
336
+ "total": 3139.1710635020227,
337
+ "count": 838210,
338
+ "is_parallel": true,
339
+ "self": 3134.9514867410253,
340
+ "children": {
341
+ "RLTrainer._checkpoint": {
342
+ "total": 4.21957676099737,
343
+ "count": 10,
344
+ "is_parallel": true,
345
+ "self": 4.21957676099737
346
+ }
347
+ }
348
+ },
349
+ "_update_policy": {
350
+ "total": 1243.3199886760012,
351
+ "count": 454,
352
+ "is_parallel": true,
353
+ "self": 208.7387946839999,
354
+ "children": {
355
+ "TorchPPOOptimizer.update": {
356
+ "total": 1034.5811939920013,
357
+ "count": 5448,
358
+ "is_parallel": true,
359
+ "self": 1034.5811939920013
360
+ }
361
+ }
362
+ }
363
+ }
364
+ }
365
+ }
366
+ }
367
+ }
368
+ },
369
+ "TrainerController._save_models": {
370
+ "total": 0.08040399299898127,
371
+ "count": 1,
372
+ "self": 0.0004114239982300205,
373
+ "children": {
374
+ "RLTrainer._checkpoint": {
375
+ "total": 0.07999256900075125,
376
+ "count": 1,
377
+ "self": 0.07999256900075125
378
+ }
379
+ }
380
+ }
381
+ }
382
+ }
383
+ }
384
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SnowballTarget": {
3
+ "checkpoints": [
4
+ {
5
+ "steps": 899992,
6
+ "file_path": "./src/runs/train/2023-01-14_10-09-01/SnowballTarget/SnowballTarget-899992.onnx",
7
+ "reward": 27.09090909090909,
8
+ "creation_time": 1673694893.4054754,
9
+ "auxillary_file_paths": [
10
+ "./src/runs/train/2023-01-14_10-09-01/SnowballTarget/SnowballTarget-899992.pt"
11
+ ]
12
+ },
13
+ {
14
+ "steps": 999952,
15
+ "file_path": "./src/runs/train/2023-01-14_10-09-01/SnowballTarget/SnowballTarget-999952.onnx",
16
+ "reward": 25.727272727272727,
17
+ "creation_time": 1673695344.1223326,
18
+ "auxillary_file_paths": [
19
+ "./src/runs/train/2023-01-14_10-09-01/SnowballTarget/SnowballTarget-999952.pt"
20
+ ]
21
+ },
22
+ {
23
+ "steps": 1000208,
24
+ "file_path": "./src/runs/train/2023-01-14_10-09-01/SnowballTarget/SnowballTarget-1000208.onnx",
25
+ "reward": 25.727272727272727,
26
+ "creation_time": 1673695344.301372,
27
+ "auxillary_file_paths": [
28
+ "./src/runs/train/2023-01-14_10-09-01/SnowballTarget/SnowballTarget-1000208.pt"
29
+ ]
30
+ }
31
+ ],
32
+ "final_checkpoint": {
33
+ "steps": 1000208,
34
+ "file_path": "./src/runs/train/2023-01-14_10-09-01/SnowballTarget.onnx",
35
+ "reward": 25.727272727272727,
36
+ "creation_time": 1673695344.301372,
37
+ "auxillary_file_paths": [
38
+ "./src/runs/train/2023-01-14_10-09-01/SnowballTarget/SnowballTarget-1000208.pt"
39
+ ]
40
+ }
41
+ },
42
+ "metadata": {
43
+ "stats_format_version": "0.3.0",
44
+ "mlagents_version": "0.29.0.dev0",
45
+ "torch_version": "1.8.1"
46
+ }
47
+ }