ulasfiliz954 commited on
Commit
aab312e
1 Parent(s): fc3f471

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: ulasfiliz954/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:375cb857c6cb696e6cabf838cca719374b88e1709ca562bb2fb5ed289c8c1a27
3
+ size 1768747
SoccerTwos/SoccerTwos-242876.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:375cb857c6cb696e6cabf838cca719374b88e1709ca562bb2fb5ed289c8c1a27
3
+ size 1768747
SoccerTwos/SoccerTwos-242876.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee9c2e92096e55155f61261f203e649a75dbbdb047a95f12be932ff57a3c1475
3
+ size 28430234
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d826f89c8112233c4d6b5934f6ce943844fcb014ecbcbf1cf824914d5e368699
3
+ size 28429366
SoccerTwos/events.out.tfevents.1715539670.DESKTOP-2SDKRLH.15920.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1fee1001b260c4a3b009a44d784bfa7a7e024c0937eae98d42b6ccb11c51fdbf
3
+ size 176067
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.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: 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.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,416 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = 'C:/Users/filiz/Downloads/HFRL/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos_Data/Managed'
2
+ Mono config path = 'C:/Users/filiz/Downloads/HFRL/ml-agents/training-envs-executables/SoccerTwos/MonoBleedingEdge/etc'
3
+ Initialize engine version: 2021.3.14f1 (eee1884e7226)
4
+ [Subsystems] Discovering subsystems at path C:/Users/filiz/Downloads/HFRL/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.193 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: 3.299400 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
+ Setting up 8 worker threads for Enlighten.
136
+ Memory Statistics:
137
+ [ALLOC_TEMP_TLS] TLS Allocator
138
+ StackAllocators :
139
+ [ALLOC_TEMP_MAIN]
140
+ Peak usage frame count: [8.0 KB-16.0 KB]: 4814 frames, [2.0 MB-4.0 MB]: 1 frames
141
+ Initial Block Size 4.0 MB
142
+ Current Block Size 4.0 MB
143
+ Peak Allocated Bytes 2.0 MB
144
+ Overflow Count 0
145
+ [ALLOC_TEMP_Loading.AsyncRead]
146
+ Initial Block Size 64.0 KB
147
+ Current Block Size 64.0 KB
148
+ Peak Allocated Bytes 357 B
149
+ Overflow Count 0
150
+ [ALLOC_TEMP_Loading.PreloadManager]
151
+ Initial Block Size 256.0 KB
152
+ Current Block Size 256.0 KB
153
+ Peak Allocated Bytes 67.5 KB
154
+ Overflow Count 4
155
+ [ALLOC_TEMP_Background Job.Worker 8]
156
+ Initial Block Size 32.0 KB
157
+ Current Block Size 32.0 KB
158
+ Peak Allocated Bytes 54 B
159
+ Overflow Count 0
160
+ [ALLOC_TEMP_Background Job.Worker 9]
161
+ Initial Block Size 32.0 KB
162
+ Current Block Size 32.0 KB
163
+ Peak Allocated Bytes 54 B
164
+ Overflow Count 0
165
+ [ALLOC_TEMP_Job.Worker 0]
166
+ Initial Block Size 256.0 KB
167
+ Current Block Size 256.0 KB
168
+ Peak Allocated Bytes 0 B
169
+ Overflow Count 0
170
+ [ALLOC_TEMP_Background Job.Worker 10]
171
+ Initial Block Size 32.0 KB
172
+ Current Block Size 32.0 KB
173
+ Peak Allocated Bytes 54 B
174
+ Overflow Count 0
175
+ [ALLOC_TEMP_Job.Worker 6]
176
+ Initial Block Size 256.0 KB
177
+ Current Block Size 256.0 KB
178
+ Peak Allocated Bytes 0 B
179
+ Overflow Count 0
180
+ [ALLOC_TEMP_Job.Worker 5]
181
+ Initial Block Size 256.0 KB
182
+ Current Block Size 256.0 KB
183
+ Peak Allocated Bytes 0 B
184
+ Overflow Count 0
185
+ [ALLOC_TEMP_Background Job.Worker 14]
186
+ Initial Block Size 32.0 KB
187
+ Current Block Size 32.0 KB
188
+ Peak Allocated Bytes 54 B
189
+ Overflow Count 0
190
+ [ALLOC_TEMP_Background Job.Worker 6]
191
+ Initial Block Size 32.0 KB
192
+ Current Block Size 32.0 KB
193
+ Peak Allocated Bytes 54 B
194
+ Overflow Count 0
195
+ [ALLOC_TEMP_Job.Worker 4]
196
+ Initial Block Size 256.0 KB
197
+ Current Block Size 256.0 KB
198
+ Peak Allocated Bytes 0 B
199
+ Overflow Count 0
200
+ [ALLOC_TEMP_Job.Worker 14]
201
+ Initial Block Size 256.0 KB
202
+ Current Block Size 256.0 KB
203
+ Peak Allocated Bytes 54 B
204
+ Overflow Count 0
205
+ [ALLOC_TEMP_Job.Worker 3]
206
+ Initial Block Size 256.0 KB
207
+ Current Block Size 256.0 KB
208
+ Peak Allocated Bytes 0 B
209
+ Overflow Count 0
210
+ [ALLOC_TEMP_Job.Worker 13]
211
+ Initial Block Size 256.0 KB
212
+ Current Block Size 256.0 KB
213
+ Peak Allocated Bytes 54 B
214
+ Overflow Count 0
215
+ [ALLOC_TEMP_Background Job.Worker 12]
216
+ Initial Block Size 32.0 KB
217
+ Current Block Size 32.0 KB
218
+ Peak Allocated Bytes 54 B
219
+ Overflow Count 0
220
+ [ALLOC_TEMP_EnlightenWorker] x 8
221
+ Initial Block Size 64.0 KB
222
+ Current Block Size 64.0 KB
223
+ Peak Allocated Bytes 54 B
224
+ Overflow Count 0
225
+ [ALLOC_TEMP_Background Job.Worker 15]
226
+ Initial Block Size 32.0 KB
227
+ Current Block Size 32.0 KB
228
+ Peak Allocated Bytes 54 B
229
+ Overflow Count 0
230
+ [ALLOC_TEMP_Background Job.Worker 1]
231
+ Initial Block Size 32.0 KB
232
+ Current Block Size 32.0 KB
233
+ Peak Allocated Bytes 54 B
234
+ Overflow Count 0
235
+ [ALLOC_TEMP_Background Job.Worker 2]
236
+ Initial Block Size 32.0 KB
237
+ Current Block Size 32.0 KB
238
+ Peak Allocated Bytes 54 B
239
+ Overflow Count 0
240
+ [ALLOC_TEMP_Background Job.Worker 7]
241
+ Initial Block Size 32.0 KB
242
+ Current Block Size 32.0 KB
243
+ Peak Allocated Bytes 54 B
244
+ Overflow Count 0
245
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 15
246
+ Initial Block Size 64.0 KB
247
+ Current Block Size 64.0 KB
248
+ Peak Allocated Bytes 0 B
249
+ Overflow Count 0
250
+ [ALLOC_TEMP_Background Job.Worker 5]
251
+ Initial Block Size 32.0 KB
252
+ Current Block Size 32.0 KB
253
+ Peak Allocated Bytes 54 B
254
+ Overflow Count 0
255
+ [ALLOC_TEMP_Job.Worker 9]
256
+ Initial Block Size 256.0 KB
257
+ Current Block Size 256.0 KB
258
+ Peak Allocated Bytes 0 B
259
+ Overflow Count 0
260
+ [ALLOC_TEMP_Background Job.Worker 13]
261
+ Initial Block Size 32.0 KB
262
+ Current Block Size 32.0 KB
263
+ Peak Allocated Bytes 54 B
264
+ Overflow Count 0
265
+ [ALLOC_TEMP_Job.Worker 8]
266
+ Initial Block Size 256.0 KB
267
+ Current Block Size 256.0 KB
268
+ Peak Allocated Bytes 0.8 KB
269
+ Overflow Count 0
270
+ [ALLOC_TEMP_Job.Worker 7]
271
+ Initial Block Size 256.0 KB
272
+ Current Block Size 256.0 KB
273
+ Peak Allocated Bytes 0 B
274
+ Overflow Count 0
275
+ [ALLOC_TEMP_Job.Worker 1]
276
+ Initial Block Size 256.0 KB
277
+ Current Block Size 256.0 KB
278
+ Peak Allocated Bytes 0 B
279
+ Overflow Count 0
280
+ [ALLOC_TEMP_Job.Worker 2]
281
+ Initial Block Size 256.0 KB
282
+ Current Block Size 256.0 KB
283
+ Peak Allocated Bytes 0 B
284
+ Overflow Count 0
285
+ [ALLOC_TEMP_Background Job.Worker 3]
286
+ Initial Block Size 32.0 KB
287
+ Current Block Size 32.0 KB
288
+ Peak Allocated Bytes 54 B
289
+ Overflow Count 0
290
+ [ALLOC_TEMP_Background Job.Worker 11]
291
+ Initial Block Size 32.0 KB
292
+ Current Block Size 32.0 KB
293
+ Peak Allocated Bytes 54 B
294
+ Overflow Count 0
295
+ [ALLOC_TEMP_Job.Worker 10]
296
+ Initial Block Size 256.0 KB
297
+ Current Block Size 256.0 KB
298
+ Peak Allocated Bytes 54 B
299
+ Overflow Count 0
300
+ [ALLOC_TEMP_Background Job.Worker 0]
301
+ Initial Block Size 32.0 KB
302
+ Current Block Size 32.0 KB
303
+ Peak Allocated Bytes 54 B
304
+ Overflow Count 0
305
+ [ALLOC_TEMP_Job.Worker 11]
306
+ Initial Block Size 256.0 KB
307
+ Current Block Size 256.0 KB
308
+ Peak Allocated Bytes 54 B
309
+ Overflow Count 0
310
+ [ALLOC_TEMP_Job.Worker 12]
311
+ Initial Block Size 256.0 KB
312
+ Current Block Size 256.0 KB
313
+ Peak Allocated Bytes 54 B
314
+ Overflow Count 0
315
+ [ALLOC_TEMP_Background Job.Worker 4]
316
+ Initial Block Size 32.0 KB
317
+ Current Block Size 32.0 KB
318
+ Peak Allocated Bytes 54 B
319
+ Overflow Count 0
320
+ [ALLOC_TEMP_BatchDeleteObjects]
321
+ Initial Block Size 64.0 KB
322
+ Current Block Size 64.0 KB
323
+ Peak Allocated Bytes 54 B
324
+ Overflow Count 0
325
+ [ALLOC_DEFAULT] Dual Thread Allocator
326
+ Peak main deferred allocation count 4
327
+ [ALLOC_BUCKET]
328
+ Large Block size 4.0 MB
329
+ Used Block count 1
330
+ Peak Allocated bytes 0.9 MB
331
+ [ALLOC_DEFAULT_MAIN]
332
+ Peak usage frame count: [4.0 MB-8.0 MB]: 4815 frames
333
+ Requested Block Size 16.0 MB
334
+ Peak Block count 1
335
+ Peak Allocated memory 4.9 MB
336
+ Peak Large allocation bytes 0 B
337
+ [ALLOC_DEFAULT_THREAD]
338
+ Peak usage frame count: [16.0 MB-32.0 MB]: 4815 frames
339
+ Requested Block Size 16.0 MB
340
+ Peak Block count 1
341
+ Peak Allocated memory 17.3 MB
342
+ Peak Large allocation bytes 16.0 MB
343
+ [ALLOC_TEMP_JOB_1_FRAME]
344
+ Initial Block Size 2.0 MB
345
+ Used Block Count 1
346
+ Overflow Count (too large) 0
347
+ Overflow Count (full) 0
348
+ [ALLOC_TEMP_JOB_2_FRAMES]
349
+ Initial Block Size 2.0 MB
350
+ Used Block Count 1
351
+ Overflow Count (too large) 0
352
+ Overflow Count (full) 0
353
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
354
+ Initial Block Size 2.0 MB
355
+ Used Block Count 2
356
+ Overflow Count (too large) 0
357
+ Overflow Count (full) 0
358
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
359
+ Initial Block Size 1.0 MB
360
+ Used Block Count 3
361
+ Overflow Count (too large) 0
362
+ Overflow Count (full) 0
363
+ [ALLOC_GFX] Dual Thread Allocator
364
+ Peak main deferred allocation count 0
365
+ [ALLOC_BUCKET]
366
+ Large Block size 4.0 MB
367
+ Used Block count 1
368
+ Peak Allocated bytes 0.9 MB
369
+ [ALLOC_GFX_MAIN]
370
+ Peak usage frame count: [32.0 KB-64.0 KB]: 4814 frames, [64.0 KB-128.0 KB]: 1 frames
371
+ Requested Block Size 16.0 MB
372
+ Peak Block count 1
373
+ Peak Allocated memory 65.6 KB
374
+ Peak Large allocation bytes 0 B
375
+ [ALLOC_GFX_THREAD]
376
+ Peak usage frame count: [128.0 KB-256.0 KB]: 4815 frames
377
+ Requested Block Size 16.0 MB
378
+ Peak Block count 1
379
+ Peak Allocated memory 173.6 KB
380
+ Peak Large allocation bytes 0 B
381
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
382
+ Peak main deferred allocation count 2
383
+ [ALLOC_BUCKET]
384
+ Large Block size 4.0 MB
385
+ Used Block count 1
386
+ Peak Allocated bytes 0.9 MB
387
+ [ALLOC_CACHEOBJECTS_MAIN]
388
+ Peak usage frame count: [0.5 MB-1.0 MB]: 4815 frames
389
+ Requested Block Size 4.0 MB
390
+ Peak Block count 1
391
+ Peak Allocated memory 0.6 MB
392
+ Peak Large allocation bytes 0 B
393
+ [ALLOC_CACHEOBJECTS_THREAD]
394
+ Peak usage frame count: [0.5 MB-1.0 MB]: 4814 frames, [2.0 MB-4.0 MB]: 1 frames
395
+ Requested Block Size 4.0 MB
396
+ Peak Block count 1
397
+ Peak Allocated memory 3.2 MB
398
+ Peak Large allocation bytes 0 B
399
+ [ALLOC_TYPETREE] 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 0.9 MB
405
+ [ALLOC_TYPETREE_MAIN]
406
+ Peak usage frame count: [0-1.0 KB]: 4815 frames
407
+ Requested Block Size 2.0 MB
408
+ Peak Block count 1
409
+ Peak Allocated memory 1.0 KB
410
+ Peak Large allocation bytes 0 B
411
+ [ALLOC_TYPETREE_THREAD]
412
+ Peak usage frame count: [1.0 KB-2.0 KB]: 4814 frames, [2.0 KB-4.0 KB]: 1 frames
413
+ Requested Block Size 2.0 MB
414
+ Peak Block count 1
415
+ Peak Allocated memory 2.2 KB
416
+ 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.226175308227539,
6
+ "min": 3.226175308227539,
7
+ "max": 3.295647382736206,
8
+ "count": 24
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 51412.328125,
12
+ "min": 6199.6796875,
13
+ "max": 105460.71875,
14
+ "count": 24
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 731.0,
18
+ "min": 412.3333333333333,
19
+ "max": 999.0,
20
+ "count": 24
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 20468.0,
24
+ "min": 3996.0,
25
+ "max": 30704.0,
26
+ "count": 24
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1202.967596949221,
30
+ "min": 1197.1979931128012,
31
+ "max": 1202.967596949221,
32
+ "count": 21
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 9623.740775593767,
36
+ "min": 2398.0030090611704,
37
+ "max": 14411.361186046594,
38
+ "count": 21
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 239844.0,
42
+ "min": 9118.0,
43
+ "max": 239844.0,
44
+ "count": 24
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 239844.0,
48
+ "min": 9118.0,
49
+ "max": 239844.0,
50
+ "count": 24
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": -0.0005443634581752121,
54
+ "min": -0.020596221089363098,
55
+ "max": 0.04275628179311752,
56
+ "count": 24
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": -0.0076210880652070045,
60
+ "min": -0.2693004012107849,
61
+ "max": 0.5258617401123047,
62
+ "count": 24
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": -0.00023066645371727645,
66
+ "min": -0.02258630283176899,
67
+ "max": 0.042664770036935806,
68
+ "count": 24
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": -0.0032293302938342094,
72
+ "min": -0.2920090854167938,
73
+ "max": 0.49306783080101013,
74
+ "count": 24
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 24
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 24
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": -0.13174285633223398,
90
+ "min": -0.5714285714285714,
91
+ "max": 0.2171000043551127,
92
+ "count": 24
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": -1.8443999886512756,
96
+ "min": -8.0,
97
+ "max": 2.6052000522613525,
98
+ "count": 24
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": -0.13174285633223398,
102
+ "min": -0.5714285714285714,
103
+ "max": 0.2171000043551127,
104
+ "count": 24
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": -1.8443999886512756,
108
+ "min": -8.0,
109
+ "max": 2.6052000522613525,
110
+ "count": 24
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 24
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 24
123
+ },
124
+ "SoccerTwos.Losses.PolicyLoss.mean": {
125
+ "value": 0.015392292079438145,
126
+ "min": 0.012119114518282004,
127
+ "max": 0.021384467855871964,
128
+ "count": 10
129
+ },
130
+ "SoccerTwos.Losses.PolicyLoss.sum": {
131
+ "value": 0.015392292079438145,
132
+ "min": 0.012119114518282004,
133
+ "max": 0.021384467855871964,
134
+ "count": 10
135
+ },
136
+ "SoccerTwos.Losses.ValueLoss.mean": {
137
+ "value": 0.0032874997705221176,
138
+ "min": 0.0009290036687161773,
139
+ "max": 0.004932885508363446,
140
+ "count": 10
141
+ },
142
+ "SoccerTwos.Losses.ValueLoss.sum": {
143
+ "value": 0.0032874997705221176,
144
+ "min": 0.0009290036687161773,
145
+ "max": 0.004932885508363446,
146
+ "count": 10
147
+ },
148
+ "SoccerTwos.Losses.BaselineLoss.mean": {
149
+ "value": 0.003340853110421449,
150
+ "min": 0.0009316830431943703,
151
+ "max": 0.004962614985803763,
152
+ "count": 10
153
+ },
154
+ "SoccerTwos.Losses.BaselineLoss.sum": {
155
+ "value": 0.003340853110421449,
156
+ "min": 0.0009316830431943703,
157
+ "max": 0.004962614985803763,
158
+ "count": 10
159
+ },
160
+ "SoccerTwos.Policy.LearningRate.mean": {
161
+ "value": 0.0003,
162
+ "min": 0.0003,
163
+ "max": 0.0003,
164
+ "count": 10
165
+ },
166
+ "SoccerTwos.Policy.LearningRate.sum": {
167
+ "value": 0.0003,
168
+ "min": 0.0003,
169
+ "max": 0.0003,
170
+ "count": 10
171
+ },
172
+ "SoccerTwos.Policy.Epsilon.mean": {
173
+ "value": 0.20000000000000007,
174
+ "min": 0.19999999999999996,
175
+ "max": 0.20000000000000007,
176
+ "count": 10
177
+ },
178
+ "SoccerTwos.Policy.Epsilon.sum": {
179
+ "value": 0.20000000000000007,
180
+ "min": 0.19999999999999996,
181
+ "max": 0.20000000000000007,
182
+ "count": 10
183
+ },
184
+ "SoccerTwos.Policy.Beta.mean": {
185
+ "value": 0.005000000000000001,
186
+ "min": 0.005,
187
+ "max": 0.005000000000000001,
188
+ "count": 10
189
+ },
190
+ "SoccerTwos.Policy.Beta.sum": {
191
+ "value": 0.005000000000000001,
192
+ "min": 0.005,
193
+ "max": 0.005000000000000001,
194
+ "count": 10
195
+ }
196
+ },
197
+ "metadata": {
198
+ "timer_format_version": "0.1.0",
199
+ "start_time_seconds": "1715539664",
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\\filiz\\anaconda3\\envs\\rl\\Scripts\\mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/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.3.0+cpu",
206
+ "numpy_version": "1.23.5",
207
+ "end_time_seconds": "1715540572"
208
+ },
209
+ "total": 908.4570849000011,
210
+ "count": 1,
211
+ "self": 2.229777199914679,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.21335080009885132,
215
+ "count": 1,
216
+ "self": 0.21335080009885132
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 906.0139568999875,
220
+ "count": 1,
221
+ "self": 0.7225895945448428,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 9.232590700034052,
225
+ "count": 2,
226
+ "self": 9.232590700034052
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 895.67689510528,
230
+ "count": 16151,
231
+ "self": 0.9127869671210647,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 441.53616642113775,
235
+ "count": 16151,
236
+ "self": 329.4912768241484,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 111.61974380165339,
240
+ "count": 16151,
241
+ "self": 4.349910187069327,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 107.26983361458406,
245
+ "count": 32102,
246
+ "self": 107.26983361458406
247
+ }
248
+ }
249
+ },
250
+ "workers": {
251
+ "total": 0.42514579533599317,
252
+ "count": 16151,
253
+ "self": 0.0,
254
+ "children": {
255
+ "worker_root": {
256
+ "total": 870.9920613132417,
257
+ "count": 16151,
258
+ "is_parallel": true,
259
+ "self": 621.0913708154112,
260
+ "children": {
261
+ "steps_from_proto": {
262
+ "total": 0.005008700070902705,
263
+ "count": 4,
264
+ "is_parallel": true,
265
+ "self": 0.0013208999298512936,
266
+ "children": {
267
+ "_process_rank_one_or_two_observation": {
268
+ "total": 0.0036878001410514116,
269
+ "count": 16,
270
+ "is_parallel": true,
271
+ "self": 0.0036878001410514116
272
+ }
273
+ }
274
+ },
275
+ "UnityEnvironment.step": {
276
+ "total": 249.8956817977596,
277
+ "count": 16151,
278
+ "is_parallel": true,
279
+ "self": 13.191661384887993,
280
+ "children": {
281
+ "UnityEnvironment._generate_step_input": {
282
+ "total": 10.73485070397146,
283
+ "count": 16151,
284
+ "is_parallel": true,
285
+ "self": 10.73485070397146
286
+ },
287
+ "communicator.exchange": {
288
+ "total": 183.78361381031573,
289
+ "count": 16151,
290
+ "is_parallel": true,
291
+ "self": 183.78361381031573
292
+ },
293
+ "steps_from_proto": {
294
+ "total": 42.185555898584425,
295
+ "count": 32302,
296
+ "is_parallel": true,
297
+ "self": 9.241883121198043,
298
+ "children": {
299
+ "_process_rank_one_or_two_observation": {
300
+ "total": 32.94367277738638,
301
+ "count": 129208,
302
+ "is_parallel": true,
303
+ "self": 32.94367277738638
304
+ }
305
+ }
306
+ }
307
+ }
308
+ }
309
+ }
310
+ }
311
+ }
312
+ }
313
+ }
314
+ },
315
+ "trainer_advance": {
316
+ "total": 453.22794171702117,
317
+ "count": 16151,
318
+ "self": 5.210769797442481,
319
+ "children": {
320
+ "process_trajectory": {
321
+ "total": 63.35066211945377,
322
+ "count": 16151,
323
+ "self": 63.35066211945377
324
+ },
325
+ "_update_policy": {
326
+ "total": 384.6665098001249,
327
+ "count": 11,
328
+ "self": 60.40139749785885,
329
+ "children": {
330
+ "TorchPOCAOptimizer.update": {
331
+ "total": 324.26511230226606,
332
+ "count": 345,
333
+ "self": 324.26511230226606
334
+ }
335
+ }
336
+ }
337
+ }
338
+ }
339
+ }
340
+ },
341
+ "trainer_threads": {
342
+ "total": 9.00006853044033e-06,
343
+ "count": 1,
344
+ "self": 9.00006853044033e-06
345
+ },
346
+ "TrainerController._save_models": {
347
+ "total": 0.3818725000601262,
348
+ "count": 1,
349
+ "self": 0.012093800120055676,
350
+ "children": {
351
+ "RLTrainer._checkpoint": {
352
+ "total": 0.3697786999400705,
353
+ "count": 1,
354
+ "self": 0.3697786999400705
355
+ }
356
+ }
357
+ }
358
+ }
359
+ }
360
+ }
361
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1203.0290236372412,
4
+ "checkpoints": [
5
+ {
6
+ "steps": 242876,
7
+ "file_path": "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-242876.onnx",
8
+ "reward": null,
9
+ "creation_time": 1715540570.5669973,
10
+ "auxillary_file_paths": [
11
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-242876.pt"
12
+ ]
13
+ }
14
+ ],
15
+ "final_checkpoint": {
16
+ "steps": 242876,
17
+ "file_path": "results\\SoccerTwos\\SoccerTwos.onnx",
18
+ "reward": null,
19
+ "creation_time": 1715540570.5669973,
20
+ "auxillary_file_paths": [
21
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-242876.pt"
22
+ ]
23
+ }
24
+ },
25
+ "metadata": {
26
+ "stats_format_version": "0.3.0",
27
+ "mlagents_version": "1.1.0.dev0",
28
+ "torch_version": "2.3.0+cpu"
29
+ }
30
+ }