debisoft commited on
Commit
cff388a
·
verified ·
1 Parent(s): 8ba432f

First Push

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ SoccerTwos/SoccerTwos-10016.onnx.data filter=lfs diff=lfs merge=lfs -text
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: debisoft/poca-SoccerTwos-2
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:b8942afdb9d583cb1be6c32362e00dbfea77ea42e3edeffcb73f5f7f02491fbb
3
+ size 58065
SoccerTwos/SoccerTwos-10016.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b8942afdb9d583cb1be6c32362e00dbfea77ea42e3edeffcb73f5f7f02491fbb
3
+ size 58065
SoccerTwos/SoccerTwos-10016.onnx.data ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc90ca85c06a65e2935ca14cc0e554d79596f26f6ed222f9f59a49725c550f29
3
+ size 1757184
SoccerTwos/SoccerTwos-10016.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7ed54f4b84bd0d59dfde7cbf20ea740af3e6ce01e85db4585ded302a1cb5b10d
3
+ size 9480369
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:efc200ad152e2fc995f252af4669572426d56f5215467b620f0e946119308464
3
+ size 9480117
SoccerTwos/events.out.tfevents.1760874249.ada-B550-AORUS-ELITE.51658.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5c790b01f96ec1be110ede195cf23e044b7e14b5e469d9cd65a027c55904bb17
3
+ size 11310
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": 2000, "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/linux/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": 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: 10000
41
+ time_horizon: 1000
42
+ summary_freq: 10000
43
+ threaded: false
44
+ self_play:
45
+ save_steps: 50000
46
+ team_change: 2000
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/linux/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: 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,334 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/home/ada/work/ai/ml-agents/training-envs-executables/linux/SoccerTwos/SoccerTwos_Data/Managed'
2
+ Mono config path = '/home/ada/work/ai/ml-agents/training-envs-executables/linux/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/ada/work/ai/ml-agents/training-envs-executables/linux/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
+ Begin MonoManager ReloadAssembly
14
+ - Completed reload, in 0.058 seconds
15
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
16
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
17
+ ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
18
+ WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
19
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
20
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
21
+ ERROR: Shader Standard (Specular setup) shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
22
+ WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
23
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
24
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
25
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
26
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
27
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
28
+ ERROR: Shader Autodesk Interactive shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
29
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
30
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
31
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
32
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
33
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
34
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
35
+ ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
36
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
37
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
38
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
39
+ UnloadTime: 0.537919 ms
40
+ Registered Communicator in Agent.
41
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
42
+ requesting resize 84 x 84
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
+ Setting up 8 worker threads for Enlighten.
54
+ Memory Statistics:
55
+ [ALLOC_TEMP_TLS] TLS Allocator
56
+ StackAllocators :
57
+ [ALLOC_TEMP_MAIN]
58
+ Peak usage frame count: [8.0 KB-16.0 KB]: 629 frames, [2.0 MB-4.0 MB]: 1 frames
59
+ Initial Block Size 4.0 MB
60
+ Current Block Size 4.0 MB
61
+ Peak Allocated Bytes 2.1 MB
62
+ Overflow Count 0
63
+ [ALLOC_TEMP_Loading.AsyncRead]
64
+ Initial Block Size 64.0 KB
65
+ Current Block Size 64.0 KB
66
+ Peak Allocated Bytes 128 B
67
+ Overflow Count 0
68
+ [ALLOC_TEMP_Loading.PreloadManager]
69
+ Initial Block Size 256.0 KB
70
+ Current Block Size 300.0 KB
71
+ Peak Allocated Bytes 249.6 KB
72
+ Overflow Count 4
73
+ [ALLOC_TEMP_Background Job.Worker 8]
74
+ Initial Block Size 32.0 KB
75
+ Current Block Size 32.0 KB
76
+ Peak Allocated Bytes 0 B
77
+ Overflow Count 0
78
+ [ALLOC_TEMP_Job.Worker 6]
79
+ Initial Block Size 256.0 KB
80
+ Current Block Size 256.0 KB
81
+ Peak Allocated Bytes 0.7 KB
82
+ Overflow Count 0
83
+ [ALLOC_TEMP_Job.Worker 0]
84
+ Initial Block Size 256.0 KB
85
+ Current Block Size 256.0 KB
86
+ Peak Allocated Bytes 0 B
87
+ Overflow Count 0
88
+ [ALLOC_TEMP_Background Job.Worker 10]
89
+ Initial Block Size 32.0 KB
90
+ Current Block Size 32.0 KB
91
+ Peak Allocated Bytes 0 B
92
+ Overflow Count 0
93
+ [ALLOC_TEMP_Background Job.Worker 9]
94
+ Initial Block Size 32.0 KB
95
+ Current Block Size 32.0 KB
96
+ Peak Allocated Bytes 0 B
97
+ Overflow Count 0
98
+ [ALLOC_TEMP_Job.Worker 5]
99
+ Initial Block Size 256.0 KB
100
+ Current Block Size 256.0 KB
101
+ Peak Allocated Bytes 0 B
102
+ Overflow Count 0
103
+ [ALLOC_TEMP_Background Job.Worker 14]
104
+ Initial Block Size 32.0 KB
105
+ Current Block Size 32.0 KB
106
+ Peak Allocated Bytes 0 B
107
+ Overflow Count 0
108
+ [ALLOC_TEMP_Background Job.Worker 6]
109
+ Initial Block Size 32.0 KB
110
+ Current Block Size 32.0 KB
111
+ Peak Allocated Bytes 0 B
112
+ Overflow Count 0
113
+ [ALLOC_TEMP_Job.Worker 4]
114
+ Initial Block Size 256.0 KB
115
+ Current Block Size 256.0 KB
116
+ Peak Allocated Bytes 0 B
117
+ Overflow Count 0
118
+ [ALLOC_TEMP_Job.Worker 14]
119
+ Initial Block Size 256.0 KB
120
+ Current Block Size 256.0 KB
121
+ Peak Allocated Bytes 0 B
122
+ Overflow Count 0
123
+ [ALLOC_TEMP_Job.Worker 3]
124
+ Initial Block Size 256.0 KB
125
+ Current Block Size 256.0 KB
126
+ Peak Allocated Bytes 0 B
127
+ Overflow Count 0
128
+ [ALLOC_TEMP_Job.Worker 13]
129
+ Initial Block Size 256.0 KB
130
+ Current Block Size 256.0 KB
131
+ Peak Allocated Bytes 0 B
132
+ Overflow Count 0
133
+ [ALLOC_TEMP_Background Job.Worker 12]
134
+ Initial Block Size 32.0 KB
135
+ Current Block Size 32.0 KB
136
+ Peak Allocated Bytes 0 B
137
+ Overflow Count 0
138
+ [ALLOC_TEMP_EnlightenWorker] x 8
139
+ Initial Block Size 64.0 KB
140
+ Current Block Size 64.0 KB
141
+ Peak Allocated Bytes 0 B
142
+ Overflow Count 0
143
+ [ALLOC_TEMP_Background Job.Worker 15]
144
+ Initial Block Size 32.0 KB
145
+ Current Block Size 32.0 KB
146
+ Peak Allocated Bytes 0 B
147
+ Overflow Count 0
148
+ [ALLOC_TEMP_Background Job.Worker 1]
149
+ Initial Block Size 32.0 KB
150
+ Current Block Size 32.0 KB
151
+ Peak Allocated Bytes 0 B
152
+ Overflow Count 0
153
+ [ALLOC_TEMP_Background Job.Worker 2]
154
+ Initial Block Size 32.0 KB
155
+ Current Block Size 32.0 KB
156
+ Peak Allocated Bytes 0 B
157
+ Overflow Count 0
158
+ [ALLOC_TEMP_Background Job.Worker 7]
159
+ Initial Block Size 32.0 KB
160
+ Current Block Size 32.0 KB
161
+ Peak Allocated Bytes 0 B
162
+ Overflow Count 0
163
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 15
164
+ Initial Block Size 64.0 KB
165
+ Current Block Size 64.0 KB
166
+ Peak Allocated Bytes 0 B
167
+ Overflow Count 0
168
+ [ALLOC_TEMP_Background Job.Worker 5]
169
+ Initial Block Size 32.0 KB
170
+ Current Block Size 32.0 KB
171
+ Peak Allocated Bytes 0 B
172
+ Overflow Count 0
173
+ [ALLOC_TEMP_Job.Worker 9]
174
+ Initial Block Size 256.0 KB
175
+ Current Block Size 256.0 KB
176
+ Peak Allocated Bytes 0 B
177
+ Overflow Count 0
178
+ [ALLOC_TEMP_Background Job.Worker 13]
179
+ Initial Block Size 32.0 KB
180
+ Current Block Size 32.0 KB
181
+ Peak Allocated Bytes 0 B
182
+ Overflow Count 0
183
+ [ALLOC_TEMP_Job.Worker 8]
184
+ Initial Block Size 256.0 KB
185
+ Current Block Size 256.0 KB
186
+ Peak Allocated Bytes 0 B
187
+ Overflow Count 0
188
+ [ALLOC_TEMP_Job.Worker 7]
189
+ Initial Block Size 256.0 KB
190
+ Current Block Size 256.0 KB
191
+ Peak Allocated Bytes 0 B
192
+ Overflow Count 0
193
+ [ALLOC_TEMP_Job.Worker 1]
194
+ Initial Block Size 256.0 KB
195
+ Current Block Size 256.0 KB
196
+ Peak Allocated Bytes 0 B
197
+ Overflow Count 0
198
+ [ALLOC_TEMP_Job.Worker 2]
199
+ Initial Block Size 256.0 KB
200
+ Current Block Size 256.0 KB
201
+ Peak Allocated Bytes 0 B
202
+ Overflow Count 0
203
+ [ALLOC_TEMP_Background Job.Worker 3]
204
+ Initial Block Size 32.0 KB
205
+ Current Block Size 32.0 KB
206
+ Peak Allocated Bytes 0 B
207
+ Overflow Count 0
208
+ [ALLOC_TEMP_Background Job.Worker 11]
209
+ Initial Block Size 32.0 KB
210
+ Current Block Size 32.0 KB
211
+ Peak Allocated Bytes 0 B
212
+ Overflow Count 0
213
+ [ALLOC_TEMP_Job.Worker 10]
214
+ Initial Block Size 256.0 KB
215
+ Current Block Size 256.0 KB
216
+ Peak Allocated Bytes 0 B
217
+ Overflow Count 0
218
+ [ALLOC_TEMP_Background Job.Worker 0]
219
+ Initial Block Size 32.0 KB
220
+ Current Block Size 32.0 KB
221
+ Peak Allocated Bytes 0 B
222
+ Overflow Count 0
223
+ [ALLOC_TEMP_Job.Worker 11]
224
+ Initial Block Size 256.0 KB
225
+ Current Block Size 256.0 KB
226
+ Peak Allocated Bytes 0 B
227
+ Overflow Count 0
228
+ [ALLOC_TEMP_Job.Worker 12]
229
+ Initial Block Size 256.0 KB
230
+ Current Block Size 256.0 KB
231
+ Peak Allocated Bytes 0 B
232
+ Overflow Count 0
233
+ [ALLOC_TEMP_Background Job.Worker 4]
234
+ Initial Block Size 32.0 KB
235
+ Current Block Size 32.0 KB
236
+ Peak Allocated Bytes 0 B
237
+ Overflow Count 0
238
+ [ALLOC_TEMP_BatchDeleteObjects]
239
+ Initial Block Size 64.0 KB
240
+ Current Block Size 64.0 KB
241
+ Peak Allocated Bytes 0 B
242
+ Overflow Count 0
243
+ [ALLOC_DEFAULT] Dual Thread Allocator
244
+ Peak main deferred allocation count 4
245
+ [ALLOC_BUCKET]
246
+ Large Block size 4.0 MB
247
+ Used Block count 1
248
+ Peak Allocated bytes 1.0 MB
249
+ [ALLOC_DEFAULT_MAIN]
250
+ Peak usage frame count: [4.0 MB-8.0 MB]: 630 frames
251
+ Requested Block Size 16.0 MB
252
+ Peak Block count 1
253
+ Peak Allocated memory 4.8 MB
254
+ Peak Large allocation bytes 0 B
255
+ [ALLOC_DEFAULT_THREAD]
256
+ Peak usage frame count: [16.0 MB-32.0 MB]: 630 frames
257
+ Requested Block Size 16.0 MB
258
+ Peak Block count 1
259
+ Peak Allocated memory 17.4 MB
260
+ Peak Large allocation bytes 16.0 MB
261
+ [ALLOC_TEMP_JOB_1_FRAME]
262
+ Initial Block Size 2.0 MB
263
+ Used Block Count 1
264
+ Overflow Count (too large) 0
265
+ Overflow Count (full) 0
266
+ [ALLOC_TEMP_JOB_2_FRAMES]
267
+ Initial Block Size 2.0 MB
268
+ Used Block Count 1
269
+ Overflow Count (too large) 0
270
+ Overflow Count (full) 0
271
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
272
+ Initial Block Size 2.0 MB
273
+ Used Block Count 2
274
+ Overflow Count (too large) 0
275
+ Overflow Count (full) 0
276
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
277
+ Initial Block Size 1.0 MB
278
+ Used Block Count 3
279
+ Overflow Count (too large) 0
280
+ Overflow Count (full) 0
281
+ [ALLOC_GFX] Dual Thread Allocator
282
+ Peak main deferred allocation count 0
283
+ [ALLOC_BUCKET]
284
+ Large Block size 4.0 MB
285
+ Used Block count 1
286
+ Peak Allocated bytes 1.0 MB
287
+ [ALLOC_GFX_MAIN]
288
+ Peak usage frame count: [32.0 KB-64.0 KB]: 629 frames, [64.0 KB-128.0 KB]: 1 frames
289
+ Requested Block Size 16.0 MB
290
+ Peak Block count 1
291
+ Peak Allocated memory 65.6 KB
292
+ Peak Large allocation bytes 0 B
293
+ [ALLOC_GFX_THREAD]
294
+ Peak usage frame count: [128.0 KB-256.0 KB]: 630 frames
295
+ Requested Block Size 16.0 MB
296
+ Peak Block count 1
297
+ Peak Allocated memory 173.5 KB
298
+ Peak Large allocation bytes 0 B
299
+ [ALLOC_CACHEOBJECTS] 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 1.0 MB
305
+ [ALLOC_CACHEOBJECTS_MAIN]
306
+ Peak usage frame count: [0.5 MB-1.0 MB]: 630 frames
307
+ Requested Block Size 4.0 MB
308
+ Peak Block count 1
309
+ Peak Allocated memory 0.6 MB
310
+ Peak Large allocation bytes 0 B
311
+ [ALLOC_CACHEOBJECTS_THREAD]
312
+ Peak usage frame count: [0.5 MB-1.0 MB]: 629 frames, [4.0 MB-8.0 MB]: 1 frames
313
+ Requested Block Size 4.0 MB
314
+ Peak Block count 2
315
+ Peak Allocated memory 4.5 MB
316
+ Peak Large allocation bytes 0 B
317
+ [ALLOC_TYPETREE] Dual Thread Allocator
318
+ Peak main deferred allocation count 0
319
+ [ALLOC_BUCKET]
320
+ Large Block size 4.0 MB
321
+ Used Block count 1
322
+ Peak Allocated bytes 1.0 MB
323
+ [ALLOC_TYPETREE_MAIN]
324
+ Peak usage frame count: [0-1.0 KB]: 630 frames
325
+ Requested Block Size 2.0 MB
326
+ Peak Block count 1
327
+ Peak Allocated memory 1.0 KB
328
+ Peak Large allocation bytes 0 B
329
+ [ALLOC_TYPETREE_THREAD]
330
+ Peak usage frame count: [1.0 KB-2.0 KB]: 629 frames, [2.0 KB-4.0 KB]: 1 frames
331
+ Requested Block Size 2.0 MB
332
+ Peak Block count 1
333
+ Peak Allocated memory 2.2 KB
334
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,333 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "SoccerTwos.Policy.Entropy.mean": {
5
+ "value": 3.295757293701172,
6
+ "min": 3.295757293701172,
7
+ "max": 3.295757293701172,
8
+ "count": 1
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 221369.421875,
12
+ "min": 221369.421875,
13
+ "max": 221369.421875,
14
+ "count": 1
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 249.4,
18
+ "min": 249.4,
19
+ "max": 249.4,
20
+ "count": 1
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 19952.0,
24
+ "min": 19952.0,
25
+ "max": 19952.0,
26
+ "count": 1
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1199.004406894268,
30
+ "min": 1199.004406894268,
31
+ "max": 1199.004406894268,
32
+ "count": 1
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 23980.08813788536,
36
+ "min": 23980.08813788536,
37
+ "max": 23980.08813788536,
38
+ "count": 1
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 9813.0,
42
+ "min": 9813.0,
43
+ "max": 9813.0,
44
+ "count": 1
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 9813.0,
48
+ "min": 9813.0,
49
+ "max": 9813.0,
50
+ "count": 1
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": -0.010731547139585018,
54
+ "min": -0.010731547139585018,
55
+ "max": -0.010731547139585018,
56
+ "count": 1
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": -0.41853034496307373,
60
+ "min": -0.41853034496307373,
61
+ "max": -0.41853034496307373,
62
+ "count": 1
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": -0.010744576342403889,
66
+ "min": -0.010744576342403889,
67
+ "max": -0.010744576342403889,
68
+ "count": 1
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": -0.41903847455978394,
72
+ "min": -0.41903847455978394,
73
+ "max": -0.41903847455978394,
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.23529230784147215,
90
+ "min": -0.23529230784147215,
91
+ "max": -0.23529230784147215,
92
+ "count": 1
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": -9.176400005817413,
96
+ "min": -9.176400005817413,
97
+ "max": -9.176400005817413,
98
+ "count": 1
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": -0.23529230784147215,
102
+ "min": -0.23529230784147215,
103
+ "max": -0.23529230784147215,
104
+ "count": 1
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": -9.176400005817413,
108
+ "min": -9.176400005817413,
109
+ "max": -9.176400005817413,
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": "1760874248",
128
+ "python_version": "3.10.12 (main, Jul 5 2023, 18:54:27) [GCC 11.2.0]",
129
+ "command_line_arguments": "/home/ada/work/ai/venv3.10/bin/mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/linux/SoccerTwos/SoccerTwos.app --run-id=SoccerTwos --no-graphics",
130
+ "mlagents_version": "1.2.0.dev0",
131
+ "mlagents_envs_version": "1.2.0.dev0",
132
+ "communication_protocol_version": "1.5.0",
133
+ "pytorch_version": "2.9.0+cu128",
134
+ "numpy_version": "1.23.5",
135
+ "end_time_seconds": "1760874291"
136
+ },
137
+ "total": 43.055360672999086,
138
+ "count": 1,
139
+ "self": 0.2186221830015711,
140
+ "children": {
141
+ "run_training.setup": {
142
+ "total": 0.021333388998755254,
143
+ "count": 1,
144
+ "self": 0.021333388998755254
145
+ },
146
+ "TrainerController.start_learning": {
147
+ "total": 42.81540510099876,
148
+ "count": 1,
149
+ "self": 0.03260253699045279,
150
+ "children": {
151
+ "TrainerController._reset_env": {
152
+ "total": 1.6119331090048945,
153
+ "count": 4,
154
+ "self": 1.6119331090048945
155
+ },
156
+ "TrainerController.advance": {
157
+ "total": 39.71998075100055,
158
+ "count": 2107,
159
+ "self": 0.027757767969887936,
160
+ "children": {
161
+ "env_step": {
162
+ "total": 38.59416992488332,
163
+ "count": 2107,
164
+ "self": 29.796213985759096,
165
+ "children": {
166
+ "SubprocessEnvManager._take_step": {
167
+ "total": 8.777847717130498,
168
+ "count": 2107,
169
+ "self": 0.146237444208964,
170
+ "children": {
171
+ "TorchPolicy.evaluate": {
172
+ "total": 8.631610272921534,
173
+ "count": 4198,
174
+ "self": 8.631610272921534
175
+ }
176
+ }
177
+ },
178
+ "workers": {
179
+ "total": 0.02010822199372342,
180
+ "count": 2107,
181
+ "self": 0.0,
182
+ "children": {
183
+ "worker_root": {
184
+ "total": 41.26826138103934,
185
+ "count": 2107,
186
+ "is_parallel": true,
187
+ "self": 15.304534903942113,
188
+ "children": {
189
+ "run_training.setup": {
190
+ "total": 0.0,
191
+ "count": 0,
192
+ "is_parallel": true,
193
+ "self": 0.0,
194
+ "children": {
195
+ "steps_from_proto": {
196
+ "total": 0.0019164919976901729,
197
+ "count": 2,
198
+ "is_parallel": true,
199
+ "self": 0.0004464719932002481,
200
+ "children": {
201
+ "_process_rank_one_or_two_observation": {
202
+ "total": 0.0014700200044899248,
203
+ "count": 8,
204
+ "is_parallel": true,
205
+ "self": 0.0014700200044899248
206
+ }
207
+ }
208
+ },
209
+ "UnityEnvironment.step": {
210
+ "total": 0.021256370997434715,
211
+ "count": 1,
212
+ "is_parallel": true,
213
+ "self": 0.0005013580012018792,
214
+ "children": {
215
+ "UnityEnvironment._generate_step_input": {
216
+ "total": 0.0007023219986876938,
217
+ "count": 1,
218
+ "is_parallel": true,
219
+ "self": 0.0007023219986876938
220
+ },
221
+ "communicator.exchange": {
222
+ "total": 0.018736606998572825,
223
+ "count": 1,
224
+ "is_parallel": true,
225
+ "self": 0.018736606998572825
226
+ },
227
+ "steps_from_proto": {
228
+ "total": 0.0013160839989723172,
229
+ "count": 2,
230
+ "is_parallel": true,
231
+ "self": 0.00022901599731994793,
232
+ "children": {
233
+ "_process_rank_one_or_two_observation": {
234
+ "total": 0.0010870680016523693,
235
+ "count": 8,
236
+ "is_parallel": true,
237
+ "self": 0.0010870680016523693
238
+ }
239
+ }
240
+ }
241
+ }
242
+ }
243
+ }
244
+ },
245
+ "UnityEnvironment.step": {
246
+ "total": 25.956288266093907,
247
+ "count": 2106,
248
+ "is_parallel": true,
249
+ "self": 1.6296571279781347,
250
+ "children": {
251
+ "UnityEnvironment._generate_step_input": {
252
+ "total": 1.1093747780687409,
253
+ "count": 2106,
254
+ "is_parallel": true,
255
+ "self": 1.1093747780687409
256
+ },
257
+ "communicator.exchange": {
258
+ "total": 18.887351638994005,
259
+ "count": 2106,
260
+ "is_parallel": true,
261
+ "self": 18.887351638994005
262
+ },
263
+ "steps_from_proto": {
264
+ "total": 4.329904721053026,
265
+ "count": 4212,
266
+ "is_parallel": true,
267
+ "self": 0.6937027800449869,
268
+ "children": {
269
+ "_process_rank_one_or_two_observation": {
270
+ "total": 3.6362019410080393,
271
+ "count": 16848,
272
+ "is_parallel": true,
273
+ "self": 3.6362019410080393
274
+ }
275
+ }
276
+ }
277
+ }
278
+ },
279
+ "steps_from_proto": {
280
+ "total": 0.007438211003318429,
281
+ "count": 6,
282
+ "is_parallel": true,
283
+ "self": 0.0012321739923208952,
284
+ "children": {
285
+ "_process_rank_one_or_two_observation": {
286
+ "total": 0.006206037010997534,
287
+ "count": 24,
288
+ "is_parallel": true,
289
+ "self": 0.006206037010997534
290
+ }
291
+ }
292
+ }
293
+ }
294
+ }
295
+ }
296
+ }
297
+ }
298
+ },
299
+ "trainer_advance": {
300
+ "total": 1.098053058147343,
301
+ "count": 2107,
302
+ "self": 0.13659222817295813,
303
+ "children": {
304
+ "process_trajectory": {
305
+ "total": 0.961460829974385,
306
+ "count": 2107,
307
+ "self": 0.961460829974385
308
+ }
309
+ }
310
+ }
311
+ }
312
+ },
313
+ "trainer_threads": {
314
+ "total": 4.81002643937245e-07,
315
+ "count": 1,
316
+ "self": 4.81002643937245e-07
317
+ },
318
+ "TrainerController._save_models": {
319
+ "total": 1.45088822300022,
320
+ "count": 1,
321
+ "self": 0.0002356000004510861,
322
+ "children": {
323
+ "RLTrainer._checkpoint": {
324
+ "total": 1.450652622999769,
325
+ "count": 1,
326
+ "self": 1.450652622999769
327
+ }
328
+ }
329
+ }
330
+ }
331
+ }
332
+ }
333
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1196.0459267528854,
4
+ "checkpoints": [
5
+ {
6
+ "steps": 10016,
7
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-10016.onnx",
8
+ "reward": 0.0,
9
+ "creation_time": 1760874291.5465326,
10
+ "auxillary_file_paths": [
11
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-10016.pt"
12
+ ]
13
+ }
14
+ ],
15
+ "final_checkpoint": {
16
+ "steps": 10016,
17
+ "file_path": "results/SoccerTwos/SoccerTwos.onnx",
18
+ "reward": 0.0,
19
+ "creation_time": 1760874291.5465326,
20
+ "auxillary_file_paths": [
21
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-10016.pt"
22
+ ]
23
+ }
24
+ },
25
+ "metadata": {
26
+ "stats_format_version": "0.3.0",
27
+ "mlagents_version": "1.2.0.dev0",
28
+ "torch_version": "2.9.0+cu128"
29
+ }
30
+ }