juanzinser commited on
Commit
1292b55
1 Parent(s): 85b513b

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: juanzinser/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:9ec3f780115583246d32f007f409be90156d6a09b249c8c80a1f76c8b6c3a6c8
3
+ size 1768747
SoccerTwos/SoccerTwos-21398.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9ec3f780115583246d32f007f409be90156d6a09b249c8c80a1f76c8b6c3a6c8
3
+ size 1768747
SoccerTwos/SoccerTwos-21398.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:79168f0c7837312e67967079b9233bde133ee5c08e819d5e4639e7e94250ba41
3
+ size 28430110
SoccerTwos/SoccerTwos-51544.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9ec3f780115583246d32f007f409be90156d6a09b249c8c80a1f76c8b6c3a6c8
3
+ size 1768747
SoccerTwos/SoccerTwos-51544.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:27f5ff42db8d54b7ef1410885041a296d00209d88f7b32f2104dae425d84b4b4
3
+ size 28430110
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f8e9e353a645f11f7996deec971f7c3a28242c277805acee00e37269a217e31d
3
+ size 28429366
SoccerTwos/events.out.tfevents.1717293277.C11-QXPUBHDXQWM.37904.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e748a563bce755f6309d15daf013d9a543e394bf6f55cdf266420af96d04b4d1
3
+ size 16782
SoccerTwos/events.out.tfevents.1717293868.C11-QXPUBHDXQWM.43236.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed2034be3618a689bf1b89abe8469fdc7861abea96337aabf425b77e89684754
3
+ size 12442
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": 50000, "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": true, "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: 50000
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: true
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,316 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = 'C:/Users/juan.zinser/extras/huggingface/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos_Data/Managed'
2
+ Mono config path = 'C:/Users/juan.zinser/extras/huggingface/ml-agents/training-envs-executables/SoccerTwos/MonoBleedingEdge/etc'
3
+ Initialize engine version: 2021.3.14f1 (eee1884e7226)
4
+ [Subsystems] Discovering subsystems at path C:/Users/juan.zinser/extras/huggingface/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 17.306 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.139700 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
+ Setting up 6 worker threads for Enlighten.
56
+ Memory Statistics:
57
+ [ALLOC_TEMP_TLS] TLS Allocator
58
+ StackAllocators :
59
+ [ALLOC_TEMP_MAIN]
60
+ Peak usage frame count: [8.0 KB-16.0 KB]: 599 frames, [2.0 MB-4.0 MB]: 1 frames
61
+ Initial Block Size 4.0 MB
62
+ Current Block Size 4.0 MB
63
+ Peak Allocated Bytes 2.0 MB
64
+ Overflow Count 0
65
+ [ALLOC_TEMP_Loading.AsyncRead]
66
+ Initial Block Size 64.0 KB
67
+ Current Block Size 64.0 KB
68
+ Peak Allocated Bytes 387 B
69
+ Overflow Count 0
70
+ [ALLOC_TEMP_Loading.PreloadManager]
71
+ Initial Block Size 256.0 KB
72
+ Current Block Size 256.0 KB
73
+ Peak Allocated Bytes 67.1 KB
74
+ Overflow Count 4
75
+ [ALLOC_TEMP_Background Job.Worker 8]
76
+ Initial Block Size 32.0 KB
77
+ Current Block Size 32.0 KB
78
+ Peak Allocated Bytes 54 B
79
+ Overflow Count 0
80
+ [ALLOC_TEMP_Job.Worker 6]
81
+ Initial Block Size 256.0 KB
82
+ Current Block Size 256.0 KB
83
+ Peak Allocated Bytes 0 B
84
+ Overflow Count 0
85
+ [ALLOC_TEMP_Job.Worker 0]
86
+ Initial Block Size 256.0 KB
87
+ Current Block Size 256.0 KB
88
+ Peak Allocated Bytes 0 B
89
+ Overflow Count 0
90
+ [ALLOC_TEMP_Background Job.Worker 10]
91
+ Initial Block Size 32.0 KB
92
+ Current Block Size 32.0 KB
93
+ Peak Allocated Bytes 54 B
94
+ Overflow Count 0
95
+ [ALLOC_TEMP_Background Job.Worker 9]
96
+ Initial Block Size 32.0 KB
97
+ Current Block Size 32.0 KB
98
+ Peak Allocated Bytes 54 B
99
+ Overflow Count 0
100
+ [ALLOC_TEMP_Job.Worker 5]
101
+ Initial Block Size 256.0 KB
102
+ Current Block Size 256.0 KB
103
+ Peak Allocated Bytes 0 B
104
+ Overflow Count 0
105
+ [ALLOC_TEMP_Background Job.Worker 14]
106
+ Initial Block Size 32.0 KB
107
+ Current Block Size 32.0 KB
108
+ Peak Allocated Bytes 54 B
109
+ Overflow Count 0
110
+ [ALLOC_TEMP_Background Job.Worker 6]
111
+ Initial Block Size 32.0 KB
112
+ Current Block Size 32.0 KB
113
+ Peak Allocated Bytes 54 B
114
+ Overflow Count 0
115
+ [ALLOC_TEMP_Job.Worker 4]
116
+ Initial Block Size 256.0 KB
117
+ Current Block Size 256.0 KB
118
+ Peak Allocated Bytes 0 B
119
+ Overflow Count 0
120
+ [ALLOC_TEMP_Job.Worker 3]
121
+ Initial Block Size 256.0 KB
122
+ Current Block Size 256.0 KB
123
+ Peak Allocated Bytes 0.8 KB
124
+ Overflow Count 0
125
+ [ALLOC_TEMP_Background Job.Worker 12]
126
+ Initial Block Size 32.0 KB
127
+ Current Block Size 32.0 KB
128
+ Peak Allocated Bytes 54 B
129
+ Overflow Count 0
130
+ [ALLOC_TEMP_EnlightenWorker] x 6
131
+ Initial Block Size 64.0 KB
132
+ Current Block Size 64.0 KB
133
+ Peak Allocated Bytes 54 B
134
+ Overflow Count 0
135
+ [ALLOC_TEMP_Background Job.Worker 15]
136
+ Initial Block Size 32.0 KB
137
+ Current Block Size 32.0 KB
138
+ Peak Allocated Bytes 54 B
139
+ Overflow Count 0
140
+ [ALLOC_TEMP_Background Job.Worker 1]
141
+ Initial Block Size 32.0 KB
142
+ Current Block Size 32.0 KB
143
+ Peak Allocated Bytes 54 B
144
+ Overflow Count 0
145
+ [ALLOC_TEMP_Background Job.Worker 2]
146
+ Initial Block Size 32.0 KB
147
+ Current Block Size 32.0 KB
148
+ Peak Allocated Bytes 54 B
149
+ Overflow Count 0
150
+ [ALLOC_TEMP_Background Job.Worker 7]
151
+ Initial Block Size 32.0 KB
152
+ Current Block Size 32.0 KB
153
+ Peak Allocated Bytes 54 B
154
+ Overflow Count 0
155
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 11
156
+ Initial Block Size 64.0 KB
157
+ Current Block Size 64.0 KB
158
+ Peak Allocated Bytes 0 B
159
+ Overflow Count 0
160
+ [ALLOC_TEMP_Background Job.Worker 5]
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 9]
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 13]
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 8]
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 7]
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_Job.Worker 1]
186
+ Initial Block Size 256.0 KB
187
+ Current Block Size 256.0 KB
188
+ Peak Allocated Bytes 0 B
189
+ Overflow Count 0
190
+ [ALLOC_TEMP_Job.Worker 2]
191
+ Initial Block Size 256.0 KB
192
+ Current Block Size 256.0 KB
193
+ Peak Allocated Bytes 0 B
194
+ Overflow Count 0
195
+ [ALLOC_TEMP_Background Job.Worker 3]
196
+ Initial Block Size 32.0 KB
197
+ Current Block Size 32.0 KB
198
+ Peak Allocated Bytes 54 B
199
+ Overflow Count 0
200
+ [ALLOC_TEMP_Background Job.Worker 11]
201
+ Initial Block Size 32.0 KB
202
+ Current Block Size 32.0 KB
203
+ Peak Allocated Bytes 54 B
204
+ Overflow Count 0
205
+ [ALLOC_TEMP_Job.Worker 10]
206
+ Initial Block Size 256.0 KB
207
+ Current Block Size 256.0 KB
208
+ Peak Allocated Bytes 54 B
209
+ Overflow Count 0
210
+ [ALLOC_TEMP_Background Job.Worker 0]
211
+ Initial Block Size 32.0 KB
212
+ Current Block Size 32.0 KB
213
+ Peak Allocated Bytes 54 B
214
+ Overflow Count 0
215
+ [ALLOC_TEMP_Background Job.Worker 4]
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_BatchDeleteObjects]
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_DEFAULT] Dual Thread Allocator
226
+ Peak main deferred allocation count 2
227
+ [ALLOC_BUCKET]
228
+ Large Block size 4.0 MB
229
+ Used Block count 1
230
+ Peak Allocated bytes 0.9 MB
231
+ [ALLOC_DEFAULT_MAIN]
232
+ Peak usage frame count: [4.0 MB-8.0 MB]: 600 frames
233
+ Requested Block Size 16.0 MB
234
+ Peak Block count 1
235
+ Peak Allocated memory 5.0 MB
236
+ Peak Large allocation bytes 0 B
237
+ [ALLOC_DEFAULT_THREAD]
238
+ Peak usage frame count: [16.0 MB-32.0 MB]: 600 frames
239
+ Requested Block Size 16.0 MB
240
+ Peak Block count 1
241
+ Peak Allocated memory 17.3 MB
242
+ Peak Large allocation bytes 16.0 MB
243
+ [ALLOC_TEMP_JOB_1_FRAME]
244
+ Initial Block Size 2.0 MB
245
+ Used Block Count 1
246
+ Overflow Count (too large) 0
247
+ Overflow Count (full) 0
248
+ [ALLOC_TEMP_JOB_2_FRAMES]
249
+ Initial Block Size 2.0 MB
250
+ Used Block Count 1
251
+ Overflow Count (too large) 0
252
+ Overflow Count (full) 0
253
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
254
+ Initial Block Size 2.0 MB
255
+ Used Block Count 2
256
+ Overflow Count (too large) 0
257
+ Overflow Count (full) 0
258
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
259
+ Initial Block Size 1.0 MB
260
+ Used Block Count 3
261
+ Overflow Count (too large) 0
262
+ Overflow Count (full) 0
263
+ [ALLOC_GFX] Dual Thread Allocator
264
+ Peak main deferred allocation count 0
265
+ [ALLOC_BUCKET]
266
+ Large Block size 4.0 MB
267
+ Used Block count 1
268
+ Peak Allocated bytes 0.9 MB
269
+ [ALLOC_GFX_MAIN]
270
+ Peak usage frame count: [32.0 KB-64.0 KB]: 599 frames, [64.0 KB-128.0 KB]: 1 frames
271
+ Requested Block Size 16.0 MB
272
+ Peak Block count 1
273
+ Peak Allocated memory 65.6 KB
274
+ Peak Large allocation bytes 0 B
275
+ [ALLOC_GFX_THREAD]
276
+ Peak usage frame count: [128.0 KB-256.0 KB]: 600 frames
277
+ Requested Block Size 16.0 MB
278
+ Peak Block count 1
279
+ Peak Allocated memory 173.6 KB
280
+ Peak Large allocation bytes 0 B
281
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
282
+ Peak main deferred allocation count 2
283
+ [ALLOC_BUCKET]
284
+ Large Block size 4.0 MB
285
+ Used Block count 1
286
+ Peak Allocated bytes 0.9 MB
287
+ [ALLOC_CACHEOBJECTS_MAIN]
288
+ Peak usage frame count: [0.5 MB-1.0 MB]: 600 frames
289
+ Requested Block Size 4.0 MB
290
+ Peak Block count 1
291
+ Peak Allocated memory 0.6 MB
292
+ Peak Large allocation bytes 0 B
293
+ [ALLOC_CACHEOBJECTS_THREAD]
294
+ Peak usage frame count: [0.5 MB-1.0 MB]: 599 frames, [2.0 MB-4.0 MB]: 1 frames
295
+ Requested Block Size 4.0 MB
296
+ Peak Block count 1
297
+ Peak Allocated memory 3.2 MB
298
+ Peak Large allocation bytes 0 B
299
+ [ALLOC_TYPETREE] Dual Thread Allocator
300
+ Peak main deferred allocation count 0
301
+ [ALLOC_BUCKET]
302
+ Large Block size 4.0 MB
303
+ Used Block count 1
304
+ Peak Allocated bytes 0.9 MB
305
+ [ALLOC_TYPETREE_MAIN]
306
+ Peak usage frame count: [0-1.0 KB]: 600 frames
307
+ Requested Block Size 2.0 MB
308
+ Peak Block count 1
309
+ Peak Allocated memory 1.0 KB
310
+ Peak Large allocation bytes 0 B
311
+ [ALLOC_TYPETREE_THREAD]
312
+ Peak usage frame count: [1.0 KB-2.0 KB]: 599 frames, [2.0 KB-4.0 KB]: 1 frames
313
+ Requested Block Size 2.0 MB
314
+ Peak Block count 1
315
+ Peak Allocated memory 2.2 KB
316
+ 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.2864396572113037,
6
+ "min": 3.2860982418060303,
7
+ "max": 3.2864396572113037,
8
+ "count": 2
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 105166.0703125,
12
+ "min": 105155.140625,
13
+ "max": 105166.0703125,
14
+ "count": 2
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 907.75,
18
+ "min": 907.75,
19
+ "max": 974.375,
20
+ "count": 2
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 29048.0,
24
+ "min": 29048.0,
25
+ "max": 31180.0,
26
+ "count": 2
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1197.2664120049913,
30
+ "min": 1197.2664120049913,
31
+ "max": 1197.7707189672171,
32
+ "count": 2
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 2394.5328240099825,
36
+ "min": 2394.5328240099825,
37
+ "max": 2395.5414379344343,
38
+ "count": 2
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 49544.0,
42
+ "min": 29004.0,
43
+ "max": 49544.0,
44
+ "count": 3
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 49544.0,
48
+ "min": 29004.0,
49
+ "max": 49544.0,
50
+ "count": 3
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": 0.06559079885482788,
54
+ "min": 0.06507007777690887,
55
+ "max": 0.06603433936834335,
56
+ "count": 3
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": 0.6559079885482788,
60
+ "min": 0.520560622215271,
61
+ "max": 0.7924121022224426,
62
+ "count": 3
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": 0.06364027410745621,
66
+ "min": 0.06297039985656738,
67
+ "max": 0.06438735872507095,
68
+ "count": 3
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": 0.6364027261734009,
72
+ "min": 0.5037631988525391,
73
+ "max": 0.7726483345031738,
74
+ "count": 3
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 3
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 3
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": 0.0,
90
+ "min": -0.16666666666666666,
91
+ "max": 0.049300000071525574,
92
+ "count": 3
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": 0.0,
96
+ "min": -2.0,
97
+ "max": 0.3944000005722046,
98
+ "count": 3
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": 0.0,
102
+ "min": -0.16666666666666666,
103
+ "max": 0.049300000071525574,
104
+ "count": 3
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": 0.0,
108
+ "min": -2.0,
109
+ "max": 0.3944000005722046,
110
+ "count": 3
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 3
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 3
123
+ }
124
+ },
125
+ "metadata": {
126
+ "timer_format_version": "0.1.0",
127
+ "start_time_seconds": "1717293427",
128
+ "python_version": "3.10.12 | packaged by Anaconda, Inc. | (main, Jul 5 2023, 19:01:18) [MSC v.1916 64 bit (AMD64)]",
129
+ "command_line_arguments": "\\\\?\\C:\\Users\\juan.zinser\\Anaconda3\\envs\\rl\\Scripts\\mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos.exe --run-id=SoccerTwos --no-graphics --resume",
130
+ "mlagents_version": "1.1.0.dev0",
131
+ "mlagents_envs_version": "1.1.0.dev0",
132
+ "communication_protocol_version": "1.5.0",
133
+ "pytorch_version": "2.3.0+cpu",
134
+ "numpy_version": "1.23.5",
135
+ "end_time_seconds": "1717293953"
136
+ },
137
+ "total": 526.1551854000136,
138
+ "count": 1,
139
+ "self": 3.5203154000046197,
140
+ "children": {
141
+ "run_training.setup": {
142
+ "total": 0.44083609999506734,
143
+ "count": 1,
144
+ "self": 0.44083609999506734
145
+ },
146
+ "TrainerController.start_learning": {
147
+ "total": 522.1940339000139,
148
+ "count": 1,
149
+ "self": 0.08422390042687766,
150
+ "children": {
151
+ "TrainerController._reset_env": {
152
+ "total": 443.3338799000194,
153
+ "count": 1,
154
+ "self": 443.3338799000194
155
+ },
156
+ "TrainerController.advance": {
157
+ "total": 78.4913459995878,
158
+ "count": 2003,
159
+ "self": 0.09132069980842061,
160
+ "children": {
161
+ "env_step": {
162
+ "total": 68.97023259996786,
163
+ "count": 2003,
164
+ "self": 52.427174900862155,
165
+ "children": {
166
+ "SubprocessEnvManager._take_step": {
167
+ "total": 16.494033799273893,
168
+ "count": 2003,
169
+ "self": 0.49700410064542666,
170
+ "children": {
171
+ "TorchPolicy.evaluate": {
172
+ "total": 15.997029698628467,
173
+ "count": 4000,
174
+ "self": 15.997029698628467
175
+ }
176
+ }
177
+ },
178
+ "workers": {
179
+ "total": 0.049023899831809103,
180
+ "count": 2003,
181
+ "self": 0.0,
182
+ "children": {
183
+ "worker_root": {
184
+ "total": 77.37274320068536,
185
+ "count": 2003,
186
+ "is_parallel": true,
187
+ "self": 35.8309981013299,
188
+ "children": {
189
+ "steps_from_proto": {
190
+ "total": 0.002807800017762929,
191
+ "count": 2,
192
+ "is_parallel": true,
193
+ "self": 0.0006748000159859657,
194
+ "children": {
195
+ "_process_rank_one_or_two_observation": {
196
+ "total": 0.0021330000017769635,
197
+ "count": 8,
198
+ "is_parallel": true,
199
+ "self": 0.0021330000017769635
200
+ }
201
+ }
202
+ },
203
+ "UnityEnvironment.step": {
204
+ "total": 41.538937299337704,
205
+ "count": 2003,
206
+ "is_parallel": true,
207
+ "self": 2.1499764994659927,
208
+ "children": {
209
+ "UnityEnvironment._generate_step_input": {
210
+ "total": 1.73611050072941,
211
+ "count": 2003,
212
+ "is_parallel": true,
213
+ "self": 1.73611050072941
214
+ },
215
+ "communicator.exchange": {
216
+ "total": 30.764309499616502,
217
+ "count": 2003,
218
+ "is_parallel": true,
219
+ "self": 30.764309499616502
220
+ },
221
+ "steps_from_proto": {
222
+ "total": 6.888540799525799,
223
+ "count": 4006,
224
+ "is_parallel": true,
225
+ "self": 1.410261200624518,
226
+ "children": {
227
+ "_process_rank_one_or_two_observation": {
228
+ "total": 5.478279598901281,
229
+ "count": 16024,
230
+ "is_parallel": true,
231
+ "self": 5.478279598901281
232
+ }
233
+ }
234
+ }
235
+ }
236
+ }
237
+ }
238
+ }
239
+ }
240
+ }
241
+ }
242
+ },
243
+ "trainer_advance": {
244
+ "total": 9.429792699811514,
245
+ "count": 2003,
246
+ "self": 0.37227439988055266,
247
+ "children": {
248
+ "process_trajectory": {
249
+ "total": 9.057518299930962,
250
+ "count": 2003,
251
+ "self": 9.057518299930962
252
+ }
253
+ }
254
+ }
255
+ }
256
+ },
257
+ "trainer_threads": {
258
+ "total": 1.2999807950109243e-06,
259
+ "count": 1,
260
+ "self": 1.2999807950109243e-06
261
+ },
262
+ "TrainerController._save_models": {
263
+ "total": 0.28458279999904335,
264
+ "count": 1,
265
+ "self": 0.014451399998506531,
266
+ "children": {
267
+ "RLTrainer._checkpoint": {
268
+ "total": 0.2701314000005368,
269
+ "count": 1,
270
+ "self": 0.2701314000005368
271
+ }
272
+ }
273
+ }
274
+ }
275
+ }
276
+ }
277
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1197.0156986562354,
4
+ "checkpoints": [
5
+ {
6
+ "steps": 21398,
7
+ "file_path": "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-21398.onnx",
8
+ "reward": null,
9
+ "creation_time": 1717293397.2513099,
10
+ "auxillary_file_paths": [
11
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-21398.pt"
12
+ ]
13
+ },
14
+ {
15
+ "steps": 51544,
16
+ "file_path": "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-51544.onnx",
17
+ "reward": 0.0,
18
+ "creation_time": 1717293950.0363302,
19
+ "auxillary_file_paths": [
20
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-51544.pt"
21
+ ]
22
+ }
23
+ ],
24
+ "final_checkpoint": {
25
+ "steps": 51544,
26
+ "file_path": "results\\SoccerTwos\\SoccerTwos.onnx",
27
+ "reward": 0.0,
28
+ "creation_time": 1717293950.0363302,
29
+ "auxillary_file_paths": [
30
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-51544.pt"
31
+ ]
32
+ }
33
+ },
34
+ "metadata": {
35
+ "stats_format_version": "0.3.0",
36
+ "mlagents_version": "1.1.0.dev0",
37
+ "torch_version": "2.3.0+cpu"
38
+ }
39
+ }