splusminusx commited on
Commit
160eac4
·
1 Parent(s): e82cd8f

Initial Commit. 500K steps

Browse files
README.md ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ tags:
4
+ - unity-ml-agents
5
+ - ml-agents
6
+ - deep-reinforcement-learning
7
+ - reinforcement-learning
8
+ - ML-Agents-SoccerTwos
9
+ library_name: ml-agents
10
+ ---
11
+
12
+ # **poca** Agent playing **SoccerTwos**
13
+ This is a trained model of a **poca** agent playing **SoccerTwos** using the [Unity ML-Agents Library](https://github.com/Unity-Technologies/ml-agents).
14
+
15
+ ## Usage (with ML-Agents)
16
+ The Documentation: https://github.com/huggingface/ml-agents#get-started
17
+ We wrote a complete tutorial to learn to train your first agent using ML-Agents and publish it to the Hub:
18
+
19
+
20
+ ### Resume the training
21
+ ```
22
+ mlagents-learn <your_configuration_file_path.yaml> --run-id=<run_id> --resume
23
+ ```
24
+ ### Watch your Agent play
25
+ You can watch your agent **playing directly in your browser:**.
26
+
27
+ 1. Go to https://huggingface.co/spaces/unity/ML-Agents-SoccerTwos
28
+ 2. Step 1: Write your model_id: splusminusx/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:d9a44aab7c05070763b424ec952806b141a49b0ce2c755e00f835fcabfde77b4
3
+ size 1764633
SoccerTwos/SoccerTwos-499886.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d9a44aab7c05070763b424ec952806b141a49b0ce2c755e00f835fcabfde77b4
3
+ size 1764633
SoccerTwos/SoccerTwos-499886.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9771f474285edf65f0c2ef48b4d962fab1eef18af5b5e3b51b9537158eeea4cd
3
+ size 28421201
SoccerTwos/SoccerTwos-500364.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d9a44aab7c05070763b424ec952806b141a49b0ce2c755e00f835fcabfde77b4
3
+ size 1764633
SoccerTwos/SoccerTwos-500364.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d81286c2ca589606fc58004e54e2362a446ac8a4fe0643718f999f70a6902841
3
+ size 28421201
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d81286c2ca589606fc58004e54e2362a446ac8a4fe0643718f999f70a6902841
3
+ size 28421201
SoccerTwos/events.out.tfevents.1680725820.Romans-MacBook-Pro-2.local.39679.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7e9e6476c9bf78175a05e0b8b61ea6208347ed8fd5ad26d845d7609aa06bd332
3
+ size 465273
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,434 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/Users/romanmalygin/Projects/aivsai/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos.app/Contents/Resources/Data/Managed'
2
+ Mono config path = '/Users/romanmalygin/Projects/aivsai/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/romanmalygin/Projects/aivsai/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.149 seconds
14
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
15
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
16
+ ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
17
+ WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
18
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
19
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
20
+ ERROR: Shader Standard (Specular setup) shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
21
+ WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
22
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
23
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
24
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
25
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
26
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
27
+ ERROR: Shader Autodesk Interactive shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
28
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
29
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
30
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
31
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
32
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
33
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
34
+ ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
35
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
36
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
37
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
38
+ UnloadTime: 1.636484 ms
39
+ Registered Communicator in Agent.
40
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
41
+ TOO LONG
42
+ TOO LONG
43
+ TOO LONG
44
+ TOO LONG
45
+ TOO LONG
46
+ TOO LONG
47
+ TOO LONG
48
+ TOO LONG
49
+ TOO LONG
50
+ TOO LONG
51
+ TOO LONG
52
+ TOO LONG
53
+ TOO LONG
54
+ TOO LONG
55
+ TOO LONG
56
+ TOO LONG
57
+ TOO LONG
58
+ TOO LONG
59
+ TOO LONG
60
+ TOO LONG
61
+ TOO LONG
62
+ TOO LONG
63
+ TOO LONG
64
+ TOO LONG
65
+ TOO LONG
66
+ TOO LONG
67
+ TOO LONG
68
+ TOO LONG
69
+ TOO LONG
70
+ TOO LONG
71
+ TOO LONG
72
+ TOO LONG
73
+ TOO LONG
74
+ TOO LONG
75
+ TOO LONG
76
+ TOO LONG
77
+ TOO LONG
78
+ TOO LONG
79
+ TOO LONG
80
+ TOO LONG
81
+ TOO LONG
82
+ TOO LONG
83
+ TOO LONG
84
+ TOO LONG
85
+ TOO LONG
86
+ TOO LONG
87
+ TOO LONG
88
+ TOO LONG
89
+ TOO LONG
90
+ TOO LONG
91
+ TOO LONG
92
+ TOO LONG
93
+ TOO LONG
94
+ TOO LONG
95
+ TOO LONG
96
+ TOO LONG
97
+ TOO LONG
98
+ TOO LONG
99
+ TOO LONG
100
+ TOO LONG
101
+ TOO LONG
102
+ TOO LONG
103
+ TOO LONG
104
+ TOO LONG
105
+ TOO LONG
106
+ TOO LONG
107
+ TOO LONG
108
+ TOO LONG
109
+ TOO LONG
110
+ TOO LONG
111
+ TOO LONG
112
+ TOO LONG
113
+ TOO LONG
114
+ TOO LONG
115
+ TOO LONG
116
+ TOO LONG
117
+ TOO LONG
118
+ TOO LONG
119
+ TOO LONG
120
+ TOO LONG
121
+ TOO LONG
122
+ TOO LONG
123
+ TOO LONG
124
+ TOO LONG
125
+ TOO LONG
126
+ TOO LONG
127
+ TOO LONG
128
+ TOO LONG
129
+ TOO LONG
130
+ TOO LONG
131
+ TOO LONG
132
+ TOO LONG
133
+ TOO LONG
134
+ TOO LONG
135
+ TOO LONG
136
+ TOO LONG
137
+ TOO LONG
138
+ TOO LONG
139
+ TOO LONG
140
+ TOO LONG
141
+ TOO LONG
142
+ TOO LONG
143
+ TOO LONG
144
+ TOO LONG
145
+ TOO LONG
146
+ TOO LONG
147
+ TOO LONG
148
+ TOO LONG
149
+ TOO LONG
150
+ TOO LONG
151
+ TOO LONG
152
+ TOO LONG
153
+ TOO LONG
154
+ TOO LONG
155
+ TOO LONG
156
+ TOO LONG
157
+ TOO LONG
158
+ TOO LONG
159
+ TOO LONG
160
+ TOO LONG
161
+ TOO LONG
162
+ TOO LONG
163
+ TOO LONG
164
+ TOO LONG
165
+ TOO LONG
166
+ TOO LONG
167
+ TOO LONG
168
+ TOO LONG
169
+ TOO LONG
170
+ TOO LONG
171
+ TOO LONG
172
+ TOO LONG
173
+ TOO LONG
174
+ TOO LONG
175
+ TOO LONG
176
+ TOO LONG
177
+ TOO LONG
178
+ TOO LONG
179
+ TOO LONG
180
+ TOO LONG
181
+ TOO LONG
182
+ TOO LONG
183
+ TOO LONG
184
+ TOO LONG
185
+ TOO LONG
186
+ TOO LONG
187
+ TOO LONG
188
+ Setting up 4 worker threads for Enlighten.
189
+ Memory Statistics:
190
+ [ALLOC_TEMP_TLS] TLS Allocator
191
+ StackAllocators :
192
+ [ALLOC_TEMP_MAIN]
193
+ Peak usage frame count: [8.0 KB-16.0 KB]: 9663 frames, [2.0 MB-4.0 MB]: 1 frames
194
+ Initial Block Size 4.0 MB
195
+ Current Block Size 4.0 MB
196
+ Peak Allocated Bytes 2.1 MB
197
+ Overflow Count 0
198
+ [ALLOC_TEMP_Loading.AsyncRead]
199
+ Initial Block Size 64.0 KB
200
+ Current Block Size 64.0 KB
201
+ Peak Allocated Bytes 148 B
202
+ Overflow Count 0
203
+ [ALLOC_TEMP_Loading.PreloadManager]
204
+ Initial Block Size 256.0 KB
205
+ Current Block Size 256.0 KB
206
+ Peak Allocated Bytes 78.8 KB
207
+ Overflow Count 4
208
+ [ALLOC_TEMP_Background Job.Worker 8]
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 6]
214
+ Initial Block Size 256.0 KB
215
+ Current Block Size 256.0 KB
216
+ Peak Allocated Bytes 0.7 KB
217
+ Overflow Count 0
218
+ [ALLOC_TEMP_Job.Worker 0]
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_Background Job.Worker 10]
224
+ Initial Block Size 32.0 KB
225
+ Current Block Size 32.0 KB
226
+ Peak Allocated Bytes 0 B
227
+ Overflow Count 0
228
+ [ALLOC_TEMP_Background Job.Worker 9]
229
+ Initial Block Size 32.0 KB
230
+ Current Block Size 32.0 KB
231
+ Peak Allocated Bytes 0 B
232
+ Overflow Count 0
233
+ [ALLOC_TEMP_Job.Worker 5]
234
+ Initial Block Size 256.0 KB
235
+ Current Block Size 256.0 KB
236
+ Peak Allocated Bytes 0 B
237
+ Overflow Count 0
238
+ [ALLOC_TEMP_Background Job.Worker 14]
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_Background Job.Worker 6]
244
+ Initial Block Size 32.0 KB
245
+ Current Block Size 32.0 KB
246
+ Peak Allocated Bytes 0 B
247
+ Overflow Count 0
248
+ [ALLOC_TEMP_Job.Worker 4]
249
+ Initial Block Size 256.0 KB
250
+ Current Block Size 256.0 KB
251
+ Peak Allocated Bytes 0 B
252
+ Overflow Count 0
253
+ [ALLOC_TEMP_Job.Worker 3]
254
+ Initial Block Size 256.0 KB
255
+ Current Block Size 256.0 KB
256
+ Peak Allocated Bytes 0 B
257
+ Overflow Count 0
258
+ [ALLOC_TEMP_Background Job.Worker 12]
259
+ Initial Block Size 32.0 KB
260
+ Current Block Size 32.0 KB
261
+ Peak Allocated Bytes 0 B
262
+ Overflow Count 0
263
+ [ALLOC_TEMP_EnlightenWorker] x 4
264
+ Initial Block Size 64.0 KB
265
+ Current Block Size 64.0 KB
266
+ Peak Allocated Bytes 0 B
267
+ Overflow Count 0
268
+ [ALLOC_TEMP_Background Job.Worker 15]
269
+ Initial Block Size 32.0 KB
270
+ Current Block Size 32.0 KB
271
+ Peak Allocated Bytes 0 B
272
+ Overflow Count 0
273
+ [ALLOC_TEMP_Background Job.Worker 1]
274
+ Initial Block Size 32.0 KB
275
+ Current Block Size 32.0 KB
276
+ Peak Allocated Bytes 0 B
277
+ Overflow Count 0
278
+ [ALLOC_TEMP_Background Job.Worker 2]
279
+ Initial Block Size 32.0 KB
280
+ Current Block Size 32.0 KB
281
+ Peak Allocated Bytes 0 B
282
+ Overflow Count 0
283
+ [ALLOC_TEMP_Background Job.Worker 7]
284
+ Initial Block Size 32.0 KB
285
+ Current Block Size 32.0 KB
286
+ Peak Allocated Bytes 0 B
287
+ Overflow Count 0
288
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 7
289
+ Initial Block Size 64.0 KB
290
+ Current Block Size 64.0 KB
291
+ Peak Allocated Bytes 0 B
292
+ Overflow Count 0
293
+ [ALLOC_TEMP_Background Job.Worker 5]
294
+ Initial Block Size 32.0 KB
295
+ Current Block Size 32.0 KB
296
+ Peak Allocated Bytes 0 B
297
+ Overflow Count 0
298
+ [ALLOC_TEMP_Background Job.Worker 13]
299
+ Initial Block Size 32.0 KB
300
+ Current Block Size 32.0 KB
301
+ Peak Allocated Bytes 0 B
302
+ Overflow Count 0
303
+ [ALLOC_TEMP_OSX HID Input]
304
+ Initial Block Size 64.0 KB
305
+ Current Block Size 64.0 KB
306
+ Peak Allocated Bytes 0 B
307
+ Overflow Count 0
308
+ [ALLOC_TEMP_Job.Worker 1]
309
+ Initial Block Size 256.0 KB
310
+ Current Block Size 256.0 KB
311
+ Peak Allocated Bytes 0 B
312
+ Overflow Count 0
313
+ [ALLOC_TEMP_Job.Worker 2]
314
+ Initial Block Size 256.0 KB
315
+ Current Block Size 256.0 KB
316
+ Peak Allocated Bytes 0 B
317
+ Overflow Count 0
318
+ [ALLOC_TEMP_Background Job.Worker 3]
319
+ Initial Block Size 32.0 KB
320
+ Current Block Size 32.0 KB
321
+ Peak Allocated Bytes 0 B
322
+ Overflow Count 0
323
+ [ALLOC_TEMP_Background Job.Worker 11]
324
+ Initial Block Size 32.0 KB
325
+ Current Block Size 32.0 KB
326
+ Peak Allocated Bytes 0 B
327
+ Overflow Count 0
328
+ [ALLOC_TEMP_Background Job.Worker 0]
329
+ Initial Block Size 32.0 KB
330
+ Current Block Size 32.0 KB
331
+ Peak Allocated Bytes 0 B
332
+ Overflow Count 0
333
+ [ALLOC_TEMP_Background Job.Worker 4]
334
+ Initial Block Size 32.0 KB
335
+ Current Block Size 32.0 KB
336
+ Peak Allocated Bytes 0 B
337
+ Overflow Count 0
338
+ [ALLOC_TEMP_BatchDeleteObjects]
339
+ Initial Block Size 64.0 KB
340
+ Current Block Size 64.0 KB
341
+ Peak Allocated Bytes 0 B
342
+ Overflow Count 0
343
+ [ALLOC_DEFAULT] Dual Thread Allocator
344
+ Peak main deferred allocation count 3
345
+ [ALLOC_BUCKET]
346
+ Large Block size 4.0 MB
347
+ Used Block count 1
348
+ Peak Allocated bytes 1.0 MB
349
+ [ALLOC_DEFAULT_MAIN]
350
+ Peak usage frame count: [4.0 MB-8.0 MB]: 9664 frames
351
+ Requested Block Size 16.0 MB
352
+ Peak Block count 1
353
+ Peak Allocated memory 4.9 MB
354
+ Peak Large allocation bytes 0 B
355
+ [ALLOC_DEFAULT_THREAD]
356
+ Peak usage frame count: [16.0 MB-32.0 MB]: 9664 frames
357
+ Requested Block Size 16.0 MB
358
+ Peak Block count 1
359
+ Peak Allocated memory 17.4 MB
360
+ Peak Large allocation bytes 16.0 MB
361
+ [ALLOC_TEMP_JOB_1_FRAME]
362
+ Initial Block Size 2.0 MB
363
+ Used Block Count 1
364
+ Overflow Count (too large) 0
365
+ Overflow Count (full) 0
366
+ [ALLOC_TEMP_JOB_2_FRAMES]
367
+ Initial Block Size 2.0 MB
368
+ Used Block Count 1
369
+ Overflow Count (too large) 0
370
+ Overflow Count (full) 0
371
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
372
+ Initial Block Size 2.0 MB
373
+ Used Block Count 2
374
+ Overflow Count (too large) 0
375
+ Overflow Count (full) 0
376
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
377
+ Initial Block Size 1.0 MB
378
+ Used Block Count 3
379
+ Overflow Count (too large) 0
380
+ Overflow Count (full) 0
381
+ [ALLOC_GFX] Dual Thread Allocator
382
+ Peak main deferred allocation count 0
383
+ [ALLOC_BUCKET]
384
+ Large Block size 4.0 MB
385
+ Used Block count 1
386
+ Peak Allocated bytes 1.0 MB
387
+ [ALLOC_GFX_MAIN]
388
+ Peak usage frame count: [32.0 KB-64.0 KB]: 9663 frames, [64.0 KB-128.0 KB]: 1 frames
389
+ Requested Block Size 16.0 MB
390
+ Peak Block count 1
391
+ Peak Allocated memory 65.6 KB
392
+ Peak Large allocation bytes 0 B
393
+ [ALLOC_GFX_THREAD]
394
+ Peak usage frame count: [128.0 KB-256.0 KB]: 9664 frames
395
+ Requested Block Size 16.0 MB
396
+ Peak Block count 1
397
+ Peak Allocated memory 173.5 KB
398
+ Peak Large allocation bytes 0 B
399
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
400
+ Peak main deferred allocation count 0
401
+ [ALLOC_BUCKET]
402
+ Large Block size 4.0 MB
403
+ Used Block count 1
404
+ Peak Allocated bytes 1.0 MB
405
+ [ALLOC_CACHEOBJECTS_MAIN]
406
+ Peak usage frame count: [0.5 MB-1.0 MB]: 9664 frames
407
+ Requested Block Size 4.0 MB
408
+ Peak Block count 1
409
+ Peak Allocated memory 0.6 MB
410
+ Peak Large allocation bytes 0 B
411
+ [ALLOC_CACHEOBJECTS_THREAD]
412
+ Peak usage frame count: [0.5 MB-1.0 MB]: 9663 frames, [2.0 MB-4.0 MB]: 1 frames
413
+ Requested Block Size 4.0 MB
414
+ Peak Block count 1
415
+ Peak Allocated memory 3.4 MB
416
+ Peak Large allocation bytes 0 B
417
+ [ALLOC_TYPETREE] Dual Thread Allocator
418
+ Peak main deferred allocation count 0
419
+ [ALLOC_BUCKET]
420
+ Large Block size 4.0 MB
421
+ Used Block count 1
422
+ Peak Allocated bytes 1.0 MB
423
+ [ALLOC_TYPETREE_MAIN]
424
+ Peak usage frame count: [0-1.0 KB]: 9664 frames
425
+ Requested Block Size 2.0 MB
426
+ Peak Block count 1
427
+ Peak Allocated memory 1.0 KB
428
+ Peak Large allocation bytes 0 B
429
+ [ALLOC_TYPETREE_THREAD]
430
+ Peak usage frame count: [1.0 KB-2.0 KB]: 9663 frames, [2.0 KB-4.0 KB]: 1 frames
431
+ Requested Block Size 2.0 MB
432
+ Peak Block count 1
433
+ Peak Allocated memory 2.2 KB
434
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,368 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "SoccerTwos.Policy.Entropy.mean": {
5
+ "value": 3.105114459991455,
6
+ "min": 3.105114459991455,
7
+ "max": 3.2957065105438232,
8
+ "count": 50
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 48688.1953125,
12
+ "min": 42019.0859375,
13
+ "max": 109748.3671875,
14
+ "count": 50
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 243.05555555555554,
18
+ "min": 206.66666666666666,
19
+ "max": 956.2,
20
+ "count": 50
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 17500.0,
24
+ "min": 16512.0,
25
+ "max": 25152.0,
26
+ "count": 50
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1245.8481626765551,
30
+ "min": 1199.5531159985107,
31
+ "max": 1245.8481626765551,
32
+ "count": 50
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 44850.533856355985,
36
+ "min": 2415.6549218818986,
37
+ "max": 64590.14878167217,
38
+ "count": 50
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 499886.0,
42
+ "min": 9592.0,
43
+ "max": 499886.0,
44
+ "count": 50
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 499886.0,
48
+ "min": 9592.0,
49
+ "max": 499886.0,
50
+ "count": 50
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": -0.03981245681643486,
54
+ "min": -0.03981245681643486,
55
+ "max": 0.03757605701684952,
56
+ "count": 50
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": -1.4332484006881714,
60
+ "min": -1.4332484006881714,
61
+ "max": 1.127281665802002,
62
+ "count": 50
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": -0.04524083435535431,
66
+ "min": -0.04524083435535431,
67
+ "max": 0.04333335533738136,
68
+ "count": 50
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": -1.6286699771881104,
72
+ "min": -1.6286699771881104,
73
+ "max": 1.3000006675720215,
74
+ "count": 50
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 50
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 50
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": -0.14067777825726402,
90
+ "min": -0.4166666666666667,
91
+ "max": 0.44489090551029553,
92
+ "count": 50
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": -5.064400017261505,
96
+ "min": -7.836000025272369,
97
+ "max": 9.787599921226501,
98
+ "count": 50
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": -0.14067777825726402,
102
+ "min": -0.4166666666666667,
103
+ "max": 0.44489090551029553,
104
+ "count": 50
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": -5.064400017261505,
108
+ "min": -7.836000025272369,
109
+ "max": 9.787599921226501,
110
+ "count": 50
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 50
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 50
123
+ },
124
+ "SoccerTwos.Losses.PolicyLoss.mean": {
125
+ "value": 0.017825303140368003,
126
+ "min": 0.014612562129817283,
127
+ "max": 0.020802132273092865,
128
+ "count": 23
129
+ },
130
+ "SoccerTwos.Losses.PolicyLoss.sum": {
131
+ "value": 0.017825303140368003,
132
+ "min": 0.014612562129817283,
133
+ "max": 0.020802132273092865,
134
+ "count": 23
135
+ },
136
+ "SoccerTwos.Losses.ValueLoss.mean": {
137
+ "value": 0.02149607219422857,
138
+ "min": 0.0014562032088482131,
139
+ "max": 0.02149607219422857,
140
+ "count": 23
141
+ },
142
+ "SoccerTwos.Losses.ValueLoss.sum": {
143
+ "value": 0.02149607219422857,
144
+ "min": 0.0014562032088482131,
145
+ "max": 0.02149607219422857,
146
+ "count": 23
147
+ },
148
+ "SoccerTwos.Losses.BaselineLoss.mean": {
149
+ "value": 0.02265563899030288,
150
+ "min": 0.001528622421513622,
151
+ "max": 0.02265563899030288,
152
+ "count": 23
153
+ },
154
+ "SoccerTwos.Losses.BaselineLoss.sum": {
155
+ "value": 0.02265563899030288,
156
+ "min": 0.001528622421513622,
157
+ "max": 0.02265563899030288,
158
+ "count": 23
159
+ },
160
+ "SoccerTwos.Policy.LearningRate.mean": {
161
+ "value": 0.0003,
162
+ "min": 0.0003,
163
+ "max": 0.0003,
164
+ "count": 23
165
+ },
166
+ "SoccerTwos.Policy.LearningRate.sum": {
167
+ "value": 0.0003,
168
+ "min": 0.0003,
169
+ "max": 0.0003,
170
+ "count": 23
171
+ },
172
+ "SoccerTwos.Policy.Epsilon.mean": {
173
+ "value": 0.20000000000000007,
174
+ "min": 0.20000000000000007,
175
+ "max": 0.20000000000000007,
176
+ "count": 23
177
+ },
178
+ "SoccerTwos.Policy.Epsilon.sum": {
179
+ "value": 0.20000000000000007,
180
+ "min": 0.20000000000000007,
181
+ "max": 0.20000000000000007,
182
+ "count": 23
183
+ },
184
+ "SoccerTwos.Policy.Beta.mean": {
185
+ "value": 0.005000000000000001,
186
+ "min": 0.005000000000000001,
187
+ "max": 0.005000000000000001,
188
+ "count": 23
189
+ },
190
+ "SoccerTwos.Policy.Beta.sum": {
191
+ "value": 0.005000000000000001,
192
+ "min": 0.005000000000000001,
193
+ "max": 0.005000000000000001,
194
+ "count": 23
195
+ }
196
+ },
197
+ "metadata": {
198
+ "timer_format_version": "0.1.0",
199
+ "start_time_seconds": "1680725815",
200
+ "python_version": "3.9.13 (main, Aug 17 2022, 04:34:27) \n[Clang 11.1.0 ]",
201
+ "command_line_arguments": "/Users/romanmalygin/.venvs/aivsai/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": "1680731565"
208
+ },
209
+ "total": 5750.20565045,
210
+ "count": 1,
211
+ "self": 0.4288838359998408,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.05599138600000009,
215
+ "count": 1,
216
+ "self": 0.05599138600000009
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 5749.720775228,
220
+ "count": 1,
221
+ "self": 1.0230867321197366,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 5.452135400999538,
225
+ "count": 3,
226
+ "self": 5.452135400999538
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 5742.88802891688,
230
+ "count": 32593,
231
+ "self": 1.0805058188434487,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 4398.036322860026,
235
+ "count": 32593,
236
+ "self": 4261.753033149064,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 135.63617563993319,
240
+ "count": 32593,
241
+ "self": 5.957987499062369,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 129.67818814087082,
245
+ "count": 64428,
246
+ "self": 129.67818814087082
247
+ }
248
+ }
249
+ },
250
+ "workers": {
251
+ "total": 0.6471140710290397,
252
+ "count": 32592,
253
+ "self": 0.0,
254
+ "children": {
255
+ "worker_root": {
256
+ "total": 5742.35773433805,
257
+ "count": 32592,
258
+ "is_parallel": true,
259
+ "self": 1604.6105905860404,
260
+ "children": {
261
+ "steps_from_proto": {
262
+ "total": 0.01477887199999639,
263
+ "count": 6,
264
+ "is_parallel": true,
265
+ "self": 0.0021083460009911903,
266
+ "children": {
267
+ "_process_rank_one_or_two_observation": {
268
+ "total": 0.0126705259990052,
269
+ "count": 24,
270
+ "is_parallel": true,
271
+ "self": 0.0126705259990052
272
+ }
273
+ }
274
+ },
275
+ "UnityEnvironment.step": {
276
+ "total": 4137.73236488001,
277
+ "count": 32592,
278
+ "is_parallel": true,
279
+ "self": 11.103684912936842,
280
+ "children": {
281
+ "UnityEnvironment._generate_step_input": {
282
+ "total": 82.81244763706641,
283
+ "count": 32592,
284
+ "is_parallel": true,
285
+ "self": 82.81244763706641
286
+ },
287
+ "communicator.exchange": {
288
+ "total": 3894.978669442948,
289
+ "count": 32592,
290
+ "is_parallel": true,
291
+ "self": 3894.978669442948
292
+ },
293
+ "steps_from_proto": {
294
+ "total": 148.83756288705914,
295
+ "count": 65184,
296
+ "is_parallel": true,
297
+ "self": 20.501095915977203,
298
+ "children": {
299
+ "_process_rank_one_or_two_observation": {
300
+ "total": 128.33646697108193,
301
+ "count": 260736,
302
+ "is_parallel": true,
303
+ "self": 128.33646697108193
304
+ }
305
+ }
306
+ }
307
+ }
308
+ }
309
+ }
310
+ }
311
+ }
312
+ }
313
+ }
314
+ },
315
+ "trainer_advance": {
316
+ "total": 1343.7712002380104,
317
+ "count": 32592,
318
+ "self": 7.544408949050194,
319
+ "children": {
320
+ "process_trajectory": {
321
+ "total": 161.65574759096305,
322
+ "count": 32592,
323
+ "self": 161.22057021996258,
324
+ "children": {
325
+ "RLTrainer._checkpoint": {
326
+ "total": 0.4351773710004636,
327
+ "count": 1,
328
+ "self": 0.4351773710004636
329
+ }
330
+ }
331
+ },
332
+ "_update_policy": {
333
+ "total": 1174.571043697997,
334
+ "count": 23,
335
+ "self": 121.14498982900113,
336
+ "children": {
337
+ "TorchPOCAOptimizer.update": {
338
+ "total": 1053.426053868996,
339
+ "count": 690,
340
+ "self": 1053.426053868996
341
+ }
342
+ }
343
+ }
344
+ }
345
+ }
346
+ }
347
+ },
348
+ "trainer_threads": {
349
+ "total": 4.354000338935293e-06,
350
+ "count": 1,
351
+ "self": 4.354000338935293e-06
352
+ },
353
+ "TrainerController._save_models": {
354
+ "total": 0.3575198240005193,
355
+ "count": 1,
356
+ "self": 0.007720928000708227,
357
+ "children": {
358
+ "RLTrainer._checkpoint": {
359
+ "total": 0.34979889599981107,
360
+ "count": 1,
361
+ "self": 0.34979889599981107
362
+ }
363
+ }
364
+ }
365
+ }
366
+ }
367
+ }
368
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "checkpoints": [
4
+ {
5
+ "steps": 499886,
6
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-499886.onnx",
7
+ "reward": 0.0,
8
+ "creation_time": 1680731549.1530628,
9
+ "auxillary_file_paths": [
10
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-499886.pt"
11
+ ]
12
+ },
13
+ {
14
+ "steps": 500364,
15
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-500364.onnx",
16
+ "reward": 0.0,
17
+ "creation_time": 1680731565.142085,
18
+ "auxillary_file_paths": [
19
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-500364.pt"
20
+ ]
21
+ }
22
+ ],
23
+ "elo": 1246.5747941157665,
24
+ "final_checkpoint": {
25
+ "steps": 500364,
26
+ "file_path": "results/SoccerTwos/SoccerTwos.onnx",
27
+ "reward": 0.0,
28
+ "creation_time": 1680731565.142085,
29
+ "auxillary_file_paths": [
30
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-500364.pt"
31
+ ]
32
+ }
33
+ },
34
+ "metadata": {
35
+ "stats_format_version": "0.3.0",
36
+ "mlagents_version": "0.31.0.dev0",
37
+ "torch_version": "1.11.0"
38
+ }
39
+ }