anggaarash commited on
Commit
7c3af56
1 Parent(s): 2b5ed0f

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: anggaarash/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:462b3b38f383c9d642c4388e0089ab58473cf0f7485859973db79c215b4edd7b
3
+ size 895526
SoccerTwos/SoccerTwos-129996.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:462b3b38f383c9d642c4388e0089ab58473cf0f7485859973db79c215b4edd7b
3
+ size 895526
SoccerTwos/SoccerTwos-129996.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:edaef27c2f143e673019a026b8850bf30b3722436b5c2ab0fc528be3135096e6
3
+ size 10324986
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9bcd1e5e82e58b98a74464606db1d748ec602bfef5cda264fa844a097074ee16
3
+ size 10323922
SoccerTwos/events.out.tfevents.1717155963.LAPTOP-FRILAP0M.20600.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:84ee63d0de7dfd40a3831f9b229569d7a2f8ab3b102ab82129ecebe478a96d6b
3
+ size 170738
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": "linear", "beta_schedule": "linear", "epsilon_schedule": "linear"}, "checkpoint_interval": 500000, "network_settings": {"normalize": true, "hidden_units": 256, "num_layers": 3, "vis_encode_type": "nature_cnn", "memory": null, "goal_conditioning_type": "hyper", "deterministic": false}, "reward_signals": {"extrinsic": {"gamma": 0.99, "strength": 0.8, "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": 10000000, "time_horizon": 500, "summary_freq": 5000, "threaded": false, "self_play": {"save_steps": 10000, "team_change": 100000, "swap_steps": 1000, "window": 5, "play_against_latest_model_ratio": 0.3, "initial_elo": 1000.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: linear
14
+ beta_schedule: linear
15
+ epsilon_schedule: linear
16
+ checkpoint_interval: 500000
17
+ network_settings:
18
+ normalize: true
19
+ hidden_units: 256
20
+ num_layers: 3
21
+ vis_encode_type: nature_cnn
22
+ memory: null
23
+ goal_conditioning_type: hyper
24
+ deterministic: false
25
+ reward_signals:
26
+ extrinsic:
27
+ gamma: 0.99
28
+ strength: 0.8
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: 10000000
41
+ time_horizon: 500
42
+ summary_freq: 5000
43
+ threaded: false
44
+ self_play:
45
+ save_steps: 10000
46
+ team_change: 100000
47
+ swap_steps: 1000
48
+ window: 5
49
+ play_against_latest_model_ratio: 0.3
50
+ initial_elo: 1000.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,360 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = 'C:/Users/ANGGARA/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos_Data/Managed'
2
+ Mono config path = 'C:/Users/ANGGARA/ml-agents/training-envs-executables/SoccerTwos/MonoBleedingEdge/etc'
3
+ Initialize engine version: 2021.3.14f1 (eee1884e7226)
4
+ [Subsystems] Discovering subsystems at path C:/Users/ANGGARA/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.063 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.461100 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
+ Setting up 8 worker threads for Enlighten.
80
+ Memory Statistics:
81
+ [ALLOC_TEMP_TLS] TLS Allocator
82
+ StackAllocators :
83
+ [ALLOC_TEMP_MAIN]
84
+ Peak usage frame count: [8.0 KB-16.0 KB]: 2571 frames, [2.0 MB-4.0 MB]: 1 frames
85
+ Initial Block Size 4.0 MB
86
+ Current Block Size 4.0 MB
87
+ Peak Allocated Bytes 2.0 MB
88
+ Overflow Count 0
89
+ [ALLOC_TEMP_Loading.AsyncRead]
90
+ Initial Block Size 64.0 KB
91
+ Current Block Size 64.0 KB
92
+ Peak Allocated Bytes 318 B
93
+ Overflow Count 0
94
+ [ALLOC_TEMP_Loading.PreloadManager]
95
+ Initial Block Size 256.0 KB
96
+ Current Block Size 256.0 KB
97
+ Peak Allocated Bytes 68.0 KB
98
+ Overflow Count 4
99
+ [ALLOC_TEMP_Background Job.Worker 8]
100
+ Initial Block Size 32.0 KB
101
+ Current Block Size 32.0 KB
102
+ Peak Allocated Bytes 54 B
103
+ Overflow Count 0
104
+ [ALLOC_TEMP_Background Job.Worker 9]
105
+ Initial Block Size 32.0 KB
106
+ Current Block Size 32.0 KB
107
+ Peak Allocated Bytes 54 B
108
+ Overflow Count 0
109
+ [ALLOC_TEMP_Job.Worker 6]
110
+ Initial Block Size 256.0 KB
111
+ Current Block Size 256.0 KB
112
+ Peak Allocated Bytes 0 B
113
+ Overflow Count 0
114
+ [ALLOC_TEMP_Background Job.Worker 10]
115
+ Initial Block Size 32.0 KB
116
+ Current Block Size 32.0 KB
117
+ Peak Allocated Bytes 54 B
118
+ Overflow Count 0
119
+ [ALLOC_TEMP_Job.Worker 0]
120
+ Initial Block Size 256.0 KB
121
+ Current Block Size 256.0 KB
122
+ Peak Allocated Bytes 0 B
123
+ Overflow Count 0
124
+ [ALLOC_TEMP_Background Job.Worker 14]
125
+ Initial Block Size 32.0 KB
126
+ Current Block Size 32.0 KB
127
+ Peak Allocated Bytes 54 B
128
+ Overflow Count 0
129
+ [ALLOC_TEMP_Job.Worker 5]
130
+ Initial Block Size 256.0 KB
131
+ Current Block Size 256.0 KB
132
+ Peak Allocated Bytes 0 B
133
+ Overflow Count 0
134
+ [ALLOC_TEMP_Background Job.Worker 6]
135
+ Initial Block Size 32.0 KB
136
+ Current Block Size 32.0 KB
137
+ Peak Allocated Bytes 54 B
138
+ Overflow Count 0
139
+ [ALLOC_TEMP_Job.Worker 4]
140
+ Initial Block Size 256.0 KB
141
+ Current Block Size 256.0 KB
142
+ Peak Allocated Bytes 0 B
143
+ Overflow Count 0
144
+ [ALLOC_TEMP_Job.Worker 14]
145
+ Initial Block Size 256.0 KB
146
+ Current Block Size 256.0 KB
147
+ Peak Allocated Bytes 54 B
148
+ Overflow Count 0
149
+ [ALLOC_TEMP_Job.Worker 3]
150
+ Initial Block Size 256.0 KB
151
+ Current Block Size 256.0 KB
152
+ Peak Allocated Bytes 0 B
153
+ Overflow Count 0
154
+ [ALLOC_TEMP_Job.Worker 13]
155
+ Initial Block Size 256.0 KB
156
+ Current Block Size 256.0 KB
157
+ Peak Allocated Bytes 54 B
158
+ Overflow Count 0
159
+ [ALLOC_TEMP_Background Job.Worker 12]
160
+ Initial Block Size 32.0 KB
161
+ Current Block Size 32.0 KB
162
+ Peak Allocated Bytes 54 B
163
+ Overflow Count 0
164
+ [ALLOC_TEMP_EnlightenWorker] x 8
165
+ Initial Block Size 64.0 KB
166
+ Current Block Size 64.0 KB
167
+ Peak Allocated Bytes 54 B
168
+ Overflow Count 0
169
+ [ALLOC_TEMP_Background Job.Worker 15]
170
+ Initial Block Size 32.0 KB
171
+ Current Block Size 32.0 KB
172
+ Peak Allocated Bytes 54 B
173
+ Overflow Count 0
174
+ [ALLOC_TEMP_Background Job.Worker 1]
175
+ Initial Block Size 32.0 KB
176
+ Current Block Size 32.0 KB
177
+ Peak Allocated Bytes 54 B
178
+ Overflow Count 0
179
+ [ALLOC_TEMP_Background Job.Worker 2]
180
+ Initial Block Size 32.0 KB
181
+ Current Block Size 32.0 KB
182
+ Peak Allocated Bytes 54 B
183
+ Overflow Count 0
184
+ [ALLOC_TEMP_Background Job.Worker 7]
185
+ Initial Block Size 32.0 KB
186
+ Current Block Size 32.0 KB
187
+ Peak Allocated Bytes 54 B
188
+ Overflow Count 0
189
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 15
190
+ Initial Block Size 64.0 KB
191
+ Current Block Size 64.0 KB
192
+ Peak Allocated Bytes 0 B
193
+ Overflow Count 0
194
+ [ALLOC_TEMP_Background Job.Worker 5]
195
+ Initial Block Size 32.0 KB
196
+ Current Block Size 32.0 KB
197
+ Peak Allocated Bytes 54 B
198
+ Overflow Count 0
199
+ [ALLOC_TEMP_Job.Worker 9]
200
+ Initial Block Size 256.0 KB
201
+ Current Block Size 256.0 KB
202
+ Peak Allocated Bytes 0 B
203
+ Overflow Count 0
204
+ [ALLOC_TEMP_Background Job.Worker 13]
205
+ Initial Block Size 32.0 KB
206
+ Current Block Size 32.0 KB
207
+ Peak Allocated Bytes 54 B
208
+ Overflow Count 0
209
+ [ALLOC_TEMP_Job.Worker 8]
210
+ Initial Block Size 256.0 KB
211
+ Current Block Size 256.0 KB
212
+ Peak Allocated Bytes 0 B
213
+ Overflow Count 0
214
+ [ALLOC_TEMP_Job.Worker 7]
215
+ Initial Block Size 256.0 KB
216
+ Current Block Size 256.0 KB
217
+ Peak Allocated Bytes 0 B
218
+ Overflow Count 0
219
+ [ALLOC_TEMP_Job.Worker 1]
220
+ Initial Block Size 256.0 KB
221
+ Current Block Size 256.0 KB
222
+ Peak Allocated Bytes 0 B
223
+ Overflow Count 0
224
+ [ALLOC_TEMP_Job.Worker 2]
225
+ Initial Block Size 256.0 KB
226
+ Current Block Size 256.0 KB
227
+ Peak Allocated Bytes 0 B
228
+ Overflow Count 0
229
+ [ALLOC_TEMP_Background Job.Worker 3]
230
+ Initial Block Size 32.0 KB
231
+ Current Block Size 32.0 KB
232
+ Peak Allocated Bytes 54 B
233
+ Overflow Count 0
234
+ [ALLOC_TEMP_Background Job.Worker 11]
235
+ Initial Block Size 32.0 KB
236
+ Current Block Size 32.0 KB
237
+ Peak Allocated Bytes 54 B
238
+ Overflow Count 0
239
+ [ALLOC_TEMP_Job.Worker 10]
240
+ Initial Block Size 256.0 KB
241
+ Current Block Size 256.0 KB
242
+ Peak Allocated Bytes 54 B
243
+ Overflow Count 0
244
+ [ALLOC_TEMP_Background Job.Worker 0]
245
+ Initial Block Size 32.0 KB
246
+ Current Block Size 32.0 KB
247
+ Peak Allocated Bytes 54 B
248
+ Overflow Count 0
249
+ [ALLOC_TEMP_Job.Worker 11]
250
+ Initial Block Size 256.0 KB
251
+ Current Block Size 256.0 KB
252
+ Peak Allocated Bytes 0.8 KB
253
+ Overflow Count 0
254
+ [ALLOC_TEMP_Job.Worker 12]
255
+ Initial Block Size 256.0 KB
256
+ Current Block Size 256.0 KB
257
+ Peak Allocated Bytes 54 B
258
+ Overflow Count 0
259
+ [ALLOC_TEMP_Background Job.Worker 4]
260
+ Initial Block Size 32.0 KB
261
+ Current Block Size 32.0 KB
262
+ Peak Allocated Bytes 54 B
263
+ Overflow Count 0
264
+ [ALLOC_TEMP_BatchDeleteObjects]
265
+ Initial Block Size 64.0 KB
266
+ Current Block Size 64.0 KB
267
+ Peak Allocated Bytes 54 B
268
+ Overflow Count 0
269
+ [ALLOC_DEFAULT] Dual Thread Allocator
270
+ Peak main deferred allocation count 3
271
+ [ALLOC_BUCKET]
272
+ Large Block size 4.0 MB
273
+ Used Block count 1
274
+ Peak Allocated bytes 0.9 MB
275
+ [ALLOC_DEFAULT_MAIN]
276
+ Peak usage frame count: [4.0 MB-8.0 MB]: 2572 frames
277
+ Requested Block Size 16.0 MB
278
+ Peak Block count 1
279
+ Peak Allocated memory 5.0 MB
280
+ Peak Large allocation bytes 0 B
281
+ [ALLOC_DEFAULT_THREAD]
282
+ Peak usage frame count: [16.0 MB-32.0 MB]: 2572 frames
283
+ Requested Block Size 16.0 MB
284
+ Peak Block count 1
285
+ Peak Allocated memory 17.2 MB
286
+ Peak Large allocation bytes 16.0 MB
287
+ [ALLOC_TEMP_JOB_1_FRAME]
288
+ Initial Block Size 2.0 MB
289
+ Used Block Count 1
290
+ Overflow Count (too large) 0
291
+ Overflow Count (full) 0
292
+ [ALLOC_TEMP_JOB_2_FRAMES]
293
+ Initial Block Size 2.0 MB
294
+ Used Block Count 1
295
+ Overflow Count (too large) 0
296
+ Overflow Count (full) 0
297
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
298
+ Initial Block Size 2.0 MB
299
+ Used Block Count 2
300
+ Overflow Count (too large) 0
301
+ Overflow Count (full) 0
302
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
303
+ Initial Block Size 1.0 MB
304
+ Used Block Count 3
305
+ Overflow Count (too large) 0
306
+ Overflow Count (full) 0
307
+ [ALLOC_GFX] Dual Thread Allocator
308
+ Peak main deferred allocation count 0
309
+ [ALLOC_BUCKET]
310
+ Large Block size 4.0 MB
311
+ Used Block count 1
312
+ Peak Allocated bytes 0.9 MB
313
+ [ALLOC_GFX_MAIN]
314
+ Peak usage frame count: [32.0 KB-64.0 KB]: 2571 frames, [64.0 KB-128.0 KB]: 1 frames
315
+ Requested Block Size 16.0 MB
316
+ Peak Block count 1
317
+ Peak Allocated memory 65.6 KB
318
+ Peak Large allocation bytes 0 B
319
+ [ALLOC_GFX_THREAD]
320
+ Peak usage frame count: [128.0 KB-256.0 KB]: 2572 frames
321
+ Requested Block Size 16.0 MB
322
+ Peak Block count 1
323
+ Peak Allocated memory 173.6 KB
324
+ Peak Large allocation bytes 0 B
325
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
326
+ Peak main deferred allocation count 2
327
+ [ALLOC_BUCKET]
328
+ Large Block size 4.0 MB
329
+ Used Block count 1
330
+ Peak Allocated bytes 0.9 MB
331
+ [ALLOC_CACHEOBJECTS_MAIN]
332
+ Peak usage frame count: [0.5 MB-1.0 MB]: 2572 frames
333
+ Requested Block Size 4.0 MB
334
+ Peak Block count 1
335
+ Peak Allocated memory 0.6 MB
336
+ Peak Large allocation bytes 0 B
337
+ [ALLOC_CACHEOBJECTS_THREAD]
338
+ Peak usage frame count: [0.5 MB-1.0 MB]: 2571 frames, [2.0 MB-4.0 MB]: 1 frames
339
+ Requested Block Size 4.0 MB
340
+ Peak Block count 1
341
+ Peak Allocated memory 3.2 MB
342
+ Peak Large allocation bytes 0 B
343
+ [ALLOC_TYPETREE] Dual Thread Allocator
344
+ Peak main deferred allocation count 0
345
+ [ALLOC_BUCKET]
346
+ Large Block size 4.0 MB
347
+ Used Block count 1
348
+ Peak Allocated bytes 0.9 MB
349
+ [ALLOC_TYPETREE_MAIN]
350
+ Peak usage frame count: [0-1.0 KB]: 2572 frames
351
+ Requested Block Size 2.0 MB
352
+ Peak Block count 1
353
+ Peak Allocated memory 1.0 KB
354
+ Peak Large allocation bytes 0 B
355
+ [ALLOC_TYPETREE_THREAD]
356
+ Peak usage frame count: [1.0 KB-2.0 KB]: 2571 frames, [2.0 KB-4.0 KB]: 1 frames
357
+ Requested Block Size 2.0 MB
358
+ Peak Block count 1
359
+ Peak Allocated memory 2.2 KB
360
+ 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.23771071434021,
6
+ "min": 3.23771071434021,
7
+ "max": 3.295820713043213,
8
+ "count": 26
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 28491.853515625,
12
+ "min": 8391.232421875,
13
+ "max": 52733.12890625,
14
+ "count": 26
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 714.0,
18
+ "min": 191.66666666666666,
19
+ "max": 999.0,
20
+ "count": 26
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 8568.0,
24
+ "min": 2204.0,
25
+ "max": 22100.0,
26
+ "count": 26
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1001.8291290461129,
30
+ "min": 1000.1956409054587,
31
+ "max": 1005.3472247237237,
32
+ "count": 23
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 4007.3165161844518,
36
+ "min": 2000.3912818109175,
37
+ "max": 10038.79575043783,
38
+ "count": 23
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 129996.0,
42
+ "min": 4656.0,
43
+ "max": 129996.0,
44
+ "count": 26
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 129996.0,
48
+ "min": 4656.0,
49
+ "max": 129996.0,
50
+ "count": 26
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": -0.04069586843252182,
54
+ "min": -0.103403240442276,
55
+ "max": -0.03872303664684296,
56
+ "count": 26
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": -0.48835042119026184,
60
+ "min": -1.34423828125,
61
+ "max": -0.4259534180164337,
62
+ "count": 26
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": -0.04016890004277229,
66
+ "min": -0.10340321063995361,
67
+ "max": -0.03828540816903114,
68
+ "count": 26
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": -0.4820268154144287,
72
+ "min": -1.3442367315292358,
73
+ "max": -0.4211394786834717,
74
+ "count": 26
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 26
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 26
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": -0.10442667206128438,
90
+ "min": -0.800000011920929,
91
+ "max": 0.6459733744462332,
92
+ "count": 26
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": -0.6265600323677063,
96
+ "min": -3.686400055885315,
97
+ "max": 3.8758402466773987,
98
+ "count": 26
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": -0.1305333375930786,
102
+ "min": -1.0,
103
+ "max": 0.8074666857719421,
104
+ "count": 26
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": -0.7832000255584717,
108
+ "min": -4.608000040054321,
109
+ "max": 4.844800114631653,
110
+ "count": 26
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 26
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 26
123
+ },
124
+ "SoccerTwos.Losses.PolicyLoss.mean": {
125
+ "value": 0.014766910806065426,
126
+ "min": 0.013285189863139143,
127
+ "max": 0.02072374345593606,
128
+ "count": 6
129
+ },
130
+ "SoccerTwos.Losses.PolicyLoss.sum": {
131
+ "value": 0.014766910806065426,
132
+ "min": 0.013285189863139143,
133
+ "max": 0.02072374345593606,
134
+ "count": 6
135
+ },
136
+ "SoccerTwos.Losses.ValueLoss.mean": {
137
+ "value": 0.0021963658082919816,
138
+ "min": 0.0018074257849630985,
139
+ "max": 0.005299923840599755,
140
+ "count": 6
141
+ },
142
+ "SoccerTwos.Losses.ValueLoss.sum": {
143
+ "value": 0.0021963658082919816,
144
+ "min": 0.0018074257849630985,
145
+ "max": 0.005299923840599755,
146
+ "count": 6
147
+ },
148
+ "SoccerTwos.Losses.BaselineLoss.mean": {
149
+ "value": 0.0022314870613627134,
150
+ "min": 0.0018156477934539769,
151
+ "max": 0.00535708706981192,
152
+ "count": 6
153
+ },
154
+ "SoccerTwos.Losses.BaselineLoss.sum": {
155
+ "value": 0.0022314870613627134,
156
+ "min": 0.0018156477934539769,
157
+ "max": 0.00535708706981192,
158
+ "count": 6
159
+ },
160
+ "SoccerTwos.Policy.LearningRate.mean": {
161
+ "value": 0.00029610012129996,
162
+ "min": 0.00029610012129996,
163
+ "max": 0.0002993284802238399,
164
+ "count": 6
165
+ },
166
+ "SoccerTwos.Policy.LearningRate.sum": {
167
+ "value": 0.00029610012129996,
168
+ "min": 0.00029610012129996,
169
+ "max": 0.0002993284802238399,
170
+ "count": 6
171
+ },
172
+ "SoccerTwos.Policy.Epsilon.mean": {
173
+ "value": 0.19870004000000005,
174
+ "min": 0.19870004000000005,
175
+ "max": 0.19977615999999998,
176
+ "count": 6
177
+ },
178
+ "SoccerTwos.Policy.Epsilon.sum": {
179
+ "value": 0.19870004000000005,
180
+ "min": 0.19870004000000005,
181
+ "max": 0.19977615999999998,
182
+ "count": 6
183
+ },
184
+ "SoccerTwos.Policy.Beta.mean": {
185
+ "value": 0.004935131995999999,
186
+ "min": 0.004935131995999999,
187
+ "max": 0.004988830384,
188
+ "count": 6
189
+ },
190
+ "SoccerTwos.Policy.Beta.sum": {
191
+ "value": 0.004935131995999999,
192
+ "min": 0.004935131995999999,
193
+ "max": 0.004988830384,
194
+ "count": 6
195
+ }
196
+ },
197
+ "metadata": {
198
+ "timer_format_version": "0.1.0",
199
+ "start_time_seconds": "1717155959",
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": "\\\\?\\D:\\Programs\\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": "1717156185"
208
+ },
209
+ "total": 225.87608079996426,
210
+ "count": 1,
211
+ "self": 0.07468920003157109,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.05783429997973144,
215
+ "count": 1,
216
+ "self": 0.05783429997973144
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 225.74355729995295,
220
+ "count": 1,
221
+ "self": 0.16198030044324696,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 4.075251600006595,
225
+ "count": 2,
226
+ "self": 4.075251600006595
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 221.3517819995177,
230
+ "count": 8620,
231
+ "self": 0.16290820704307407,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 121.70785399532178,
235
+ "count": 8620,
236
+ "self": 93.73711119842483,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 27.8769966987893,
240
+ "count": 8620,
241
+ "self": 0.9701793987769634,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 26.906817300012335,
245
+ "count": 17146,
246
+ "self": 26.906817300012335
247
+ }
248
+ }
249
+ },
250
+ "workers": {
251
+ "total": 0.09374609810765833,
252
+ "count": 8620,
253
+ "self": 0.0,
254
+ "children": {
255
+ "worker_root": {
256
+ "total": 216.00840789743233,
257
+ "count": 8620,
258
+ "is_parallel": true,
259
+ "self": 142.3634933962021,
260
+ "children": {
261
+ "steps_from_proto": {
262
+ "total": 0.0038374000578187406,
263
+ "count": 4,
264
+ "is_parallel": true,
265
+ "self": 0.0009646000689826906,
266
+ "children": {
267
+ "_process_rank_one_or_two_observation": {
268
+ "total": 0.00287279998883605,
269
+ "count": 16,
270
+ "is_parallel": true,
271
+ "self": 0.00287279998883605
272
+ }
273
+ }
274
+ },
275
+ "UnityEnvironment.step": {
276
+ "total": 73.64107710117241,
277
+ "count": 8620,
278
+ "is_parallel": true,
279
+ "self": 3.624384798342362,
280
+ "children": {
281
+ "UnityEnvironment._generate_step_input": {
282
+ "total": 3.1010047000600025,
283
+ "count": 8620,
284
+ "is_parallel": true,
285
+ "self": 3.1010047000600025
286
+ },
287
+ "communicator.exchange": {
288
+ "total": 55.706702996685635,
289
+ "count": 8620,
290
+ "is_parallel": true,
291
+ "self": 55.706702996685635
292
+ },
293
+ "steps_from_proto": {
294
+ "total": 11.208984606084414,
295
+ "count": 17240,
296
+ "is_parallel": true,
297
+ "self": 2.290967408567667,
298
+ "children": {
299
+ "_process_rank_one_or_two_observation": {
300
+ "total": 8.918017197516747,
301
+ "count": 68960,
302
+ "is_parallel": true,
303
+ "self": 8.918017197516747
304
+ }
305
+ }
306
+ }
307
+ }
308
+ }
309
+ }
310
+ }
311
+ }
312
+ }
313
+ }
314
+ },
315
+ "trainer_advance": {
316
+ "total": 99.48101979715284,
317
+ "count": 8620,
318
+ "self": 1.4096503957989626,
319
+ "children": {
320
+ "process_trajectory": {
321
+ "total": 20.840155201149173,
322
+ "count": 8620,
323
+ "self": 20.840155201149173
324
+ },
325
+ "_update_policy": {
326
+ "total": 77.2312142002047,
327
+ "count": 6,
328
+ "self": 18.673083499947097,
329
+ "children": {
330
+ "TorchPOCAOptimizer.update": {
331
+ "total": 58.55813070025761,
332
+ "count": 183,
333
+ "self": 58.55813070025761
334
+ }
335
+ }
336
+ }
337
+ }
338
+ }
339
+ }
340
+ },
341
+ "trainer_threads": {
342
+ "total": 9.999494068324566e-07,
343
+ "count": 1,
344
+ "self": 9.999494068324566e-07
345
+ },
346
+ "TrainerController._save_models": {
347
+ "total": 0.15454240003600717,
348
+ "count": 1,
349
+ "self": 0.002673500042874366,
350
+ "children": {
351
+ "RLTrainer._checkpoint": {
352
+ "total": 0.1518688999931328,
353
+ "count": 1,
354
+ "self": 0.1518688999931328
355
+ }
356
+ }
357
+ }
358
+ }
359
+ }
360
+ }
361
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1001.9534069294601,
4
+ "checkpoints": [
5
+ {
6
+ "steps": 129996,
7
+ "file_path": "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-129996.onnx",
8
+ "reward": null,
9
+ "creation_time": 1717156185.5569553,
10
+ "auxillary_file_paths": [
11
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-129996.pt"
12
+ ]
13
+ }
14
+ ],
15
+ "final_checkpoint": {
16
+ "steps": 129996,
17
+ "file_path": "results\\SoccerTwos\\SoccerTwos.onnx",
18
+ "reward": null,
19
+ "creation_time": 1717156185.5569553,
20
+ "auxillary_file_paths": [
21
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-129996.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
+ }