cthiriet commited on
Commit
0a99d56
·
1 Parent(s): f2b22c9

First Push

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: clemdev2000/poca-SoccerTwos
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:44e6afd6be434f79d8d89c09ef3a027aa9bc5c14b8c67dd7022e6631ee7ec520
3
+ size 1764633
SoccerTwos/SoccerTwos-168570.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:44e6afd6be434f79d8d89c09ef3a027aa9bc5c14b8c67dd7022e6631ee7ec520
3
+ size 1764633
SoccerTwos/SoccerTwos-168570.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b96d8a916f1c529b527b486f112c8c6ecb58d36f6aa369eac0594f4f19665690
3
+ size 28421137
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b96d8a916f1c529b527b486f112c8c6ecb58d36f6aa369eac0594f4f19665690
3
+ size 28421137
SoccerTwos/events.out.tfevents.1680387418.Clements-MacBook-Pro.local.38285.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:10d4df6fb08819d1c1d7c626a47ae57ae44a0bdc0ade7ad232e453b464d60884
3
+ size 116868
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, "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: 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
+ 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,355 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/Users/clementthiriet/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos.app/Contents/Resources/Data/Managed'
2
+ Mono config path = '/Users/clementthiriet/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/clementthiriet/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.071 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.391208 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
+ Thread 0x16c80f000 may have been prematurely finalized
109
+ Setting up 4 worker threads for Enlighten.
110
+ Memory Statistics:
111
+ [ALLOC_TEMP_TLS] TLS Allocator
112
+ StackAllocators :
113
+ [ALLOC_TEMP_MAIN]
114
+ Peak usage frame count: [8.0 KB-16.0 KB]: 3274 frames, [2.0 MB-4.0 MB]: 1 frames
115
+ Initial Block Size 4.0 MB
116
+ Current Block Size 4.0 MB
117
+ Peak Allocated Bytes 2.1 MB
118
+ Overflow Count 0
119
+ [ALLOC_TEMP_Loading.AsyncRead]
120
+ Initial Block Size 64.0 KB
121
+ Current Block Size 64.0 KB
122
+ Peak Allocated Bytes 134 B
123
+ Overflow Count 0
124
+ [ALLOC_TEMP_Loading.PreloadManager]
125
+ Initial Block Size 256.0 KB
126
+ Current Block Size 256.0 KB
127
+ Peak Allocated Bytes 78.8 KB
128
+ Overflow Count 4
129
+ [ALLOC_TEMP_Background Job.Worker 8]
130
+ Initial Block Size 32.0 KB
131
+ Current Block Size 32.0 KB
132
+ Peak Allocated Bytes 0 B
133
+ Overflow Count 0
134
+ [ALLOC_TEMP_Job.Worker 6]
135
+ Initial Block Size 256.0 KB
136
+ Current Block Size 256.0 KB
137
+ Peak Allocated Bytes 0 B
138
+ Overflow Count 0
139
+ [ALLOC_TEMP_Job.Worker 0]
140
+ Initial Block Size 256.0 KB
141
+ Current Block Size 256.0 KB
142
+ Peak Allocated Bytes 0 B
143
+ Overflow Count 0
144
+ [ALLOC_TEMP_Background Job.Worker 10]
145
+ Initial Block Size 32.0 KB
146
+ Current Block Size 32.0 KB
147
+ Peak Allocated Bytes 0 B
148
+ Overflow Count 0
149
+ [ALLOC_TEMP_Background Job.Worker 9]
150
+ Initial Block Size 32.0 KB
151
+ Current Block Size 32.0 KB
152
+ Peak Allocated Bytes 0 B
153
+ Overflow Count 0
154
+ [ALLOC_TEMP_Job.Worker 5]
155
+ Initial Block Size 256.0 KB
156
+ Current Block Size 256.0 KB
157
+ Peak Allocated Bytes 0 B
158
+ Overflow Count 0
159
+ [ALLOC_TEMP_Background Job.Worker 14]
160
+ Initial Block Size 32.0 KB
161
+ Current Block Size 32.0 KB
162
+ Peak Allocated Bytes 0 B
163
+ Overflow Count 0
164
+ [ALLOC_TEMP_Background Job.Worker 6]
165
+ Initial Block Size 32.0 KB
166
+ Current Block Size 32.0 KB
167
+ Peak Allocated Bytes 0 B
168
+ Overflow Count 0
169
+ [ALLOC_TEMP_Job.Worker 4]
170
+ Initial Block Size 256.0 KB
171
+ Current Block Size 256.0 KB
172
+ Peak Allocated Bytes 0.7 KB
173
+ Overflow Count 0
174
+ [ALLOC_TEMP_Job.Worker 3]
175
+ Initial Block Size 256.0 KB
176
+ Current Block Size 256.0 KB
177
+ Peak Allocated Bytes 0 B
178
+ Overflow Count 0
179
+ [ALLOC_TEMP_Background Job.Worker 12]
180
+ Initial Block Size 32.0 KB
181
+ Current Block Size 32.0 KB
182
+ Peak Allocated Bytes 0 B
183
+ Overflow Count 0
184
+ [ALLOC_TEMP_EnlightenWorker] x 4
185
+ Initial Block Size 64.0 KB
186
+ Current Block Size 64.0 KB
187
+ Peak Allocated Bytes 0 B
188
+ Overflow Count 0
189
+ [ALLOC_TEMP_Background Job.Worker 15]
190
+ Initial Block Size 32.0 KB
191
+ Current Block Size 32.0 KB
192
+ Peak Allocated Bytes 0 B
193
+ Overflow Count 0
194
+ [ALLOC_TEMP_Background Job.Worker 1]
195
+ Initial Block Size 32.0 KB
196
+ Current Block Size 32.0 KB
197
+ Peak Allocated Bytes 0 B
198
+ Overflow Count 0
199
+ [ALLOC_TEMP_Background Job.Worker 2]
200
+ Initial Block Size 32.0 KB
201
+ Current Block Size 32.0 KB
202
+ Peak Allocated Bytes 0 B
203
+ Overflow Count 0
204
+ [ALLOC_TEMP_Background Job.Worker 7]
205
+ Initial Block Size 32.0 KB
206
+ Current Block Size 32.0 KB
207
+ Peak Allocated Bytes 0 B
208
+ Overflow Count 0
209
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 7
210
+ Initial Block Size 64.0 KB
211
+ Current Block Size 64.0 KB
212
+ Peak Allocated Bytes 0 B
213
+ Overflow Count 0
214
+ [ALLOC_TEMP_Background Job.Worker 5]
215
+ Initial Block Size 32.0 KB
216
+ Current Block Size 32.0 KB
217
+ Peak Allocated Bytes 0 B
218
+ Overflow Count 0
219
+ [ALLOC_TEMP_Background Job.Worker 13]
220
+ Initial Block Size 32.0 KB
221
+ Current Block Size 32.0 KB
222
+ Peak Allocated Bytes 0 B
223
+ Overflow Count 0
224
+ [ALLOC_TEMP_OSX HID Input]
225
+ Initial Block Size 64.0 KB
226
+ Current Block Size 64.0 KB
227
+ Peak Allocated Bytes 0 B
228
+ Overflow Count 0
229
+ [ALLOC_TEMP_Job.Worker 1]
230
+ Initial Block Size 256.0 KB
231
+ Current Block Size 256.0 KB
232
+ Peak Allocated Bytes 0 B
233
+ Overflow Count 0
234
+ [ALLOC_TEMP_Job.Worker 2]
235
+ Initial Block Size 256.0 KB
236
+ Current Block Size 256.0 KB
237
+ Peak Allocated Bytes 0 B
238
+ Overflow Count 0
239
+ [ALLOC_TEMP_Background Job.Worker 3]
240
+ Initial Block Size 32.0 KB
241
+ Current Block Size 32.0 KB
242
+ Peak Allocated Bytes 0 B
243
+ Overflow Count 0
244
+ [ALLOC_TEMP_Background Job.Worker 11]
245
+ Initial Block Size 32.0 KB
246
+ Current Block Size 32.0 KB
247
+ Peak Allocated Bytes 0 B
248
+ Overflow Count 0
249
+ [ALLOC_TEMP_Background Job.Worker 0]
250
+ Initial Block Size 32.0 KB
251
+ Current Block Size 32.0 KB
252
+ Peak Allocated Bytes 0 B
253
+ Overflow Count 0
254
+ [ALLOC_TEMP_Background Job.Worker 4]
255
+ Initial Block Size 32.0 KB
256
+ Current Block Size 32.0 KB
257
+ Peak Allocated Bytes 0 B
258
+ Overflow Count 0
259
+ [ALLOC_TEMP_BatchDeleteObjects]
260
+ Initial Block Size 64.0 KB
261
+ Current Block Size 64.0 KB
262
+ Peak Allocated Bytes 0 B
263
+ Overflow Count 0
264
+ [ALLOC_DEFAULT] Dual Thread Allocator
265
+ Peak main deferred allocation count 3
266
+ [ALLOC_BUCKET]
267
+ Large Block size 4.0 MB
268
+ Used Block count 1
269
+ Peak Allocated bytes 1.0 MB
270
+ [ALLOC_DEFAULT_MAIN]
271
+ Peak usage frame count: [4.0 MB-8.0 MB]: 3275 frames
272
+ Requested Block Size 16.0 MB
273
+ Peak Block count 1
274
+ Peak Allocated memory 4.8 MB
275
+ Peak Large allocation bytes 0 B
276
+ [ALLOC_DEFAULT_THREAD]
277
+ Peak usage frame count: [16.0 MB-32.0 MB]: 3275 frames
278
+ Requested Block Size 16.0 MB
279
+ Peak Block count 1
280
+ Peak Allocated memory 17.5 MB
281
+ Peak Large allocation bytes 16.0 MB
282
+ [ALLOC_TEMP_JOB_1_FRAME]
283
+ Initial Block Size 2.0 MB
284
+ Used Block Count 1
285
+ Overflow Count (too large) 0
286
+ Overflow Count (full) 0
287
+ [ALLOC_TEMP_JOB_2_FRAMES]
288
+ Initial Block Size 2.0 MB
289
+ Used Block Count 1
290
+ Overflow Count (too large) 0
291
+ Overflow Count (full) 0
292
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
293
+ Initial Block Size 2.0 MB
294
+ Used Block Count 2
295
+ Overflow Count (too large) 0
296
+ Overflow Count (full) 0
297
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
298
+ Initial Block Size 1.0 MB
299
+ Used Block Count 3
300
+ Overflow Count (too large) 0
301
+ Overflow Count (full) 0
302
+ [ALLOC_GFX] Dual Thread Allocator
303
+ Peak main deferred allocation count 0
304
+ [ALLOC_BUCKET]
305
+ Large Block size 4.0 MB
306
+ Used Block count 1
307
+ Peak Allocated bytes 1.0 MB
308
+ [ALLOC_GFX_MAIN]
309
+ Peak usage frame count: [32.0 KB-64.0 KB]: 3274 frames, [64.0 KB-128.0 KB]: 1 frames
310
+ Requested Block Size 16.0 MB
311
+ Peak Block count 1
312
+ Peak Allocated memory 65.6 KB
313
+ Peak Large allocation bytes 0 B
314
+ [ALLOC_GFX_THREAD]
315
+ Peak usage frame count: [128.0 KB-256.0 KB]: 3275 frames
316
+ Requested Block Size 16.0 MB
317
+ Peak Block count 1
318
+ Peak Allocated memory 173.5 KB
319
+ Peak Large allocation bytes 0 B
320
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
321
+ Peak main deferred allocation count 0
322
+ [ALLOC_BUCKET]
323
+ Large Block size 4.0 MB
324
+ Used Block count 1
325
+ Peak Allocated bytes 1.0 MB
326
+ [ALLOC_CACHEOBJECTS_MAIN]
327
+ Peak usage frame count: [0.5 MB-1.0 MB]: 3275 frames
328
+ Requested Block Size 4.0 MB
329
+ Peak Block count 1
330
+ Peak Allocated memory 0.6 MB
331
+ Peak Large allocation bytes 0 B
332
+ [ALLOC_CACHEOBJECTS_THREAD]
333
+ Peak usage frame count: [0.5 MB-1.0 MB]: 3274 frames, [2.0 MB-4.0 MB]: 1 frames
334
+ Requested Block Size 4.0 MB
335
+ Peak Block count 1
336
+ Peak Allocated memory 3.4 MB
337
+ Peak Large allocation bytes 0 B
338
+ [ALLOC_TYPETREE] Dual Thread Allocator
339
+ Peak main deferred allocation count 0
340
+ [ALLOC_BUCKET]
341
+ Large Block size 4.0 MB
342
+ Used Block count 1
343
+ Peak Allocated bytes 1.0 MB
344
+ [ALLOC_TYPETREE_MAIN]
345
+ Peak usage frame count: [0-1.0 KB]: 3275 frames
346
+ Requested Block Size 2.0 MB
347
+ Peak Block count 1
348
+ Peak Allocated memory 1.0 KB
349
+ Peak Large allocation bytes 0 B
350
+ [ALLOC_TYPETREE_THREAD]
351
+ Peak usage frame count: [1.0 KB-2.0 KB]: 3274 frames, [2.0 KB-4.0 KB]: 1 frames
352
+ Requested Block Size 2.0 MB
353
+ Peak Block count 1
354
+ Peak Allocated memory 2.2 KB
355
+ 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.259511709213257,
6
+ "min": 3.259511709213257,
7
+ "max": 3.295741319656372,
8
+ "count": 16
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 90953.4140625,
12
+ "min": 28942.8203125,
13
+ "max": 106412.890625,
14
+ "count": 16
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 791.5714285714286,
18
+ "min": 521.8,
19
+ "max": 999.0,
20
+ "count": 16
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 22164.0,
24
+ "min": 16944.0,
25
+ "max": 22372.0,
26
+ "count": 16
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1191.6922331469073,
30
+ "min": 1191.6922331469073,
31
+ "max": 1197.6300552796083,
32
+ "count": 13
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 9533.537865175258,
36
+ "min": 2384.9430510499333,
37
+ "max": 19152.344780022133,
38
+ "count": 13
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 159596.0,
42
+ "min": 9479.0,
43
+ "max": 159596.0,
44
+ "count": 16
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 159596.0,
48
+ "min": 9479.0,
49
+ "max": 159596.0,
50
+ "count": 16
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": 0.013069055043160915,
54
+ "min": 0.013069055043160915,
55
+ "max": 0.10185398161411285,
56
+ "count": 16
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": 0.16989772021770477,
60
+ "min": 0.16989772021770477,
61
+ "max": 1.9351274967193604,
62
+ "count": 16
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": 0.012426543980836868,
66
+ "min": 0.012426543980836868,
67
+ "max": 0.10180485993623734,
68
+ "count": 16
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": 0.161545068025589,
72
+ "min": 0.161545068025589,
73
+ "max": 1.934121012687683,
74
+ "count": 16
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 16
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 16
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": -0.44252307598407453,
90
+ "min": -0.5370736812290392,
91
+ "max": 0.03303999900817871,
92
+ "count": 16
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": -5.752799987792969,
96
+ "min": -10.204399943351746,
97
+ "max": 0.3303999900817871,
98
+ "count": 16
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": -0.44252307598407453,
102
+ "min": -0.5370736812290392,
103
+ "max": 0.03303999900817871,
104
+ "count": 16
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": -5.752799987792969,
108
+ "min": -10.204399943351746,
109
+ "max": 0.3303999900817871,
110
+ "count": 16
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 16
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 16
123
+ },
124
+ "SoccerTwos.Losses.PolicyLoss.mean": {
125
+ "value": 0.01770546785288995,
126
+ "min": 0.012537877772532131,
127
+ "max": 0.021505475727220377,
128
+ "count": 7
129
+ },
130
+ "SoccerTwos.Losses.PolicyLoss.sum": {
131
+ "value": 0.01770546785288995,
132
+ "min": 0.012537877772532131,
133
+ "max": 0.021505475727220377,
134
+ "count": 7
135
+ },
136
+ "SoccerTwos.Losses.ValueLoss.mean": {
137
+ "value": 0.0023161553932974734,
138
+ "min": 0.0007440834905234321,
139
+ "max": 0.008842417830601334,
140
+ "count": 7
141
+ },
142
+ "SoccerTwos.Losses.ValueLoss.sum": {
143
+ "value": 0.0023161553932974734,
144
+ "min": 0.0007440834905234321,
145
+ "max": 0.008842417830601334,
146
+ "count": 7
147
+ },
148
+ "SoccerTwos.Losses.BaselineLoss.mean": {
149
+ "value": 0.002326815548197677,
150
+ "min": 0.0007457728771745072,
151
+ "max": 0.00819348266037802,
152
+ "count": 7
153
+ },
154
+ "SoccerTwos.Losses.BaselineLoss.sum": {
155
+ "value": 0.002326815548197677,
156
+ "min": 0.0007457728771745072,
157
+ "max": 0.00819348266037802,
158
+ "count": 7
159
+ },
160
+ "SoccerTwos.Policy.LearningRate.mean": {
161
+ "value": 0.0003,
162
+ "min": 0.0003,
163
+ "max": 0.0003,
164
+ "count": 7
165
+ },
166
+ "SoccerTwos.Policy.LearningRate.sum": {
167
+ "value": 0.0003,
168
+ "min": 0.0003,
169
+ "max": 0.0003,
170
+ "count": 7
171
+ },
172
+ "SoccerTwos.Policy.Epsilon.mean": {
173
+ "value": 0.20000000000000007,
174
+ "min": 0.20000000000000007,
175
+ "max": 0.20000000000000007,
176
+ "count": 7
177
+ },
178
+ "SoccerTwos.Policy.Epsilon.sum": {
179
+ "value": 0.20000000000000007,
180
+ "min": 0.20000000000000007,
181
+ "max": 0.20000000000000007,
182
+ "count": 7
183
+ },
184
+ "SoccerTwos.Policy.Beta.mean": {
185
+ "value": 0.005000000000000001,
186
+ "min": 0.005000000000000001,
187
+ "max": 0.005000000000000001,
188
+ "count": 7
189
+ },
190
+ "SoccerTwos.Policy.Beta.sum": {
191
+ "value": 0.005000000000000001,
192
+ "min": 0.005000000000000001,
193
+ "max": 0.005000000000000001,
194
+ "count": 7
195
+ }
196
+ },
197
+ "metadata": {
198
+ "timer_format_version": "0.1.0",
199
+ "start_time_seconds": "1680387416",
200
+ "python_version": "3.9.16 (main, Mar 8 2023, 04:29:24) \n[Clang 14.0.6 ]",
201
+ "command_line_arguments": "/Users/clementthiriet/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": "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": "1680388079"
208
+ },
209
+ "total": 663.4638185,
210
+ "count": 1,
211
+ "self": 0.12192162500002723,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.060317459000000184,
215
+ "count": 1,
216
+ "self": 0.060317459000000184
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 663.281579416,
220
+ "count": 1,
221
+ "self": 0.1281013870013794,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 2.4665004999999987,
225
+ "count": 1,
226
+ "self": 2.4665004999999987
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 660.5726466129985,
230
+ "count": 10992,
231
+ "self": 0.11882123999976102,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 548.1723853380014,
235
+ "count": 10992,
236
+ "self": 528.0303609479998,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 20.04637094500028,
240
+ "count": 10992,
241
+ "self": 0.5218304509988592,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 19.52454049400142,
245
+ "count": 21828,
246
+ "self": 19.52454049400142
247
+ }
248
+ }
249
+ },
250
+ "workers": {
251
+ "total": 0.09565344500122208,
252
+ "count": 10991,
253
+ "self": 0.0,
254
+ "children": {
255
+ "worker_root": {
256
+ "total": 660.4438563540028,
257
+ "count": 10991,
258
+ "is_parallel": true,
259
+ "self": 151.742179689002,
260
+ "children": {
261
+ "steps_from_proto": {
262
+ "total": 0.001600126000000035,
263
+ "count": 2,
264
+ "is_parallel": true,
265
+ "self": 0.0002107099999992812,
266
+ "children": {
267
+ "_process_rank_one_or_two_observation": {
268
+ "total": 0.0013894160000007538,
269
+ "count": 8,
270
+ "is_parallel": true,
271
+ "self": 0.0013894160000007538
272
+ }
273
+ }
274
+ },
275
+ "UnityEnvironment.step": {
276
+ "total": 508.7000765390008,
277
+ "count": 10991,
278
+ "is_parallel": true,
279
+ "self": 1.4707369160045118,
280
+ "children": {
281
+ "UnityEnvironment._generate_step_input": {
282
+ "total": 8.72545943800057,
283
+ "count": 10991,
284
+ "is_parallel": true,
285
+ "self": 8.72545943800057
286
+ },
287
+ "communicator.exchange": {
288
+ "total": 478.93568528000037,
289
+ "count": 10991,
290
+ "is_parallel": true,
291
+ "self": 478.93568528000037
292
+ },
293
+ "steps_from_proto": {
294
+ "total": 19.568194904995302,
295
+ "count": 21982,
296
+ "is_parallel": true,
297
+ "self": 2.135017521992289,
298
+ "children": {
299
+ "_process_rank_one_or_two_observation": {
300
+ "total": 17.433177383003013,
301
+ "count": 87928,
302
+ "is_parallel": true,
303
+ "self": 17.433177383003013
304
+ }
305
+ }
306
+ }
307
+ }
308
+ }
309
+ }
310
+ }
311
+ }
312
+ }
313
+ }
314
+ },
315
+ "trainer_advance": {
316
+ "total": 112.28144003499737,
317
+ "count": 10991,
318
+ "self": 0.9418736109951027,
319
+ "children": {
320
+ "process_trajectory": {
321
+ "total": 18.29796225700239,
322
+ "count": 10991,
323
+ "self": 18.29796225700239
324
+ },
325
+ "_update_policy": {
326
+ "total": 93.04160416699987,
327
+ "count": 7,
328
+ "self": 11.6692971599999,
329
+ "children": {
330
+ "TorchPOCAOptimizer.update": {
331
+ "total": 81.37230700699997,
332
+ "count": 210,
333
+ "self": 81.37230700699997
334
+ }
335
+ }
336
+ }
337
+ }
338
+ }
339
+ }
340
+ },
341
+ "trainer_threads": {
342
+ "total": 6.24999984211172e-07,
343
+ "count": 1,
344
+ "self": 6.24999984211172e-07
345
+ },
346
+ "TrainerController._save_models": {
347
+ "total": 0.11433029100010117,
348
+ "count": 1,
349
+ "self": 0.0006430830001136201,
350
+ "children": {
351
+ "RLTrainer._checkpoint": {
352
+ "total": 0.11368720799998755,
353
+ "count": 1,
354
+ "self": 0.11368720799998755
355
+ }
356
+ }
357
+ }
358
+ }
359
+ }
360
+ }
361
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1191.319602971771,
4
+ "checkpoints": [
5
+ {
6
+ "steps": 168570,
7
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-168570.onnx",
8
+ "reward": 0.0,
9
+ "creation_time": 1680388079.432766,
10
+ "auxillary_file_paths": [
11
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-168570.pt"
12
+ ]
13
+ }
14
+ ],
15
+ "final_checkpoint": {
16
+ "steps": 168570,
17
+ "file_path": "results/SoccerTwos/SoccerTwos.onnx",
18
+ "reward": 0.0,
19
+ "creation_time": 1680388079.432766,
20
+ "auxillary_file_paths": [
21
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-168570.pt"
22
+ ]
23
+ }
24
+ },
25
+ "metadata": {
26
+ "stats_format_version": "0.3.0",
27
+ "mlagents_version": "0.31.0.dev0",
28
+ "torch_version": "1.11.0"
29
+ }
30
+ }