mingdinghan commited on
Commit
5402894
1 Parent(s): 633f405

Completed run with 2500000 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-SoccerTwos
9
+ library_name: ml-agents
10
+ ---
11
+
12
+ # **poca** Agent playing **SoccerTwos**
13
+ This is a trained model of a **poca** agent playing **SoccerTwos** 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-SoccerTwos
28
+ 2. Step 1: Write your model_id: mingdinghan/poca-SoccerTwos-250000
29
+ 3. Step 2: Select your *.nn /*.onnx file
30
+ 4. Click on Watch the agent play 👀
31
+
SoccerTwos.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9b55150370e6726ea81d01984faccfd55c3c80b854040489ca64fd8fb3da4bf3
3
+ size 1764633
SoccerTwos/SoccerTwos-499034.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9b55150370e6726ea81d01984faccfd55c3c80b854040489ca64fd8fb3da4bf3
3
+ size 1764633
SoccerTwos/SoccerTwos-499034.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:97e86254d4cb74229afe215ad57f32d0da6a964aea9e85d127d24c0c460cb6df
3
+ size 28421201
SoccerTwos/SoccerTwos-500034.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9b55150370e6726ea81d01984faccfd55c3c80b854040489ca64fd8fb3da4bf3
3
+ size 1764633
SoccerTwos/SoccerTwos-500034.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f1dc4fdc49bef365bf6c40cbaf368634031889d7e4611f76aed892df8455504e
3
+ size 28421201
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f1dc4fdc49bef365bf6c40cbaf368634031889d7e4611f76aed892df8455504e
3
+ size 28421201
SoccerTwos/events.out.tfevents.1677934921.Mingdings-Air.29446.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c41d649e760e1d8a4fbf1cb58bf8c3654db1a8fd24de9d394a64ae0293697516
3
+ size 378554
config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"default_settings": null, "behaviors": {"SoccerTwos": {"trainer_type": "poca", "hyperparameters": {"batch_size": 2048, "buffer_size": 20480, "learning_rate": 0.0003, "beta": 0.005, "epsilon": 0.2, "lambd": 0.95, "num_epoch": 3, "learning_rate_schedule": "constant", "beta_schedule": "constant", "epsilon_schedule": "constant"}, "checkpoint_interval": 500000, "network_settings": {"normalize": false, "hidden_units": 512, "num_layers": 2, "vis_encode_type": "simple", "memory": null, "goal_conditioning_type": "hyper", "deterministic": false}, "reward_signals": {"extrinsic": {"gamma": 0.99, "strength": 1.0, "network_settings": {"normalize": false, "hidden_units": 128, "num_layers": 2, "vis_encode_type": "simple", "memory": null, "goal_conditioning_type": "hyper", "deterministic": false}}}, "init_path": null, "keep_checkpoints": 5, "even_checkpoints": false, "max_steps": 500000, "time_horizon": 1000, "summary_freq": 10000, "threaded": false, "self_play": {"save_steps": 50000, "team_change": 200000, "swap_steps": 2000, "window": 10, "play_against_latest_model_ratio": 0.5, "initial_elo": 1200.0}, "behavioral_cloning": null}}, "env_settings": {"env_path": "./training-envs-executables/SoccerTwos.app", "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": "SoccerTwos", "initialize_from": null, "load_model": false, "resume": false, "force": false, "train_model": false, "inference": false, "results_dir": "results"}, "torch_settings": {"device": null}, "debug": false}
configuration.yaml ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ default_settings: null
2
+ behaviors:
3
+ SoccerTwos:
4
+ trainer_type: poca
5
+ hyperparameters:
6
+ batch_size: 2048
7
+ buffer_size: 20480
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: constant
14
+ beta_schedule: constant
15
+ epsilon_schedule: constant
16
+ checkpoint_interval: 500000
17
+ network_settings:
18
+ normalize: false
19
+ hidden_units: 512
20
+ num_layers: 2
21
+ vis_encode_type: simple
22
+ memory: null
23
+ goal_conditioning_type: hyper
24
+ deterministic: false
25
+ reward_signals:
26
+ extrinsic:
27
+ gamma: 0.99
28
+ strength: 1.0
29
+ network_settings:
30
+ normalize: false
31
+ hidden_units: 128
32
+ num_layers: 2
33
+ vis_encode_type: simple
34
+ memory: null
35
+ goal_conditioning_type: hyper
36
+ deterministic: false
37
+ init_path: null
38
+ keep_checkpoints: 5
39
+ even_checkpoints: false
40
+ max_steps: 500000
41
+ time_horizon: 1000
42
+ summary_freq: 10000
43
+ threaded: false
44
+ self_play:
45
+ save_steps: 50000
46
+ team_change: 200000
47
+ swap_steps: 2000
48
+ window: 10
49
+ play_against_latest_model_ratio: 0.5
50
+ initial_elo: 1200.0
51
+ behavioral_cloning: null
52
+ env_settings:
53
+ env_path: ./training-envs-executables/SoccerTwos.app
54
+ env_args: null
55
+ base_port: 5005
56
+ num_envs: 1
57
+ num_areas: 1
58
+ seed: -1
59
+ max_lifetime_restarts: 10
60
+ restarts_rate_limit_n: 1
61
+ restarts_rate_limit_period_s: 60
62
+ engine_settings:
63
+ width: 84
64
+ height: 84
65
+ quality_level: 5
66
+ time_scale: 20
67
+ target_frame_rate: -1
68
+ capture_frame_rate: 60
69
+ no_graphics: true
70
+ environment_parameters: null
71
+ checkpoint_settings:
72
+ run_id: SoccerTwos
73
+ initialize_from: null
74
+ load_model: false
75
+ resume: false
76
+ force: false
77
+ train_model: false
78
+ inference: false
79
+ results_dir: results
80
+ torch_settings:
81
+ device: null
82
+ debug: false
run_logs/Player-0.log ADDED
@@ -0,0 +1,490 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/Users/mhan/code/projects/huggingface/ml-agents/training-envs-executables/SoccerTwos.app/Contents/Resources/Data/Managed'
2
+ Mono config path = '/Users/mhan/code/projects/huggingface/ml-agents/training-envs-executables/SoccerTwos.app/Contents/MonoBleedingEdge/etc'
3
+ New input system (experimental) initialized
4
+ Initialize engine version: 2021.3.17f1 (3e8111cac19d)
5
+ [Subsystems] Discovering subsystems at path /Users/mhan/code/projects/huggingface/ml-agents/training-envs-executables/SoccerTwos.app/Contents/Resources/Data/UnitySubsystems
6
+ Forcing GfxDevice: Null
7
+ GfxDevice: creating device client; threaded=0; jobified=0
8
+ NullGfxDevice:
9
+ Version: NULL 1.0 [1.0]
10
+ Renderer: Null Device
11
+ Vendor: Unity Technologies
12
+ Begin MonoManager ReloadAssembly
13
+ - Completed reload, in 0.130 seconds
14
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
15
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
16
+ ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
17
+ WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
18
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
19
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
20
+ ERROR: Shader Standard (Specular setup) shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
21
+ WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
22
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
23
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
24
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
25
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
26
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
27
+ ERROR: Shader Autodesk Interactive shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
28
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
29
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
30
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
31
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
32
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
33
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
34
+ ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
35
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
36
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
37
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
38
+ UnloadTime: 1.144750 ms
39
+ Registered Communicator in Agent.
40
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
41
+ TOO LONG
42
+ TOO LONG
43
+ TOO LONG
44
+ TOO LONG
45
+ TOO LONG
46
+ TOO LONG
47
+ TOO LONG
48
+ TOO LONG
49
+ TOO LONG
50
+ TOO LONG
51
+ TOO LONG
52
+ TOO LONG
53
+ TOO LONG
54
+ TOO LONG
55
+ TOO LONG
56
+ TOO LONG
57
+ TOO LONG
58
+ TOO LONG
59
+ TOO LONG
60
+ TOO LONG
61
+ TOO LONG
62
+ TOO LONG
63
+ TOO LONG
64
+ TOO LONG
65
+ TOO LONG
66
+ TOO LONG
67
+ TOO LONG
68
+ TOO LONG
69
+ TOO LONG
70
+ TOO LONG
71
+ TOO LONG
72
+ TOO LONG
73
+ TOO LONG
74
+ TOO LONG
75
+ TOO LONG
76
+ TOO LONG
77
+ TOO LONG
78
+ TOO LONG
79
+ TOO LONG
80
+ TOO LONG
81
+ TOO LONG
82
+ TOO LONG
83
+ TOO LONG
84
+ TOO LONG
85
+ TOO LONG
86
+ TOO LONG
87
+ TOO LONG
88
+ TOO LONG
89
+ TOO LONG
90
+ TOO LONG
91
+ TOO LONG
92
+ TOO LONG
93
+ TOO LONG
94
+ TOO LONG
95
+ TOO LONG
96
+ TOO LONG
97
+ TOO LONG
98
+ TOO LONG
99
+ TOO LONG
100
+ TOO LONG
101
+ TOO LONG
102
+ TOO LONG
103
+ TOO LONG
104
+ TOO LONG
105
+ TOO LONG
106
+ TOO LONG
107
+ TOO LONG
108
+ TOO LONG
109
+ TOO LONG
110
+ TOO LONG
111
+ TOO LONG
112
+ TOO LONG
113
+ TOO LONG
114
+ TOO LONG
115
+ TOO LONG
116
+ TOO LONG
117
+ TOO LONG
118
+ TOO LONG
119
+ TOO LONG
120
+ TOO LONG
121
+ TOO LONG
122
+ TOO LONG
123
+ TOO LONG
124
+ TOO LONG
125
+ TOO LONG
126
+ TOO LONG
127
+ TOO LONG
128
+ TOO LONG
129
+ TOO LONG
130
+ TOO LONG
131
+ TOO LONG
132
+ TOO LONG
133
+ TOO LONG
134
+ TOO LONG
135
+ TOO LONG
136
+ TOO LONG
137
+ TOO LONG
138
+ TOO LONG
139
+ TOO LONG
140
+ TOO LONG
141
+ TOO LONG
142
+ TOO LONG
143
+ TOO LONG
144
+ TOO LONG
145
+ TOO LONG
146
+ TOO LONG
147
+ TOO LONG
148
+ TOO LONG
149
+ TOO LONG
150
+ TOO LONG
151
+ TOO LONG
152
+ TOO LONG
153
+ TOO LONG
154
+ TOO LONG
155
+ TOO LONG
156
+ TOO LONG
157
+ TOO LONG
158
+ TOO LONG
159
+ TOO LONG
160
+ TOO LONG
161
+ TOO LONG
162
+ TOO LONG
163
+ TOO LONG
164
+ TOO LONG
165
+ TOO LONG
166
+ TOO LONG
167
+ TOO LONG
168
+ TOO LONG
169
+ TOO LONG
170
+ TOO LONG
171
+ TOO LONG
172
+ TOO LONG
173
+ TOO LONG
174
+ TOO LONG
175
+ TOO LONG
176
+ TOO LONG
177
+ TOO LONG
178
+ TOO LONG
179
+ TOO LONG
180
+ TOO LONG
181
+ TOO LONG
182
+ TOO LONG
183
+ TOO LONG
184
+ TOO LONG
185
+ TOO LONG
186
+ TOO LONG
187
+ TOO LONG
188
+ TOO LONG
189
+ TOO LONG
190
+ TOO LONG
191
+ TOO LONG
192
+ TOO LONG
193
+ TOO LONG
194
+ TOO LONG
195
+ TOO LONG
196
+ TOO LONG
197
+ TOO LONG
198
+ TOO LONG
199
+ TOO LONG
200
+ TOO LONG
201
+ TOO LONG
202
+ TOO LONG
203
+ TOO LONG
204
+ TOO LONG
205
+ TOO LONG
206
+ TOO LONG
207
+ TOO LONG
208
+ TOO LONG
209
+ TOO LONG
210
+ TOO LONG
211
+ TOO LONG
212
+ TOO LONG
213
+ TOO LONG
214
+ TOO LONG
215
+ TOO LONG
216
+ TOO LONG
217
+ TOO LONG
218
+ TOO LONG
219
+ TOO LONG
220
+ TOO LONG
221
+ TOO LONG
222
+ TOO LONG
223
+ TOO LONG
224
+ TOO LONG
225
+ TOO LONG
226
+ TOO LONG
227
+ TOO LONG
228
+ TOO LONG
229
+ TOO LONG
230
+ TOO LONG
231
+ TOO LONG
232
+ TOO LONG
233
+ TOO LONG
234
+ TOO LONG
235
+ TOO LONG
236
+ TOO LONG
237
+ TOO LONG
238
+ TOO LONG
239
+ TOO LONG
240
+ TOO LONG
241
+ TOO LONG
242
+ TOO LONG
243
+ TOO LONG
244
+ Setting up 4 worker threads for Enlighten.
245
+ Memory Statistics:
246
+ [ALLOC_TEMP_TLS] TLS Allocator
247
+ StackAllocators :
248
+ [ALLOC_TEMP_MAIN]
249
+ Peak usage frame count: [8.0 KB-16.0 KB]: 9761 frames, [2.0 MB-4.0 MB]: 1 frames
250
+ Initial Block Size 4.0 MB
251
+ Current Block Size 4.0 MB
252
+ Peak Allocated Bytes 2.1 MB
253
+ Overflow Count 0
254
+ [ALLOC_TEMP_Loading.AsyncRead]
255
+ Initial Block Size 64.0 KB
256
+ Current Block Size 64.0 KB
257
+ Peak Allocated Bytes 139 B
258
+ Overflow Count 0
259
+ [ALLOC_TEMP_Loading.PreloadManager]
260
+ Initial Block Size 256.0 KB
261
+ Current Block Size 256.0 KB
262
+ Peak Allocated Bytes 78.8 KB
263
+ Overflow Count 4
264
+ [ALLOC_TEMP_Background Job.Worker 8]
265
+ Initial Block Size 32.0 KB
266
+ Current Block Size 32.0 KB
267
+ Peak Allocated Bytes 0 B
268
+ Overflow Count 0
269
+ [ALLOC_TEMP_Job.Worker 6]
270
+ Initial Block Size 256.0 KB
271
+ Current Block Size 256.0 KB
272
+ Peak Allocated Bytes 0 B
273
+ Overflow Count 0
274
+ [ALLOC_TEMP_Job.Worker 0]
275
+ Initial Block Size 256.0 KB
276
+ Current Block Size 256.0 KB
277
+ Peak Allocated Bytes 0 B
278
+ Overflow Count 0
279
+ [ALLOC_TEMP_Background Job.Worker 10]
280
+ Initial Block Size 32.0 KB
281
+ Current Block Size 32.0 KB
282
+ Peak Allocated Bytes 0 B
283
+ Overflow Count 0
284
+ [ALLOC_TEMP_Background Job.Worker 9]
285
+ Initial Block Size 32.0 KB
286
+ Current Block Size 32.0 KB
287
+ Peak Allocated Bytes 0 B
288
+ Overflow Count 0
289
+ [ALLOC_TEMP_Job.Worker 5]
290
+ Initial Block Size 256.0 KB
291
+ Current Block Size 256.0 KB
292
+ Peak Allocated Bytes 0 B
293
+ Overflow Count 0
294
+ [ALLOC_TEMP_Background Job.Worker 14]
295
+ Initial Block Size 32.0 KB
296
+ Current Block Size 32.0 KB
297
+ Peak Allocated Bytes 0 B
298
+ Overflow Count 0
299
+ [ALLOC_TEMP_Background Job.Worker 6]
300
+ Initial Block Size 32.0 KB
301
+ Current Block Size 32.0 KB
302
+ Peak Allocated Bytes 0 B
303
+ Overflow Count 0
304
+ [ALLOC_TEMP_Job.Worker 4]
305
+ Initial Block Size 256.0 KB
306
+ Current Block Size 256.0 KB
307
+ Peak Allocated Bytes 0 B
308
+ Overflow Count 0
309
+ [ALLOC_TEMP_Job.Worker 3]
310
+ Initial Block Size 256.0 KB
311
+ Current Block Size 256.0 KB
312
+ Peak Allocated Bytes 0.7 KB
313
+ Overflow Count 0
314
+ [ALLOC_TEMP_Background Job.Worker 12]
315
+ Initial Block Size 32.0 KB
316
+ Current Block Size 32.0 KB
317
+ Peak Allocated Bytes 0 B
318
+ Overflow Count 0
319
+ [ALLOC_TEMP_EnlightenWorker] x 4
320
+ Initial Block Size 64.0 KB
321
+ Current Block Size 64.0 KB
322
+ Peak Allocated Bytes 0 B
323
+ Overflow Count 0
324
+ [ALLOC_TEMP_Background Job.Worker 15]
325
+ Initial Block Size 32.0 KB
326
+ Current Block Size 32.0 KB
327
+ Peak Allocated Bytes 0 B
328
+ Overflow Count 0
329
+ [ALLOC_TEMP_Background Job.Worker 1]
330
+ Initial Block Size 32.0 KB
331
+ Current Block Size 32.0 KB
332
+ Peak Allocated Bytes 0 B
333
+ Overflow Count 0
334
+ [ALLOC_TEMP_Background Job.Worker 2]
335
+ Initial Block Size 32.0 KB
336
+ Current Block Size 32.0 KB
337
+ Peak Allocated Bytes 0 B
338
+ Overflow Count 0
339
+ [ALLOC_TEMP_Background Job.Worker 7]
340
+ Initial Block Size 32.0 KB
341
+ Current Block Size 32.0 KB
342
+ Peak Allocated Bytes 0 B
343
+ Overflow Count 0
344
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 7
345
+ Initial Block Size 64.0 KB
346
+ Current Block Size 64.0 KB
347
+ Peak Allocated Bytes 0 B
348
+ Overflow Count 0
349
+ [ALLOC_TEMP_Background Job.Worker 5]
350
+ Initial Block Size 32.0 KB
351
+ Current Block Size 32.0 KB
352
+ Peak Allocated Bytes 0 B
353
+ Overflow Count 0
354
+ [ALLOC_TEMP_Background Job.Worker 13]
355
+ Initial Block Size 32.0 KB
356
+ Current Block Size 32.0 KB
357
+ Peak Allocated Bytes 0 B
358
+ Overflow Count 0
359
+ [ALLOC_TEMP_OSX HID Input]
360
+ Initial Block Size 64.0 KB
361
+ Current Block Size 64.0 KB
362
+ Peak Allocated Bytes 0 B
363
+ Overflow Count 0
364
+ [ALLOC_TEMP_Job.Worker 1]
365
+ Initial Block Size 256.0 KB
366
+ Current Block Size 256.0 KB
367
+ Peak Allocated Bytes 0 B
368
+ Overflow Count 0
369
+ [ALLOC_TEMP_Job.Worker 2]
370
+ Initial Block Size 256.0 KB
371
+ Current Block Size 256.0 KB
372
+ Peak Allocated Bytes 0 B
373
+ Overflow Count 0
374
+ [ALLOC_TEMP_Background Job.Worker 3]
375
+ Initial Block Size 32.0 KB
376
+ Current Block Size 32.0 KB
377
+ Peak Allocated Bytes 0 B
378
+ Overflow Count 0
379
+ [ALLOC_TEMP_Background Job.Worker 11]
380
+ Initial Block Size 32.0 KB
381
+ Current Block Size 32.0 KB
382
+ Peak Allocated Bytes 0 B
383
+ Overflow Count 0
384
+ [ALLOC_TEMP_Background Job.Worker 0]
385
+ Initial Block Size 32.0 KB
386
+ Current Block Size 32.0 KB
387
+ Peak Allocated Bytes 0 B
388
+ Overflow Count 0
389
+ [ALLOC_TEMP_Background Job.Worker 4]
390
+ Initial Block Size 32.0 KB
391
+ Current Block Size 32.0 KB
392
+ Peak Allocated Bytes 0 B
393
+ Overflow Count 0
394
+ [ALLOC_TEMP_BatchDeleteObjects]
395
+ Initial Block Size 64.0 KB
396
+ Current Block Size 64.0 KB
397
+ Peak Allocated Bytes 0 B
398
+ Overflow Count 0
399
+ [ALLOC_DEFAULT] Dual Thread Allocator
400
+ Peak main deferred allocation count 3
401
+ [ALLOC_BUCKET]
402
+ Large Block size 4.0 MB
403
+ Used Block count 1
404
+ Peak Allocated bytes 1.0 MB
405
+ [ALLOC_DEFAULT_MAIN]
406
+ Peak usage frame count: [4.0 MB-8.0 MB]: 9762 frames
407
+ Requested Block Size 16.0 MB
408
+ Peak Block count 1
409
+ Peak Allocated memory 5.1 MB
410
+ Peak Large allocation bytes 0 B
411
+ [ALLOC_DEFAULT_THREAD]
412
+ Peak usage frame count: [16.0 MB-32.0 MB]: 9762 frames
413
+ Requested Block Size 16.0 MB
414
+ Peak Block count 1
415
+ Peak Allocated memory 17.3 MB
416
+ Peak Large allocation bytes 16.0 MB
417
+ [ALLOC_TEMP_JOB_1_FRAME]
418
+ Initial Block Size 2.0 MB
419
+ Used Block Count 1
420
+ Overflow Count (too large) 0
421
+ Overflow Count (full) 0
422
+ [ALLOC_TEMP_JOB_2_FRAMES]
423
+ Initial Block Size 2.0 MB
424
+ Used Block Count 1
425
+ Overflow Count (too large) 0
426
+ Overflow Count (full) 0
427
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
428
+ Initial Block Size 2.0 MB
429
+ Used Block Count 2
430
+ Overflow Count (too large) 0
431
+ Overflow Count (full) 0
432
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
433
+ Initial Block Size 1.0 MB
434
+ Used Block Count 3
435
+ Overflow Count (too large) 0
436
+ Overflow Count (full) 0
437
+ [ALLOC_GFX] Dual Thread Allocator
438
+ Peak main deferred allocation count 0
439
+ [ALLOC_BUCKET]
440
+ Large Block size 4.0 MB
441
+ Used Block count 1
442
+ Peak Allocated bytes 1.0 MB
443
+ [ALLOC_GFX_MAIN]
444
+ Peak usage frame count: [32.0 KB-64.0 KB]: 9761 frames, [64.0 KB-128.0 KB]: 1 frames
445
+ Requested Block Size 16.0 MB
446
+ Peak Block count 1
447
+ Peak Allocated memory 65.6 KB
448
+ Peak Large allocation bytes 0 B
449
+ [ALLOC_GFX_THREAD]
450
+ Peak usage frame count: [128.0 KB-256.0 KB]: 9762 frames
451
+ Requested Block Size 16.0 MB
452
+ Peak Block count 1
453
+ Peak Allocated memory 173.5 KB
454
+ Peak Large allocation bytes 0 B
455
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
456
+ Peak main deferred allocation count 0
457
+ [ALLOC_BUCKET]
458
+ Large Block size 4.0 MB
459
+ Used Block count 1
460
+ Peak Allocated bytes 1.0 MB
461
+ [ALLOC_CACHEOBJECTS_MAIN]
462
+ Peak usage frame count: [0.5 MB-1.0 MB]: 9762 frames
463
+ Requested Block Size 4.0 MB
464
+ Peak Block count 1
465
+ Peak Allocated memory 0.6 MB
466
+ Peak Large allocation bytes 0 B
467
+ [ALLOC_CACHEOBJECTS_THREAD]
468
+ Peak usage frame count: [0.5 MB-1.0 MB]: 9761 frames, [2.0 MB-4.0 MB]: 1 frames
469
+ Requested Block Size 4.0 MB
470
+ Peak Block count 1
471
+ Peak Allocated memory 3.4 MB
472
+ Peak Large allocation bytes 0 B
473
+ [ALLOC_TYPETREE] Dual Thread Allocator
474
+ Peak main deferred allocation count 0
475
+ [ALLOC_BUCKET]
476
+ Large Block size 4.0 MB
477
+ Used Block count 1
478
+ Peak Allocated bytes 1.0 MB
479
+ [ALLOC_TYPETREE_MAIN]
480
+ Peak usage frame count: [0-1.0 KB]: 9762 frames
481
+ Requested Block Size 2.0 MB
482
+ Peak Block count 1
483
+ Peak Allocated memory 1.0 KB
484
+ Peak Large allocation bytes 0 B
485
+ [ALLOC_TYPETREE_THREAD]
486
+ Peak usage frame count: [1.0 KB-2.0 KB]: 9761 frames, [2.0 KB-4.0 KB]: 1 frames
487
+ Requested Block Size 2.0 MB
488
+ Peak Block count 1
489
+ Peak Allocated memory 2.2 KB
490
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,368 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "SoccerTwos.Policy.Entropy.mean": {
5
+ "value": 3.209054470062256,
6
+ "min": 3.1989169120788574,
7
+ "max": 3.2957093715667725,
8
+ "count": 50
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 80406.0703125,
12
+ "min": 29778.3359375,
13
+ "max": 105462.703125,
14
+ "count": 50
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 764.0,
18
+ "min": 468.4,
19
+ "max": 999.0,
20
+ "count": 50
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 18336.0,
24
+ "min": 4520.0,
25
+ "max": 30032.0,
26
+ "count": 50
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1196.8339940231508,
30
+ "min": 1193.3583015985705,
31
+ "max": 1201.0739524682012,
32
+ "count": 46
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 4787.335976092603,
36
+ "min": 2386.716603197141,
37
+ "max": 14388.38735778783,
38
+ "count": 46
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 499034.0,
42
+ "min": 9178.0,
43
+ "max": 499034.0,
44
+ "count": 50
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 499034.0,
48
+ "min": 9178.0,
49
+ "max": 499034.0,
50
+ "count": 50
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": -0.006988612934947014,
54
+ "min": -0.011652992106974125,
55
+ "max": 0.014933556318283081,
56
+ "count": 50
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": -0.08386335521936417,
60
+ "min": -0.156143456697464,
61
+ "max": 0.21582645177841187,
62
+ "count": 50
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": -0.007800275459885597,
66
+ "min": -0.01444809790700674,
67
+ "max": 0.017864903435111046,
68
+ "count": 50
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": -0.09360330551862717,
72
+ "min": -0.1692906618118286,
73
+ "max": 0.2692684233188629,
74
+ "count": 50
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 50
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 50
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": -0.3333333333333333,
90
+ "min": -0.5384615384615384,
91
+ "max": 0.2423692299769475,
92
+ "count": 50
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": -4.0,
96
+ "min": -7.0,
97
+ "max": 3.1507999897003174,
98
+ "count": 50
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": -0.3333333333333333,
102
+ "min": -0.5384615384615384,
103
+ "max": 0.2423692299769475,
104
+ "count": 50
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": -4.0,
108
+ "min": -7.0,
109
+ "max": 3.1507999897003174,
110
+ "count": 50
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 50
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 50
123
+ },
124
+ "SoccerTwos.Losses.PolicyLoss.mean": {
125
+ "value": 0.018408456157582503,
126
+ "min": 0.012670926771049078,
127
+ "max": 0.022772889933548868,
128
+ "count": 22
129
+ },
130
+ "SoccerTwos.Losses.PolicyLoss.sum": {
131
+ "value": 0.018408456157582503,
132
+ "min": 0.012670926771049078,
133
+ "max": 0.022772889933548868,
134
+ "count": 22
135
+ },
136
+ "SoccerTwos.Losses.ValueLoss.mean": {
137
+ "value": 0.0008368938904216824,
138
+ "min": 0.0003425588452955708,
139
+ "max": 0.005379836866632104,
140
+ "count": 22
141
+ },
142
+ "SoccerTwos.Losses.ValueLoss.sum": {
143
+ "value": 0.0008368938904216824,
144
+ "min": 0.0003425588452955708,
145
+ "max": 0.005379836866632104,
146
+ "count": 22
147
+ },
148
+ "SoccerTwos.Losses.BaselineLoss.mean": {
149
+ "value": 0.0008364962884418977,
150
+ "min": 0.00034754776085416474,
151
+ "max": 0.005424668919295073,
152
+ "count": 22
153
+ },
154
+ "SoccerTwos.Losses.BaselineLoss.sum": {
155
+ "value": 0.0008364962884418977,
156
+ "min": 0.00034754776085416474,
157
+ "max": 0.005424668919295073,
158
+ "count": 22
159
+ },
160
+ "SoccerTwos.Policy.LearningRate.mean": {
161
+ "value": 0.0003,
162
+ "min": 0.0003,
163
+ "max": 0.0003,
164
+ "count": 22
165
+ },
166
+ "SoccerTwos.Policy.LearningRate.sum": {
167
+ "value": 0.0003,
168
+ "min": 0.0003,
169
+ "max": 0.0003,
170
+ "count": 22
171
+ },
172
+ "SoccerTwos.Policy.Epsilon.mean": {
173
+ "value": 0.20000000000000007,
174
+ "min": 0.19999999999999996,
175
+ "max": 0.20000000000000007,
176
+ "count": 22
177
+ },
178
+ "SoccerTwos.Policy.Epsilon.sum": {
179
+ "value": 0.20000000000000007,
180
+ "min": 0.19999999999999996,
181
+ "max": 0.20000000000000007,
182
+ "count": 22
183
+ },
184
+ "SoccerTwos.Policy.Beta.mean": {
185
+ "value": 0.005000000000000001,
186
+ "min": 0.005,
187
+ "max": 0.005000000000000001,
188
+ "count": 22
189
+ },
190
+ "SoccerTwos.Policy.Beta.sum": {
191
+ "value": 0.005000000000000001,
192
+ "min": 0.005,
193
+ "max": 0.005000000000000001,
194
+ "count": 22
195
+ }
196
+ },
197
+ "metadata": {
198
+ "timer_format_version": "0.1.0",
199
+ "start_time_seconds": "1677934915",
200
+ "python_version": "3.9.16 (main, Mar 1 2023, 12:19:04) \n[Clang 14.0.6 ]",
201
+ "command_line_arguments": "/Users/mhan/anaconda3/envs/rl/bin/mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos.app --run-id=SoccerTwos --no-graphics",
202
+ "mlagents_version": "0.31.0.dev0",
203
+ "mlagents_envs_version": "0.31.0.dev0",
204
+ "communication_protocol_version": "1.5.0",
205
+ "pytorch_version": "1.11.0",
206
+ "numpy_version": "1.21.2",
207
+ "end_time_seconds": "1677936958"
208
+ },
209
+ "total": 2043.235279833,
210
+ "count": 1,
211
+ "self": 0.8803681249999045,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.36689270800000173,
215
+ "count": 1,
216
+ "self": 0.36689270800000173
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 2041.9880190000001,
220
+ "count": 1,
221
+ "self": 0.36548493098598556,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 6.4147445420000295,
225
+ "count": 3,
226
+ "self": 6.4147445420000295
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 2035.1103753180141,
230
+ "count": 32778,
231
+ "self": 0.31851663900420135,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 1668.4841394350074,
235
+ "count": 32778,
236
+ "self": 1615.7129296040093,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 52.52393380599355,
240
+ "count": 32778,
241
+ "self": 1.5935856170167852,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 50.930348188976765,
245
+ "count": 65078,
246
+ "self": 50.930348188976765
247
+ }
248
+ }
249
+ },
250
+ "workers": {
251
+ "total": 0.24727602500447077,
252
+ "count": 32778,
253
+ "self": 0.0,
254
+ "children": {
255
+ "worker_root": {
256
+ "total": 2034.6239836210025,
257
+ "count": 32778,
258
+ "is_parallel": true,
259
+ "self": 469.3083010190064,
260
+ "children": {
261
+ "steps_from_proto": {
262
+ "total": 0.0047157909999917536,
263
+ "count": 6,
264
+ "is_parallel": true,
265
+ "self": 0.000542914000000394,
266
+ "children": {
267
+ "_process_rank_one_or_two_observation": {
268
+ "total": 0.0041728769999913595,
269
+ "count": 24,
270
+ "is_parallel": true,
271
+ "self": 0.0041728769999913595
272
+ }
273
+ }
274
+ },
275
+ "UnityEnvironment.step": {
276
+ "total": 1565.310966810996,
277
+ "count": 32778,
278
+ "is_parallel": true,
279
+ "self": 4.039562669017869,
280
+ "children": {
281
+ "UnityEnvironment._generate_step_input": {
282
+ "total": 26.525697813012464,
283
+ "count": 32778,
284
+ "is_parallel": true,
285
+ "self": 26.525697813012464
286
+ },
287
+ "communicator.exchange": {
288
+ "total": 1475.969555171002,
289
+ "count": 32778,
290
+ "is_parallel": true,
291
+ "self": 1475.969555171002
292
+ },
293
+ "steps_from_proto": {
294
+ "total": 58.77615115796375,
295
+ "count": 65556,
296
+ "is_parallel": true,
297
+ "self": 6.078537770928634,
298
+ "children": {
299
+ "_process_rank_one_or_two_observation": {
300
+ "total": 52.69761338703512,
301
+ "count": 262224,
302
+ "is_parallel": true,
303
+ "self": 52.69761338703512
304
+ }
305
+ }
306
+ }
307
+ }
308
+ }
309
+ }
310
+ }
311
+ }
312
+ }
313
+ }
314
+ },
315
+ "trainer_advance": {
316
+ "total": 366.30771924400256,
317
+ "count": 32778,
318
+ "self": 3.355685719997382,
319
+ "children": {
320
+ "process_trajectory": {
321
+ "total": 52.251588028005685,
322
+ "count": 32778,
323
+ "self": 52.13748498600533,
324
+ "children": {
325
+ "RLTrainer._checkpoint": {
326
+ "total": 0.1141030420003517,
327
+ "count": 1,
328
+ "self": 0.1141030420003517
329
+ }
330
+ }
331
+ },
332
+ "_update_policy": {
333
+ "total": 310.7004454959995,
334
+ "count": 22,
335
+ "self": 38.98725816000052,
336
+ "children": {
337
+ "TorchPOCAOptimizer.update": {
338
+ "total": 271.71318733599895,
339
+ "count": 672,
340
+ "self": 271.71318733599895
341
+ }
342
+ }
343
+ }
344
+ }
345
+ }
346
+ }
347
+ },
348
+ "trainer_threads": {
349
+ "total": 3.7500012695090845e-07,
350
+ "count": 1,
351
+ "self": 3.7500012695090845e-07
352
+ },
353
+ "TrainerController._save_models": {
354
+ "total": 0.09741383399978076,
355
+ "count": 1,
356
+ "self": 0.0034037089994853886,
357
+ "children": {
358
+ "RLTrainer._checkpoint": {
359
+ "total": 0.09401012500029537,
360
+ "count": 1,
361
+ "self": 0.09401012500029537
362
+ }
363
+ }
364
+ }
365
+ }
366
+ }
367
+ }
368
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "checkpoints": [
4
+ {
5
+ "steps": 499034,
6
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-499034.onnx",
7
+ "reward": 0.0,
8
+ "creation_time": 1677936957.569397,
9
+ "auxillary_file_paths": [
10
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-499034.pt"
11
+ ]
12
+ },
13
+ {
14
+ "steps": 500034,
15
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-500034.onnx",
16
+ "reward": 0.0,
17
+ "creation_time": 1677936957.762743,
18
+ "auxillary_file_paths": [
19
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-500034.pt"
20
+ ]
21
+ }
22
+ ],
23
+ "elo": 1196.2028159206816,
24
+ "final_checkpoint": {
25
+ "steps": 500034,
26
+ "file_path": "results/SoccerTwos/SoccerTwos.onnx",
27
+ "reward": 0.0,
28
+ "creation_time": 1677936957.762743,
29
+ "auxillary_file_paths": [
30
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-500034.pt"
31
+ ]
32
+ }
33
+ },
34
+ "metadata": {
35
+ "stats_format_version": "0.3.0",
36
+ "mlagents_version": "0.31.0.dev0",
37
+ "torch_version": "1.11.0"
38
+ }
39
+ }