Akriel commited on
Commit
f7ffbcd
1 Parent(s): aff8e77

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: Akriel/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:2dc6bbe1ff5828506d33184a949f20cd50e1bb86039b8dc0cf772737660f12d6
3
+ size 2819099
SoccerTwos/SoccerTwos-101242.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2dc6bbe1ff5828506d33184a949f20cd50e1bb86039b8dc0cf772737660f12d6
3
+ size 2819099
SoccerTwos/SoccerTwos-101242.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0be6ac49cca331565d75e7c3ab394de873b9ff1836395e480d46cfccca7bb909
3
+ size 11593481
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0be6ac49cca331565d75e7c3ab394de873b9ff1836395e480d46cfccca7bb909
3
+ size 11593481
SoccerTwos/events.out.tfevents.1677622139.akriel-Victus-by-HP-Laptop-16-e0xxx.2920.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c22073d5c46d263b6c01209e5b01477fc55968b9f2850c23ac26dc0ebcc19202
3
+ size 73513
config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"default_settings": null, "behaviors": {"SoccerTwos": {"trainer_type": "poca", "hyperparameters": {"batch_size": 2048, "buffer_size": 100480, "learning_rate": 0.0003, "beta": 0.005, "epsilon": 0.2, "lambd": 0.95, "num_epoch": 3, "learning_rate_schedule": "linear", "beta_schedule": "linear", "epsilon_schedule": "linear"}, "checkpoint_interval": 500000, "network_settings": {"normalize": true, "hidden_units": 512, "num_layers": 3, "vis_encode_type": "resnet", "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": 100000, "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.x86_64", "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": true, "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: 100480
8
+ learning_rate: 0.0003
9
+ beta: 0.005
10
+ epsilon: 0.2
11
+ lambd: 0.95
12
+ num_epoch: 3
13
+ learning_rate_schedule: linear
14
+ beta_schedule: linear
15
+ epsilon_schedule: linear
16
+ checkpoint_interval: 500000
17
+ network_settings:
18
+ normalize: true
19
+ hidden_units: 512
20
+ num_layers: 3
21
+ vis_encode_type: resnet
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: 100000
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.x86_64
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: true
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,364 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/home/akriel/code/rl_unit_7/ml-agents/training-envs-executables/SoccerTwos_Data/Managed'
2
+ Mono config path = '/home/akriel/code/rl_unit_7/ml-agents/training-envs-executables/SoccerTwos_Data/MonoBleedingEdge/etc'
3
+ Preloaded 'lib_burst_generated.so'
4
+ Preloaded 'libgrpc_csharp_ext.x64.so'
5
+ Initialize engine version: 2021.3.14f1 (eee1884e7226)
6
+ [Subsystems] Discovering subsystems at path /home/akriel/code/rl_unit_7/ml-agents/training-envs-executables/SoccerTwos_Data/UnitySubsystems
7
+ Forcing GfxDevice: Null
8
+ GfxDevice: creating device client; threaded=0; jobified=0
9
+ NullGfxDevice:
10
+ Version: NULL 1.0 [1.0]
11
+ Renderer: Null Device
12
+ Vendor: Unity Technologies
13
+ Begin MonoManager ReloadAssembly
14
+ - Completed reload, in 0.091 seconds
15
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
16
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
17
+ ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
18
+ WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
19
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
20
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
21
+ ERROR: Shader Standard (Specular setup) shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
22
+ WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
23
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
24
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
25
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
26
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
27
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
28
+ ERROR: Shader Autodesk Interactive shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
29
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
30
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
31
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
32
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
33
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
34
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
35
+ ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
36
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
37
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
38
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
39
+ UnloadTime: 0.591625 ms
40
+ Registered Communicator in Agent.
41
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
42
+ requesting resize 84 x 84
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
+ Setting up 8 worker threads for Enlighten.
84
+ Memory Statistics:
85
+ [ALLOC_TEMP_TLS] TLS Allocator
86
+ StackAllocators :
87
+ [ALLOC_TEMP_MAIN]
88
+ Peak usage frame count: [8.0 KB-16.0 KB]: 2019 frames, [2.0 MB-4.0 MB]: 1 frames
89
+ Initial Block Size 4.0 MB
90
+ Current Block Size 4.0 MB
91
+ Peak Allocated Bytes 2.1 MB
92
+ Overflow Count 0
93
+ [ALLOC_TEMP_Loading.AsyncRead]
94
+ Initial Block Size 64.0 KB
95
+ Current Block Size 64.0 KB
96
+ Peak Allocated Bytes 128 B
97
+ Overflow Count 0
98
+ [ALLOC_TEMP_Loading.PreloadManager]
99
+ Initial Block Size 256.0 KB
100
+ Current Block Size 300.0 KB
101
+ Peak Allocated Bytes 249.6 KB
102
+ Overflow Count 4
103
+ [ALLOC_TEMP_Background Job.Worker 8]
104
+ Initial Block Size 32.0 KB
105
+ Current Block Size 32.0 KB
106
+ Peak Allocated Bytes 0 B
107
+ Overflow Count 0
108
+ [ALLOC_TEMP_Job.Worker 6]
109
+ Initial Block Size 256.0 KB
110
+ Current Block Size 256.0 KB
111
+ Peak Allocated Bytes 0 B
112
+ Overflow Count 0
113
+ [ALLOC_TEMP_Job.Worker 0]
114
+ Initial Block Size 256.0 KB
115
+ Current Block Size 256.0 KB
116
+ Peak Allocated Bytes 0 B
117
+ Overflow Count 0
118
+ [ALLOC_TEMP_Background Job.Worker 10]
119
+ Initial Block Size 32.0 KB
120
+ Current Block Size 32.0 KB
121
+ Peak Allocated Bytes 0 B
122
+ Overflow Count 0
123
+ [ALLOC_TEMP_Background Job.Worker 9]
124
+ Initial Block Size 32.0 KB
125
+ Current Block Size 32.0 KB
126
+ Peak Allocated Bytes 0 B
127
+ Overflow Count 0
128
+ [ALLOC_TEMP_Job.Worker 5]
129
+ Initial Block Size 256.0 KB
130
+ Current Block Size 256.0 KB
131
+ Peak Allocated Bytes 0 B
132
+ Overflow Count 0
133
+ [ALLOC_TEMP_Background Job.Worker 14]
134
+ Initial Block Size 32.0 KB
135
+ Current Block Size 32.0 KB
136
+ Peak Allocated Bytes 0 B
137
+ Overflow Count 0
138
+ [ALLOC_TEMP_Background Job.Worker 6]
139
+ Initial Block Size 32.0 KB
140
+ Current Block Size 32.0 KB
141
+ Peak Allocated Bytes 0 B
142
+ Overflow Count 0
143
+ [ALLOC_TEMP_Job.Worker 4]
144
+ Initial Block Size 256.0 KB
145
+ Current Block Size 256.0 KB
146
+ Peak Allocated Bytes 0 B
147
+ Overflow Count 0
148
+ [ALLOC_TEMP_Job.Worker 14]
149
+ Initial Block Size 256.0 KB
150
+ Current Block Size 256.0 KB
151
+ Peak Allocated Bytes 0 B
152
+ Overflow Count 0
153
+ [ALLOC_TEMP_Job.Worker 3]
154
+ Initial Block Size 256.0 KB
155
+ Current Block Size 256.0 KB
156
+ Peak Allocated Bytes 0 B
157
+ Overflow Count 0
158
+ [ALLOC_TEMP_Job.Worker 13]
159
+ Initial Block Size 256.0 KB
160
+ Current Block Size 256.0 KB
161
+ Peak Allocated Bytes 0 B
162
+ Overflow Count 0
163
+ [ALLOC_TEMP_Background Job.Worker 12]
164
+ Initial Block Size 32.0 KB
165
+ Current Block Size 32.0 KB
166
+ Peak Allocated Bytes 0 B
167
+ Overflow Count 0
168
+ [ALLOC_TEMP_EnlightenWorker] x 8
169
+ Initial Block Size 64.0 KB
170
+ Current Block Size 64.0 KB
171
+ Peak Allocated Bytes 0 B
172
+ Overflow Count 0
173
+ [ALLOC_TEMP_Background Job.Worker 15]
174
+ Initial Block Size 32.0 KB
175
+ Current Block Size 32.0 KB
176
+ Peak Allocated Bytes 0 B
177
+ Overflow Count 0
178
+ [ALLOC_TEMP_Background Job.Worker 1]
179
+ Initial Block Size 32.0 KB
180
+ Current Block Size 32.0 KB
181
+ Peak Allocated Bytes 0 B
182
+ Overflow Count 0
183
+ [ALLOC_TEMP_Background Job.Worker 2]
184
+ Initial Block Size 32.0 KB
185
+ Current Block Size 32.0 KB
186
+ Peak Allocated Bytes 0 B
187
+ Overflow Count 0
188
+ [ALLOC_TEMP_Background Job.Worker 7]
189
+ Initial Block Size 32.0 KB
190
+ Current Block Size 32.0 KB
191
+ Peak Allocated Bytes 0 B
192
+ Overflow Count 0
193
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 15
194
+ Initial Block Size 64.0 KB
195
+ Current Block Size 64.0 KB
196
+ Peak Allocated Bytes 0 B
197
+ Overflow Count 0
198
+ [ALLOC_TEMP_Background Job.Worker 5]
199
+ Initial Block Size 32.0 KB
200
+ Current Block Size 32.0 KB
201
+ Peak Allocated Bytes 0 B
202
+ Overflow Count 0
203
+ [ALLOC_TEMP_Job.Worker 9]
204
+ Initial Block Size 256.0 KB
205
+ Current Block Size 256.0 KB
206
+ Peak Allocated Bytes 0 B
207
+ Overflow Count 0
208
+ [ALLOC_TEMP_Background Job.Worker 13]
209
+ Initial Block Size 32.0 KB
210
+ Current Block Size 32.0 KB
211
+ Peak Allocated Bytes 0 B
212
+ Overflow Count 0
213
+ [ALLOC_TEMP_Job.Worker 8]
214
+ Initial Block Size 256.0 KB
215
+ Current Block Size 256.0 KB
216
+ Peak Allocated Bytes 0 B
217
+ Overflow Count 0
218
+ [ALLOC_TEMP_Job.Worker 7]
219
+ Initial Block Size 256.0 KB
220
+ Current Block Size 256.0 KB
221
+ Peak Allocated Bytes 0 B
222
+ Overflow Count 0
223
+ [ALLOC_TEMP_Job.Worker 1]
224
+ Initial Block Size 256.0 KB
225
+ Current Block Size 256.0 KB
226
+ Peak Allocated Bytes 0 B
227
+ Overflow Count 0
228
+ [ALLOC_TEMP_Job.Worker 2]
229
+ Initial Block Size 256.0 KB
230
+ Current Block Size 256.0 KB
231
+ Peak Allocated Bytes 0 B
232
+ Overflow Count 0
233
+ [ALLOC_TEMP_Background Job.Worker 3]
234
+ Initial Block Size 32.0 KB
235
+ Current Block Size 32.0 KB
236
+ Peak Allocated Bytes 0 B
237
+ Overflow Count 0
238
+ [ALLOC_TEMP_Background Job.Worker 11]
239
+ Initial Block Size 32.0 KB
240
+ Current Block Size 32.0 KB
241
+ Peak Allocated Bytes 0 B
242
+ Overflow Count 0
243
+ [ALLOC_TEMP_Job.Worker 10]
244
+ Initial Block Size 256.0 KB
245
+ Current Block Size 256.0 KB
246
+ Peak Allocated Bytes 0 B
247
+ Overflow Count 0
248
+ [ALLOC_TEMP_Background Job.Worker 0]
249
+ Initial Block Size 32.0 KB
250
+ Current Block Size 32.0 KB
251
+ Peak Allocated Bytes 0 B
252
+ Overflow Count 0
253
+ [ALLOC_TEMP_Job.Worker 11]
254
+ Initial Block Size 256.0 KB
255
+ Current Block Size 256.0 KB
256
+ Peak Allocated Bytes 0.7 KB
257
+ Overflow Count 0
258
+ [ALLOC_TEMP_Job.Worker 12]
259
+ Initial Block Size 256.0 KB
260
+ Current Block Size 256.0 KB
261
+ Peak Allocated Bytes 0 B
262
+ Overflow Count 0
263
+ [ALLOC_TEMP_Background Job.Worker 4]
264
+ Initial Block Size 32.0 KB
265
+ Current Block Size 32.0 KB
266
+ Peak Allocated Bytes 0 B
267
+ Overflow Count 0
268
+ [ALLOC_TEMP_BatchDeleteObjects]
269
+ Initial Block Size 64.0 KB
270
+ Current Block Size 64.0 KB
271
+ Peak Allocated Bytes 0 B
272
+ Overflow Count 0
273
+ [ALLOC_DEFAULT] Dual Thread Allocator
274
+ Peak main deferred allocation count 2
275
+ [ALLOC_BUCKET]
276
+ Large Block size 4.0 MB
277
+ Used Block count 1
278
+ Peak Allocated bytes 1.0 MB
279
+ [ALLOC_DEFAULT_MAIN]
280
+ Peak usage frame count: [4.0 MB-8.0 MB]: 2020 frames
281
+ Requested Block Size 16.0 MB
282
+ Peak Block count 1
283
+ Peak Allocated memory 4.7 MB
284
+ Peak Large allocation bytes 0 B
285
+ [ALLOC_DEFAULT_THREAD]
286
+ Peak usage frame count: [16.0 MB-32.0 MB]: 2020 frames
287
+ Requested Block Size 16.0 MB
288
+ Peak Block count 1
289
+ Peak Allocated memory 17.5 MB
290
+ Peak Large allocation bytes 16.0 MB
291
+ [ALLOC_TEMP_JOB_1_FRAME]
292
+ Initial Block Size 2.0 MB
293
+ Used Block Count 1
294
+ Overflow Count (too large) 0
295
+ Overflow Count (full) 0
296
+ [ALLOC_TEMP_JOB_2_FRAMES]
297
+ Initial Block Size 2.0 MB
298
+ Used Block Count 1
299
+ Overflow Count (too large) 0
300
+ Overflow Count (full) 0
301
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
302
+ Initial Block Size 2.0 MB
303
+ Used Block Count 2
304
+ Overflow Count (too large) 0
305
+ Overflow Count (full) 0
306
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
307
+ Initial Block Size 1.0 MB
308
+ Used Block Count 3
309
+ Overflow Count (too large) 0
310
+ Overflow Count (full) 0
311
+ [ALLOC_GFX] Dual Thread Allocator
312
+ Peak main deferred allocation count 0
313
+ [ALLOC_BUCKET]
314
+ Large Block size 4.0 MB
315
+ Used Block count 1
316
+ Peak Allocated bytes 1.0 MB
317
+ [ALLOC_GFX_MAIN]
318
+ Peak usage frame count: [32.0 KB-64.0 KB]: 2019 frames, [64.0 KB-128.0 KB]: 1 frames
319
+ Requested Block Size 16.0 MB
320
+ Peak Block count 1
321
+ Peak Allocated memory 65.6 KB
322
+ Peak Large allocation bytes 0 B
323
+ [ALLOC_GFX_THREAD]
324
+ Peak usage frame count: [128.0 KB-256.0 KB]: 2020 frames
325
+ Requested Block Size 16.0 MB
326
+ Peak Block count 1
327
+ Peak Allocated memory 173.5 KB
328
+ Peak Large allocation bytes 0 B
329
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
330
+ Peak main deferred allocation count 0
331
+ [ALLOC_BUCKET]
332
+ Large Block size 4.0 MB
333
+ Used Block count 1
334
+ Peak Allocated bytes 1.0 MB
335
+ [ALLOC_CACHEOBJECTS_MAIN]
336
+ Peak usage frame count: [0.5 MB-1.0 MB]: 2020 frames
337
+ Requested Block Size 4.0 MB
338
+ Peak Block count 1
339
+ Peak Allocated memory 0.6 MB
340
+ Peak Large allocation bytes 0 B
341
+ [ALLOC_CACHEOBJECTS_THREAD]
342
+ Peak usage frame count: [0.5 MB-1.0 MB]: 2019 frames, [4.0 MB-8.0 MB]: 1 frames
343
+ Requested Block Size 4.0 MB
344
+ Peak Block count 2
345
+ Peak Allocated memory 4.5 MB
346
+ Peak Large allocation bytes 0 B
347
+ [ALLOC_TYPETREE] Dual Thread Allocator
348
+ Peak main deferred allocation count 0
349
+ [ALLOC_BUCKET]
350
+ Large Block size 4.0 MB
351
+ Used Block count 1
352
+ Peak Allocated bytes 1.0 MB
353
+ [ALLOC_TYPETREE_MAIN]
354
+ Peak usage frame count: [0-1.0 KB]: 2020 frames
355
+ Requested Block Size 2.0 MB
356
+ Peak Block count 1
357
+ Peak Allocated memory 1.0 KB
358
+ Peak Large allocation bytes 0 B
359
+ [ALLOC_TYPETREE_THREAD]
360
+ Peak usage frame count: [1.0 KB-2.0 KB]: 2019 frames, [2.0 KB-4.0 KB]: 1 frames
361
+ Requested Block Size 2.0 MB
362
+ Peak Block count 1
363
+ Peak Allocated memory 2.2 KB
364
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,319 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "SoccerTwos.Policy.Entropy.mean": {
5
+ "value": 3.295811891555786,
6
+ "min": 3.2958104610443115,
7
+ "max": 3.2958128452301025,
8
+ "count": 10
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 76251.90625,
12
+ "min": 32061.64453125,
13
+ "max": 105466.0078125,
14
+ "count": 10
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 901.6666666666666,
18
+ "min": 457.14285714285717,
19
+ "max": 949.2,
20
+ "count": 10
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 21640.0,
24
+ "min": 12800.0,
25
+ "max": 27424.0,
26
+ "count": 10
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1199.3174515811288,
30
+ "min": 1197.3801008004168,
31
+ "max": 1200.0228273122877,
32
+ "count": 10
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 2398.6349031622576,
36
+ "min": 2396.1189814205263,
37
+ "max": 12000.228273122877,
38
+ "count": 10
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 99242.0,
42
+ "min": 9728.0,
43
+ "max": 99242.0,
44
+ "count": 10
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 99242.0,
48
+ "min": 9728.0,
49
+ "max": 99242.0,
50
+ "count": 10
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": -0.0925903245806694,
54
+ "min": -0.09259041398763657,
55
+ "max": -0.09259025007486343,
56
+ "count": 10
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": -1.0184935331344604,
60
+ "min": -1.4814465045928955,
61
+ "max": -1.0184929370880127,
62
+ "count": 10
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": -0.09259033203125,
66
+ "min": -0.0925903394818306,
67
+ "max": -0.09259026497602463,
68
+ "count": 10
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": -1.01849365234375,
72
+ "min": -1.4814449548721313,
73
+ "max": -1.0184929370880127,
74
+ "count": 10
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 10
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 10
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": -0.18181818181818182,
90
+ "min": -0.36363636363636365,
91
+ "max": 0.2736923052714421,
92
+ "count": 10
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": -2.0,
96
+ "min": -4.544000029563904,
97
+ "max": 3.5579999685287476,
98
+ "count": 10
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": -0.18181818181818182,
102
+ "min": -0.36363636363636365,
103
+ "max": 0.2736923052714421,
104
+ "count": 10
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": -2.0,
108
+ "min": -4.544000029563904,
109
+ "max": 3.5579999685287476,
110
+ "count": 10
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 10
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 10
123
+ }
124
+ },
125
+ "metadata": {
126
+ "timer_format_version": "0.1.0",
127
+ "start_time_seconds": "1677622138",
128
+ "python_version": "3.9.16 (main, Jan 11 2023, 16:05:54) \n[GCC 11.2.0]",
129
+ "command_line_arguments": "/home/akriel/anaconda3/envs/rl/bin/mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos.x86_64 --run-id=SoccerTwos --no-graphics --force",
130
+ "mlagents_version": "0.31.0.dev0",
131
+ "mlagents_envs_version": "0.31.0.dev0",
132
+ "communication_protocol_version": "1.5.0",
133
+ "pytorch_version": "1.11.0+cu113",
134
+ "numpy_version": "1.21.2",
135
+ "end_time_seconds": "1677622243"
136
+ },
137
+ "total": 105.266430096,
138
+ "count": 1,
139
+ "self": 0.3191557019999891,
140
+ "children": {
141
+ "run_training.setup": {
142
+ "total": 0.007034048000008397,
143
+ "count": 1,
144
+ "self": 0.007034048000008397
145
+ },
146
+ "TrainerController.start_learning": {
147
+ "total": 104.940240346,
148
+ "count": 1,
149
+ "self": 0.1252862329993718,
150
+ "children": {
151
+ "TrainerController._reset_env": {
152
+ "total": 4.857088169000008,
153
+ "count": 1,
154
+ "self": 4.857088169000008
155
+ },
156
+ "TrainerController.advance": {
157
+ "total": 99.7949521520006,
158
+ "count": 6766,
159
+ "self": 0.1260310760013681,
160
+ "children": {
161
+ "env_step": {
162
+ "total": 93.19740691099804,
163
+ "count": 6766,
164
+ "self": 68.33193762600021,
165
+ "children": {
166
+ "SubprocessEnvManager._take_step": {
167
+ "total": 24.78813652399853,
168
+ "count": 6766,
169
+ "self": 0.587359405997347,
170
+ "children": {
171
+ "TorchPolicy.evaluate": {
172
+ "total": 24.200777118001184,
173
+ "count": 13462,
174
+ "self": 24.200777118001184
175
+ }
176
+ }
177
+ },
178
+ "workers": {
179
+ "total": 0.07733276099929753,
180
+ "count": 6766,
181
+ "self": 0.0,
182
+ "children": {
183
+ "worker_root": {
184
+ "total": 104.50876852200096,
185
+ "count": 6766,
186
+ "is_parallel": true,
187
+ "self": 49.93664935800044,
188
+ "children": {
189
+ "run_training.setup": {
190
+ "total": 0.0,
191
+ "count": 0,
192
+ "is_parallel": true,
193
+ "self": 0.0,
194
+ "children": {
195
+ "steps_from_proto": {
196
+ "total": 0.004105511000034312,
197
+ "count": 2,
198
+ "is_parallel": true,
199
+ "self": 0.0015562140000326963,
200
+ "children": {
201
+ "_process_rank_one_or_two_observation": {
202
+ "total": 0.0025492970000016157,
203
+ "count": 8,
204
+ "is_parallel": true,
205
+ "self": 0.0025492970000016157
206
+ }
207
+ }
208
+ },
209
+ "UnityEnvironment.step": {
210
+ "total": 0.02470437100001277,
211
+ "count": 1,
212
+ "is_parallel": true,
213
+ "self": 0.0004798270000208049,
214
+ "children": {
215
+ "UnityEnvironment._generate_step_input": {
216
+ "total": 0.0003650399999912679,
217
+ "count": 1,
218
+ "is_parallel": true,
219
+ "self": 0.0003650399999912679
220
+ },
221
+ "communicator.exchange": {
222
+ "total": 0.022389144000015904,
223
+ "count": 1,
224
+ "is_parallel": true,
225
+ "self": 0.022389144000015904
226
+ },
227
+ "steps_from_proto": {
228
+ "total": 0.0014703599999847938,
229
+ "count": 2,
230
+ "is_parallel": true,
231
+ "self": 0.0002902839999592288,
232
+ "children": {
233
+ "_process_rank_one_or_two_observation": {
234
+ "total": 0.001180076000025565,
235
+ "count": 8,
236
+ "is_parallel": true,
237
+ "self": 0.001180076000025565
238
+ }
239
+ }
240
+ }
241
+ }
242
+ }
243
+ }
244
+ },
245
+ "UnityEnvironment.step": {
246
+ "total": 54.572119164000526,
247
+ "count": 6765,
248
+ "is_parallel": true,
249
+ "self": 3.1604819609981973,
250
+ "children": {
251
+ "UnityEnvironment._generate_step_input": {
252
+ "total": 2.213269317002073,
253
+ "count": 6765,
254
+ "is_parallel": true,
255
+ "self": 2.213269317002073
256
+ },
257
+ "communicator.exchange": {
258
+ "total": 39.91398190599966,
259
+ "count": 6765,
260
+ "is_parallel": true,
261
+ "self": 39.91398190599966
262
+ },
263
+ "steps_from_proto": {
264
+ "total": 9.284385980000593,
265
+ "count": 13530,
266
+ "is_parallel": true,
267
+ "self": 1.8419112900046173,
268
+ "children": {
269
+ "_process_rank_one_or_two_observation": {
270
+ "total": 7.442474689995976,
271
+ "count": 54120,
272
+ "is_parallel": true,
273
+ "self": 7.442474689995976
274
+ }
275
+ }
276
+ }
277
+ }
278
+ }
279
+ }
280
+ }
281
+ }
282
+ }
283
+ }
284
+ },
285
+ "trainer_advance": {
286
+ "total": 6.471514165001196,
287
+ "count": 6766,
288
+ "self": 0.7807448480007508,
289
+ "children": {
290
+ "process_trajectory": {
291
+ "total": 5.690769317000445,
292
+ "count": 6766,
293
+ "self": 5.690769317000445
294
+ }
295
+ }
296
+ }
297
+ }
298
+ },
299
+ "trainer_threads": {
300
+ "total": 1.8160000081479666e-06,
301
+ "count": 1,
302
+ "self": 1.8160000081479666e-06
303
+ },
304
+ "TrainerController._save_models": {
305
+ "total": 0.16291197600000373,
306
+ "count": 1,
307
+ "self": 0.0012980780000191317,
308
+ "children": {
309
+ "RLTrainer._checkpoint": {
310
+ "total": 0.1616138979999846,
311
+ "count": 1,
312
+ "self": 0.1616138979999846
313
+ }
314
+ }
315
+ }
316
+ }
317
+ }
318
+ }
319
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1199.0687924192825,
4
+ "checkpoints": [
5
+ {
6
+ "steps": 101242,
7
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-101242.onnx",
8
+ "reward": 0.0,
9
+ "creation_time": 1677622243.2046604,
10
+ "auxillary_file_paths": [
11
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-101242.pt"
12
+ ]
13
+ }
14
+ ],
15
+ "final_checkpoint": {
16
+ "steps": 101242,
17
+ "file_path": "results/SoccerTwos/SoccerTwos.onnx",
18
+ "reward": 0.0,
19
+ "creation_time": 1677622243.2046604,
20
+ "auxillary_file_paths": [
21
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-101242.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+cu113"
29
+ }
30
+ }