alekom commited on
Commit
6c04973
1 Parent(s): 7896c40

First Push

Browse files
README.md ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: ml-agents
3
+ tags:
4
+ - SoccerTwos
5
+ - deep-reinforcement-learning
6
+ - reinforcement-learning
7
+ - ML-Agents-SoccerTwos
8
+ ---
9
+
10
+ # **poca** Agent playing **SoccerTwos**
11
+ This is a trained model of a **poca** agent playing **SoccerTwos**
12
+ using the [Unity ML-Agents Library](https://github.com/Unity-Technologies/ml-agents).
13
+
14
+ ## Usage (with ML-Agents)
15
+ The Documentation: https://unity-technologies.github.io/ml-agents/ML-Agents-Toolkit-Documentation/
16
+
17
+ We wrote a complete tutorial to learn to train your first agent using ML-Agents and publish it to the Hub:
18
+ - A *short tutorial* where you teach Huggy the Dog 🐶 to fetch the stick and then play with him directly in your
19
+ browser: https://huggingface.co/learn/deep-rl-course/unitbonus1/introduction
20
+ - A *longer tutorial* to understand how works ML-Agents:
21
+ https://huggingface.co/learn/deep-rl-course/unit5/introduction
22
+
23
+ ### Resume the training
24
+ ```bash
25
+ mlagents-learn <your_configuration_file_path.yaml> --run-id=<run_id> --resume
26
+ ```
27
+
28
+ ### Watch your Agent play
29
+ You can watch your agent **playing directly in your browser**
30
+
31
+ 1. If the environment is part of ML-Agents official environments, go to https://huggingface.co/unity
32
+ 2. Step 1: Find your model_id: alekom/poca-SoccerTwos
33
+ 3. Step 2: Select your *.nn /*.onnx file
34
+ 4. Click on Watch the agent play 👀
35
+
SoccerTwos.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a915206df13fef15b854f1c5f143cae63ca47f684f171833046c7ff5aee96ea4
3
+ size 1768747
SoccerTwos/SoccerTwos-68536.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a915206df13fef15b854f1c5f143cae63ca47f684f171833046c7ff5aee96ea4
3
+ size 1768747
SoccerTwos/SoccerTwos-68536.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:080e778ecc6509fb1e20b3400425e46ee744732aad23bae6c2e3943bad54e090
3
+ size 28430110
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:519916494389100eda9519de66e5d2e22d7edd597f40cdc430679f7c3c41f8fc
3
+ size 28429366
SoccerTwos/events.out.tfevents.1712087792.DESKTOP-UNTNQAF.9112.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:00604f98e6a2352b160d29b72f4545f40f75380de0a6aa6e6fd5ff21c41b7a83
3
+ size 52891
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": 500000, "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.exe", "env_args": null, "base_port": 5005, "num_envs": 1, "num_areas": 1, "timeout_wait": 60, "seed": -1, "max_lifetime_restarts": 10, "restarts_rate_limit_n": 1, "restarts_rate_limit_period_s": 60}, "engine_settings": {"width": 84, "height": 84, "quality_level": 5, "time_scale": 20, "target_frame_rate": -1, "capture_frame_rate": 60, "no_graphics": true, "no_graphics_monitor": false}, "environment_parameters": null, "checkpoint_settings": {"run_id": "SoccerTwos", "initialize_from": null, "load_model": false, "resume": false, "force": false, "train_model": false, "inference": false, "results_dir": "results"}, "torch_settings": {"device": null}, "debug": false}
configuration.yaml ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ default_settings: null
2
+ behaviors:
3
+ SoccerTwos:
4
+ trainer_type: poca
5
+ hyperparameters:
6
+ batch_size: 2048
7
+ buffer_size: 20480
8
+ learning_rate: 0.0003
9
+ beta: 0.005
10
+ epsilon: 0.2
11
+ lambd: 0.95
12
+ num_epoch: 3
13
+ learning_rate_schedule: constant
14
+ beta_schedule: constant
15
+ epsilon_schedule: constant
16
+ checkpoint_interval: 500000
17
+ network_settings:
18
+ normalize: false
19
+ hidden_units: 512
20
+ num_layers: 2
21
+ vis_encode_type: simple
22
+ memory: null
23
+ goal_conditioning_type: hyper
24
+ deterministic: false
25
+ reward_signals:
26
+ extrinsic:
27
+ gamma: 0.99
28
+ strength: 1.0
29
+ network_settings:
30
+ normalize: false
31
+ hidden_units: 128
32
+ num_layers: 2
33
+ vis_encode_type: simple
34
+ memory: null
35
+ goal_conditioning_type: hyper
36
+ deterministic: false
37
+ init_path: null
38
+ keep_checkpoints: 5
39
+ even_checkpoints: false
40
+ max_steps: 500000
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.exe
54
+ env_args: null
55
+ base_port: 5005
56
+ num_envs: 1
57
+ num_areas: 1
58
+ timeout_wait: 60
59
+ seed: -1
60
+ max_lifetime_restarts: 10
61
+ restarts_rate_limit_n: 1
62
+ restarts_rate_limit_period_s: 60
63
+ engine_settings:
64
+ width: 84
65
+ height: 84
66
+ quality_level: 5
67
+ time_scale: 20
68
+ target_frame_rate: -1
69
+ capture_frame_rate: 60
70
+ no_graphics: true
71
+ no_graphics_monitor: false
72
+ environment_parameters: null
73
+ checkpoint_settings:
74
+ run_id: SoccerTwos
75
+ initialize_from: null
76
+ load_model: false
77
+ resume: false
78
+ force: false
79
+ train_model: false
80
+ inference: false
81
+ results_dir: results
82
+ torch_settings:
83
+ device: null
84
+ debug: false
run_logs/Player-0.log ADDED
@@ -0,0 +1,309 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = 'C:/Users/aleks/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos_Data/Managed'
2
+ Mono config path = 'C:/Users/aleks/ml-agents/training-envs-executables/SoccerTwos/MonoBleedingEdge/etc'
3
+ Initialize engine version: 2021.3.14f1 (eee1884e7226)
4
+ [Subsystems] Discovering subsystems at path C:/Users/aleks/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos_Data/UnitySubsystems
5
+ Forcing GfxDevice: Null
6
+ GfxDevice: creating device client; threaded=0; jobified=0
7
+ NullGfxDevice:
8
+ Version: NULL 1.0 [1.0]
9
+ Renderer: Null Device
10
+ Vendor: Unity Technologies
11
+ Begin MonoManager ReloadAssembly
12
+ - Completed reload, in 0.222 seconds
13
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
14
+ Microsoft Media Foundation video decoding to texture disabled: graphics device is Null, only Direct3D 11 and Direct3D 12 (only on desktop) are supported for hardware-accelerated video decoding.
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.672000 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
+ Setting up 4 worker threads for Enlighten.
69
+ Memory Statistics:
70
+ [ALLOC_TEMP_TLS] TLS Allocator
71
+ StackAllocators :
72
+ [ALLOC_TEMP_MAIN]
73
+ Peak usage frame count: [8.0 KB-16.0 KB]: 1403 frames, [2.0 MB-4.0 MB]: 1 frames
74
+ Initial Block Size 4.0 MB
75
+ Current Block Size 4.0 MB
76
+ Peak Allocated Bytes 2.0 MB
77
+ Overflow Count 0
78
+ [ALLOC_TEMP_Loading.AsyncRead]
79
+ Initial Block Size 64.0 KB
80
+ Current Block Size 64.0 KB
81
+ Peak Allocated Bytes 312 B
82
+ Overflow Count 0
83
+ [ALLOC_TEMP_Loading.PreloadManager]
84
+ Initial Block Size 256.0 KB
85
+ Current Block Size 256.0 KB
86
+ Peak Allocated Bytes 67.1 KB
87
+ Overflow Count 4
88
+ [ALLOC_TEMP_Background Job.Worker 8]
89
+ Initial Block Size 32.0 KB
90
+ Current Block Size 32.0 KB
91
+ Peak Allocated Bytes 54 B
92
+ Overflow Count 0
93
+ [ALLOC_TEMP_Job.Worker 6]
94
+ Initial Block Size 256.0 KB
95
+ Current Block Size 256.0 KB
96
+ Peak Allocated Bytes 0 B
97
+ Overflow Count 0
98
+ [ALLOC_TEMP_Job.Worker 0]
99
+ Initial Block Size 256.0 KB
100
+ Current Block Size 256.0 KB
101
+ Peak Allocated Bytes 0 B
102
+ Overflow Count 0
103
+ [ALLOC_TEMP_Background Job.Worker 10]
104
+ Initial Block Size 32.0 KB
105
+ Current Block Size 32.0 KB
106
+ Peak Allocated Bytes 54 B
107
+ Overflow Count 0
108
+ [ALLOC_TEMP_Background Job.Worker 9]
109
+ Initial Block Size 32.0 KB
110
+ Current Block Size 32.0 KB
111
+ Peak Allocated Bytes 54 B
112
+ Overflow Count 0
113
+ [ALLOC_TEMP_Job.Worker 5]
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 14]
119
+ Initial Block Size 32.0 KB
120
+ Current Block Size 32.0 KB
121
+ Peak Allocated Bytes 54 B
122
+ Overflow Count 0
123
+ [ALLOC_TEMP_Background Job.Worker 6]
124
+ Initial Block Size 32.0 KB
125
+ Current Block Size 32.0 KB
126
+ Peak Allocated Bytes 54 B
127
+ Overflow Count 0
128
+ [ALLOC_TEMP_Job.Worker 4]
129
+ Initial Block Size 256.0 KB
130
+ Current Block Size 256.0 KB
131
+ Peak Allocated Bytes 0.8 KB
132
+ Overflow Count 0
133
+ [ALLOC_TEMP_Job.Worker 3]
134
+ Initial Block Size 256.0 KB
135
+ Current Block Size 256.0 KB
136
+ Peak Allocated Bytes 0 B
137
+ Overflow Count 0
138
+ [ALLOC_TEMP_Background Job.Worker 12]
139
+ Initial Block Size 32.0 KB
140
+ Current Block Size 32.0 KB
141
+ Peak Allocated Bytes 54 B
142
+ Overflow Count 0
143
+ [ALLOC_TEMP_EnlightenWorker] x 4
144
+ Initial Block Size 64.0 KB
145
+ Current Block Size 64.0 KB
146
+ Peak Allocated Bytes 54 B
147
+ Overflow Count 0
148
+ [ALLOC_TEMP_Background Job.Worker 15]
149
+ Initial Block Size 32.0 KB
150
+ Current Block Size 32.0 KB
151
+ Peak Allocated Bytes 54 B
152
+ Overflow Count 0
153
+ [ALLOC_TEMP_Background Job.Worker 1]
154
+ Initial Block Size 32.0 KB
155
+ Current Block Size 32.0 KB
156
+ Peak Allocated Bytes 54 B
157
+ Overflow Count 0
158
+ [ALLOC_TEMP_Background Job.Worker 2]
159
+ Initial Block Size 32.0 KB
160
+ Current Block Size 32.0 KB
161
+ Peak Allocated Bytes 54 B
162
+ Overflow Count 0
163
+ [ALLOC_TEMP_Background Job.Worker 7]
164
+ Initial Block Size 32.0 KB
165
+ Current Block Size 32.0 KB
166
+ Peak Allocated Bytes 54 B
167
+ Overflow Count 0
168
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 7
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 5]
174
+ Initial Block Size 32.0 KB
175
+ Current Block Size 32.0 KB
176
+ Peak Allocated Bytes 54 B
177
+ Overflow Count 0
178
+ [ALLOC_TEMP_Background Job.Worker 13]
179
+ Initial Block Size 32.0 KB
180
+ Current Block Size 32.0 KB
181
+ Peak Allocated Bytes 54 B
182
+ Overflow Count 0
183
+ [ALLOC_TEMP_Job.Worker 1]
184
+ Initial Block Size 256.0 KB
185
+ Current Block Size 256.0 KB
186
+ Peak Allocated Bytes 0 B
187
+ Overflow Count 0
188
+ [ALLOC_TEMP_Job.Worker 2]
189
+ Initial Block Size 256.0 KB
190
+ Current Block Size 256.0 KB
191
+ Peak Allocated Bytes 0 B
192
+ Overflow Count 0
193
+ [ALLOC_TEMP_Background Job.Worker 3]
194
+ Initial Block Size 32.0 KB
195
+ Current Block Size 32.0 KB
196
+ Peak Allocated Bytes 54 B
197
+ Overflow Count 0
198
+ [ALLOC_TEMP_Background Job.Worker 11]
199
+ Initial Block Size 32.0 KB
200
+ Current Block Size 32.0 KB
201
+ Peak Allocated Bytes 54 B
202
+ Overflow Count 0
203
+ [ALLOC_TEMP_Background Job.Worker 0]
204
+ Initial Block Size 32.0 KB
205
+ Current Block Size 32.0 KB
206
+ Peak Allocated Bytes 54 B
207
+ Overflow Count 0
208
+ [ALLOC_TEMP_Background Job.Worker 4]
209
+ Initial Block Size 32.0 KB
210
+ Current Block Size 32.0 KB
211
+ Peak Allocated Bytes 54 B
212
+ Overflow Count 0
213
+ [ALLOC_TEMP_BatchDeleteObjects]
214
+ Initial Block Size 64.0 KB
215
+ Current Block Size 64.0 KB
216
+ Peak Allocated Bytes 54 B
217
+ Overflow Count 0
218
+ [ALLOC_DEFAULT] Dual Thread Allocator
219
+ Peak main deferred allocation count 4
220
+ [ALLOC_BUCKET]
221
+ Large Block size 4.0 MB
222
+ Used Block count 1
223
+ Peak Allocated bytes 0.9 MB
224
+ [ALLOC_DEFAULT_MAIN]
225
+ Peak usage frame count: [4.0 MB-8.0 MB]: 1404 frames
226
+ Requested Block Size 16.0 MB
227
+ Peak Block count 1
228
+ Peak Allocated memory 5.1 MB
229
+ Peak Large allocation bytes 0 B
230
+ [ALLOC_DEFAULT_THREAD]
231
+ Peak usage frame count: [16.0 MB-32.0 MB]: 1404 frames
232
+ Requested Block Size 16.0 MB
233
+ Peak Block count 1
234
+ Peak Allocated memory 17.2 MB
235
+ Peak Large allocation bytes 16.0 MB
236
+ [ALLOC_TEMP_JOB_1_FRAME]
237
+ Initial Block Size 2.0 MB
238
+ Used Block Count 1
239
+ Overflow Count (too large) 0
240
+ Overflow Count (full) 0
241
+ [ALLOC_TEMP_JOB_2_FRAMES]
242
+ Initial Block Size 2.0 MB
243
+ Used Block Count 1
244
+ Overflow Count (too large) 0
245
+ Overflow Count (full) 0
246
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
247
+ Initial Block Size 2.0 MB
248
+ Used Block Count 2
249
+ Overflow Count (too large) 0
250
+ Overflow Count (full) 0
251
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
252
+ Initial Block Size 1.0 MB
253
+ Used Block Count 3
254
+ Overflow Count (too large) 0
255
+ Overflow Count (full) 0
256
+ [ALLOC_GFX] Dual Thread Allocator
257
+ Peak main deferred allocation count 0
258
+ [ALLOC_BUCKET]
259
+ Large Block size 4.0 MB
260
+ Used Block count 1
261
+ Peak Allocated bytes 0.9 MB
262
+ [ALLOC_GFX_MAIN]
263
+ Peak usage frame count: [32.0 KB-64.0 KB]: 1403 frames, [64.0 KB-128.0 KB]: 1 frames
264
+ Requested Block Size 16.0 MB
265
+ Peak Block count 1
266
+ Peak Allocated memory 65.6 KB
267
+ Peak Large allocation bytes 0 B
268
+ [ALLOC_GFX_THREAD]
269
+ Peak usage frame count: [128.0 KB-256.0 KB]: 1404 frames
270
+ Requested Block Size 16.0 MB
271
+ Peak Block count 1
272
+ Peak Allocated memory 173.6 KB
273
+ Peak Large allocation bytes 0 B
274
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
275
+ Peak main deferred allocation count 2
276
+ [ALLOC_BUCKET]
277
+ Large Block size 4.0 MB
278
+ Used Block count 1
279
+ Peak Allocated bytes 0.9 MB
280
+ [ALLOC_CACHEOBJECTS_MAIN]
281
+ Peak usage frame count: [0.5 MB-1.0 MB]: 1404 frames
282
+ Requested Block Size 4.0 MB
283
+ Peak Block count 1
284
+ Peak Allocated memory 0.6 MB
285
+ Peak Large allocation bytes 0 B
286
+ [ALLOC_CACHEOBJECTS_THREAD]
287
+ Peak usage frame count: [0.5 MB-1.0 MB]: 1403 frames, [2.0 MB-4.0 MB]: 1 frames
288
+ Requested Block Size 4.0 MB
289
+ Peak Block count 1
290
+ Peak Allocated memory 3.2 MB
291
+ Peak Large allocation bytes 0 B
292
+ [ALLOC_TYPETREE] Dual Thread Allocator
293
+ Peak main deferred allocation count 0
294
+ [ALLOC_BUCKET]
295
+ Large Block size 4.0 MB
296
+ Used Block count 1
297
+ Peak Allocated bytes 0.9 MB
298
+ [ALLOC_TYPETREE_MAIN]
299
+ Peak usage frame count: [0-1.0 KB]: 1404 frames
300
+ Requested Block Size 2.0 MB
301
+ Peak Block count 1
302
+ Peak Allocated memory 1.0 KB
303
+ Peak Large allocation bytes 0 B
304
+ [ALLOC_TYPETREE_THREAD]
305
+ Peak usage frame count: [1.0 KB-2.0 KB]: 1403 frames, [2.0 KB-4.0 KB]: 1 frames
306
+ Requested Block Size 2.0 MB
307
+ Peak Block count 1
308
+ Peak Allocated memory 2.2 KB
309
+ 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.2785375118255615,
6
+ "min": 3.277444839477539,
7
+ "max": 3.2957262992858887,
8
+ "count": 6
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 72390.109375,
12
+ "min": 59465.9609375,
13
+ "max": 105463.2421875,
14
+ "count": 6
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 763.3333333333334,
18
+ "min": 573.0,
19
+ "max": 965.6,
20
+ "count": 6
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 18320.0,
24
+ "min": 16044.0,
25
+ "max": 25552.0,
26
+ "count": 6
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1198.3483737537852,
30
+ "min": 1197.969354398465,
31
+ "max": 1201.2421091626256,
32
+ "count": 6
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 4793.393495015141,
36
+ "min": 2395.93870879693,
37
+ "max": 12010.233231809583,
38
+ "count": 6
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 59100.0,
42
+ "min": 9622.0,
43
+ "max": 59100.0,
44
+ "count": 6
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 59100.0,
48
+ "min": 9622.0,
49
+ "max": 59100.0,
50
+ "count": 6
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": -0.005940200760960579,
54
+ "min": -0.005940200760960579,
55
+ "max": 0.004564695525914431,
56
+ "count": 6
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": -0.07128240913152695,
60
+ "min": -0.07128240913152695,
61
+ "max": 0.07303512841463089,
62
+ "count": 6
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": -0.009806621819734573,
66
+ "min": -0.009806621819734573,
67
+ "max": 0.004620045889168978,
68
+ "count": 6
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": -0.11767946183681488,
72
+ "min": -0.11767946183681488,
73
+ "max": 0.07392073422670364,
74
+ "count": 6
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 6
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 6
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": -0.08463333547115326,
90
+ "min": -0.28404999896883965,
91
+ "max": 0.06803077000838059,
92
+ "count": 6
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": -1.0156000256538391,
96
+ "min": -4.544799983501434,
97
+ "max": 0.8844000101089478,
98
+ "count": 6
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": -0.08463333547115326,
102
+ "min": -0.28404999896883965,
103
+ "max": 0.06803077000838059,
104
+ "count": 6
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": -1.0156000256538391,
108
+ "min": -4.544799983501434,
109
+ "max": 0.8844000101089478,
110
+ "count": 6
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 6
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 6
123
+ },
124
+ "SoccerTwos.Losses.PolicyLoss.mean": {
125
+ "value": 0.019398090445126095,
126
+ "min": 0.016044788503980573,
127
+ "max": 0.019398090445126095,
128
+ "count": 2
129
+ },
130
+ "SoccerTwos.Losses.PolicyLoss.sum": {
131
+ "value": 0.019398090445126095,
132
+ "min": 0.016044788503980573,
133
+ "max": 0.019398090445126095,
134
+ "count": 2
135
+ },
136
+ "SoccerTwos.Losses.ValueLoss.mean": {
137
+ "value": 0.0023252678258965415,
138
+ "min": 0.0023252678258965415,
139
+ "max": 0.004639482009224594,
140
+ "count": 2
141
+ },
142
+ "SoccerTwos.Losses.ValueLoss.sum": {
143
+ "value": 0.0023252678258965415,
144
+ "min": 0.0023252678258965415,
145
+ "max": 0.004639482009224594,
146
+ "count": 2
147
+ },
148
+ "SoccerTwos.Losses.BaselineLoss.mean": {
149
+ "value": 0.002352929871995002,
150
+ "min": 0.002352929871995002,
151
+ "max": 0.004379451057563225,
152
+ "count": 2
153
+ },
154
+ "SoccerTwos.Losses.BaselineLoss.sum": {
155
+ "value": 0.002352929871995002,
156
+ "min": 0.002352929871995002,
157
+ "max": 0.004379451057563225,
158
+ "count": 2
159
+ },
160
+ "SoccerTwos.Policy.LearningRate.mean": {
161
+ "value": 0.0003,
162
+ "min": 0.0003,
163
+ "max": 0.0003,
164
+ "count": 2
165
+ },
166
+ "SoccerTwos.Policy.LearningRate.sum": {
167
+ "value": 0.0003,
168
+ "min": 0.0003,
169
+ "max": 0.0003,
170
+ "count": 2
171
+ },
172
+ "SoccerTwos.Policy.Epsilon.mean": {
173
+ "value": 0.20000000000000007,
174
+ "min": 0.20000000000000007,
175
+ "max": 0.20000000000000007,
176
+ "count": 2
177
+ },
178
+ "SoccerTwos.Policy.Epsilon.sum": {
179
+ "value": 0.20000000000000007,
180
+ "min": 0.20000000000000007,
181
+ "max": 0.20000000000000007,
182
+ "count": 2
183
+ },
184
+ "SoccerTwos.Policy.Beta.mean": {
185
+ "value": 0.005000000000000001,
186
+ "min": 0.005000000000000001,
187
+ "max": 0.005000000000000001,
188
+ "count": 2
189
+ },
190
+ "SoccerTwos.Policy.Beta.sum": {
191
+ "value": 0.005000000000000001,
192
+ "min": 0.005000000000000001,
193
+ "max": 0.005000000000000001,
194
+ "count": 2
195
+ }
196
+ },
197
+ "metadata": {
198
+ "timer_format_version": "0.1.0",
199
+ "start_time_seconds": "1712087786",
200
+ "python_version": "3.10.12 | packaged by Anaconda, Inc. | (main, Jul 5 2023, 19:01:18) [MSC v.1916 64 bit (AMD64)]",
201
+ "command_line_arguments": "\\\\?\\C:\\Users\\aleks\\miniconda3\\envs\\rl\\Scripts\\mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos/SoccerTwos.exe --run-id=SoccerTwos --no-graphics",
202
+ "mlagents_version": "1.1.0.dev0",
203
+ "mlagents_envs_version": "1.1.0.dev0",
204
+ "communication_protocol_version": "1.5.0",
205
+ "pytorch_version": "2.2.2+cpu",
206
+ "numpy_version": "1.23.5",
207
+ "end_time_seconds": "1712088191"
208
+ },
209
+ "total": 405.1943989000283,
210
+ "count": 1,
211
+ "self": 0.14406610000878572,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.11985490005463362,
215
+ "count": 1,
216
+ "self": 0.11985490005463362
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 404.9304778999649,
220
+ "count": 1,
221
+ "self": 0.24851249251514673,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 9.009788099909201,
225
+ "count": 1,
226
+ "self": 9.009788099909201
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 395.36254320759326,
230
+ "count": 4710,
231
+ "self": 0.267906513530761,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 217.6248510950245,
235
+ "count": 4710,
236
+ "self": 169.99283299548551,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 47.47341290069744,
240
+ "count": 4710,
241
+ "self": 1.4736969931982458,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 45.999715907499194,
245
+ "count": 9360,
246
+ "self": 45.999715907499194
247
+ }
248
+ }
249
+ },
250
+ "workers": {
251
+ "total": 0.158605198841542,
252
+ "count": 4709,
253
+ "self": 0.0,
254
+ "children": {
255
+ "worker_root": {
256
+ "total": 398.56799059710465,
257
+ "count": 4709,
258
+ "is_parallel": true,
259
+ "self": 261.24058149009943,
260
+ "children": {
261
+ "steps_from_proto": {
262
+ "total": 0.0022142999805510044,
263
+ "count": 2,
264
+ "is_parallel": true,
265
+ "self": 0.000512799946591258,
266
+ "children": {
267
+ "_process_rank_one_or_two_observation": {
268
+ "total": 0.0017015000339597464,
269
+ "count": 8,
270
+ "is_parallel": true,
271
+ "self": 0.0017015000339597464
272
+ }
273
+ }
274
+ },
275
+ "UnityEnvironment.step": {
276
+ "total": 137.32519480702467,
277
+ "count": 4709,
278
+ "is_parallel": true,
279
+ "self": 6.884166902163997,
280
+ "children": {
281
+ "UnityEnvironment._generate_step_input": {
282
+ "total": 5.627807593438774,
283
+ "count": 4709,
284
+ "is_parallel": true,
285
+ "self": 5.627807593438774
286
+ },
287
+ "communicator.exchange": {
288
+ "total": 102.31391689740121,
289
+ "count": 4709,
290
+ "is_parallel": true,
291
+ "self": 102.31391689740121
292
+ },
293
+ "steps_from_proto": {
294
+ "total": 22.499303414020687,
295
+ "count": 9418,
296
+ "is_parallel": true,
297
+ "self": 4.497028919635341,
298
+ "children": {
299
+ "_process_rank_one_or_two_observation": {
300
+ "total": 18.002274494385347,
301
+ "count": 37672,
302
+ "is_parallel": true,
303
+ "self": 18.002274494385347
304
+ }
305
+ }
306
+ }
307
+ }
308
+ }
309
+ }
310
+ }
311
+ }
312
+ }
313
+ }
314
+ },
315
+ "trainer_advance": {
316
+ "total": 177.469785599038,
317
+ "count": 4709,
318
+ "self": 1.959788104519248,
319
+ "children": {
320
+ "process_trajectory": {
321
+ "total": 28.999189694644883,
322
+ "count": 4709,
323
+ "self": 28.999189694644883
324
+ },
325
+ "_update_policy": {
326
+ "total": 146.51080779987387,
327
+ "count": 3,
328
+ "self": 15.312781100627035,
329
+ "children": {
330
+ "TorchPOCAOptimizer.update": {
331
+ "total": 131.19802669924684,
332
+ "count": 90,
333
+ "self": 131.19802669924684
334
+ }
335
+ }
336
+ }
337
+ }
338
+ }
339
+ }
340
+ },
341
+ "trainer_threads": {
342
+ "total": 2.400018274784088e-06,
343
+ "count": 1,
344
+ "self": 2.400018274784088e-06
345
+ },
346
+ "TrainerController._save_models": {
347
+ "total": 0.30963169992901385,
348
+ "count": 1,
349
+ "self": 0.003585000056773424,
350
+ "children": {
351
+ "RLTrainer._checkpoint": {
352
+ "total": 0.3060466998722404,
353
+ "count": 1,
354
+ "self": 0.3060466998722404
355
+ }
356
+ }
357
+ }
358
+ }
359
+ }
360
+ }
361
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1199.9752448387476,
4
+ "checkpoints": [
5
+ {
6
+ "steps": 68536,
7
+ "file_path": "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-68536.onnx",
8
+ "reward": 0.0,
9
+ "creation_time": 1712088191.8095257,
10
+ "auxillary_file_paths": [
11
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-68536.pt"
12
+ ]
13
+ }
14
+ ],
15
+ "final_checkpoint": {
16
+ "steps": 68536,
17
+ "file_path": "results\\SoccerTwos\\SoccerTwos.onnx",
18
+ "reward": 0.0,
19
+ "creation_time": 1712088191.8095257,
20
+ "auxillary_file_paths": [
21
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-68536.pt"
22
+ ]
23
+ }
24
+ },
25
+ "metadata": {
26
+ "stats_format_version": "0.3.0",
27
+ "mlagents_version": "1.1.0.dev0",
28
+ "torch_version": "2.2.2+cpu"
29
+ }
30
+ }