csabazs commited on
Commit
8491af4
·
verified ·
1 Parent(s): 0dd3e28

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: csabazs/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:a0e143a08ff1bd894b18035ba451190339cdc8c88c64c2574985a19cd354d580
3
+ size 1766876
SoccerTwos/SoccerTwos-14730.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a0e143a08ff1bd894b18035ba451190339cdc8c88c64c2574985a19cd354d580
3
+ size 1766876
SoccerTwos/SoccerTwos-14730.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed1f41a5b32f55f706cfcccbb9bef3417a989eee7a01841e15d872b60fb60726
3
+ size 9479954
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c239776c07d1c147899796bf9171e76c1521768171b5272ff7cd6afbaf4518f7
3
+ size 9479714
SoccerTwos/events.out.tfevents.1735411798.kaneUbuntu.78159.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e2bd77e068ba0ecd1c5b849a734faaa4eed41bd4a553cfdb3c98f0931f7a8f77
3
+ size 6678
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": 5000, "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.x86_64", "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: 5000
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.x86_64
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,411 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/home/kane/projects/rl_course/ml-agents/training-envs-executables/SoccerTwos_Data/Managed'
2
+ Mono config path = '/home/kane/projects/rl_course/ml-agents/training-envs-executables/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/kane/projects/rl_course/ml-agents/training-envs-executables/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.031 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.346255 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
+ Setting up 16 worker threads for Enlighten.
51
+ Memory Statistics:
52
+ [ALLOC_TEMP_TLS] TLS Allocator
53
+ StackAllocators :
54
+ [ALLOC_TEMP_MAIN]
55
+ Peak usage frame count: [8.0 KB-16.0 KB]: 299 frames, [2.0 MB-4.0 MB]: 1 frames
56
+ Initial Block Size 4.0 MB
57
+ Current Block Size 4.0 MB
58
+ Peak Allocated Bytes 2.1 MB
59
+ Overflow Count 0
60
+ [ALLOC_TEMP_Job.Worker 18]
61
+ Initial Block Size 256.0 KB
62
+ Current Block Size 256.0 KB
63
+ Peak Allocated Bytes 0 B
64
+ Overflow Count 0
65
+ [ALLOC_TEMP_Loading.PreloadManager]
66
+ Initial Block Size 256.0 KB
67
+ Current Block Size 300.0 KB
68
+ Peak Allocated Bytes 249.6 KB
69
+ Overflow Count 4
70
+ [ALLOC_TEMP_Background Job.Worker 8]
71
+ Initial Block Size 32.0 KB
72
+ Current Block Size 32.0 KB
73
+ Peak Allocated Bytes 0 B
74
+ Overflow Count 0
75
+ [ALLOC_TEMP_Background Job.Worker 10]
76
+ Initial Block Size 32.0 KB
77
+ Current Block Size 32.0 KB
78
+ Peak Allocated Bytes 0 B
79
+ Overflow Count 0
80
+ [ALLOC_TEMP_Job.Worker 16]
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_Background Job.Worker 6]
86
+ Initial Block Size 32.0 KB
87
+ Current Block Size 32.0 KB
88
+ Peak Allocated Bytes 0 B
89
+ Overflow Count 0
90
+ [ALLOC_TEMP_Job.Worker 4]
91
+ Initial Block Size 256.0 KB
92
+ Current Block Size 256.0 KB
93
+ Peak Allocated Bytes 0 B
94
+ Overflow Count 0
95
+ [ALLOC_TEMP_Job.Worker 27]
96
+ Initial Block Size 256.0 KB
97
+ Current Block Size 256.0 KB
98
+ Peak Allocated Bytes 0 B
99
+ Overflow Count 0
100
+ [ALLOC_TEMP_Job.Worker 14]
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_Job.Worker 17]
106
+ Initial Block Size 256.0 KB
107
+ Current Block Size 256.0 KB
108
+ Peak Allocated Bytes 0 B
109
+ Overflow Count 0
110
+ [ALLOC_TEMP_Job.Worker 3]
111
+ Initial Block Size 256.0 KB
112
+ Current Block Size 256.0 KB
113
+ Peak Allocated Bytes 0 B
114
+ Overflow Count 0
115
+ [ALLOC_TEMP_Background Job.Worker 12]
116
+ Initial Block Size 32.0 KB
117
+ Current Block Size 32.0 KB
118
+ Peak Allocated Bytes 0 B
119
+ Overflow Count 0
120
+ [ALLOC_TEMP_Background Job.Worker 1]
121
+ Initial Block Size 32.0 KB
122
+ Current Block Size 32.0 KB
123
+ Peak Allocated Bytes 0 B
124
+ Overflow Count 0
125
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 31
126
+ Initial Block Size 64.0 KB
127
+ Current Block Size 64.0 KB
128
+ Peak Allocated Bytes 0 B
129
+ Overflow Count 0
130
+ [ALLOC_TEMP_Background Job.Worker 5]
131
+ Initial Block Size 32.0 KB
132
+ Current Block Size 32.0 KB
133
+ Peak Allocated Bytes 0 B
134
+ Overflow Count 0
135
+ [ALLOC_TEMP_Background Job.Worker 13]
136
+ Initial Block Size 32.0 KB
137
+ Current Block Size 32.0 KB
138
+ Peak Allocated Bytes 0 B
139
+ Overflow Count 0
140
+ [ALLOC_TEMP_Background Job.Worker 11]
141
+ Initial Block Size 32.0 KB
142
+ Current Block Size 32.0 KB
143
+ Peak Allocated Bytes 0 B
144
+ Overflow Count 0
145
+ [ALLOC_TEMP_Job.Worker 2]
146
+ Initial Block Size 256.0 KB
147
+ Current Block Size 256.0 KB
148
+ Peak Allocated Bytes 0 B
149
+ Overflow Count 0
150
+ [ALLOC_TEMP_Background Job.Worker 3]
151
+ Initial Block Size 32.0 KB
152
+ Current Block Size 32.0 KB
153
+ Peak Allocated Bytes 0 B
154
+ Overflow Count 0
155
+ [ALLOC_TEMP_Background Job.Worker 0]
156
+ Initial Block Size 32.0 KB
157
+ Current Block Size 32.0 KB
158
+ Peak Allocated Bytes 0 B
159
+ Overflow Count 0
160
+ [ALLOC_TEMP_Job.Worker 20]
161
+ Initial Block Size 256.0 KB
162
+ Current Block Size 256.0 KB
163
+ Peak Allocated Bytes 0 B
164
+ Overflow Count 0
165
+ [ALLOC_TEMP_Job.Worker 11]
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 4]
171
+ Initial Block Size 32.0 KB
172
+ Current Block Size 32.0 KB
173
+ Peak Allocated Bytes 0 B
174
+ Overflow Count 0
175
+ [ALLOC_TEMP_BatchDeleteObjects]
176
+ Initial Block Size 64.0 KB
177
+ Current Block Size 64.0 KB
178
+ Peak Allocated Bytes 0 B
179
+ Overflow Count 0
180
+ [ALLOC_TEMP_Job.Worker 30]
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 6]
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 0]
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_Job.Worker 26]
196
+ Initial Block Size 256.0 KB
197
+ Current Block Size 256.0 KB
198
+ Peak Allocated Bytes 0 B
199
+ Overflow Count 0
200
+ [ALLOC_TEMP_Job.Worker 21]
201
+ Initial Block Size 256.0 KB
202
+ Current Block Size 256.0 KB
203
+ Peak Allocated Bytes 0 B
204
+ Overflow Count 0
205
+ [ALLOC_TEMP_Job.Worker 5]
206
+ Initial Block Size 256.0 KB
207
+ Current Block Size 256.0 KB
208
+ Peak Allocated Bytes 0 B
209
+ Overflow Count 0
210
+ [ALLOC_TEMP_Background Job.Worker 14]
211
+ Initial Block Size 32.0 KB
212
+ Current Block Size 32.0 KB
213
+ Peak Allocated Bytes 0 B
214
+ Overflow Count 0
215
+ [ALLOC_TEMP_Job.Worker 25]
216
+ Initial Block Size 256.0 KB
217
+ Current Block Size 256.0 KB
218
+ Peak Allocated Bytes 0 B
219
+ Overflow Count 0
220
+ [ALLOC_TEMP_Background Job.Worker 9]
221
+ Initial Block Size 32.0 KB
222
+ Current Block Size 32.0 KB
223
+ Peak Allocated Bytes 0 B
224
+ Overflow Count 0
225
+ [ALLOC_TEMP_Job.Worker 29]
226
+ Initial Block Size 256.0 KB
227
+ Current Block Size 256.0 KB
228
+ Peak Allocated Bytes 0 B
229
+ Overflow Count 0
230
+ [ALLOC_TEMP_Job.Worker 13]
231
+ Initial Block Size 256.0 KB
232
+ Current Block Size 256.0 KB
233
+ Peak Allocated Bytes 0 B
234
+ Overflow Count 0
235
+ [ALLOC_TEMP_EnlightenWorker] x 16
236
+ Initial Block Size 64.0 KB
237
+ Current Block Size 64.0 KB
238
+ Peak Allocated Bytes 0 B
239
+ Overflow Count 0
240
+ [ALLOC_TEMP_Background Job.Worker 15]
241
+ Initial Block Size 32.0 KB
242
+ Current Block Size 32.0 KB
243
+ Peak Allocated Bytes 0 B
244
+ Overflow Count 0
245
+ [ALLOC_TEMP_Background Job.Worker 2]
246
+ Initial Block Size 32.0 KB
247
+ Current Block Size 32.0 KB
248
+ Peak Allocated Bytes 0 B
249
+ Overflow Count 0
250
+ [ALLOC_TEMP_Job.Worker 28]
251
+ Initial Block Size 256.0 KB
252
+ Current Block Size 256.0 KB
253
+ Peak Allocated Bytes 0 B
254
+ Overflow Count 0
255
+ [ALLOC_TEMP_Job.Worker 22]
256
+ Initial Block Size 256.0 KB
257
+ Current Block Size 256.0 KB
258
+ Peak Allocated Bytes 0 B
259
+ Overflow Count 0
260
+ [ALLOC_TEMP_Background Job.Worker 7]
261
+ Initial Block Size 32.0 KB
262
+ Current Block Size 32.0 KB
263
+ Peak Allocated Bytes 0 B
264
+ Overflow Count 0
265
+ [ALLOC_TEMP_Job.Worker 9]
266
+ Initial Block Size 256.0 KB
267
+ Current Block Size 256.0 KB
268
+ Peak Allocated Bytes 0 B
269
+ Overflow Count 0
270
+ [ALLOC_TEMP_Job.Worker 8]
271
+ Initial Block Size 256.0 KB
272
+ Current Block Size 256.0 KB
273
+ Peak Allocated Bytes 0 B
274
+ Overflow Count 0
275
+ [ALLOC_TEMP_Job.Worker 7]
276
+ Initial Block Size 256.0 KB
277
+ Current Block Size 256.0 KB
278
+ Peak Allocated Bytes 0 B
279
+ Overflow Count 0
280
+ [ALLOC_TEMP_Job.Worker 23]
281
+ Initial Block Size 256.0 KB
282
+ Current Block Size 256.0 KB
283
+ Peak Allocated Bytes 0 B
284
+ Overflow Count 0
285
+ [ALLOC_TEMP_Job.Worker 1]
286
+ Initial Block Size 256.0 KB
287
+ Current Block Size 256.0 KB
288
+ Peak Allocated Bytes 0.7 KB
289
+ Overflow Count 0
290
+ [ALLOC_TEMP_Job.Worker 10]
291
+ Initial Block Size 256.0 KB
292
+ Current Block Size 256.0 KB
293
+ Peak Allocated Bytes 0 B
294
+ Overflow Count 0
295
+ [ALLOC_TEMP_Job.Worker 24]
296
+ Initial Block Size 256.0 KB
297
+ Current Block Size 256.0 KB
298
+ Peak Allocated Bytes 0 B
299
+ Overflow Count 0
300
+ [ALLOC_TEMP_Job.Worker 15]
301
+ Initial Block Size 256.0 KB
302
+ Current Block Size 256.0 KB
303
+ Peak Allocated Bytes 0 B
304
+ Overflow Count 0
305
+ [ALLOC_TEMP_Job.Worker 19]
306
+ Initial Block Size 256.0 KB
307
+ Current Block Size 256.0 KB
308
+ Peak Allocated Bytes 0 B
309
+ Overflow Count 0
310
+ [ALLOC_TEMP_Job.Worker 12]
311
+ Initial Block Size 256.0 KB
312
+ Current Block Size 256.0 KB
313
+ Peak Allocated Bytes 0 B
314
+ Overflow Count 0
315
+ [ALLOC_TEMP_Loading.AsyncRead]
316
+ Initial Block Size 64.0 KB
317
+ Current Block Size 64.0 KB
318
+ Peak Allocated Bytes 128 B
319
+ Overflow Count 0
320
+ [ALLOC_DEFAULT] Dual Thread Allocator
321
+ Peak main deferred allocation count 2
322
+ [ALLOC_BUCKET]
323
+ Large Block size 4.0 MB
324
+ Used Block count 1
325
+ Peak Allocated bytes 1.0 MB
326
+ [ALLOC_DEFAULT_MAIN]
327
+ Peak usage frame count: [4.0 MB-8.0 MB]: 300 frames
328
+ Requested Block Size 16.0 MB
329
+ Peak Block count 1
330
+ Peak Allocated memory 4.8 MB
331
+ Peak Large allocation bytes 0 B
332
+ [ALLOC_DEFAULT_THREAD]
333
+ Peak usage frame count: [16.0 MB-32.0 MB]: 300 frames
334
+ Requested Block Size 16.0 MB
335
+ Peak Block count 1
336
+ Peak Allocated memory 17.5 MB
337
+ Peak Large allocation bytes 16.0 MB
338
+ [ALLOC_TEMP_JOB_1_FRAME]
339
+ Initial Block Size 2.0 MB
340
+ Used Block Count 1
341
+ Overflow Count (too large) 0
342
+ Overflow Count (full) 0
343
+ [ALLOC_TEMP_JOB_2_FRAMES]
344
+ Initial Block Size 2.0 MB
345
+ Used Block Count 1
346
+ Overflow Count (too large) 0
347
+ Overflow Count (full) 0
348
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
349
+ Initial Block Size 2.0 MB
350
+ Used Block Count 2
351
+ Overflow Count (too large) 0
352
+ Overflow Count (full) 0
353
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
354
+ Initial Block Size 1.0 MB
355
+ Used Block Count 3
356
+ Overflow Count (too large) 0
357
+ Overflow Count (full) 0
358
+ [ALLOC_GFX] Dual Thread Allocator
359
+ Peak main deferred allocation count 0
360
+ [ALLOC_BUCKET]
361
+ Large Block size 4.0 MB
362
+ Used Block count 1
363
+ Peak Allocated bytes 1.0 MB
364
+ [ALLOC_GFX_MAIN]
365
+ Peak usage frame count: [32.0 KB-64.0 KB]: 299 frames, [64.0 KB-128.0 KB]: 1 frames
366
+ Requested Block Size 16.0 MB
367
+ Peak Block count 1
368
+ Peak Allocated memory 65.6 KB
369
+ Peak Large allocation bytes 0 B
370
+ [ALLOC_GFX_THREAD]
371
+ Peak usage frame count: [128.0 KB-256.0 KB]: 300 frames
372
+ Requested Block Size 16.0 MB
373
+ Peak Block count 1
374
+ Peak Allocated memory 173.5 KB
375
+ Peak Large allocation bytes 0 B
376
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
377
+ Peak main deferred allocation count 0
378
+ [ALLOC_BUCKET]
379
+ Large Block size 4.0 MB
380
+ Used Block count 1
381
+ Peak Allocated bytes 1.0 MB
382
+ [ALLOC_CACHEOBJECTS_MAIN]
383
+ Peak usage frame count: [0.5 MB-1.0 MB]: 300 frames
384
+ Requested Block Size 4.0 MB
385
+ Peak Block count 1
386
+ Peak Allocated memory 0.6 MB
387
+ Peak Large allocation bytes 0 B
388
+ [ALLOC_CACHEOBJECTS_THREAD]
389
+ Peak usage frame count: [0.5 MB-1.0 MB]: 299 frames, [4.0 MB-8.0 MB]: 1 frames
390
+ Requested Block Size 4.0 MB
391
+ Peak Block count 2
392
+ Peak Allocated memory 4.5 MB
393
+ Peak Large allocation bytes 0 B
394
+ [ALLOC_TYPETREE] Dual Thread Allocator
395
+ Peak main deferred allocation count 0
396
+ [ALLOC_BUCKET]
397
+ Large Block size 4.0 MB
398
+ Used Block count 1
399
+ Peak Allocated bytes 1.0 MB
400
+ [ALLOC_TYPETREE_MAIN]
401
+ Peak usage frame count: [0-1.0 KB]: 300 frames
402
+ Requested Block Size 2.0 MB
403
+ Peak Block count 1
404
+ Peak Allocated memory 1.0 KB
405
+ Peak Large allocation bytes 0 B
406
+ [ALLOC_TYPETREE_THREAD]
407
+ Peak usage frame count: [1.0 KB-2.0 KB]: 299 frames, [2.0 KB-4.0 KB]: 1 frames
408
+ Requested Block Size 2.0 MB
409
+ Peak Block count 1
410
+ Peak Allocated memory 2.2 KB
411
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,319 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "SoccerTwos.Policy.Entropy.mean": {
5
+ "value": 3.295712471008301,
6
+ "min": 3.295712471008301,
7
+ "max": 3.295712471008301,
8
+ "count": 1
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 105462.796875,
12
+ "min": 105462.796875,
13
+ "max": 105462.796875,
14
+ "count": 1
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 817.3333333333334,
18
+ "min": 817.3333333333334,
19
+ "max": 817.3333333333334,
20
+ "count": 1
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 29424.0,
24
+ "min": 29424.0,
25
+ "max": 29424.0,
26
+ "count": 1
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1198.7535925691843,
30
+ "min": 1198.7535925691843,
31
+ "max": 1198.7535925691843,
32
+ "count": 1
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 4795.014370276737,
36
+ "min": 4795.014370276737,
37
+ "max": 4795.014370276737,
38
+ "count": 1
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 9730.0,
42
+ "min": 9730.0,
43
+ "max": 9730.0,
44
+ "count": 1
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 9730.0,
48
+ "min": 9730.0,
49
+ "max": 9730.0,
50
+ "count": 1
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": 0.0035266962368041277,
54
+ "min": 0.0035266962368041277,
55
+ "max": 0.0035266962368041277,
56
+ "count": 1
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": 0.045847050845623016,
60
+ "min": 0.045847050845623016,
61
+ "max": 0.045847050845623016,
62
+ "count": 1
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": 0.0035132351331412792,
66
+ "min": 0.0035132351331412792,
67
+ "max": 0.0035132351331412792,
68
+ "count": 1
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": 0.04567205533385277,
72
+ "min": 0.04567205533385277,
73
+ "max": 0.04567205533385277,
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.3076923076923077,
90
+ "min": -0.3076923076923077,
91
+ "max": -0.3076923076923077,
92
+ "count": 1
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": -4.0,
96
+ "min": -4.0,
97
+ "max": -4.0,
98
+ "count": 1
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": -0.3076923076923077,
102
+ "min": -0.3076923076923077,
103
+ "max": -0.3076923076923077,
104
+ "count": 1
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": -4.0,
108
+ "min": -4.0,
109
+ "max": -4.0,
110
+ "count": 1
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 0.0,
114
+ "min": 0.0,
115
+ "max": 0.0,
116
+ "count": 1
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 0.0,
120
+ "min": 0.0,
121
+ "max": 0.0,
122
+ "count": 1
123
+ }
124
+ },
125
+ "metadata": {
126
+ "timer_format_version": "0.1.0",
127
+ "start_time_seconds": "1735411798",
128
+ "python_version": "3.10.12 (main, Jul 5 2023, 18:54:27) [GCC 11.2.0]",
129
+ "command_line_arguments": "/home/kane/miniconda3/envs/soccer_rl/bin/mlagents-learn config/poca/SoccerTwos.yaml --env=training-envs-executables/SoccerTwos.x86_64 --run-id=SoccerTwos --no-graphics --force",
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.5.1+cu124",
134
+ "numpy_version": "1.23.5",
135
+ "end_time_seconds": "1735411807"
136
+ },
137
+ "total": 9.324164813999232,
138
+ "count": 1,
139
+ "self": 0.16678241299450747,
140
+ "children": {
141
+ "run_training.setup": {
142
+ "total": 0.009022557002026588,
143
+ "count": 1,
144
+ "self": 0.009022557002026588
145
+ },
146
+ "TrainerController.start_learning": {
147
+ "total": 9.148359844002698,
148
+ "count": 1,
149
+ "self": 0.007624238103744574,
150
+ "children": {
151
+ "TrainerController._reset_env": {
152
+ "total": 0.7428388080006698,
153
+ "count": 1,
154
+ "self": 0.7428388080006698
155
+ },
156
+ "TrainerController.advance": {
157
+ "total": 8.34764483089748,
158
+ "count": 1002,
159
+ "self": 0.007876986979681533,
160
+ "children": {
161
+ "env_step": {
162
+ "total": 7.626386035924952,
163
+ "count": 1002,
164
+ "self": 5.608693927992135,
165
+ "children": {
166
+ "SubprocessEnvManager._take_step": {
167
+ "total": 2.0129624889923434,
168
+ "count": 1002,
169
+ "self": 0.055025254005158786,
170
+ "children": {
171
+ "TorchPolicy.evaluate": {
172
+ "total": 1.9579372349871846,
173
+ "count": 2000,
174
+ "self": 1.9579372349871846
175
+ }
176
+ }
177
+ },
178
+ "workers": {
179
+ "total": 0.004729618940473301,
180
+ "count": 1002,
181
+ "self": 0.0,
182
+ "children": {
183
+ "worker_root": {
184
+ "total": 8.632488316987292,
185
+ "count": 1002,
186
+ "is_parallel": true,
187
+ "self": 4.1490815459656005,
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.001034000000800006,
197
+ "count": 2,
198
+ "is_parallel": true,
199
+ "self": 0.0002586410009826068,
200
+ "children": {
201
+ "_process_rank_one_or_two_observation": {
202
+ "total": 0.0007753589998173993,
203
+ "count": 8,
204
+ "is_parallel": true,
205
+ "self": 0.0007753589998173993
206
+ }
207
+ }
208
+ },
209
+ "UnityEnvironment.step": {
210
+ "total": 0.011528442002600059,
211
+ "count": 1,
212
+ "is_parallel": true,
213
+ "self": 0.00023984799918252975,
214
+ "children": {
215
+ "UnityEnvironment._generate_step_input": {
216
+ "total": 0.0003896350026479922,
217
+ "count": 1,
218
+ "is_parallel": true,
219
+ "self": 0.0003896350026479922
220
+ },
221
+ "communicator.exchange": {
222
+ "total": 0.01021230900005321,
223
+ "count": 1,
224
+ "is_parallel": true,
225
+ "self": 0.01021230900005321
226
+ },
227
+ "steps_from_proto": {
228
+ "total": 0.0006866500007163268,
229
+ "count": 2,
230
+ "is_parallel": true,
231
+ "self": 0.00013617199510918,
232
+ "children": {
233
+ "_process_rank_one_or_two_observation": {
234
+ "total": 0.0005504780056071468,
235
+ "count": 8,
236
+ "is_parallel": true,
237
+ "self": 0.0005504780056071468
238
+ }
239
+ }
240
+ }
241
+ }
242
+ }
243
+ }
244
+ },
245
+ "UnityEnvironment.step": {
246
+ "total": 4.483406771021691,
247
+ "count": 1001,
248
+ "is_parallel": true,
249
+ "self": 0.2450781130537507,
250
+ "children": {
251
+ "UnityEnvironment._generate_step_input": {
252
+ "total": 0.14917815698572667,
253
+ "count": 1001,
254
+ "is_parallel": true,
255
+ "self": 0.14917815698572667
256
+ },
257
+ "communicator.exchange": {
258
+ "total": 3.4282893830168177,
259
+ "count": 1001,
260
+ "is_parallel": true,
261
+ "self": 3.4282893830168177
262
+ },
263
+ "steps_from_proto": {
264
+ "total": 0.6608611179653963,
265
+ "count": 2002,
266
+ "is_parallel": true,
267
+ "self": 0.1195039621561591,
268
+ "children": {
269
+ "_process_rank_one_or_two_observation": {
270
+ "total": 0.5413571558092372,
271
+ "count": 8008,
272
+ "is_parallel": true,
273
+ "self": 0.5413571558092372
274
+ }
275
+ }
276
+ }
277
+ }
278
+ }
279
+ }
280
+ }
281
+ }
282
+ }
283
+ }
284
+ },
285
+ "trainer_advance": {
286
+ "total": 0.713381807992846,
287
+ "count": 1002,
288
+ "self": 0.045957659916894045,
289
+ "children": {
290
+ "process_trajectory": {
291
+ "total": 0.667424148075952,
292
+ "count": 1002,
293
+ "self": 0.667424148075952
294
+ }
295
+ }
296
+ }
297
+ }
298
+ },
299
+ "trainer_threads": {
300
+ "total": 3.450004442129284e-07,
301
+ "count": 1,
302
+ "self": 3.450004442129284e-07
303
+ },
304
+ "TrainerController._save_models": {
305
+ "total": 0.05025162200035993,
306
+ "count": 1,
307
+ "self": 0.0005261660007818136,
308
+ "children": {
309
+ "RLTrainer._checkpoint": {
310
+ "total": 0.049725455999578116,
311
+ "count": 1,
312
+ "self": 0.049725455999578116
313
+ }
314
+ }
315
+ }
316
+ }
317
+ }
318
+ }
319
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1198.0086179957034,
4
+ "checkpoints": [
5
+ {
6
+ "steps": 14730,
7
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-14730.onnx",
8
+ "reward": 0.0,
9
+ "creation_time": 1735411807.2133741,
10
+ "auxillary_file_paths": [
11
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-14730.pt"
12
+ ]
13
+ }
14
+ ],
15
+ "final_checkpoint": {
16
+ "steps": 14730,
17
+ "file_path": "results/SoccerTwos/SoccerTwos.onnx",
18
+ "reward": 0.0,
19
+ "creation_time": 1735411807.2133741,
20
+ "auxillary_file_paths": [
21
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-14730.pt"
22
+ ]
23
+ }
24
+ },
25
+ "metadata": {
26
+ "stats_format_version": "0.3.0",
27
+ "mlagents_version": "1.2.0.dev0",
28
+ "torch_version": "2.5.1+cu124"
29
+ }
30
+ }