ThNaToS commited on
Commit
c3f0431
1 Parent(s): 913f088

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: ThNaToS/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:a65eff888f0031f532818ea7c4837b0721c140e4a3b9e224a8a4f8d1e5dfa985
3
+ size 1768747
SoccerTwos/SoccerTwos-83946.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a65eff888f0031f532818ea7c4837b0721c140e4a3b9e224a8a4f8d1e5dfa985
3
+ size 1768747
SoccerTwos/SoccerTwos-83946.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:301c3ca076ab888bd73720905512bfb095469aa494f55f36566e20e1d1ca2e35
3
+ size 28430110
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a2d652363a72d38162b571b36afa355204c6e06623b3f0c7982d38e3f5db31c
3
+ size 28429366
SoccerTwos/events.out.tfevents.1722425525.Tobis-Studio2.13712.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:00f2287fd9f241f8a56626ec37768e6d9cad04339585d0987079c98e2fb23e25
3
+ size 35569
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.exe", "env_args": null, "base_port": 5005, "num_envs": 1, "num_areas": 1, "timeout_wait": 60, "seed": -1, "max_lifetime_restarts": 10, "restarts_rate_limit_n": 1, "restarts_rate_limit_period_s": 60}, "engine_settings": {"width": 84, "height": 84, "quality_level": 5, "time_scale": 20, "target_frame_rate": -1, "capture_frame_rate": 60, "no_graphics": true, "no_graphics_monitor": false}, "environment_parameters": null, "checkpoint_settings": {"run_id": "SoccerTwos", "initialize_from": null, "load_model": false, "resume": 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: 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.exe
54
+ env_args: null
55
+ base_port: 5005
56
+ num_envs: 1
57
+ num_areas: 1
58
+ timeout_wait: 60
59
+ seed: -1
60
+ max_lifetime_restarts: 10
61
+ restarts_rate_limit_n: 1
62
+ restarts_rate_limit_period_s: 60
63
+ engine_settings:
64
+ width: 84
65
+ height: 84
66
+ quality_level: 5
67
+ time_scale: 20
68
+ target_frame_rate: -1
69
+ capture_frame_rate: 60
70
+ no_graphics: true
71
+ no_graphics_monitor: false
72
+ environment_parameters: null
73
+ checkpoint_settings:
74
+ run_id: SoccerTwos
75
+ initialize_from: null
76
+ load_model: false
77
+ resume: 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,378 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = 'C:/Users/rueed/ml-agents/training-envs-executables/SoccerTwos_Data/Managed'
2
+ Mono config path = 'C:/Users/rueed/ml-agents/training-envs-executables/MonoBleedingEdge/etc'
3
+ Initialize engine version: 2021.3.14f1 (eee1884e7226)
4
+ [Subsystems] Discovering subsystems at path C:/Users/rueed/ml-agents/training-envs-executables/SoccerTwos_Data/UnitySubsystems
5
+ Forcing GfxDevice: Null
6
+ GfxDevice: creating device client; threaded=0; jobified=0
7
+ NullGfxDevice:
8
+ Version: NULL 1.0 [1.0]
9
+ Renderer: Null Device
10
+ Vendor: Unity Technologies
11
+ Begin MonoManager ReloadAssembly
12
+ - Completed reload, in 16.557 seconds
13
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
14
+ Microsoft Media Foundation video decoding to texture disabled: graphics device is Null, only Direct3D 11 and Direct3D 12 (only on desktop) are supported for hardware-accelerated video decoding.
15
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
16
+ ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
17
+ WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
18
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
19
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
20
+ ERROR: Shader Standard (Specular setup) shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
21
+ WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
22
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
23
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
24
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
25
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
26
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
27
+ ERROR: Shader Autodesk Interactive shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
28
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
29
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
30
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
31
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
32
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
33
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
34
+ ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
35
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
36
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
37
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
38
+ UnloadTime: 1.068300 ms
39
+ Registered Communicator in Agent.
40
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
41
+ TOO LONG
42
+ TOO LONG
43
+ TOO LONG
44
+ TOO LONG
45
+ TOO LONG
46
+ TOO LONG
47
+ TOO LONG
48
+ TOO LONG
49
+ TOO LONG
50
+ TOO LONG
51
+ TOO LONG
52
+ TOO LONG
53
+ TOO LONG
54
+ TOO LONG
55
+ TOO LONG
56
+ TOO LONG
57
+ TOO LONG
58
+ TOO LONG
59
+ TOO LONG
60
+ TOO LONG
61
+ TOO LONG
62
+ TOO LONG
63
+ TOO LONG
64
+ TOO LONG
65
+ TOO LONG
66
+ TOO LONG
67
+ TOO LONG
68
+ TOO LONG
69
+ TOO LONG
70
+ TOO LONG
71
+ TOO LONG
72
+ TOO LONG
73
+ TOO LONG
74
+ TOO LONG
75
+ TOO LONG
76
+ TOO LONG
77
+ Setting up 10 worker threads for Enlighten.
78
+ Memory Statistics:
79
+ [ALLOC_TEMP_TLS] TLS Allocator
80
+ StackAllocators :
81
+ [ALLOC_TEMP_MAIN]
82
+ Peak usage frame count: [8.0 KB-16.0 KB]: 1716 frames, [2.0 MB-4.0 MB]: 1 frames
83
+ Initial Block Size 4.0 MB
84
+ Current Block Size 4.0 MB
85
+ Peak Allocated Bytes 2.0 MB
86
+ Overflow Count 0
87
+ [ALLOC_TEMP_Job.Worker 18]
88
+ Initial Block Size 256.0 KB
89
+ Current Block Size 256.0 KB
90
+ Peak Allocated Bytes 54 B
91
+ Overflow Count 0
92
+ [ALLOC_TEMP_Loading.PreloadManager]
93
+ Initial Block Size 256.0 KB
94
+ Current Block Size 256.0 KB
95
+ Peak Allocated Bytes 68.0 KB
96
+ Overflow Count 4
97
+ [ALLOC_TEMP_Loading.AsyncRead]
98
+ Initial Block Size 64.0 KB
99
+ Current Block Size 64.0 KB
100
+ Peak Allocated Bytes 279 B
101
+ Overflow Count 0
102
+ [ALLOC_TEMP_Background Job.Worker 8]
103
+ Initial Block Size 32.0 KB
104
+ Current Block Size 32.0 KB
105
+ Peak Allocated Bytes 54 B
106
+ Overflow Count 0
107
+ [ALLOC_TEMP_Job.Worker 6]
108
+ Initial Block Size 256.0 KB
109
+ Current Block Size 256.0 KB
110
+ Peak Allocated Bytes 0 B
111
+ Overflow Count 0
112
+ [ALLOC_TEMP_Job.Worker 0]
113
+ Initial Block Size 256.0 KB
114
+ Current Block Size 256.0 KB
115
+ Peak Allocated Bytes 0 B
116
+ Overflow Count 0
117
+ [ALLOC_TEMP_Background Job.Worker 10]
118
+ Initial Block Size 32.0 KB
119
+ Current Block Size 32.0 KB
120
+ Peak Allocated Bytes 54 B
121
+ Overflow Count 0
122
+ [ALLOC_TEMP_Background Job.Worker 9]
123
+ Initial Block Size 32.0 KB
124
+ Current Block Size 32.0 KB
125
+ Peak Allocated Bytes 54 B
126
+ Overflow Count 0
127
+ [ALLOC_TEMP_Job.Worker 5]
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_Background Job.Worker 14]
133
+ Initial Block Size 32.0 KB
134
+ Current Block Size 32.0 KB
135
+ Peak Allocated Bytes 54 B
136
+ Overflow Count 0
137
+ [ALLOC_TEMP_Job.Worker 16]
138
+ Initial Block Size 256.0 KB
139
+ Current Block Size 256.0 KB
140
+ Peak Allocated Bytes 54 B
141
+ Overflow Count 0
142
+ [ALLOC_TEMP_Background Job.Worker 6]
143
+ Initial Block Size 32.0 KB
144
+ Current Block Size 32.0 KB
145
+ Peak Allocated Bytes 54 B
146
+ Overflow Count 0
147
+ [ALLOC_TEMP_Job.Worker 4]
148
+ Initial Block Size 256.0 KB
149
+ Current Block Size 256.0 KB
150
+ Peak Allocated Bytes 0 B
151
+ Overflow Count 0
152
+ [ALLOC_TEMP_Job.Worker 17]
153
+ Initial Block Size 256.0 KB
154
+ Current Block Size 256.0 KB
155
+ Peak Allocated Bytes 54 B
156
+ Overflow Count 0
157
+ [ALLOC_TEMP_Job.Worker 14]
158
+ Initial Block Size 256.0 KB
159
+ Current Block Size 256.0 KB
160
+ Peak Allocated Bytes 54 B
161
+ Overflow Count 0
162
+ [ALLOC_TEMP_Job.Worker 3]
163
+ Initial Block Size 256.0 KB
164
+ Current Block Size 256.0 KB
165
+ Peak Allocated Bytes 0 B
166
+ Overflow Count 0
167
+ [ALLOC_TEMP_Job.Worker 13]
168
+ Initial Block Size 256.0 KB
169
+ Current Block Size 256.0 KB
170
+ Peak Allocated Bytes 54 B
171
+ Overflow Count 0
172
+ [ALLOC_TEMP_Background Job.Worker 12]
173
+ Initial Block Size 32.0 KB
174
+ Current Block Size 32.0 KB
175
+ Peak Allocated Bytes 54 B
176
+ Overflow Count 0
177
+ [ALLOC_TEMP_EnlightenWorker] x 10
178
+ Initial Block Size 64.0 KB
179
+ Current Block Size 64.0 KB
180
+ Peak Allocated Bytes 54 B
181
+ Overflow Count 0
182
+ [ALLOC_TEMP_Background Job.Worker 15]
183
+ Initial Block Size 32.0 KB
184
+ Current Block Size 32.0 KB
185
+ Peak Allocated Bytes 54 B
186
+ Overflow Count 0
187
+ [ALLOC_TEMP_Background Job.Worker 1]
188
+ Initial Block Size 32.0 KB
189
+ Current Block Size 32.0 KB
190
+ Peak Allocated Bytes 54 B
191
+ Overflow Count 0
192
+ [ALLOC_TEMP_Background Job.Worker 2]
193
+ Initial Block Size 32.0 KB
194
+ Current Block Size 32.0 KB
195
+ Peak Allocated Bytes 54 B
196
+ Overflow Count 0
197
+ [ALLOC_TEMP_Background Job.Worker 7]
198
+ Initial Block Size 32.0 KB
199
+ Current Block Size 32.0 KB
200
+ Peak Allocated Bytes 54 B
201
+ Overflow Count 0
202
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 19
203
+ Initial Block Size 64.0 KB
204
+ Current Block Size 64.0 KB
205
+ Peak Allocated Bytes 0 B
206
+ Overflow Count 0
207
+ [ALLOC_TEMP_Background Job.Worker 5]
208
+ Initial Block Size 32.0 KB
209
+ Current Block Size 32.0 KB
210
+ Peak Allocated Bytes 54 B
211
+ Overflow Count 0
212
+ [ALLOC_TEMP_Job.Worker 9]
213
+ Initial Block Size 256.0 KB
214
+ Current Block Size 256.0 KB
215
+ Peak Allocated Bytes 0 B
216
+ Overflow Count 0
217
+ [ALLOC_TEMP_Background Job.Worker 13]
218
+ Initial Block Size 32.0 KB
219
+ Current Block Size 32.0 KB
220
+ Peak Allocated Bytes 54 B
221
+ Overflow Count 0
222
+ [ALLOC_TEMP_Job.Worker 8]
223
+ Initial Block Size 256.0 KB
224
+ Current Block Size 256.0 KB
225
+ Peak Allocated Bytes 488 B
226
+ Overflow Count 0
227
+ [ALLOC_TEMP_Job.Worker 7]
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 1]
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_Job.Worker 2]
238
+ Initial Block Size 256.0 KB
239
+ Current Block Size 256.0 KB
240
+ Peak Allocated Bytes 0 B
241
+ Overflow Count 0
242
+ [ALLOC_TEMP_Background Job.Worker 3]
243
+ Initial Block Size 32.0 KB
244
+ Current Block Size 32.0 KB
245
+ Peak Allocated Bytes 54 B
246
+ Overflow Count 0
247
+ [ALLOC_TEMP_Background Job.Worker 11]
248
+ Initial Block Size 32.0 KB
249
+ Current Block Size 32.0 KB
250
+ Peak Allocated Bytes 54 B
251
+ Overflow Count 0
252
+ [ALLOC_TEMP_Job.Worker 10]
253
+ Initial Block Size 256.0 KB
254
+ Current Block Size 256.0 KB
255
+ Peak Allocated Bytes 54 B
256
+ Overflow Count 0
257
+ [ALLOC_TEMP_Background Job.Worker 0]
258
+ Initial Block Size 32.0 KB
259
+ Current Block Size 32.0 KB
260
+ Peak Allocated Bytes 54 B
261
+ Overflow Count 0
262
+ [ALLOC_TEMP_Job.Worker 15]
263
+ Initial Block Size 256.0 KB
264
+ Current Block Size 256.0 KB
265
+ Peak Allocated Bytes 54 B
266
+ Overflow Count 0
267
+ [ALLOC_TEMP_Job.Worker 11]
268
+ Initial Block Size 256.0 KB
269
+ Current Block Size 256.0 KB
270
+ Peak Allocated Bytes 54 B
271
+ Overflow Count 0
272
+ [ALLOC_TEMP_Job.Worker 12]
273
+ Initial Block Size 256.0 KB
274
+ Current Block Size 256.0 KB
275
+ Peak Allocated Bytes 54 B
276
+ Overflow Count 0
277
+ [ALLOC_TEMP_Background Job.Worker 4]
278
+ Initial Block Size 32.0 KB
279
+ Current Block Size 32.0 KB
280
+ Peak Allocated Bytes 54 B
281
+ Overflow Count 0
282
+ [ALLOC_TEMP_BatchDeleteObjects]
283
+ Initial Block Size 64.0 KB
284
+ Current Block Size 64.0 KB
285
+ Peak Allocated Bytes 54 B
286
+ Overflow Count 0
287
+ [ALLOC_DEFAULT] Dual Thread Allocator
288
+ Peak main deferred allocation count 3
289
+ [ALLOC_BUCKET]
290
+ Large Block size 4.0 MB
291
+ Used Block count 1
292
+ Peak Allocated bytes 0.9 MB
293
+ [ALLOC_DEFAULT_MAIN]
294
+ Peak usage frame count: [4.0 MB-8.0 MB]: 1717 frames
295
+ Requested Block Size 16.0 MB
296
+ Peak Block count 1
297
+ Peak Allocated memory 5.0 MB
298
+ Peak Large allocation bytes 0 B
299
+ [ALLOC_DEFAULT_THREAD]
300
+ Peak usage frame count: [16.0 MB-32.0 MB]: 1717 frames
301
+ Requested Block Size 16.0 MB
302
+ Peak Block count 1
303
+ Peak Allocated memory 17.3 MB
304
+ Peak Large allocation bytes 16.0 MB
305
+ [ALLOC_TEMP_JOB_1_FRAME]
306
+ Initial Block Size 2.0 MB
307
+ Used Block Count 1
308
+ Overflow Count (too large) 0
309
+ Overflow Count (full) 0
310
+ [ALLOC_TEMP_JOB_2_FRAMES]
311
+ Initial Block Size 2.0 MB
312
+ Used Block Count 1
313
+ Overflow Count (too large) 0
314
+ Overflow Count (full) 0
315
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
316
+ Initial Block Size 2.0 MB
317
+ Used Block Count 2
318
+ Overflow Count (too large) 0
319
+ Overflow Count (full) 0
320
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
321
+ Initial Block Size 1.0 MB
322
+ Used Block Count 3
323
+ Overflow Count (too large) 0
324
+ Overflow Count (full) 0
325
+ [ALLOC_GFX] Dual Thread Allocator
326
+ Peak main deferred allocation count 0
327
+ [ALLOC_BUCKET]
328
+ Large Block size 4.0 MB
329
+ Used Block count 1
330
+ Peak Allocated bytes 0.9 MB
331
+ [ALLOC_GFX_MAIN]
332
+ Peak usage frame count: [32.0 KB-64.0 KB]: 1716 frames, [64.0 KB-128.0 KB]: 1 frames
333
+ Requested Block Size 16.0 MB
334
+ Peak Block count 1
335
+ Peak Allocated memory 65.6 KB
336
+ Peak Large allocation bytes 0 B
337
+ [ALLOC_GFX_THREAD]
338
+ Peak usage frame count: [128.0 KB-256.0 KB]: 1717 frames
339
+ Requested Block Size 16.0 MB
340
+ Peak Block count 1
341
+ Peak Allocated memory 173.6 KB
342
+ Peak Large allocation bytes 0 B
343
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
344
+ Peak main deferred allocation count 2
345
+ [ALLOC_BUCKET]
346
+ Large Block size 4.0 MB
347
+ Used Block count 1
348
+ Peak Allocated bytes 0.9 MB
349
+ [ALLOC_CACHEOBJECTS_MAIN]
350
+ Peak usage frame count: [0.5 MB-1.0 MB]: 1717 frames
351
+ Requested Block Size 4.0 MB
352
+ Peak Block count 1
353
+ Peak Allocated memory 0.6 MB
354
+ Peak Large allocation bytes 0 B
355
+ [ALLOC_CACHEOBJECTS_THREAD]
356
+ Peak usage frame count: [0.5 MB-1.0 MB]: 1716 frames, [2.0 MB-4.0 MB]: 1 frames
357
+ Requested Block Size 4.0 MB
358
+ Peak Block count 1
359
+ Peak Allocated memory 3.2 MB
360
+ Peak Large allocation bytes 0 B
361
+ [ALLOC_TYPETREE] Dual Thread Allocator
362
+ Peak main deferred allocation count 0
363
+ [ALLOC_BUCKET]
364
+ Large Block size 4.0 MB
365
+ Used Block count 1
366
+ Peak Allocated bytes 0.9 MB
367
+ [ALLOC_TYPETREE_MAIN]
368
+ Peak usage frame count: [0-1.0 KB]: 1717 frames
369
+ Requested Block Size 2.0 MB
370
+ Peak Block count 1
371
+ Peak Allocated memory 1.0 KB
372
+ Peak Large allocation bytes 0 B
373
+ [ALLOC_TYPETREE_THREAD]
374
+ Peak usage frame count: [1.0 KB-2.0 KB]: 1716 frames, [2.0 KB-4.0 KB]: 1 frames
375
+ Requested Block Size 2.0 MB
376
+ Peak Block count 1
377
+ Peak Allocated memory 2.2 KB
378
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,361 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "SoccerTwos.Policy.Entropy.mean": {
5
+ "value": 2.401779890060425,
6
+ "min": 2.401779890060425,
7
+ "max": 3.1004796028137207,
8
+ "count": 7
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 33970.7734375,
12
+ "min": 26474.041015625,
13
+ "max": 99215.34375,
14
+ "count": 7
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 698.0,
18
+ "min": 641.5,
19
+ "max": 999.0,
20
+ "count": 7
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 8376.0,
24
+ "min": 8376.0,
25
+ "max": 31968.0,
26
+ "count": 7
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1200.2478475868106,
30
+ "min": 1200.2478475868106,
31
+ "max": 1201.9913820042966,
32
+ "count": 5
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 2400.4956951736212,
36
+ "min": 2400.4956951736212,
37
+ "max": 7211.94829202578,
38
+ "count": 5
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 79884.0,
42
+ "min": 9742.0,
43
+ "max": 79884.0,
44
+ "count": 8
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 79884.0,
48
+ "min": 9742.0,
49
+ "max": 79884.0,
50
+ "count": 8
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": -0.018005089834332466,
54
+ "min": -0.042664702981710434,
55
+ "max": -0.018005089834332466,
56
+ "count": 8
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": -0.2160610854625702,
60
+ "min": -0.511976420879364,
61
+ "max": -0.20499663054943085,
62
+ "count": 8
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": -0.01888716034591198,
66
+ "min": -0.042664702981710434,
67
+ "max": -0.01888716034591198,
68
+ "count": 8
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": -0.22664591670036316,
72
+ "min": -0.511976420879364,
73
+ "max": -0.22105064988136292,
74
+ "count": 8
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 8
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 8
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": -0.16666666666666666,
90
+ "min": -0.36363636363636365,
91
+ "max": 0.22012308010688195,
92
+ "count": 8
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": -2.0,
96
+ "min": -4.0,
97
+ "max": 2.8616000413894653,
98
+ "count": 8
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": -0.16666666666666666,
102
+ "min": -0.36363636363636365,
103
+ "max": 0.22012308010688195,
104
+ "count": 8
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": -2.0,
108
+ "min": -4.0,
109
+ "max": 2.8616000413894653,
110
+ "count": 8
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 8
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 8
123
+ },
124
+ "SoccerTwos.Losses.PolicyLoss.mean": {
125
+ "value": 0.1284444789801325,
126
+ "min": 0.054607713263895775,
127
+ "max": 0.1284444789801325,
128
+ "count": 2
129
+ },
130
+ "SoccerTwos.Losses.PolicyLoss.sum": {
131
+ "value": 0.1284444789801325,
132
+ "min": 0.054607713263895775,
133
+ "max": 0.1284444789801325,
134
+ "count": 2
135
+ },
136
+ "SoccerTwos.Losses.ValueLoss.mean": {
137
+ "value": 0.0013965409792338808,
138
+ "min": 0.0013965409792338808,
139
+ "max": 6161.4450659125305,
140
+ "count": 2
141
+ },
142
+ "SoccerTwos.Losses.ValueLoss.sum": {
143
+ "value": 0.0013965409792338808,
144
+ "min": 0.0013965409792338808,
145
+ "max": 6161.4450659125305,
146
+ "count": 2
147
+ },
148
+ "SoccerTwos.Losses.BaselineLoss.mean": {
149
+ "value": 0.001396397186908871,
150
+ "min": 0.001396397186908871,
151
+ "max": 6139.078216775525,
152
+ "count": 2
153
+ },
154
+ "SoccerTwos.Losses.BaselineLoss.sum": {
155
+ "value": 0.001396397186908871,
156
+ "min": 0.001396397186908871,
157
+ "max": 6139.078216775525,
158
+ "count": 2
159
+ },
160
+ "SoccerTwos.Policy.LearningRate.mean": {
161
+ "value": 0.0003,
162
+ "min": 0.0003,
163
+ "max": 0.0003,
164
+ "count": 2
165
+ },
166
+ "SoccerTwos.Policy.LearningRate.sum": {
167
+ "value": 0.0003,
168
+ "min": 0.0003,
169
+ "max": 0.0003,
170
+ "count": 2
171
+ },
172
+ "SoccerTwos.Policy.Epsilon.mean": {
173
+ "value": 0.19999999999999996,
174
+ "min": 0.19999999999999993,
175
+ "max": 0.19999999999999996,
176
+ "count": 2
177
+ },
178
+ "SoccerTwos.Policy.Epsilon.sum": {
179
+ "value": 0.19999999999999996,
180
+ "min": 0.19999999999999993,
181
+ "max": 0.19999999999999996,
182
+ "count": 2
183
+ },
184
+ "SoccerTwos.Policy.Beta.mean": {
185
+ "value": 0.005,
186
+ "min": 0.005,
187
+ "max": 0.005000000000000001,
188
+ "count": 2
189
+ },
190
+ "SoccerTwos.Policy.Beta.sum": {
191
+ "value": 0.005,
192
+ "min": 0.005,
193
+ "max": 0.005000000000000001,
194
+ "count": 2
195
+ }
196
+ },
197
+ "metadata": {
198
+ "timer_format_version": "0.1.0",
199
+ "start_time_seconds": "1722425502",
200
+ "python_version": "3.10.14 | packaged by Anaconda, Inc. | (main, May 6 2024, 19:44:50) [MSC v.1916 64 bit (AMD64)]",
201
+ "command_line_arguments": "\\\\?\\C:\\Users\\rueed\\anaconda3\\envs\\rl\\Scripts\\mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos.exe --run-id=SoccerTwos --no-graphics",
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.4.0+cpu",
206
+ "numpy_version": "1.23.5",
207
+ "end_time_seconds": "1722426553"
208
+ },
209
+ "total": 1051.7074853,
210
+ "count": 1,
211
+ "self": 2.180884399999968,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.1491899000000103,
215
+ "count": 1,
216
+ "self": 0.1491899000000103
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 1049.377411,
220
+ "count": 1,
221
+ "self": 0.24202630000013414,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 25.11751940000005,
225
+ "count": 1,
226
+ "self": 25.11751940000005
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 1023.7370215,
230
+ "count": 5734,
231
+ "self": 0.2180017000054022,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 162.62429370000405,
235
+ "count": 5734,
236
+ "self": 112.44564299999945,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 50.042818900001635,
240
+ "count": 5734,
241
+ "self": 1.5218775999993568,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 48.52094130000228,
245
+ "count": 11442,
246
+ "self": 48.52094130000228
247
+ }
248
+ }
249
+ },
250
+ "workers": {
251
+ "total": 0.13583180000296124,
252
+ "count": 5734,
253
+ "self": 0.0,
254
+ "children": {
255
+ "worker_root": {
256
+ "total": 958.3195445999987,
257
+ "count": 5734,
258
+ "is_parallel": true,
259
+ "self": 875.3747018000018,
260
+ "children": {
261
+ "steps_from_proto": {
262
+ "total": 0.003804100000024846,
263
+ "count": 2,
264
+ "is_parallel": true,
265
+ "self": 0.0008019999999078209,
266
+ "children": {
267
+ "_process_rank_one_or_two_observation": {
268
+ "total": 0.003002100000117025,
269
+ "count": 8,
270
+ "is_parallel": true,
271
+ "self": 0.003002100000117025
272
+ }
273
+ }
274
+ },
275
+ "UnityEnvironment.step": {
276
+ "total": 82.94103869999685,
277
+ "count": 5734,
278
+ "is_parallel": true,
279
+ "self": 3.7347740000009253,
280
+ "children": {
281
+ "UnityEnvironment._generate_step_input": {
282
+ "total": 3.2139034000061883,
283
+ "count": 5734,
284
+ "is_parallel": true,
285
+ "self": 3.2139034000061883
286
+ },
287
+ "communicator.exchange": {
288
+ "total": 64.07419309999659,
289
+ "count": 5734,
290
+ "is_parallel": true,
291
+ "self": 64.07419309999659
292
+ },
293
+ "steps_from_proto": {
294
+ "total": 11.918168199993147,
295
+ "count": 11468,
296
+ "is_parallel": true,
297
+ "self": 2.398435099986841,
298
+ "children": {
299
+ "_process_rank_one_or_two_observation": {
300
+ "total": 9.519733100006306,
301
+ "count": 45872,
302
+ "is_parallel": true,
303
+ "self": 9.519733100006306
304
+ }
305
+ }
306
+ }
307
+ }
308
+ }
309
+ }
310
+ }
311
+ }
312
+ }
313
+ }
314
+ },
315
+ "trainer_advance": {
316
+ "total": 860.8947260999905,
317
+ "count": 5734,
318
+ "self": 1.2665090999859103,
319
+ "children": {
320
+ "process_trajectory": {
321
+ "total": 102.20595260000448,
322
+ "count": 5734,
323
+ "self": 102.20595260000448
324
+ },
325
+ "_update_policy": {
326
+ "total": 757.4222644000001,
327
+ "count": 3,
328
+ "self": 13.285107900000412,
329
+ "children": {
330
+ "TorchPOCAOptimizer.update": {
331
+ "total": 744.1371564999997,
332
+ "count": 105,
333
+ "self": 744.1371564999997
334
+ }
335
+ }
336
+ }
337
+ }
338
+ }
339
+ }
340
+ },
341
+ "trainer_threads": {
342
+ "total": 2.0999998469051206e-06,
343
+ "count": 1,
344
+ "self": 2.0999998469051206e-06
345
+ },
346
+ "TrainerController._save_models": {
347
+ "total": 0.2808416999998826,
348
+ "count": 1,
349
+ "self": 0.02642559999981131,
350
+ "children": {
351
+ "RLTrainer._checkpoint": {
352
+ "total": 0.2544161000000713,
353
+ "count": 1,
354
+ "self": 0.2544161000000713
355
+ }
356
+ }
357
+ }
358
+ }
359
+ }
360
+ }
361
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1200.0,
4
+ "checkpoints": [
5
+ {
6
+ "steps": 83946,
7
+ "file_path": "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-83946.onnx",
8
+ "reward": null,
9
+ "creation_time": 1722426551.7248948,
10
+ "auxillary_file_paths": [
11
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-83946.pt"
12
+ ]
13
+ }
14
+ ],
15
+ "final_checkpoint": {
16
+ "steps": 83946,
17
+ "file_path": "results\\SoccerTwos\\SoccerTwos.onnx",
18
+ "reward": null,
19
+ "creation_time": 1722426551.7248948,
20
+ "auxillary_file_paths": [
21
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-83946.pt"
22
+ ]
23
+ }
24
+ },
25
+ "metadata": {
26
+ "stats_format_version": "0.3.0",
27
+ "mlagents_version": "1.1.0.dev0",
28
+ "torch_version": "2.4.0+cpu"
29
+ }
30
+ }