thomaspalomares commited on
Commit
4209da8
1 Parent(s): 1828c07

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: thomaspalomares/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:c86cfa26704c35c1c5707ef826b4ac0a299203878b09bf5386313019de8c091b
3
+ size 1768747
SoccerTwos/SoccerTwos-0.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:693e08b7338dc23ed65f952c9a9421339fc03b0b0b8822791b9f3e8a8c713679
3
+ size 1766876
SoccerTwos/SoccerTwos-0.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5af133457baacc9f046781de24bf08d16798596782818425ebe94aea15f28550
3
+ size 9479282
SoccerTwos/SoccerTwos-41504.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c86cfa26704c35c1c5707ef826b4ac0a299203878b09bf5386313019de8c091b
3
+ size 1768747
SoccerTwos/SoccerTwos-41504.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce475278811e21269be036437419502b04e32603bc4bcc1b70202d4b8c6222e9
3
+ size 28430110
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4ed3f966c7f5c208a4dff048ac240ab39641d70aad9c54e09a0d741bdb0afaeb
3
+ size 28429366
SoccerTwos/events.out.tfevents.1721743361.PaloLenovo.10054.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4d8218c8062ed5c74618c502f1117112742944ed7f6c615fab2b5f1435185599
3
+ size 37178
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/SoccerTwos.app", "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": true, "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/SoccerTwos.app
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: true
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,338 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/home/thopalomares/hfunit8/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos_Data/Managed'
2
+ Mono config path = '/home/thopalomares/hfunit8/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos_Data/MonoBleedingEdge/etc'
3
+ Preloaded 'lib_burst_generated.so'
4
+ Preloaded 'libgrpc_csharp_ext.x64.so'
5
+ Initialize engine version: 2021.3.14f1 (eee1884e7226)
6
+ [Subsystems] Discovering subsystems at path /home/thopalomares/hfunit8/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos_Data/UnitySubsystems
7
+ Forcing GfxDevice: Null
8
+ GfxDevice: creating device client; threaded=0; jobified=0
9
+ NullGfxDevice:
10
+ Version: NULL 1.0 [1.0]
11
+ Renderer: Null Device
12
+ Vendor: Unity Technologies
13
+ FMOD initialized on nosound output
14
+ Begin MonoManager ReloadAssembly
15
+ - Completed reload, in 0.066 seconds
16
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
17
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
18
+ ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
19
+ WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
20
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
21
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
22
+ ERROR: Shader Standard (Specular setup) shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
23
+ WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
24
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
25
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
26
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
27
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
28
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
29
+ ERROR: Shader Autodesk Interactive shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
30
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
31
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
32
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
33
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
34
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
35
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
36
+ ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
37
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
38
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
39
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
40
+ UnloadTime: 0.938788 ms
41
+ Registered Communicator in Agent.
42
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
43
+ requesting resize 84 x 84
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
+ Setting up 8 worker threads for Enlighten.
58
+ Memory Statistics:
59
+ [ALLOC_TEMP_TLS] TLS Allocator
60
+ StackAllocators :
61
+ [ALLOC_TEMP_MAIN]
62
+ Peak usage frame count: [8.0 KB-16.0 KB]: 897 frames, [2.0 MB-4.0 MB]: 1 frames
63
+ Initial Block Size 4.0 MB
64
+ Current Block Size 4.0 MB
65
+ Peak Allocated Bytes 2.1 MB
66
+ Overflow Count 0
67
+ [ALLOC_TEMP_Loading.AsyncRead]
68
+ Initial Block Size 64.0 KB
69
+ Current Block Size 64.0 KB
70
+ Peak Allocated Bytes 128 B
71
+ Overflow Count 0
72
+ [ALLOC_TEMP_Loading.PreloadManager]
73
+ Initial Block Size 256.0 KB
74
+ Current Block Size 300.0 KB
75
+ Peak Allocated Bytes 249.6 KB
76
+ Overflow Count 4
77
+ [ALLOC_TEMP_Background Job.Worker 8]
78
+ Initial Block Size 32.0 KB
79
+ Current Block Size 32.0 KB
80
+ Peak Allocated Bytes 0 B
81
+ Overflow Count 0
82
+ [ALLOC_TEMP_Job.Worker 6]
83
+ Initial Block Size 256.0 KB
84
+ Current Block Size 256.0 KB
85
+ Peak Allocated Bytes 0 B
86
+ Overflow Count 0
87
+ [ALLOC_TEMP_Job.Worker 0]
88
+ Initial Block Size 256.0 KB
89
+ Current Block Size 256.0 KB
90
+ Peak Allocated Bytes 0 B
91
+ Overflow Count 0
92
+ [ALLOC_TEMP_Background Job.Worker 10]
93
+ Initial Block Size 32.0 KB
94
+ Current Block Size 32.0 KB
95
+ Peak Allocated Bytes 0 B
96
+ Overflow Count 0
97
+ [ALLOC_TEMP_Background Job.Worker 9]
98
+ Initial Block Size 32.0 KB
99
+ Current Block Size 32.0 KB
100
+ Peak Allocated Bytes 0 B
101
+ Overflow Count 0
102
+ [ALLOC_TEMP_Job.Worker 5]
103
+ Initial Block Size 256.0 KB
104
+ Current Block Size 256.0 KB
105
+ Peak Allocated Bytes 0 B
106
+ Overflow Count 0
107
+ [ALLOC_TEMP_Background Job.Worker 14]
108
+ Initial Block Size 32.0 KB
109
+ Current Block Size 32.0 KB
110
+ Peak Allocated Bytes 0 B
111
+ Overflow Count 0
112
+ [ALLOC_TEMP_Background Job.Worker 6]
113
+ Initial Block Size 32.0 KB
114
+ Current Block Size 32.0 KB
115
+ Peak Allocated Bytes 0 B
116
+ Overflow Count 0
117
+ [ALLOC_TEMP_Job.Worker 4]
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 14]
123
+ Initial Block Size 256.0 KB
124
+ Current Block Size 256.0 KB
125
+ Peak Allocated Bytes 0 B
126
+ Overflow Count 0
127
+ [ALLOC_TEMP_Job.Worker 3]
128
+ Initial Block Size 256.0 KB
129
+ Current Block Size 256.0 KB
130
+ Peak Allocated Bytes 0 B
131
+ Overflow Count 0
132
+ [ALLOC_TEMP_Job.Worker 13]
133
+ Initial Block Size 256.0 KB
134
+ Current Block Size 256.0 KB
135
+ Peak Allocated Bytes 0 B
136
+ Overflow Count 0
137
+ [ALLOC_TEMP_Background Job.Worker 12]
138
+ Initial Block Size 32.0 KB
139
+ Current Block Size 32.0 KB
140
+ Peak Allocated Bytes 0 B
141
+ Overflow Count 0
142
+ [ALLOC_TEMP_EnlightenWorker] x 8
143
+ Initial Block Size 64.0 KB
144
+ Current Block Size 64.0 KB
145
+ Peak Allocated Bytes 0 B
146
+ Overflow Count 0
147
+ [ALLOC_TEMP_Background Job.Worker 15]
148
+ Initial Block Size 32.0 KB
149
+ Current Block Size 32.0 KB
150
+ Peak Allocated Bytes 0 B
151
+ Overflow Count 0
152
+ [ALLOC_TEMP_Background Job.Worker 1]
153
+ Initial Block Size 32.0 KB
154
+ Current Block Size 32.0 KB
155
+ Peak Allocated Bytes 0 B
156
+ Overflow Count 0
157
+ [ALLOC_TEMP_Background Job.Worker 2]
158
+ Initial Block Size 32.0 KB
159
+ Current Block Size 32.0 KB
160
+ Peak Allocated Bytes 0 B
161
+ Overflow Count 0
162
+ [ALLOC_TEMP_Background Job.Worker 7]
163
+ Initial Block Size 32.0 KB
164
+ Current Block Size 32.0 KB
165
+ Peak Allocated Bytes 0 B
166
+ Overflow Count 0
167
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 15
168
+ Initial Block Size 64.0 KB
169
+ Current Block Size 64.0 KB
170
+ Peak Allocated Bytes 0 B
171
+ Overflow Count 0
172
+ [ALLOC_TEMP_Background Job.Worker 5]
173
+ Initial Block Size 32.0 KB
174
+ Current Block Size 32.0 KB
175
+ Peak Allocated Bytes 0 B
176
+ Overflow Count 0
177
+ [ALLOC_TEMP_Job.Worker 9]
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_Background Job.Worker 13]
183
+ Initial Block Size 32.0 KB
184
+ Current Block Size 32.0 KB
185
+ Peak Allocated Bytes 0 B
186
+ Overflow Count 0
187
+ [ALLOC_TEMP_Job.Worker 8]
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 7]
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_Job.Worker 1]
198
+ Initial Block Size 256.0 KB
199
+ Current Block Size 256.0 KB
200
+ Peak Allocated Bytes 0.7 KB
201
+ Overflow Count 0
202
+ [ALLOC_TEMP_Job.Worker 2]
203
+ Initial Block Size 256.0 KB
204
+ Current Block Size 256.0 KB
205
+ Peak Allocated Bytes 0 B
206
+ Overflow Count 0
207
+ [ALLOC_TEMP_Background Job.Worker 3]
208
+ Initial Block Size 32.0 KB
209
+ Current Block Size 32.0 KB
210
+ Peak Allocated Bytes 0 B
211
+ Overflow Count 0
212
+ [ALLOC_TEMP_Background Job.Worker 11]
213
+ Initial Block Size 32.0 KB
214
+ Current Block Size 32.0 KB
215
+ Peak Allocated Bytes 0 B
216
+ Overflow Count 0
217
+ [ALLOC_TEMP_Job.Worker 10]
218
+ Initial Block Size 256.0 KB
219
+ Current Block Size 256.0 KB
220
+ Peak Allocated Bytes 0 B
221
+ Overflow Count 0
222
+ [ALLOC_TEMP_Background Job.Worker 0]
223
+ Initial Block Size 32.0 KB
224
+ Current Block Size 32.0 KB
225
+ Peak Allocated Bytes 0 B
226
+ Overflow Count 0
227
+ [ALLOC_TEMP_Job.Worker 11]
228
+ Initial Block Size 256.0 KB
229
+ Current Block Size 256.0 KB
230
+ Peak Allocated Bytes 0 B
231
+ Overflow Count 0
232
+ [ALLOC_TEMP_Job.Worker 12]
233
+ Initial Block Size 256.0 KB
234
+ Current Block Size 256.0 KB
235
+ Peak Allocated Bytes 0 B
236
+ Overflow Count 0
237
+ [ALLOC_TEMP_Background Job.Worker 4]
238
+ Initial Block Size 32.0 KB
239
+ Current Block Size 32.0 KB
240
+ Peak Allocated Bytes 0 B
241
+ Overflow Count 0
242
+ [ALLOC_TEMP_BatchDeleteObjects]
243
+ Initial Block Size 64.0 KB
244
+ Current Block Size 64.0 KB
245
+ Peak Allocated Bytes 0 B
246
+ Overflow Count 0
247
+ [ALLOC_DEFAULT] Dual Thread Allocator
248
+ Peak main deferred allocation count 2
249
+ [ALLOC_BUCKET]
250
+ Large Block size 4.0 MB
251
+ Used Block count 1
252
+ Peak Allocated bytes 1.0 MB
253
+ [ALLOC_DEFAULT_MAIN]
254
+ Peak usage frame count: [4.0 MB-8.0 MB]: 898 frames
255
+ Requested Block Size 16.0 MB
256
+ Peak Block count 1
257
+ Peak Allocated memory 4.9 MB
258
+ Peak Large allocation bytes 0 B
259
+ [ALLOC_DEFAULT_THREAD]
260
+ Peak usage frame count: [16.0 MB-32.0 MB]: 898 frames
261
+ Requested Block Size 16.0 MB
262
+ Peak Block count 1
263
+ Peak Allocated memory 17.3 MB
264
+ Peak Large allocation bytes 16.0 MB
265
+ [ALLOC_TEMP_JOB_1_FRAME]
266
+ Initial Block Size 2.0 MB
267
+ Used Block Count 1
268
+ Overflow Count (too large) 0
269
+ Overflow Count (full) 0
270
+ [ALLOC_TEMP_JOB_2_FRAMES]
271
+ Initial Block Size 2.0 MB
272
+ Used Block Count 1
273
+ Overflow Count (too large) 0
274
+ Overflow Count (full) 0
275
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
276
+ Initial Block Size 2.0 MB
277
+ Used Block Count 2
278
+ Overflow Count (too large) 0
279
+ Overflow Count (full) 0
280
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
281
+ Initial Block Size 1.0 MB
282
+ Used Block Count 3
283
+ Overflow Count (too large) 0
284
+ Overflow Count (full) 0
285
+ [ALLOC_GFX] Dual Thread Allocator
286
+ Peak main deferred allocation count 0
287
+ [ALLOC_BUCKET]
288
+ Large Block size 4.0 MB
289
+ Used Block count 1
290
+ Peak Allocated bytes 1.0 MB
291
+ [ALLOC_GFX_MAIN]
292
+ Peak usage frame count: [32.0 KB-64.0 KB]: 897 frames, [64.0 KB-128.0 KB]: 1 frames
293
+ Requested Block Size 16.0 MB
294
+ Peak Block count 1
295
+ Peak Allocated memory 65.6 KB
296
+ Peak Large allocation bytes 0 B
297
+ [ALLOC_GFX_THREAD]
298
+ Peak usage frame count: [128.0 KB-256.0 KB]: 898 frames
299
+ Requested Block Size 16.0 MB
300
+ Peak Block count 1
301
+ Peak Allocated memory 173.5 KB
302
+ Peak Large allocation bytes 0 B
303
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
304
+ Peak main deferred allocation count 0
305
+ [ALLOC_BUCKET]
306
+ Large Block size 4.0 MB
307
+ Used Block count 1
308
+ Peak Allocated bytes 1.0 MB
309
+ [ALLOC_CACHEOBJECTS_MAIN]
310
+ Peak usage frame count: [0.5 MB-1.0 MB]: 898 frames
311
+ Requested Block Size 4.0 MB
312
+ Peak Block count 1
313
+ Peak Allocated memory 0.6 MB
314
+ Peak Large allocation bytes 0 B
315
+ [ALLOC_CACHEOBJECTS_THREAD]
316
+ Peak usage frame count: [0.5 MB-1.0 MB]: 897 frames, [4.0 MB-8.0 MB]: 1 frames
317
+ Requested Block Size 4.0 MB
318
+ Peak Block count 2
319
+ Peak Allocated memory 4.5 MB
320
+ Peak Large allocation bytes 0 B
321
+ [ALLOC_TYPETREE] Dual Thread Allocator
322
+ Peak main deferred allocation count 0
323
+ [ALLOC_BUCKET]
324
+ Large Block size 4.0 MB
325
+ Used Block count 1
326
+ Peak Allocated bytes 1.0 MB
327
+ [ALLOC_TYPETREE_MAIN]
328
+ Peak usage frame count: [0-1.0 KB]: 898 frames
329
+ Requested Block Size 2.0 MB
330
+ Peak Block count 1
331
+ Peak Allocated memory 1.0 KB
332
+ Peak Large allocation bytes 0 B
333
+ [ALLOC_TYPETREE_THREAD]
334
+ Peak usage frame count: [1.0 KB-2.0 KB]: 897 frames, [2.0 KB-4.0 KB]: 1 frames
335
+ Requested Block Size 2.0 MB
336
+ Peak Block count 1
337
+ Peak Allocated memory 2.2 KB
338
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,403 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "SoccerTwos.Policy.Entropy.mean": {
5
+ "value": 3.2841238975524902,
6
+ "min": 3.2841238975524902,
7
+ "max": 3.2957353591918945,
8
+ "count": 4
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 84704.125,
12
+ "min": 39097.6171875,
13
+ "max": 105463.53125,
14
+ "count": 4
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 715.0,
18
+ "min": 594.3,
19
+ "max": 774.5714285714286,
20
+ "count": 4
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 20020.0,
24
+ "min": 17404.0,
25
+ "max": 23772.0,
26
+ "count": 4
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1202.393121297402,
30
+ "min": 1200.6170397970752,
31
+ "max": 1202.8440589090824,
32
+ "count": 4
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 12023.931212974021,
36
+ "min": 4811.3762356363295,
37
+ "max": 14407.404477564902,
38
+ "count": 4
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 39588.0,
42
+ "min": 9906.0,
43
+ "max": 39588.0,
44
+ "count": 4
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 39588.0,
48
+ "min": 9906.0,
49
+ "max": 39588.0,
50
+ "count": 4
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": 0.084320068359375,
54
+ "min": 0.0808270052075386,
55
+ "max": 0.09010187536478043,
56
+ "count": 4
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": 1.18048095703125,
60
+ "min": 1.0507510900497437,
61
+ "max": 1.6218231916427612,
62
+ "count": 4
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": 0.08006962388753891,
66
+ "min": 0.07616598159074783,
67
+ "max": 0.09002643078565598,
68
+ "count": 4
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": 1.1209747791290283,
72
+ "min": 0.9901577234268188,
73
+ "max": 1.6204432249069214,
74
+ "count": 4
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 4
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 4
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": -0.11011428918157305,
90
+ "min": -0.11011428918157305,
91
+ "max": 0.2417538441144503,
92
+ "count": 4
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": -1.5416000485420227,
96
+ "min": -1.5416000485420227,
97
+ "max": 3.142799973487854,
98
+ "count": 4
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": -0.11011428918157305,
102
+ "min": -0.11011428918157305,
103
+ "max": 0.2417538441144503,
104
+ "count": 4
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": -1.5416000485420227,
108
+ "min": -1.5416000485420227,
109
+ "max": 3.142799973487854,
110
+ "count": 4
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 4
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 4
123
+ },
124
+ "SoccerTwos.Losses.PolicyLoss.mean": {
125
+ "value": 0.014625760088286673,
126
+ "min": 0.014625760088286673,
127
+ "max": 0.014625760088286673,
128
+ "count": 1
129
+ },
130
+ "SoccerTwos.Losses.PolicyLoss.sum": {
131
+ "value": 0.014625760088286673,
132
+ "min": 0.014625760088286673,
133
+ "max": 0.014625760088286673,
134
+ "count": 1
135
+ },
136
+ "SoccerTwos.Losses.ValueLoss.mean": {
137
+ "value": 0.0066176157755156355,
138
+ "min": 0.0066176157755156355,
139
+ "max": 0.0066176157755156355,
140
+ "count": 1
141
+ },
142
+ "SoccerTwos.Losses.ValueLoss.sum": {
143
+ "value": 0.0066176157755156355,
144
+ "min": 0.0066176157755156355,
145
+ "max": 0.0066176157755156355,
146
+ "count": 1
147
+ },
148
+ "SoccerTwos.Losses.BaselineLoss.mean": {
149
+ "value": 0.006111458611364166,
150
+ "min": 0.006111458611364166,
151
+ "max": 0.006111458611364166,
152
+ "count": 1
153
+ },
154
+ "SoccerTwos.Losses.BaselineLoss.sum": {
155
+ "value": 0.006111458611364166,
156
+ "min": 0.006111458611364166,
157
+ "max": 0.006111458611364166,
158
+ "count": 1
159
+ },
160
+ "SoccerTwos.Policy.LearningRate.mean": {
161
+ "value": 0.0003,
162
+ "min": 0.0003,
163
+ "max": 0.0003,
164
+ "count": 1
165
+ },
166
+ "SoccerTwos.Policy.LearningRate.sum": {
167
+ "value": 0.0003,
168
+ "min": 0.0003,
169
+ "max": 0.0003,
170
+ "count": 1
171
+ },
172
+ "SoccerTwos.Policy.Epsilon.mean": {
173
+ "value": 0.20000000000000007,
174
+ "min": 0.20000000000000007,
175
+ "max": 0.20000000000000007,
176
+ "count": 1
177
+ },
178
+ "SoccerTwos.Policy.Epsilon.sum": {
179
+ "value": 0.20000000000000007,
180
+ "min": 0.20000000000000007,
181
+ "max": 0.20000000000000007,
182
+ "count": 1
183
+ },
184
+ "SoccerTwos.Policy.Beta.mean": {
185
+ "value": 0.005000000000000001,
186
+ "min": 0.005000000000000001,
187
+ "max": 0.005000000000000001,
188
+ "count": 1
189
+ },
190
+ "SoccerTwos.Policy.Beta.sum": {
191
+ "value": 0.005000000000000001,
192
+ "min": 0.005000000000000001,
193
+ "max": 0.005000000000000001,
194
+ "count": 1
195
+ }
196
+ },
197
+ "metadata": {
198
+ "timer_format_version": "0.1.0",
199
+ "start_time_seconds": "1721743360",
200
+ "python_version": "3.10.12 (main, Jul 5 2023, 18:54:27) [GCC 11.2.0]",
201
+ "command_line_arguments": "/home/thopalomares/miniconda3/envs/rl/bin/mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos/SoccerTwos.app --run-id=SoccerTwos --no-graphics --force",
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.1+cu121",
206
+ "numpy_version": "1.23.5",
207
+ "end_time_seconds": "1721743614"
208
+ },
209
+ "total": 253.17795013400018,
210
+ "count": 1,
211
+ "self": 0.01201935200015214,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.015367697000101543,
215
+ "count": 1,
216
+ "self": 0.015367697000101543
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 253.15056308499993,
220
+ "count": 1,
221
+ "self": 0.11234658499756733,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 1.5845080609999513,
225
+ "count": 1,
226
+ "self": 1.5845080609999513
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 251.10908360900248,
230
+ "count": 3011,
231
+ "self": 0.12692364399936196,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 168.04880293299698,
235
+ "count": 3011,
236
+ "self": 150.43118493600537,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 17.54256649900094,
240
+ "count": 3011,
241
+ "self": 0.7796117740113004,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 16.76295472498964,
245
+ "count": 5984,
246
+ "self": 16.76295472498964
247
+ }
248
+ }
249
+ },
250
+ "workers": {
251
+ "total": 0.07505149799067112,
252
+ "count": 3011,
253
+ "self": 0.0,
254
+ "children": {
255
+ "worker_root": {
256
+ "total": 225.25777519000007,
257
+ "count": 3011,
258
+ "is_parallel": true,
259
+ "self": 89.81766361299628,
260
+ "children": {
261
+ "run_training.setup": {
262
+ "total": 0.0,
263
+ "count": 0,
264
+ "is_parallel": true,
265
+ "self": 0.0,
266
+ "children": {
267
+ "steps_from_proto": {
268
+ "total": 0.003097265999940646,
269
+ "count": 2,
270
+ "is_parallel": true,
271
+ "self": 0.0008827609999570996,
272
+ "children": {
273
+ "_process_rank_one_or_two_observation": {
274
+ "total": 0.0022145049999835464,
275
+ "count": 8,
276
+ "is_parallel": true,
277
+ "self": 0.0022145049999835464
278
+ }
279
+ }
280
+ },
281
+ "UnityEnvironment.step": {
282
+ "total": 0.052691164999941975,
283
+ "count": 1,
284
+ "is_parallel": true,
285
+ "self": 0.0008246209999924758,
286
+ "children": {
287
+ "UnityEnvironment._generate_step_input": {
288
+ "total": 0.0005216829999881156,
289
+ "count": 1,
290
+ "is_parallel": true,
291
+ "self": 0.0005216829999881156
292
+ },
293
+ "communicator.exchange": {
294
+ "total": 0.048692567999978564,
295
+ "count": 1,
296
+ "is_parallel": true,
297
+ "self": 0.048692567999978564
298
+ },
299
+ "steps_from_proto": {
300
+ "total": 0.0026522929999828193,
301
+ "count": 2,
302
+ "is_parallel": true,
303
+ "self": 0.0005639009998503752,
304
+ "children": {
305
+ "_process_rank_one_or_two_observation": {
306
+ "total": 0.002088392000132444,
307
+ "count": 8,
308
+ "is_parallel": true,
309
+ "self": 0.002088392000132444
310
+ }
311
+ }
312
+ }
313
+ }
314
+ }
315
+ }
316
+ },
317
+ "UnityEnvironment.step": {
318
+ "total": 135.4401115770038,
319
+ "count": 3010,
320
+ "is_parallel": true,
321
+ "self": 2.988635597010898,
322
+ "children": {
323
+ "UnityEnvironment._generate_step_input": {
324
+ "total": 3.023054466004851,
325
+ "count": 3010,
326
+ "is_parallel": true,
327
+ "self": 3.023054466004851
328
+ },
329
+ "communicator.exchange": {
330
+ "total": 120.96275903098967,
331
+ "count": 3010,
332
+ "is_parallel": true,
333
+ "self": 120.96275903098967
334
+ },
335
+ "steps_from_proto": {
336
+ "total": 8.465662482998368,
337
+ "count": 6020,
338
+ "is_parallel": true,
339
+ "self": 1.821456657001363,
340
+ "children": {
341
+ "_process_rank_one_or_two_observation": {
342
+ "total": 6.644205825997005,
343
+ "count": 24080,
344
+ "is_parallel": true,
345
+ "self": 6.644205825997005
346
+ }
347
+ }
348
+ }
349
+ }
350
+ }
351
+ }
352
+ }
353
+ }
354
+ }
355
+ }
356
+ },
357
+ "trainer_advance": {
358
+ "total": 82.93335703200614,
359
+ "count": 3011,
360
+ "self": 0.9061286740131891,
361
+ "children": {
362
+ "process_trajectory": {
363
+ "total": 11.145806544992865,
364
+ "count": 3011,
365
+ "self": 11.145806544992865
366
+ },
367
+ "_update_policy": {
368
+ "total": 70.88142181300009,
369
+ "count": 2,
370
+ "self": 6.314715992998117,
371
+ "children": {
372
+ "TorchPOCAOptimizer.update": {
373
+ "total": 64.56670582000197,
374
+ "count": 49,
375
+ "self": 64.56670582000197
376
+ }
377
+ }
378
+ }
379
+ }
380
+ }
381
+ }
382
+ },
383
+ "trainer_threads": {
384
+ "total": 1.8739999632089166e-06,
385
+ "count": 1,
386
+ "self": 1.8739999632089166e-06
387
+ },
388
+ "TrainerController._save_models": {
389
+ "total": 0.3446229559999665,
390
+ "count": 1,
391
+ "self": 0.009960272999933295,
392
+ "children": {
393
+ "RLTrainer._checkpoint": {
394
+ "total": 0.3346626830000332,
395
+ "count": 1,
396
+ "self": 0.3346626830000332
397
+ }
398
+ }
399
+ }
400
+ }
401
+ }
402
+ }
403
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1201.9235520535651,
4
+ "checkpoints": [
5
+ {
6
+ "steps": 41504,
7
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-41504.onnx",
8
+ "reward": null,
9
+ "creation_time": 1721743614.041071,
10
+ "auxillary_file_paths": [
11
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-41504.pt"
12
+ ]
13
+ }
14
+ ],
15
+ "final_checkpoint": {
16
+ "steps": 41504,
17
+ "file_path": "results/SoccerTwos/SoccerTwos.onnx",
18
+ "reward": null,
19
+ "creation_time": 1721743614.041071,
20
+ "auxillary_file_paths": [
21
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-41504.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.1+cu121"
29
+ }
30
+ }