bjarlestam commited on
Commit
7cae968
·
1 Parent(s): 40a93bc

Rock n roll

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: bjarlestam/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:f25bb417690224bd8375ddc863f66f35de30d35231b9de51e69fe7cbdb9bf204
3
+ size 2815689
SoccerTwos/SoccerTwos-331652.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f25bb417690224bd8375ddc863f66f35de30d35231b9de51e69fe7cbdb9bf204
3
+ size 2815689
SoccerTwos/SoccerTwos-331652.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d7e902c9997bb4e54ab800e41aa2ea801efe536c07bddc1071c862898d4dc20e
3
+ size 34728689
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d7e902c9997bb4e54ab800e41aa2ea801efe536c07bddc1071c862898d4dc20e
3
+ size 34728689
SoccerTwos/events.out.tfevents.1683405464.CLM-FVFF611QQ05P.local.34842.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:03b292a5080760f2bc9dc7004b129071a86ac670c769d9d044e7f2f2614537d4
3
+ size 253740
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.0002, "beta": 0.01, "epsilon": 0.25, "lambd": 0.95, "num_epoch": 3, "learning_rate_schedule": "constant", "beta_schedule": "constant", "epsilon_schedule": "constant"}, "checkpoint_interval": 2000000, "network_settings": {"normalize": false, "hidden_units": 512, "num_layers": 3, "vis_encode_type": "simple", "memory": null, "goal_conditioning_type": "hyper", "deterministic": false}, "reward_signals": {"extrinsic": {"gamma": 0.973, "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": 5000000, "time_horizon": 1000, "summary_freq": 10000, "threaded": false, "self_play": {"save_steps": 200000, "team_change": 200000, "swap_steps": 2000, "window": 50, "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.0002
9
+ beta: 0.01
10
+ epsilon: 0.25
11
+ lambd: 0.95
12
+ num_epoch: 3
13
+ learning_rate_schedule: constant
14
+ beta_schedule: constant
15
+ epsilon_schedule: constant
16
+ checkpoint_interval: 2000000
17
+ network_settings:
18
+ normalize: false
19
+ hidden_units: 512
20
+ num_layers: 3
21
+ vis_encode_type: simple
22
+ memory: null
23
+ goal_conditioning_type: hyper
24
+ deterministic: false
25
+ reward_signals:
26
+ extrinsic:
27
+ gamma: 0.973
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: 5000000
41
+ time_horizon: 1000
42
+ summary_freq: 10000
43
+ threaded: false
44
+ self_play:
45
+ save_steps: 200000
46
+ team_change: 200000
47
+ swap_steps: 2000
48
+ window: 50
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,421 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/Users/andreas.bjarlestam/projects/machinelearning_stuff/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos.app/Contents/Resources/Data/Managed'
2
+ Mono config path = '/Users/andreas.bjarlestam/projects/machinelearning_stuff/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/andreas.bjarlestam/projects/machinelearning_stuff/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.055 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.399125 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
+ GRPC Exception: Status(StatusCode=Unknown, Detail="Exception calling application: [Errno 32] Broken pipe"). Disconnecting from trainer.
174
+ Thread 0x16ec2b000 may have been prematurely finalized
175
+ Setting up 4 worker threads for Enlighten.
176
+ Memory Statistics:
177
+ [ALLOC_TEMP_TLS] TLS Allocator
178
+ StackAllocators :
179
+ [ALLOC_TEMP_MAIN]
180
+ Peak usage frame count: [8.0 KB-16.0 KB]: 6428 frames, [2.0 MB-4.0 MB]: 1 frames
181
+ Initial Block Size 4.0 MB
182
+ Current Block Size 4.0 MB
183
+ Peak Allocated Bytes 2.1 MB
184
+ Overflow Count 0
185
+ [ALLOC_TEMP_Loading.AsyncRead]
186
+ Initial Block Size 64.0 KB
187
+ Current Block Size 64.0 KB
188
+ Peak Allocated Bytes 169 B
189
+ Overflow Count 0
190
+ [ALLOC_TEMP_Loading.PreloadManager]
191
+ Initial Block Size 256.0 KB
192
+ Current Block Size 256.0 KB
193
+ Peak Allocated Bytes 78.9 KB
194
+ Overflow Count 4
195
+ [ALLOC_TEMP_Background Job.Worker 8]
196
+ Initial Block Size 32.0 KB
197
+ Current Block Size 32.0 KB
198
+ Peak Allocated Bytes 0 B
199
+ Overflow Count 0
200
+ [ALLOC_TEMP_Job.Worker 6]
201
+ Initial Block Size 256.0 KB
202
+ Current Block Size 256.0 KB
203
+ Peak Allocated Bytes 0 B
204
+ Overflow Count 0
205
+ [ALLOC_TEMP_Job.Worker 0]
206
+ Initial Block Size 256.0 KB
207
+ Current Block Size 256.0 KB
208
+ Peak Allocated Bytes 0 B
209
+ Overflow Count 0
210
+ [ALLOC_TEMP_Background Job.Worker 10]
211
+ Initial Block Size 32.0 KB
212
+ Current Block Size 32.0 KB
213
+ Peak Allocated Bytes 0 B
214
+ Overflow Count 0
215
+ [ALLOC_TEMP_Background Job.Worker 9]
216
+ Initial Block Size 32.0 KB
217
+ Current Block Size 32.0 KB
218
+ Peak Allocated Bytes 0 B
219
+ Overflow Count 0
220
+ [ALLOC_TEMP_Job.Worker 5]
221
+ Initial Block Size 256.0 KB
222
+ Current Block Size 256.0 KB
223
+ Peak Allocated Bytes 0 B
224
+ Overflow Count 0
225
+ [ALLOC_TEMP_Background Job.Worker 14]
226
+ Initial Block Size 32.0 KB
227
+ Current Block Size 32.0 KB
228
+ Peak Allocated Bytes 0 B
229
+ Overflow Count 0
230
+ [ALLOC_TEMP_Background Job.Worker 6]
231
+ Initial Block Size 32.0 KB
232
+ Current Block Size 32.0 KB
233
+ Peak Allocated Bytes 0 B
234
+ Overflow Count 0
235
+ [ALLOC_TEMP_Job.Worker 4]
236
+ Initial Block Size 256.0 KB
237
+ Current Block Size 256.0 KB
238
+ Peak Allocated Bytes 0.7 KB
239
+ Overflow Count 0
240
+ [ALLOC_TEMP_Job.Worker 3]
241
+ Initial Block Size 256.0 KB
242
+ Current Block Size 256.0 KB
243
+ Peak Allocated Bytes 0 B
244
+ Overflow Count 0
245
+ [ALLOC_TEMP_Background Job.Worker 12]
246
+ Initial Block Size 32.0 KB
247
+ Current Block Size 32.0 KB
248
+ Peak Allocated Bytes 0 B
249
+ Overflow Count 0
250
+ [ALLOC_TEMP_EnlightenWorker] x 4
251
+ Initial Block Size 64.0 KB
252
+ Current Block Size 64.0 KB
253
+ Peak Allocated Bytes 0 B
254
+ Overflow Count 0
255
+ [ALLOC_TEMP_Background Job.Worker 15]
256
+ Initial Block Size 32.0 KB
257
+ Current Block Size 32.0 KB
258
+ Peak Allocated Bytes 0 B
259
+ Overflow Count 0
260
+ [ALLOC_TEMP_Background Job.Worker 1]
261
+ Initial Block Size 32.0 KB
262
+ Current Block Size 32.0 KB
263
+ Peak Allocated Bytes 0 B
264
+ Overflow Count 0
265
+ [ALLOC_TEMP_Background Job.Worker 2]
266
+ Initial Block Size 32.0 KB
267
+ Current Block Size 32.0 KB
268
+ Peak Allocated Bytes 0 B
269
+ Overflow Count 0
270
+ [ALLOC_TEMP_Background Job.Worker 7]
271
+ Initial Block Size 32.0 KB
272
+ Current Block Size 32.0 KB
273
+ Peak Allocated Bytes 0 B
274
+ Overflow Count 0
275
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 7
276
+ Initial Block Size 64.0 KB
277
+ Current Block Size 64.0 KB
278
+ Peak Allocated Bytes 0 B
279
+ Overflow Count 0
280
+ [ALLOC_TEMP_Background Job.Worker 5]
281
+ Initial Block Size 32.0 KB
282
+ Current Block Size 32.0 KB
283
+ Peak Allocated Bytes 0 B
284
+ Overflow Count 0
285
+ [ALLOC_TEMP_Background Job.Worker 13]
286
+ Initial Block Size 32.0 KB
287
+ Current Block Size 32.0 KB
288
+ Peak Allocated Bytes 0 B
289
+ Overflow Count 0
290
+ [ALLOC_TEMP_OSX HID Input]
291
+ Initial Block Size 64.0 KB
292
+ Current Block Size 64.0 KB
293
+ Peak Allocated Bytes 0 B
294
+ Overflow Count 0
295
+ [ALLOC_TEMP_Job.Worker 1]
296
+ Initial Block Size 256.0 KB
297
+ Current Block Size 256.0 KB
298
+ Peak Allocated Bytes 0 B
299
+ Overflow Count 0
300
+ [ALLOC_TEMP_Job.Worker 2]
301
+ Initial Block Size 256.0 KB
302
+ Current Block Size 256.0 KB
303
+ Peak Allocated Bytes 0 B
304
+ Overflow Count 0
305
+ [ALLOC_TEMP_Background Job.Worker 3]
306
+ Initial Block Size 32.0 KB
307
+ Current Block Size 32.0 KB
308
+ Peak Allocated Bytes 0 B
309
+ Overflow Count 0
310
+ [ALLOC_TEMP_Background Job.Worker 11]
311
+ Initial Block Size 32.0 KB
312
+ Current Block Size 32.0 KB
313
+ Peak Allocated Bytes 0 B
314
+ Overflow Count 0
315
+ [ALLOC_TEMP_Background Job.Worker 0]
316
+ Initial Block Size 32.0 KB
317
+ Current Block Size 32.0 KB
318
+ Peak Allocated Bytes 0 B
319
+ Overflow Count 0
320
+ [ALLOC_TEMP_Background Job.Worker 4]
321
+ Initial Block Size 32.0 KB
322
+ Current Block Size 32.0 KB
323
+ Peak Allocated Bytes 0 B
324
+ Overflow Count 0
325
+ [ALLOC_TEMP_BatchDeleteObjects]
326
+ Initial Block Size 64.0 KB
327
+ Current Block Size 64.0 KB
328
+ Peak Allocated Bytes 0 B
329
+ Overflow Count 0
330
+ [ALLOC_DEFAULT] Dual Thread Allocator
331
+ Peak main deferred allocation count 2
332
+ [ALLOC_BUCKET]
333
+ Large Block size 4.0 MB
334
+ Used Block count 1
335
+ Peak Allocated bytes 1.0 MB
336
+ [ALLOC_DEFAULT_MAIN]
337
+ Peak usage frame count: [4.0 MB-8.0 MB]: 6429 frames
338
+ Requested Block Size 16.0 MB
339
+ Peak Block count 1
340
+ Peak Allocated memory 4.9 MB
341
+ Peak Large allocation bytes 0 B
342
+ [ALLOC_DEFAULT_THREAD]
343
+ Peak usage frame count: [16.0 MB-32.0 MB]: 6429 frames
344
+ Requested Block Size 16.0 MB
345
+ Peak Block count 1
346
+ Peak Allocated memory 17.5 MB
347
+ Peak Large allocation bytes 16.0 MB
348
+ [ALLOC_TEMP_JOB_1_FRAME]
349
+ Initial Block Size 2.0 MB
350
+ Used Block Count 1
351
+ Overflow Count (too large) 0
352
+ Overflow Count (full) 0
353
+ [ALLOC_TEMP_JOB_2_FRAMES]
354
+ Initial Block Size 2.0 MB
355
+ Used Block Count 1
356
+ Overflow Count (too large) 0
357
+ Overflow Count (full) 0
358
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
359
+ Initial Block Size 2.0 MB
360
+ Used Block Count 2
361
+ Overflow Count (too large) 0
362
+ Overflow Count (full) 0
363
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
364
+ Initial Block Size 1.0 MB
365
+ Used Block Count 3
366
+ Overflow Count (too large) 0
367
+ Overflow Count (full) 0
368
+ [ALLOC_GFX] Dual Thread Allocator
369
+ Peak main deferred allocation count 0
370
+ [ALLOC_BUCKET]
371
+ Large Block size 4.0 MB
372
+ Used Block count 1
373
+ Peak Allocated bytes 1.0 MB
374
+ [ALLOC_GFX_MAIN]
375
+ Peak usage frame count: [32.0 KB-64.0 KB]: 6428 frames, [64.0 KB-128.0 KB]: 1 frames
376
+ Requested Block Size 16.0 MB
377
+ Peak Block count 1
378
+ Peak Allocated memory 65.6 KB
379
+ Peak Large allocation bytes 0 B
380
+ [ALLOC_GFX_THREAD]
381
+ Peak usage frame count: [128.0 KB-256.0 KB]: 6429 frames
382
+ Requested Block Size 16.0 MB
383
+ Peak Block count 1
384
+ Peak Allocated memory 173.5 KB
385
+ Peak Large allocation bytes 0 B
386
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
387
+ Peak main deferred allocation count 0
388
+ [ALLOC_BUCKET]
389
+ Large Block size 4.0 MB
390
+ Used Block count 1
391
+ Peak Allocated bytes 1.0 MB
392
+ [ALLOC_CACHEOBJECTS_MAIN]
393
+ Peak usage frame count: [0.5 MB-1.0 MB]: 6429 frames
394
+ Requested Block Size 4.0 MB
395
+ Peak Block count 1
396
+ Peak Allocated memory 0.6 MB
397
+ Peak Large allocation bytes 0 B
398
+ [ALLOC_CACHEOBJECTS_THREAD]
399
+ Peak usage frame count: [0.5 MB-1.0 MB]: 6428 frames, [2.0 MB-4.0 MB]: 1 frames
400
+ Requested Block Size 4.0 MB
401
+ Peak Block count 1
402
+ Peak Allocated memory 3.4 MB
403
+ Peak Large allocation bytes 0 B
404
+ [ALLOC_TYPETREE] Dual Thread Allocator
405
+ Peak main deferred allocation count 0
406
+ [ALLOC_BUCKET]
407
+ Large Block size 4.0 MB
408
+ Used Block count 1
409
+ Peak Allocated bytes 1.0 MB
410
+ [ALLOC_TYPETREE_MAIN]
411
+ Peak usage frame count: [0-1.0 KB]: 6429 frames
412
+ Requested Block Size 2.0 MB
413
+ Peak Block count 1
414
+ Peak Allocated memory 1.0 KB
415
+ Peak Large allocation bytes 0 B
416
+ [ALLOC_TYPETREE_THREAD]
417
+ Peak usage frame count: [1.0 KB-2.0 KB]: 6428 frames, [2.0 KB-4.0 KB]: 1 frames
418
+ Requested Block Size 2.0 MB
419
+ Peak Block count 1
420
+ Peak Allocated memory 2.2 KB
421
+ 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.2537543773651123,
6
+ "min": 3.2069151401519775,
7
+ "max": 3.2958173751831055,
8
+ "count": 33
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 58411.3984375,
12
+ "min": 24713.4296875,
13
+ "max": 105466.15625,
14
+ "count": 33
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 818.0,
18
+ "min": 447.0,
19
+ "max": 999.0,
20
+ "count": 33
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 19632.0,
24
+ "min": 1788.0,
25
+ "max": 31856.0,
26
+ "count": 33
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1209.357611408545,
30
+ "min": 1199.2393548497907,
31
+ "max": 1209.357611408545,
32
+ "count": 32
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 7256.14566845127,
36
+ "min": 2398.4787096995815,
37
+ "max": 16919.769407736774,
38
+ "count": 32
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 329724.0,
42
+ "min": 9770.0,
43
+ "max": 329724.0,
44
+ "count": 33
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 329724.0,
48
+ "min": 9770.0,
49
+ "max": 329724.0,
50
+ "count": 33
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": 0.0030621204059571028,
54
+ "min": -0.0008333418518304825,
55
+ "max": 0.07384230196475983,
56
+ "count": 33
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": 0.03674544394016266,
60
+ "min": -0.015000153332948685,
61
+ "max": 1.03379225730896,
62
+ "count": 33
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": 0.0016769192880019546,
66
+ "min": -0.0017020993400365114,
67
+ "max": 0.07384181767702103,
68
+ "count": 33
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": 0.020123030990362167,
72
+ "min": -0.03063778765499592,
73
+ "max": 1.0337854623794556,
74
+ "count": 33
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 33
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 33
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": -0.10413333773612976,
90
+ "min": -0.42857142857142855,
91
+ "max": 0.1590666671593984,
92
+ "count": 33
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": -1.2496000528335571,
96
+ "min": -6.0,
97
+ "max": 1.9088000059127808,
98
+ "count": 33
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": -0.10413333773612976,
102
+ "min": -0.42857142857142855,
103
+ "max": 0.1590666671593984,
104
+ "count": 33
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": -1.2496000528335571,
108
+ "min": -6.0,
109
+ "max": 1.9088000059127808,
110
+ "count": 33
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 33
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 33
123
+ },
124
+ "SoccerTwos.Losses.PolicyLoss.mean": {
125
+ "value": 0.017120584277048087,
126
+ "min": 0.01184630231000483,
127
+ "max": 0.020048254150606227,
128
+ "count": 15
129
+ },
130
+ "SoccerTwos.Losses.PolicyLoss.sum": {
131
+ "value": 0.017120584277048087,
132
+ "min": 0.01184630231000483,
133
+ "max": 0.020048254150606227,
134
+ "count": 15
135
+ },
136
+ "SoccerTwos.Losses.ValueLoss.mean": {
137
+ "value": 0.0025950087544818717,
138
+ "min": 0.0006825556454714387,
139
+ "max": 0.004943428281694651,
140
+ "count": 15
141
+ },
142
+ "SoccerTwos.Losses.ValueLoss.sum": {
143
+ "value": 0.0025950087544818717,
144
+ "min": 0.0006825556454714387,
145
+ "max": 0.004943428281694651,
146
+ "count": 15
147
+ },
148
+ "SoccerTwos.Losses.BaselineLoss.mean": {
149
+ "value": 0.002597692298392455,
150
+ "min": 0.0006826190966724728,
151
+ "max": 0.0050204995010669036,
152
+ "count": 15
153
+ },
154
+ "SoccerTwos.Losses.BaselineLoss.sum": {
155
+ "value": 0.002597692298392455,
156
+ "min": 0.0006826190966724728,
157
+ "max": 0.0050204995010669036,
158
+ "count": 15
159
+ },
160
+ "SoccerTwos.Policy.LearningRate.mean": {
161
+ "value": 0.00019999999999999996,
162
+ "min": 0.00019999999999999996,
163
+ "max": 0.00020000000000000004,
164
+ "count": 15
165
+ },
166
+ "SoccerTwos.Policy.LearningRate.sum": {
167
+ "value": 0.00019999999999999996,
168
+ "min": 0.00019999999999999996,
169
+ "max": 0.00020000000000000004,
170
+ "count": 15
171
+ },
172
+ "SoccerTwos.Policy.Epsilon.mean": {
173
+ "value": 0.25,
174
+ "min": 0.25,
175
+ "max": 0.25,
176
+ "count": 15
177
+ },
178
+ "SoccerTwos.Policy.Epsilon.sum": {
179
+ "value": 0.25,
180
+ "min": 0.25,
181
+ "max": 0.25,
182
+ "count": 15
183
+ },
184
+ "SoccerTwos.Policy.Beta.mean": {
185
+ "value": 0.010000000000000002,
186
+ "min": 0.01,
187
+ "max": 0.010000000000000002,
188
+ "count": 15
189
+ },
190
+ "SoccerTwos.Policy.Beta.sum": {
191
+ "value": 0.010000000000000002,
192
+ "min": 0.01,
193
+ "max": 0.010000000000000002,
194
+ "count": 15
195
+ }
196
+ },
197
+ "metadata": {
198
+ "timer_format_version": "0.1.0",
199
+ "start_time_seconds": "1683405461",
200
+ "python_version": "3.9.16 | packaged by conda-forge | (main, Feb 1 2023, 21:38:11) \n[Clang 14.0.6 ]",
201
+ "command_line_arguments": "/Users/andreas.bjarlestam/mambaforge/envs/huggingface-rl-course/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": "1683406974"
208
+ },
209
+ "total": 1512.703789291,
210
+ "count": 1,
211
+ "self": 0.1597869570000512,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.05548366699999985,
215
+ "count": 1,
216
+ "self": 0.05548366699999985
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 1512.4885186669999,
220
+ "count": 1,
221
+ "self": 0.25970882700585207,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 2.2931211249999333,
225
+ "count": 2,
226
+ "self": 2.2931211249999333
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 1509.782210796994,
230
+ "count": 21579,
231
+ "self": 0.24726577001251826,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 1238.8051764919874,
235
+ "count": 21579,
236
+ "self": 1195.3630238779756,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 43.25285580400478,
240
+ "count": 21579,
241
+ "self": 1.2754701040110632,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 41.97738569999372,
245
+ "count": 42860,
246
+ "self": 41.97738569999372
247
+ }
248
+ }
249
+ },
250
+ "workers": {
251
+ "total": 0.1892968100068888,
252
+ "count": 21578,
253
+ "self": 0.0,
254
+ "children": {
255
+ "worker_root": {
256
+ "total": 1509.6495894130055,
257
+ "count": 21578,
258
+ "is_parallel": true,
259
+ "self": 349.4384122730048,
260
+ "children": {
261
+ "steps_from_proto": {
262
+ "total": 0.0037250000000343952,
263
+ "count": 4,
264
+ "is_parallel": true,
265
+ "self": 0.0005595840002534658,
266
+ "children": {
267
+ "_process_rank_one_or_two_observation": {
268
+ "total": 0.0031654159997809295,
269
+ "count": 16,
270
+ "is_parallel": true,
271
+ "self": 0.0031654159997809295
272
+ }
273
+ }
274
+ },
275
+ "UnityEnvironment.step": {
276
+ "total": 1160.2074521400007,
277
+ "count": 21578,
278
+ "is_parallel": true,
279
+ "self": 3.0327681719870725,
280
+ "children": {
281
+ "UnityEnvironment._generate_step_input": {
282
+ "total": 20.090124248995796,
283
+ "count": 21578,
284
+ "is_parallel": true,
285
+ "self": 20.090124248995796
286
+ },
287
+ "communicator.exchange": {
288
+ "total": 1094.6483185990135,
289
+ "count": 21578,
290
+ "is_parallel": true,
291
+ "self": 1094.6483185990135
292
+ },
293
+ "steps_from_proto": {
294
+ "total": 42.43624112000441,
295
+ "count": 43156,
296
+ "is_parallel": true,
297
+ "self": 4.705739092995032,
298
+ "children": {
299
+ "_process_rank_one_or_two_observation": {
300
+ "total": 37.73050202700938,
301
+ "count": 172624,
302
+ "is_parallel": true,
303
+ "self": 37.73050202700938
304
+ }
305
+ }
306
+ }
307
+ }
308
+ }
309
+ }
310
+ }
311
+ }
312
+ }
313
+ }
314
+ },
315
+ "trainer_advance": {
316
+ "total": 270.7297685349941,
317
+ "count": 21578,
318
+ "self": 2.1676305409926613,
319
+ "children": {
320
+ "process_trajectory": {
321
+ "total": 37.25934370100136,
322
+ "count": 21578,
323
+ "self": 37.25934370100136
324
+ },
325
+ "_update_policy": {
326
+ "total": 231.30279429300006,
327
+ "count": 15,
328
+ "self": 29.242100787998396,
329
+ "children": {
330
+ "TorchPOCAOptimizer.update": {
331
+ "total": 202.06069350500167,
332
+ "count": 462,
333
+ "self": 202.06069350500167
334
+ }
335
+ }
336
+ }
337
+ }
338
+ }
339
+ }
340
+ },
341
+ "trainer_threads": {
342
+ "total": 5.840001904289238e-07,
343
+ "count": 1,
344
+ "self": 5.840001904289238e-07
345
+ },
346
+ "TrainerController._save_models": {
347
+ "total": 0.15347733399994468,
348
+ "count": 1,
349
+ "self": 0.005591333999973358,
350
+ "children": {
351
+ "RLTrainer._checkpoint": {
352
+ "total": 0.14788599999997132,
353
+ "count": 1,
354
+ "self": 0.14788599999997132
355
+ }
356
+ }
357
+ }
358
+ }
359
+ }
360
+ }
361
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1212.4032246556544,
4
+ "checkpoints": [
5
+ {
6
+ "steps": 331652,
7
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-331652.onnx",
8
+ "reward": 0.0,
9
+ "creation_time": 1683406974.434873,
10
+ "auxillary_file_paths": [
11
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-331652.pt"
12
+ ]
13
+ }
14
+ ],
15
+ "final_checkpoint": {
16
+ "steps": 331652,
17
+ "file_path": "results/SoccerTwos/SoccerTwos.onnx",
18
+ "reward": 0.0,
19
+ "creation_time": 1683406974.434873,
20
+ "auxillary_file_paths": [
21
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-331652.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
+ }