ashkid commited on
Commit
2b25667
·
verified ·
1 Parent(s): da90954

First Push

Browse files
README.md ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: ml-agents
3
+ tags:
4
+ - SoccerTwos
5
+ - deep-reinforcement-learning
6
+ - reinforcement-learning
7
+ - ML-Agents-SoccerTwos
8
+ ---
9
+
10
+ # **poca** Agent playing **SoccerTwos**
11
+ This is a trained model of a **poca** agent playing **SoccerTwos**
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: ashkid/poca-SoccerTwos
33
+ 3. Step 2: Select your *.nn /*.onnx file
34
+ 4. Click on Watch the agent play 👀
35
+
SoccerTwos.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af2b3de687dac93813970553930a50b6f03eb8ddfbb7008cfb4f34f25c5b0908
3
+ size 1768747
SoccerTwos/SoccerTwos-491874.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af2b3de687dac93813970553930a50b6f03eb8ddfbb7008cfb4f34f25c5b0908
3
+ size 1768747
SoccerTwos/SoccerTwos-491874.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eba657ac2327646f14a4b6b6ee91682dbb0c746c583ae5fa19217382ffc74652
3
+ size 28430234
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a8f922ff3e03a9c7bca7abea5d6e03775229fbd3f5cfd2ed4cd209fda99cc9bf
3
+ size 28429366
SoccerTwos/events.out.tfevents.1740138166.Yus-MacBook-Air-3.local.21250.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e9acd1867a62dfa6f7850ecb7557f3b23e03788986993279defcf607604c3e57
3
+ size 393784
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": 50000000, "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/SoccerTwos.app", "env_args": null, "base_port": 5005, "num_envs": 1, "num_areas": 1, "timeout_wait": 60, "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, "no_graphics_monitor": false}, "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,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: 50000000
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/SoccerTwos.app
54
+ env_args: null
55
+ base_port: 5005
56
+ num_envs: 1
57
+ num_areas: 1
58
+ timeout_wait: 60
59
+ seed: -1
60
+ max_lifetime_restarts: 10
61
+ restarts_rate_limit_n: 1
62
+ restarts_rate_limit_period_s: 60
63
+ engine_settings:
64
+ width: 84
65
+ height: 84
66
+ quality_level: 5
67
+ time_scale: 20
68
+ target_frame_rate: -1
69
+ capture_frame_rate: 60
70
+ no_graphics: true
71
+ no_graphics_monitor: false
72
+ environment_parameters: null
73
+ checkpoint_settings:
74
+ run_id: SoccerTwos
75
+ initialize_from: null
76
+ load_model: false
77
+ resume: false
78
+ force: false
79
+ train_model: false
80
+ inference: false
81
+ results_dir: results
82
+ torch_settings:
83
+ device: null
84
+ debug: false
run_logs/Player-0.log ADDED
@@ -0,0 +1,468 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/Users/yusinglam/Desktop/coding/deep-rl-course/Unit7/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos.app/Contents/Resources/Data/Managed'
2
+ Mono config path = '/Users/yusinglam/Desktop/coding/deep-rl-course/Unit7/ml-agents/training-envs-executables/SoccerTwos/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/yusinglam/Desktop/coding/deep-rl-course/Unit7/ml-agents/training-envs-executables/SoccerTwos/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.056 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: 0.382125 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
+ Thread 0x16d013000 may have been prematurely finalized
222
+ Setting up 4 worker threads for Enlighten.
223
+ Memory Statistics:
224
+ [ALLOC_TEMP_TLS] TLS Allocator
225
+ StackAllocators :
226
+ [ALLOC_TEMP_MAIN]
227
+ Peak usage frame count: [8.0 KB-16.0 KB]: 9663 frames, [2.0 MB-4.0 MB]: 1 frames
228
+ Initial Block Size 4.0 MB
229
+ Current Block Size 4.0 MB
230
+ Peak Allocated Bytes 2.1 MB
231
+ Overflow Count 0
232
+ [ALLOC_TEMP_Loading.AsyncRead]
233
+ Initial Block Size 64.0 KB
234
+ Current Block Size 64.0 KB
235
+ Peak Allocated Bytes 165 B
236
+ Overflow Count 0
237
+ [ALLOC_TEMP_Loading.PreloadManager]
238
+ Initial Block Size 256.0 KB
239
+ Current Block Size 256.0 KB
240
+ Peak Allocated Bytes 78.9 KB
241
+ Overflow Count 4
242
+ [ALLOC_TEMP_Background Job.Worker 8]
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 6]
248
+ Initial Block Size 256.0 KB
249
+ Current Block Size 256.0 KB
250
+ Peak Allocated Bytes 0 B
251
+ Overflow Count 0
252
+ [ALLOC_TEMP_Job.Worker 0]
253
+ Initial Block Size 256.0 KB
254
+ Current Block Size 256.0 KB
255
+ Peak Allocated Bytes 0 B
256
+ Overflow Count 0
257
+ [ALLOC_TEMP_Background Job.Worker 10]
258
+ Initial Block Size 32.0 KB
259
+ Current Block Size 32.0 KB
260
+ Peak Allocated Bytes 0 B
261
+ Overflow Count 0
262
+ [ALLOC_TEMP_Background Job.Worker 9]
263
+ Initial Block Size 32.0 KB
264
+ Current Block Size 32.0 KB
265
+ Peak Allocated Bytes 0 B
266
+ Overflow Count 0
267
+ [ALLOC_TEMP_Job.Worker 5]
268
+ Initial Block Size 256.0 KB
269
+ Current Block Size 256.0 KB
270
+ Peak Allocated Bytes 0 B
271
+ Overflow Count 0
272
+ [ALLOC_TEMP_Background Job.Worker 14]
273
+ Initial Block Size 32.0 KB
274
+ Current Block Size 32.0 KB
275
+ Peak Allocated Bytes 0 B
276
+ Overflow Count 0
277
+ [ALLOC_TEMP_Background Job.Worker 6]
278
+ Initial Block Size 32.0 KB
279
+ Current Block Size 32.0 KB
280
+ Peak Allocated Bytes 0 B
281
+ Overflow Count 0
282
+ [ALLOC_TEMP_Job.Worker 4]
283
+ Initial Block Size 256.0 KB
284
+ Current Block Size 256.0 KB
285
+ Peak Allocated Bytes 0.7 KB
286
+ Overflow Count 0
287
+ [ALLOC_TEMP_Job.Worker 3]
288
+ Initial Block Size 256.0 KB
289
+ Current Block Size 256.0 KB
290
+ Peak Allocated Bytes 0 B
291
+ Overflow Count 0
292
+ [ALLOC_TEMP_Background Job.Worker 12]
293
+ Initial Block Size 32.0 KB
294
+ Current Block Size 32.0 KB
295
+ Peak Allocated Bytes 0 B
296
+ Overflow Count 0
297
+ [ALLOC_TEMP_EnlightenWorker] x 4
298
+ Initial Block Size 64.0 KB
299
+ Current Block Size 64.0 KB
300
+ Peak Allocated Bytes 0 B
301
+ Overflow Count 0
302
+ [ALLOC_TEMP_Background Job.Worker 15]
303
+ Initial Block Size 32.0 KB
304
+ Current Block Size 32.0 KB
305
+ Peak Allocated Bytes 0 B
306
+ Overflow Count 0
307
+ [ALLOC_TEMP_Background Job.Worker 1]
308
+ Initial Block Size 32.0 KB
309
+ Current Block Size 32.0 KB
310
+ Peak Allocated Bytes 0 B
311
+ Overflow Count 0
312
+ [ALLOC_TEMP_Background Job.Worker 2]
313
+ Initial Block Size 32.0 KB
314
+ Current Block Size 32.0 KB
315
+ Peak Allocated Bytes 0 B
316
+ Overflow Count 0
317
+ [ALLOC_TEMP_Background Job.Worker 7]
318
+ Initial Block Size 32.0 KB
319
+ Current Block Size 32.0 KB
320
+ Peak Allocated Bytes 0 B
321
+ Overflow Count 0
322
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 7
323
+ Initial Block Size 64.0 KB
324
+ Current Block Size 64.0 KB
325
+ Peak Allocated Bytes 0 B
326
+ Overflow Count 0
327
+ [ALLOC_TEMP_Background Job.Worker 5]
328
+ Initial Block Size 32.0 KB
329
+ Current Block Size 32.0 KB
330
+ Peak Allocated Bytes 0 B
331
+ Overflow Count 0
332
+ [ALLOC_TEMP_Background Job.Worker 13]
333
+ Initial Block Size 32.0 KB
334
+ Current Block Size 32.0 KB
335
+ Peak Allocated Bytes 0 B
336
+ Overflow Count 0
337
+ [ALLOC_TEMP_OSX HID Input]
338
+ Initial Block Size 64.0 KB
339
+ Current Block Size 64.0 KB
340
+ Peak Allocated Bytes 0 B
341
+ Overflow Count 0
342
+ [ALLOC_TEMP_Job.Worker 1]
343
+ Initial Block Size 256.0 KB
344
+ Current Block Size 256.0 KB
345
+ Peak Allocated Bytes 0 B
346
+ Overflow Count 0
347
+ [ALLOC_TEMP_Job.Worker 2]
348
+ Initial Block Size 256.0 KB
349
+ Current Block Size 256.0 KB
350
+ Peak Allocated Bytes 0 B
351
+ Overflow Count 0
352
+ [ALLOC_TEMP_Background Job.Worker 3]
353
+ Initial Block Size 32.0 KB
354
+ Current Block Size 32.0 KB
355
+ Peak Allocated Bytes 0 B
356
+ Overflow Count 0
357
+ [ALLOC_TEMP_Background Job.Worker 11]
358
+ Initial Block Size 32.0 KB
359
+ Current Block Size 32.0 KB
360
+ Peak Allocated Bytes 0 B
361
+ Overflow Count 0
362
+ [ALLOC_TEMP_Background Job.Worker 0]
363
+ Initial Block Size 32.0 KB
364
+ Current Block Size 32.0 KB
365
+ Peak Allocated Bytes 0 B
366
+ Overflow Count 0
367
+ [ALLOC_TEMP_Background Job.Worker 4]
368
+ Initial Block Size 32.0 KB
369
+ Current Block Size 32.0 KB
370
+ Peak Allocated Bytes 0 B
371
+ Overflow Count 0
372
+ [ALLOC_TEMP_BatchDeleteObjects]
373
+ Initial Block Size 64.0 KB
374
+ Current Block Size 64.0 KB
375
+ Peak Allocated Bytes 0 B
376
+ Overflow Count 0
377
+ [ALLOC_DEFAULT] Dual Thread Allocator
378
+ Peak main deferred allocation count 3
379
+ [ALLOC_BUCKET]
380
+ Large Block size 4.0 MB
381
+ Used Block count 1
382
+ Peak Allocated bytes 1.0 MB
383
+ [ALLOC_DEFAULT_MAIN]
384
+ Peak usage frame count: [4.0 MB-8.0 MB]: 9664 frames
385
+ Requested Block Size 16.0 MB
386
+ Peak Block count 1
387
+ Peak Allocated memory 4.9 MB
388
+ Peak Large allocation bytes 0 B
389
+ [ALLOC_DEFAULT_THREAD]
390
+ Peak usage frame count: [16.0 MB-32.0 MB]: 9664 frames
391
+ Requested Block Size 16.0 MB
392
+ Peak Block count 1
393
+ Peak Allocated memory 17.6 MB
394
+ Peak Large allocation bytes 16.0 MB
395
+ [ALLOC_TEMP_JOB_1_FRAME]
396
+ Initial Block Size 2.0 MB
397
+ Used Block Count 1
398
+ Overflow Count (too large) 0
399
+ Overflow Count (full) 0
400
+ [ALLOC_TEMP_JOB_2_FRAMES]
401
+ Initial Block Size 2.0 MB
402
+ Used Block Count 1
403
+ Overflow Count (too large) 0
404
+ Overflow Count (full) 0
405
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
406
+ Initial Block Size 2.0 MB
407
+ Used Block Count 2
408
+ Overflow Count (too large) 0
409
+ Overflow Count (full) 0
410
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
411
+ Initial Block Size 1.0 MB
412
+ Used Block Count 3
413
+ Overflow Count (too large) 0
414
+ Overflow Count (full) 0
415
+ [ALLOC_GFX] Dual Thread Allocator
416
+ Peak main deferred allocation count 0
417
+ [ALLOC_BUCKET]
418
+ Large Block size 4.0 MB
419
+ Used Block count 1
420
+ Peak Allocated bytes 1.0 MB
421
+ [ALLOC_GFX_MAIN]
422
+ Peak usage frame count: [32.0 KB-64.0 KB]: 9663 frames, [64.0 KB-128.0 KB]: 1 frames
423
+ Requested Block Size 16.0 MB
424
+ Peak Block count 1
425
+ Peak Allocated memory 65.6 KB
426
+ Peak Large allocation bytes 0 B
427
+ [ALLOC_GFX_THREAD]
428
+ Peak usage frame count: [128.0 KB-256.0 KB]: 9664 frames
429
+ Requested Block Size 16.0 MB
430
+ Peak Block count 1
431
+ Peak Allocated memory 173.5 KB
432
+ Peak Large allocation bytes 0 B
433
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
434
+ Peak main deferred allocation count 0
435
+ [ALLOC_BUCKET]
436
+ Large Block size 4.0 MB
437
+ Used Block count 1
438
+ Peak Allocated bytes 1.0 MB
439
+ [ALLOC_CACHEOBJECTS_MAIN]
440
+ Peak usage frame count: [0.5 MB-1.0 MB]: 9664 frames
441
+ Requested Block Size 4.0 MB
442
+ Peak Block count 1
443
+ Peak Allocated memory 0.6 MB
444
+ Peak Large allocation bytes 0 B
445
+ [ALLOC_CACHEOBJECTS_THREAD]
446
+ Peak usage frame count: [0.5 MB-1.0 MB]: 9663 frames, [2.0 MB-4.0 MB]: 1 frames
447
+ Requested Block Size 4.0 MB
448
+ Peak Block count 1
449
+ Peak Allocated memory 3.4 MB
450
+ Peak Large allocation bytes 0 B
451
+ [ALLOC_TYPETREE] Dual Thread Allocator
452
+ Peak main deferred allocation count 0
453
+ [ALLOC_BUCKET]
454
+ Large Block size 4.0 MB
455
+ Used Block count 1
456
+ Peak Allocated bytes 1.0 MB
457
+ [ALLOC_TYPETREE_MAIN]
458
+ Peak usage frame count: [0-1.0 KB]: 9664 frames
459
+ Requested Block Size 2.0 MB
460
+ Peak Block count 1
461
+ Peak Allocated memory 1.0 KB
462
+ Peak Large allocation bytes 0 B
463
+ [ALLOC_TYPETREE_THREAD]
464
+ Peak usage frame count: [1.0 KB-2.0 KB]: 9663 frames, [2.0 KB-4.0 KB]: 1 frames
465
+ Requested Block Size 2.0 MB
466
+ Peak Block count 1
467
+ Peak Allocated memory 2.2 KB
468
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,361 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "SoccerTwos.Policy.Entropy.mean": {
5
+ "value": 3.1873724460601807,
6
+ "min": 3.1873724460601807,
7
+ "max": 3.295748710632324,
8
+ "count": 49
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 88124.4765625,
12
+ "min": 15880.28515625,
13
+ "max": 142804.84375,
14
+ "count": 49
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 571.3333333333334,
18
+ "min": 367.2,
19
+ "max": 999.0,
20
+ "count": 49
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 20568.0,
24
+ "min": 13272.0,
25
+ "max": 28732.0,
26
+ "count": 49
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1211.9874366109875,
30
+ "min": 1195.9164489717098,
31
+ "max": 1213.9733025908756,
32
+ "count": 46
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 14543.84923933185,
36
+ "min": 2397.935112475092,
37
+ "max": 24203.632243773427,
38
+ "count": 46
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 489874.0,
42
+ "min": 9382.0,
43
+ "max": 489874.0,
44
+ "count": 49
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 489874.0,
48
+ "min": 9382.0,
49
+ "max": 489874.0,
50
+ "count": 49
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": 0.02012542262673378,
54
+ "min": -0.10600325465202332,
55
+ "max": 0.02235868200659752,
56
+ "count": 49
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": 0.36225759983062744,
60
+ "min": -2.2258334159851074,
61
+ "max": 0.3848363757133484,
62
+ "count": 49
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": 0.018841039389371872,
66
+ "min": -0.10604841262102127,
67
+ "max": 0.024132657796144485,
68
+ "count": 49
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": 0.3391387164592743,
72
+ "min": -2.226529359817505,
73
+ "max": 0.41025519371032715,
74
+ "count": 49
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 49
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 49
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": -0.35982222027248806,
90
+ "min": -0.45507692373715913,
91
+ "max": 0.33965333302815753,
92
+ "count": 49
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": -6.476799964904785,
96
+ "min": -6.476799964904785,
97
+ "max": 5.579200029373169,
98
+ "count": 49
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": -0.35982222027248806,
102
+ "min": -0.45507692373715913,
103
+ "max": 0.33965333302815753,
104
+ "count": 49
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": -6.476799964904785,
108
+ "min": -6.476799964904785,
109
+ "max": 5.579200029373169,
110
+ "count": 49
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 49
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 49
123
+ },
124
+ "SoccerTwos.Losses.PolicyLoss.mean": {
125
+ "value": 0.023655824836653967,
126
+ "min": 0.011510751590443154,
127
+ "max": 0.023655824836653967,
128
+ "count": 22
129
+ },
130
+ "SoccerTwos.Losses.PolicyLoss.sum": {
131
+ "value": 0.023655824836653967,
132
+ "min": 0.011510751590443154,
133
+ "max": 0.023655824836653967,
134
+ "count": 22
135
+ },
136
+ "SoccerTwos.Losses.ValueLoss.mean": {
137
+ "value": 0.0049479416649167735,
138
+ "min": 0.0007939498983129549,
139
+ "max": 0.008945920628805955,
140
+ "count": 22
141
+ },
142
+ "SoccerTwos.Losses.ValueLoss.sum": {
143
+ "value": 0.0049479416649167735,
144
+ "min": 0.0007939498983129549,
145
+ "max": 0.008945920628805955,
146
+ "count": 22
147
+ },
148
+ "SoccerTwos.Losses.BaselineLoss.mean": {
149
+ "value": 0.004987802860947947,
150
+ "min": 0.0007949432319340606,
151
+ "max": 0.009049016050994396,
152
+ "count": 22
153
+ },
154
+ "SoccerTwos.Losses.BaselineLoss.sum": {
155
+ "value": 0.004987802860947947,
156
+ "min": 0.0007949432319340606,
157
+ "max": 0.009049016050994396,
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.20000000000000007,
175
+ "max": 0.20000000000000007,
176
+ "count": 22
177
+ },
178
+ "SoccerTwos.Policy.Epsilon.sum": {
179
+ "value": 0.20000000000000007,
180
+ "min": 0.20000000000000007,
181
+ "max": 0.20000000000000007,
182
+ "count": 22
183
+ },
184
+ "SoccerTwos.Policy.Beta.mean": {
185
+ "value": 0.005000000000000001,
186
+ "min": 0.005000000000000001,
187
+ "max": 0.005000000000000001,
188
+ "count": 22
189
+ },
190
+ "SoccerTwos.Policy.Beta.sum": {
191
+ "value": 0.005000000000000001,
192
+ "min": 0.005000000000000001,
193
+ "max": 0.005000000000000001,
194
+ "count": 22
195
+ }
196
+ },
197
+ "metadata": {
198
+ "timer_format_version": "0.1.0",
199
+ "start_time_seconds": "1740138162",
200
+ "python_version": "3.10.12 (main, Jul 5 2023, 15:02:25) [Clang 14.0.6 ]",
201
+ "command_line_arguments": "/Users/yusinglam/miniconda3/envs/rl/bin/mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos/SoccerTwos.app --run-id=SoccerTwos --no-graphics",
202
+ "mlagents_version": "1.2.0.dev0",
203
+ "mlagents_envs_version": "1.2.0.dev0",
204
+ "communication_protocol_version": "1.5.0",
205
+ "pytorch_version": "2.6.0",
206
+ "numpy_version": "1.23.5",
207
+ "end_time_seconds": "1740140231"
208
+ },
209
+ "total": 2069.4561217910004,
210
+ "count": 1,
211
+ "self": 0.0032099150002977694,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.024146292000295944,
215
+ "count": 1,
216
+ "self": 0.024146292000295944
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 2069.428765584,
220
+ "count": 1,
221
+ "self": 0.42225192098067055,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 5.158866748997752,
225
+ "count": 3,
226
+ "self": 5.158866748997752
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 2063.0276540800214,
230
+ "count": 32485,
231
+ "self": 0.3791960199132518,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 1642.8784510290634,
235
+ "count": 32485,
236
+ "self": 1574.2491970521542,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 68.36901075003425,
240
+ "count": 32485,
241
+ "self": 2.242853690202537,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 66.12615705983171,
245
+ "count": 64422,
246
+ "self": 66.12615705983171
247
+ }
248
+ }
249
+ },
250
+ "workers": {
251
+ "total": 0.2602432268749908,
252
+ "count": 32484,
253
+ "self": 0.0,
254
+ "children": {
255
+ "worker_root": {
256
+ "total": 2063.567589636991,
257
+ "count": 32484,
258
+ "is_parallel": true,
259
+ "self": 541.8382901358555,
260
+ "children": {
261
+ "steps_from_proto": {
262
+ "total": 0.004870458999903349,
263
+ "count": 6,
264
+ "is_parallel": true,
265
+ "self": 0.0006076679965190124,
266
+ "children": {
267
+ "_process_rank_one_or_two_observation": {
268
+ "total": 0.004262791003384336,
269
+ "count": 24,
270
+ "is_parallel": true,
271
+ "self": 0.004262791003384336
272
+ }
273
+ }
274
+ },
275
+ "UnityEnvironment.step": {
276
+ "total": 1521.7244290421359,
277
+ "count": 32484,
278
+ "is_parallel": true,
279
+ "self": 4.373664715294581,
280
+ "children": {
281
+ "UnityEnvironment._generate_step_input": {
282
+ "total": 26.34676807699907,
283
+ "count": 32484,
284
+ "is_parallel": true,
285
+ "self": 26.34676807699907
286
+ },
287
+ "communicator.exchange": {
288
+ "total": 1435.516299409931,
289
+ "count": 32484,
290
+ "is_parallel": true,
291
+ "self": 1435.516299409931
292
+ },
293
+ "steps_from_proto": {
294
+ "total": 55.48769683991122,
295
+ "count": 64968,
296
+ "is_parallel": true,
297
+ "self": 6.5330797572778465,
298
+ "children": {
299
+ "_process_rank_one_or_two_observation": {
300
+ "total": 48.954617082633376,
301
+ "count": 259872,
302
+ "is_parallel": true,
303
+ "self": 48.954617082633376
304
+ }
305
+ }
306
+ }
307
+ }
308
+ }
309
+ }
310
+ }
311
+ }
312
+ }
313
+ }
314
+ },
315
+ "trainer_advance": {
316
+ "total": 419.77000703104477,
317
+ "count": 32484,
318
+ "self": 3.4646379810483268,
319
+ "children": {
320
+ "process_trajectory": {
321
+ "total": 60.635451508994265,
322
+ "count": 32484,
323
+ "self": 60.635451508994265
324
+ },
325
+ "_update_policy": {
326
+ "total": 355.6699175410022,
327
+ "count": 23,
328
+ "self": 33.79144190801071,
329
+ "children": {
330
+ "TorchPOCAOptimizer.update": {
331
+ "total": 321.87847563299147,
332
+ "count": 690,
333
+ "self": 321.87847563299147
334
+ }
335
+ }
336
+ }
337
+ }
338
+ }
339
+ }
340
+ },
341
+ "trainer_threads": {
342
+ "total": 1.1669999366858974e-06,
343
+ "count": 1,
344
+ "self": 1.1669999366858974e-06
345
+ },
346
+ "TrainerController._save_models": {
347
+ "total": 0.8199916670000675,
348
+ "count": 1,
349
+ "self": 0.0009697920004327898,
350
+ "children": {
351
+ "RLTrainer._checkpoint": {
352
+ "total": 0.8190218749996347,
353
+ "count": 1,
354
+ "self": 0.8190218749996347
355
+ }
356
+ }
357
+ }
358
+ }
359
+ }
360
+ }
361
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1211.9874366109877,
4
+ "checkpoints": [
5
+ {
6
+ "steps": 491874,
7
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-491874.onnx",
8
+ "reward": null,
9
+ "creation_time": 1740140231.560438,
10
+ "auxillary_file_paths": [
11
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-491874.pt"
12
+ ]
13
+ }
14
+ ],
15
+ "final_checkpoint": {
16
+ "steps": 491874,
17
+ "file_path": "results/SoccerTwos/SoccerTwos.onnx",
18
+ "reward": null,
19
+ "creation_time": 1740140231.560438,
20
+ "auxillary_file_paths": [
21
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-491874.pt"
22
+ ]
23
+ }
24
+ },
25
+ "metadata": {
26
+ "stats_format_version": "0.3.0",
27
+ "mlagents_version": "1.2.0.dev0",
28
+ "torch_version": "2.6.0"
29
+ }
30
+ }