cagarraz commited on
Commit
0dbc78a
1 Parent(s): 79f4d2d

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: cagarraz/poca-SoccerTwos
33
+ 3. Step 2: Select your *.nn /*.onnx file
34
+ 4. Click on Watch the agent play 👀
35
+
SoccerTwos/SoccerTwos-11976.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9f5a3e044d075336146e9e13e78964c99386a7262ddb59f31d66680ed7e992fc
3
+ size 9478991
SoccerTwos/SoccerTwos-12692.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e8c0da74bbbefc46682935a29cb27cb09b8658f773124cc79c5fd18ee321951d
3
+ size 9478991
SoccerTwos/SoccerTwos-13512.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:991d49151e646afe3ce8c968dbf9bd0f554f2c819eb5ebca12e1101e0a070315
3
+ size 9478991
SoccerTwos/SoccerTwos-13570.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d613babf3dbbed26f9c6915f8bcf33e3711a070757a870cab04585ad8ad3d0ca
3
+ size 9478991
SoccerTwos/SoccerTwos-21798.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b1b9bd1a9085c7f45213064bc57ffc436ebfb1f48e4736b0055ab5518155acc6
3
+ size 28429659
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dec21b7054077d6c6e3895fb0e4778ffd6594cb93fe3ee5b822ac8a84fe79554
3
+ size 9478763
SoccerTwos/events.out.tfevents.1688918283.DESKTOP-FE54D14.4036.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:14e1ccfc1072bb676c053726c91b91904eaacbc7af4c083604f6695b0c70cac2
3
+ size 6679
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": 10000, "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, "seed": -1, "max_lifetime_restarts": 10, "restarts_rate_limit_n": 1, "restarts_rate_limit_period_s": 60}, "engine_settings": {"width": 84, "height": 84, "quality_level": 5, "time_scale": 20, "target_frame_rate": -1, "capture_frame_rate": 60, "no_graphics": true}, "environment_parameters": null, "checkpoint_settings": {"run_id": "SoccerTwos", "initialize_from": null, "load_model": false, "resume": false, "force": true, "train_model": false, "inference": false, "results_dir": "results"}, "torch_settings": {"device": null}, "debug": false}
configuration.yaml ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ default_settings: null
2
+ behaviors:
3
+ SoccerTwos:
4
+ trainer_type: poca
5
+ hyperparameters:
6
+ batch_size: 2048
7
+ buffer_size: 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: 10000
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
+ seed: -1
59
+ max_lifetime_restarts: 10
60
+ restarts_rate_limit_n: 1
61
+ restarts_rate_limit_period_s: 60
62
+ engine_settings:
63
+ width: 84
64
+ height: 84
65
+ quality_level: 5
66
+ time_scale: 20
67
+ target_frame_rate: -1
68
+ capture_frame_rate: 60
69
+ no_graphics: true
70
+ environment_parameters: null
71
+ checkpoint_settings:
72
+ run_id: SoccerTwos
73
+ initialize_from: null
74
+ load_model: false
75
+ resume: false
76
+ force: true
77
+ train_model: false
78
+ inference: false
79
+ results_dir: results
80
+ torch_settings:
81
+ device: null
82
+ debug: false
run_logs/Player-0.log ADDED
@@ -0,0 +1,328 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = 'C:/Sesion7/ml-agents/ml-agents/training-envs-executables/SoccerTwos_Data/Managed'
2
+ Mono config path = 'C:/Sesion7/ml-agents/ml-agents/training-envs-executables/MonoBleedingEdge/etc'
3
+ Initialize engine version: 2021.3.14f1 (eee1884e7226)
4
+ [Subsystems] Discovering subsystems at path C:/Sesion7/ml-agents/ml-agents/training-envs-executables/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.102 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: 1.056900 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
+ Setting up 8 worker threads for Enlighten.
48
+ Memory Statistics:
49
+ [ALLOC_TEMP_TLS] TLS Allocator
50
+ StackAllocators :
51
+ [ALLOC_TEMP_MAIN]
52
+ Peak usage frame count: [8.0 KB-16.0 KB]: 299 frames, [2.0 MB-4.0 MB]: 1 frames
53
+ Initial Block Size 4.0 MB
54
+ Current Block Size 4.0 MB
55
+ Peak Allocated Bytes 2.0 MB
56
+ Overflow Count 0
57
+ [ALLOC_TEMP_Loading.AsyncRead]
58
+ Initial Block Size 64.0 KB
59
+ Current Block Size 64.0 KB
60
+ Peak Allocated Bytes 297 B
61
+ Overflow Count 0
62
+ [ALLOC_TEMP_Loading.PreloadManager]
63
+ Initial Block Size 256.0 KB
64
+ Current Block Size 256.0 KB
65
+ Peak Allocated Bytes 68.0 KB
66
+ Overflow Count 4
67
+ [ALLOC_TEMP_Background Job.Worker 8]
68
+ Initial Block Size 32.0 KB
69
+ Current Block Size 32.0 KB
70
+ Peak Allocated Bytes 54 B
71
+ Overflow Count 0
72
+ [ALLOC_TEMP_Job.Worker 6]
73
+ Initial Block Size 256.0 KB
74
+ Current Block Size 256.0 KB
75
+ Peak Allocated Bytes 0 B
76
+ Overflow Count 0
77
+ [ALLOC_TEMP_Job.Worker 0]
78
+ Initial Block Size 256.0 KB
79
+ Current Block Size 256.0 KB
80
+ Peak Allocated Bytes 0.8 KB
81
+ Overflow Count 0
82
+ [ALLOC_TEMP_Background Job.Worker 10]
83
+ Initial Block Size 32.0 KB
84
+ Current Block Size 32.0 KB
85
+ Peak Allocated Bytes 54 B
86
+ Overflow Count 0
87
+ [ALLOC_TEMP_Background Job.Worker 9]
88
+ Initial Block Size 32.0 KB
89
+ Current Block Size 32.0 KB
90
+ Peak Allocated Bytes 54 B
91
+ Overflow Count 0
92
+ [ALLOC_TEMP_Job.Worker 5]
93
+ Initial Block Size 256.0 KB
94
+ Current Block Size 256.0 KB
95
+ Peak Allocated Bytes 0 B
96
+ Overflow Count 0
97
+ [ALLOC_TEMP_Background Job.Worker 14]
98
+ Initial Block Size 32.0 KB
99
+ Current Block Size 32.0 KB
100
+ Peak Allocated Bytes 54 B
101
+ Overflow Count 0
102
+ [ALLOC_TEMP_Background Job.Worker 6]
103
+ Initial Block Size 32.0 KB
104
+ Current Block Size 32.0 KB
105
+ Peak Allocated Bytes 54 B
106
+ Overflow Count 0
107
+ [ALLOC_TEMP_Job.Worker 4]
108
+ Initial Block Size 256.0 KB
109
+ Current Block Size 256.0 KB
110
+ Peak Allocated Bytes 0 B
111
+ Overflow Count 0
112
+ [ALLOC_TEMP_Job.Worker 14]
113
+ Initial Block Size 256.0 KB
114
+ Current Block Size 256.0 KB
115
+ Peak Allocated Bytes 54 B
116
+ Overflow Count 0
117
+ [ALLOC_TEMP_Job.Worker 3]
118
+ Initial Block Size 256.0 KB
119
+ Current Block Size 256.0 KB
120
+ Peak Allocated Bytes 0 B
121
+ Overflow Count 0
122
+ [ALLOC_TEMP_Job.Worker 13]
123
+ Initial Block Size 256.0 KB
124
+ Current Block Size 256.0 KB
125
+ Peak Allocated Bytes 54 B
126
+ Overflow Count 0
127
+ [ALLOC_TEMP_Background Job.Worker 12]
128
+ Initial Block Size 32.0 KB
129
+ Current Block Size 32.0 KB
130
+ Peak Allocated Bytes 54 B
131
+ Overflow Count 0
132
+ [ALLOC_TEMP_EnlightenWorker] x 8
133
+ Initial Block Size 64.0 KB
134
+ Current Block Size 64.0 KB
135
+ Peak Allocated Bytes 54 B
136
+ Overflow Count 0
137
+ [ALLOC_TEMP_Background Job.Worker 15]
138
+ Initial Block Size 32.0 KB
139
+ Current Block Size 32.0 KB
140
+ Peak Allocated Bytes 54 B
141
+ Overflow Count 0
142
+ [ALLOC_TEMP_Background Job.Worker 1]
143
+ Initial Block Size 32.0 KB
144
+ Current Block Size 32.0 KB
145
+ Peak Allocated Bytes 54 B
146
+ Overflow Count 0
147
+ [ALLOC_TEMP_Background Job.Worker 2]
148
+ Initial Block Size 32.0 KB
149
+ Current Block Size 32.0 KB
150
+ Peak Allocated Bytes 54 B
151
+ Overflow Count 0
152
+ [ALLOC_TEMP_Background Job.Worker 7]
153
+ Initial Block Size 32.0 KB
154
+ Current Block Size 32.0 KB
155
+ Peak Allocated Bytes 54 B
156
+ Overflow Count 0
157
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 15
158
+ Initial Block Size 64.0 KB
159
+ Current Block Size 64.0 KB
160
+ Peak Allocated Bytes 0 B
161
+ Overflow Count 0
162
+ [ALLOC_TEMP_Background Job.Worker 5]
163
+ Initial Block Size 32.0 KB
164
+ Current Block Size 32.0 KB
165
+ Peak Allocated Bytes 54 B
166
+ Overflow Count 0
167
+ [ALLOC_TEMP_Job.Worker 9]
168
+ Initial Block Size 256.0 KB
169
+ Current Block Size 256.0 KB
170
+ Peak Allocated Bytes 0 B
171
+ Overflow Count 0
172
+ [ALLOC_TEMP_Background Job.Worker 13]
173
+ Initial Block Size 32.0 KB
174
+ Current Block Size 32.0 KB
175
+ Peak Allocated Bytes 54 B
176
+ Overflow Count 0
177
+ [ALLOC_TEMP_Job.Worker 8]
178
+ Initial Block Size 256.0 KB
179
+ Current Block Size 256.0 KB
180
+ Peak Allocated Bytes 0 B
181
+ Overflow Count 0
182
+ [ALLOC_TEMP_Job.Worker 7]
183
+ Initial Block Size 256.0 KB
184
+ Current Block Size 256.0 KB
185
+ Peak Allocated Bytes 0 B
186
+ Overflow Count 0
187
+ [ALLOC_TEMP_Job.Worker 1]
188
+ Initial Block Size 256.0 KB
189
+ Current Block Size 256.0 KB
190
+ Peak Allocated Bytes 0 B
191
+ Overflow Count 0
192
+ [ALLOC_TEMP_Job.Worker 2]
193
+ Initial Block Size 256.0 KB
194
+ Current Block Size 256.0 KB
195
+ Peak Allocated Bytes 0 B
196
+ Overflow Count 0
197
+ [ALLOC_TEMP_Background Job.Worker 3]
198
+ Initial Block Size 32.0 KB
199
+ Current Block Size 32.0 KB
200
+ Peak Allocated Bytes 54 B
201
+ Overflow Count 0
202
+ [ALLOC_TEMP_Background Job.Worker 11]
203
+ Initial Block Size 32.0 KB
204
+ Current Block Size 32.0 KB
205
+ Peak Allocated Bytes 54 B
206
+ Overflow Count 0
207
+ [ALLOC_TEMP_Job.Worker 10]
208
+ Initial Block Size 256.0 KB
209
+ Current Block Size 256.0 KB
210
+ Peak Allocated Bytes 54 B
211
+ Overflow Count 0
212
+ [ALLOC_TEMP_Background Job.Worker 0]
213
+ Initial Block Size 32.0 KB
214
+ Current Block Size 32.0 KB
215
+ Peak Allocated Bytes 54 B
216
+ Overflow Count 0
217
+ [ALLOC_TEMP_Job.Worker 11]
218
+ Initial Block Size 256.0 KB
219
+ Current Block Size 256.0 KB
220
+ Peak Allocated Bytes 54 B
221
+ Overflow Count 0
222
+ [ALLOC_TEMP_Job.Worker 12]
223
+ Initial Block Size 256.0 KB
224
+ Current Block Size 256.0 KB
225
+ Peak Allocated Bytes 54 B
226
+ Overflow Count 0
227
+ [ALLOC_TEMP_Background Job.Worker 4]
228
+ Initial Block Size 32.0 KB
229
+ Current Block Size 32.0 KB
230
+ Peak Allocated Bytes 54 B
231
+ Overflow Count 0
232
+ [ALLOC_TEMP_BatchDeleteObjects]
233
+ Initial Block Size 64.0 KB
234
+ Current Block Size 64.0 KB
235
+ Peak Allocated Bytes 54 B
236
+ Overflow Count 0
237
+ [ALLOC_DEFAULT] Dual Thread Allocator
238
+ Peak main deferred allocation count 4
239
+ [ALLOC_BUCKET]
240
+ Large Block size 4.0 MB
241
+ Used Block count 1
242
+ Peak Allocated bytes 0.9 MB
243
+ [ALLOC_DEFAULT_MAIN]
244
+ Peak usage frame count: [4.0 MB-8.0 MB]: 300 frames
245
+ Requested Block Size 16.0 MB
246
+ Peak Block count 1
247
+ Peak Allocated memory 5.1 MB
248
+ Peak Large allocation bytes 0 B
249
+ [ALLOC_DEFAULT_THREAD]
250
+ Peak usage frame count: [16.0 MB-32.0 MB]: 300 frames
251
+ Requested Block Size 16.0 MB
252
+ Peak Block count 1
253
+ Peak Allocated memory 17.1 MB
254
+ Peak Large allocation bytes 16.0 MB
255
+ [ALLOC_TEMP_JOB_1_FRAME]
256
+ Initial Block Size 2.0 MB
257
+ Used Block Count 1
258
+ Overflow Count (too large) 0
259
+ Overflow Count (full) 0
260
+ [ALLOC_TEMP_JOB_2_FRAMES]
261
+ Initial Block Size 2.0 MB
262
+ Used Block Count 1
263
+ Overflow Count (too large) 0
264
+ Overflow Count (full) 0
265
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
266
+ Initial Block Size 2.0 MB
267
+ Used Block Count 2
268
+ Overflow Count (too large) 0
269
+ Overflow Count (full) 0
270
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
271
+ Initial Block Size 1.0 MB
272
+ Used Block Count 3
273
+ Overflow Count (too large) 0
274
+ Overflow Count (full) 0
275
+ [ALLOC_GFX] Dual Thread Allocator
276
+ Peak main deferred allocation count 0
277
+ [ALLOC_BUCKET]
278
+ Large Block size 4.0 MB
279
+ Used Block count 1
280
+ Peak Allocated bytes 0.9 MB
281
+ [ALLOC_GFX_MAIN]
282
+ Peak usage frame count: [32.0 KB-64.0 KB]: 299 frames, [64.0 KB-128.0 KB]: 1 frames
283
+ Requested Block Size 16.0 MB
284
+ Peak Block count 1
285
+ Peak Allocated memory 65.6 KB
286
+ Peak Large allocation bytes 0 B
287
+ [ALLOC_GFX_THREAD]
288
+ Peak usage frame count: [128.0 KB-256.0 KB]: 300 frames
289
+ Requested Block Size 16.0 MB
290
+ Peak Block count 1
291
+ Peak Allocated memory 173.6 KB
292
+ Peak Large allocation bytes 0 B
293
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
294
+ Peak main deferred allocation count 2
295
+ [ALLOC_BUCKET]
296
+ Large Block size 4.0 MB
297
+ Used Block count 1
298
+ Peak Allocated bytes 0.9 MB
299
+ [ALLOC_CACHEOBJECTS_MAIN]
300
+ Peak usage frame count: [0.5 MB-1.0 MB]: 300 frames
301
+ Requested Block Size 4.0 MB
302
+ Peak Block count 1
303
+ Peak Allocated memory 0.6 MB
304
+ Peak Large allocation bytes 0 B
305
+ [ALLOC_CACHEOBJECTS_THREAD]
306
+ Peak usage frame count: [0.5 MB-1.0 MB]: 299 frames, [2.0 MB-4.0 MB]: 1 frames
307
+ Requested Block Size 4.0 MB
308
+ Peak Block count 1
309
+ Peak Allocated memory 3.2 MB
310
+ Peak Large allocation bytes 0 B
311
+ [ALLOC_TYPETREE] Dual Thread Allocator
312
+ Peak main deferred allocation count 0
313
+ [ALLOC_BUCKET]
314
+ Large Block size 4.0 MB
315
+ Used Block count 1
316
+ Peak Allocated bytes 0.9 MB
317
+ [ALLOC_TYPETREE_MAIN]
318
+ Peak usage frame count: [0-1.0 KB]: 300 frames
319
+ Requested Block Size 2.0 MB
320
+ Peak Block count 1
321
+ Peak Allocated memory 1.0 KB
322
+ Peak Large allocation bytes 0 B
323
+ [ALLOC_TYPETREE_THREAD]
324
+ Peak usage frame count: [1.0 KB-2.0 KB]: 299 frames, [2.0 KB-4.0 KB]: 1 frames
325
+ Requested Block Size 2.0 MB
326
+ Peak Block count 1
327
+ Peak Allocated memory 2.2 KB
328
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,277 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "SoccerTwos.Policy.Entropy.mean": {
5
+ "value": 3.295736312866211,
6
+ "min": 3.295736312866211,
7
+ "max": 3.295736312866211,
8
+ "count": 1
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 105463.5625,
12
+ "min": 105463.5625,
13
+ "max": 105463.5625,
14
+ "count": 1
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 847.125,
18
+ "min": 847.125,
19
+ "max": 847.125,
20
+ "count": 1
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 27108.0,
24
+ "min": 27108.0,
25
+ "max": 27108.0,
26
+ "count": 1
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1198.7535925691843,
30
+ "min": 1198.7535925691843,
31
+ "max": 1198.7535925691843,
32
+ "count": 1
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 4795.014370276737,
36
+ "min": 4795.014370276737,
37
+ "max": 4795.014370276737,
38
+ "count": 1
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 9570.0,
42
+ "min": 9570.0,
43
+ "max": 9570.0,
44
+ "count": 1
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 9570.0,
48
+ "min": 9570.0,
49
+ "max": 9570.0,
50
+ "count": 1
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": -0.09803476929664612,
54
+ "min": -0.09803476929664612,
55
+ "max": -0.09803476929664612,
56
+ "count": 1
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": -1.1764172315597534,
60
+ "min": -1.1764172315597534,
61
+ "max": -1.1764172315597534,
62
+ "count": 1
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": -0.09807959198951721,
66
+ "min": -0.09807959198951721,
67
+ "max": -0.09807959198951721,
68
+ "count": 1
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": -1.1769551038742065,
72
+ "min": -1.1769551038742065,
73
+ "max": -1.1769551038742065,
74
+ "count": 1
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 1
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 1
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": -0.3333333333333333,
90
+ "min": -0.3333333333333333,
91
+ "max": -0.3333333333333333,
92
+ "count": 1
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": -4.0,
96
+ "min": -4.0,
97
+ "max": -4.0,
98
+ "count": 1
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": -0.3333333333333333,
102
+ "min": -0.3333333333333333,
103
+ "max": -0.3333333333333333,
104
+ "count": 1
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": -4.0,
108
+ "min": -4.0,
109
+ "max": -4.0,
110
+ "count": 1
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 1
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 1
123
+ }
124
+ },
125
+ "metadata": {
126
+ "timer_format_version": "0.1.0",
127
+ "start_time_seconds": "1688918279",
128
+ "python_version": "3.9.17 (main, Jul 5 2023, 20:47:11) [MSC v.1916 64 bit (AMD64)]",
129
+ "command_line_arguments": "C:\\Users\\Carlos\\anaconda3\\envs\\rl\\Scripts\\mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos.exe --run-id=SoccerTwos --no-graphics --force",
130
+ "mlagents_version": "0.31.0.dev0",
131
+ "mlagents_envs_version": "0.31.0.dev0",
132
+ "communication_protocol_version": "1.5.0",
133
+ "pytorch_version": "2.0.1+cpu",
134
+ "numpy_version": "1.21.2",
135
+ "end_time_seconds": "1688918309"
136
+ },
137
+ "total": 29.512574500000003,
138
+ "count": 1,
139
+ "self": 0.257017500000007,
140
+ "children": {
141
+ "run_training.setup": {
142
+ "total": 0.12948039999999983,
143
+ "count": 1,
144
+ "self": 0.12948039999999983
145
+ },
146
+ "TrainerController.start_learning": {
147
+ "total": 29.126076599999998,
148
+ "count": 1,
149
+ "self": 0.020965799999949297,
150
+ "children": {
151
+ "TrainerController._reset_env": {
152
+ "total": 3.7492373000000003,
153
+ "count": 1,
154
+ "self": 3.7492373000000003
155
+ },
156
+ "TrainerController.advance": {
157
+ "total": 25.224098800000053,
158
+ "count": 1002,
159
+ "self": 0.02472750000005064,
160
+ "children": {
161
+ "env_step": {
162
+ "total": 20.44633760000002,
163
+ "count": 1002,
164
+ "self": 16.403553900000006,
165
+ "children": {
166
+ "SubprocessEnvManager._take_step": {
167
+ "total": 4.026453600000006,
168
+ "count": 1002,
169
+ "self": 0.15823190000002274,
170
+ "children": {
171
+ "TorchPolicy.evaluate": {
172
+ "total": 3.8682216999999834,
173
+ "count": 2000,
174
+ "self": 3.8682216999999834
175
+ }
176
+ }
177
+ },
178
+ "workers": {
179
+ "total": 0.016330100000009118,
180
+ "count": 1002,
181
+ "self": 0.0,
182
+ "children": {
183
+ "worker_root": {
184
+ "total": 21.11746979999998,
185
+ "count": 1002,
186
+ "is_parallel": true,
187
+ "self": 7.850120100000037,
188
+ "children": {
189
+ "steps_from_proto": {
190
+ "total": 0.001739500000000227,
191
+ "count": 2,
192
+ "is_parallel": true,
193
+ "self": 0.00032630000000022363,
194
+ "children": {
195
+ "_process_rank_one_or_two_observation": {
196
+ "total": 0.0014132000000000033,
197
+ "count": 8,
198
+ "is_parallel": true,
199
+ "self": 0.0014132000000000033
200
+ }
201
+ }
202
+ },
203
+ "UnityEnvironment.step": {
204
+ "total": 13.265610199999944,
205
+ "count": 1002,
206
+ "is_parallel": true,
207
+ "self": 0.6699475999999756,
208
+ "children": {
209
+ "UnityEnvironment._generate_step_input": {
210
+ "total": 0.671759100000008,
211
+ "count": 1002,
212
+ "is_parallel": true,
213
+ "self": 0.671759100000008
214
+ },
215
+ "communicator.exchange": {
216
+ "total": 10.034984099999917,
217
+ "count": 1002,
218
+ "is_parallel": true,
219
+ "self": 10.034984099999917
220
+ },
221
+ "steps_from_proto": {
222
+ "total": 1.8889194000000438,
223
+ "count": 2004,
224
+ "is_parallel": true,
225
+ "self": 0.36631839999999816,
226
+ "children": {
227
+ "_process_rank_one_or_two_observation": {
228
+ "total": 1.5226010000000456,
229
+ "count": 8016,
230
+ "is_parallel": true,
231
+ "self": 1.5226010000000456
232
+ }
233
+ }
234
+ }
235
+ }
236
+ }
237
+ }
238
+ }
239
+ }
240
+ }
241
+ }
242
+ },
243
+ "trainer_advance": {
244
+ "total": 4.753033699999981,
245
+ "count": 1002,
246
+ "self": 0.12693389999996718,
247
+ "children": {
248
+ "process_trajectory": {
249
+ "total": 4.626099800000014,
250
+ "count": 1002,
251
+ "self": 4.626099800000014
252
+ }
253
+ }
254
+ }
255
+ }
256
+ },
257
+ "trainer_threads": {
258
+ "total": 9.999999974752427e-07,
259
+ "count": 1,
260
+ "self": 9.999999974752427e-07
261
+ },
262
+ "TrainerController._save_models": {
263
+ "total": 0.13177369999999655,
264
+ "count": 1,
265
+ "self": 4.100000000306636e-05,
266
+ "children": {
267
+ "RLTrainer._checkpoint": {
268
+ "total": 0.13173269999999349,
269
+ "count": 1,
270
+ "self": 0.13173269999999349
271
+ }
272
+ }
273
+ }
274
+ }
275
+ }
276
+ }
277
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1198.0086179957034
4
+ },
5
+ "metadata": {
6
+ "stats_format_version": "0.3.0",
7
+ "mlagents_version": "0.31.0.dev0",
8
+ "torch_version": "2.0.1+cpu"
9
+ }
10
+ }