FelipePasquevich commited on
Commit
60ec2db
1 Parent(s): 728891f

First Push`

Browse files
README.md ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ tags:
4
+ - unity-ml-agents
5
+ - ml-agents
6
+ - deep-reinforcement-learning
7
+ - reinforcement-learning
8
+ - ML-Agents-SoccerTwos
9
+ library_name: ml-agents
10
+ ---
11
+
12
+ # **poca** Agent playing **SoccerTwos**
13
+ This is a trained model of a **poca** agent playing **SoccerTwos** using the [Unity ML-Agents Library](https://github.com/Unity-Technologies/ml-agents).
14
+
15
+ ## Usage (with ML-Agents)
16
+ The Documentation: https://github.com/huggingface/ml-agents#get-started
17
+ We wrote a complete tutorial to learn to train your first agent using ML-Agents and publish it to the Hub:
18
+
19
+
20
+ ### Resume the training
21
+ ```
22
+ mlagents-learn <your_configuration_file_path.yaml> --run-id=<run_id> --resume
23
+ ```
24
+ ### Watch your Agent play
25
+ You can watch your agent **playing directly in your browser:**.
26
+
27
+ 1. Go to https://huggingface.co/spaces/unity/ML-Agents-SoccerTwos
28
+ 2. Step 1: Write your model_id: FelipePasquevich/poca-SoccerTwos
29
+ 3. Step 2: Select your *.nn /*.onnx file
30
+ 4. Click on Watch the agent play 👀
31
+
SoccerTwos/SoccerTwos-164462.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0d7fbfebc2ba9b33f7b8325e9bcf59e90fc9fad48038fd1ffa8065129a14114a
3
+ size 28429781
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:000ed9f800a41055abd07951070b68a99cb92a70d153749f121009ab35e5081b
3
+ size 28428927
SoccerTwos/events.out.tfevents.1685065727.PC.10980.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:df5216b367f73219bfcc0e025bf0e46d4397ee2b8ddf2074ed0aa68d9b0bc8ca
3
+ size 136624
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, "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}, "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,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ seed: -1
59
+ max_lifetime_restarts: 10
60
+ restarts_rate_limit_n: 1
61
+ restarts_rate_limit_period_s: 60
62
+ engine_settings:
63
+ width: 84
64
+ height: 84
65
+ quality_level: 5
66
+ time_scale: 20
67
+ target_frame_rate: -1
68
+ capture_frame_rate: 60
69
+ no_graphics: true
70
+ environment_parameters: null
71
+ checkpoint_settings:
72
+ run_id: SoccerTwos
73
+ initialize_from: null
74
+ load_model: false
75
+ resume: false
76
+ force: false
77
+ train_model: false
78
+ inference: false
79
+ results_dir: results
80
+ torch_settings:
81
+ device: null
82
+ debug: false
run_logs/Player-0.log ADDED
@@ -0,0 +1,323 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = 'c:/Felipe/temp/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos_Data/Managed'
2
+ Mono config path = 'c:/Felipe/temp/ml-agents/training-envs-executables/SoccerTwos/MonoBleedingEdge/etc'
3
+ Initialize engine version: 2021.3.14f1 (eee1884e7226)
4
+ [Subsystems] Discovering subsystems at path c:/Felipe/temp/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos_Data/UnitySubsystems
5
+ Forcing GfxDevice: Null
6
+ GfxDevice: creating device client; threaded=0; jobified=0
7
+ NullGfxDevice:
8
+ Version: NULL 1.0 [1.0]
9
+ Renderer: Null Device
10
+ Vendor: Unity Technologies
11
+ Begin MonoManager ReloadAssembly
12
+ - Completed reload, in 14.479 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: 138.041553 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
+ TOO LONG
78
+ TOO LONG
79
+ TOO LONG
80
+ TOO LONG
81
+ TOO LONG
82
+ TOO LONG
83
+ TOO LONG
84
+ TOO LONG
85
+ TOO LONG
86
+ TOO LONG
87
+ TOO LONG
88
+ TOO LONG
89
+ TOO LONG
90
+ TOO LONG
91
+ TOO LONG
92
+ TOO LONG
93
+ TOO LONG
94
+ TOO LONG
95
+ TOO LONG
96
+ TOO LONG
97
+ TOO LONG
98
+ TOO LONG
99
+ TOO LONG
100
+ TOO LONG
101
+ TOO LONG
102
+ Setting up 2 worker threads for Enlighten.
103
+ Memory Statistics:
104
+ [ALLOC_TEMP_TLS] TLS Allocator
105
+ StackAllocators :
106
+ [ALLOC_TEMP_MAIN]
107
+ Peak usage frame count: [8.0 KB-16.0 KB]: 3225 frames, [2.0 MB-4.0 MB]: 1 frames
108
+ Initial Block Size 4.0 MB
109
+ Current Block Size 4.0 MB
110
+ Peak Allocated Bytes 2.0 MB
111
+ Overflow Count 0
112
+ [ALLOC_TEMP_Loading.AsyncRead]
113
+ Initial Block Size 64.0 KB
114
+ Current Block Size 64.0 KB
115
+ Peak Allocated Bytes 312 B
116
+ Overflow Count 0
117
+ [ALLOC_TEMP_Loading.PreloadManager]
118
+ Initial Block Size 256.0 KB
119
+ Current Block Size 256.0 KB
120
+ Peak Allocated Bytes 67.1 KB
121
+ Overflow Count 4
122
+ [ALLOC_TEMP_Background Job.Worker 8]
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_Background Job.Worker 9]
128
+ Initial Block Size 32.0 KB
129
+ Current Block Size 32.0 KB
130
+ Peak Allocated Bytes 54 B
131
+ Overflow Count 0
132
+ [ALLOC_TEMP_Job.Worker 0]
133
+ Initial Block Size 256.0 KB
134
+ Current Block Size 256.0 KB
135
+ Peak Allocated Bytes 0 B
136
+ Overflow Count 0
137
+ [ALLOC_TEMP_Background Job.Worker 10]
138
+ Initial Block Size 32.0 KB
139
+ Current Block Size 32.0 KB
140
+ Peak Allocated Bytes 54 B
141
+ Overflow Count 0
142
+ [ALLOC_TEMP_Background Job.Worker 14]
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_Background Job.Worker 6]
148
+ Initial Block Size 32.0 KB
149
+ Current Block Size 32.0 KB
150
+ Peak Allocated Bytes 54 B
151
+ Overflow Count 0
152
+ [ALLOC_TEMP_Background Job.Worker 12]
153
+ Initial Block Size 32.0 KB
154
+ Current Block Size 32.0 KB
155
+ Peak Allocated Bytes 54 B
156
+ Overflow Count 0
157
+ [ALLOC_TEMP_EnlightenWorker] x 2
158
+ Initial Block Size 64.0 KB
159
+ Current Block Size 64.0 KB
160
+ Peak Allocated Bytes 54 B
161
+ Overflow Count 0
162
+ [ALLOC_TEMP_Background Job.Worker 15]
163
+ Initial Block Size 32.0 KB
164
+ Current Block Size 32.0 KB
165
+ Peak Allocated Bytes 54 B
166
+ Overflow Count 0
167
+ [ALLOC_TEMP_Background Job.Worker 1]
168
+ Initial Block Size 32.0 KB
169
+ Current Block Size 32.0 KB
170
+ Peak Allocated Bytes 54 B
171
+ Overflow Count 0
172
+ [ALLOC_TEMP_Background Job.Worker 2]
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_Background Job.Worker 7]
178
+ Initial Block Size 32.0 KB
179
+ Current Block Size 32.0 KB
180
+ Peak Allocated Bytes 54 B
181
+ Overflow Count 0
182
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 3
183
+ Initial Block Size 64.0 KB
184
+ Current Block Size 64.0 KB
185
+ Peak Allocated Bytes 0 B
186
+ Overflow Count 0
187
+ [ALLOC_TEMP_Background Job.Worker 5]
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 13]
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_Job.Worker 1]
198
+ Initial Block Size 256.0 KB
199
+ Current Block Size 256.0 KB
200
+ Peak Allocated Bytes 0.8 KB
201
+ Overflow Count 0
202
+ [ALLOC_TEMP_Job.Worker 2]
203
+ Initial Block Size 256.0 KB
204
+ Current Block Size 256.0 KB
205
+ Peak Allocated Bytes 0 B
206
+ Overflow Count 0
207
+ [ALLOC_TEMP_Background Job.Worker 3]
208
+ Initial Block Size 32.0 KB
209
+ Current Block Size 32.0 KB
210
+ Peak Allocated Bytes 54 B
211
+ Overflow Count 0
212
+ [ALLOC_TEMP_Background Job.Worker 11]
213
+ Initial Block Size 32.0 KB
214
+ Current Block Size 32.0 KB
215
+ Peak Allocated Bytes 54 B
216
+ Overflow Count 0
217
+ [ALLOC_TEMP_Background Job.Worker 0]
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_Background Job.Worker 4]
223
+ Initial Block Size 32.0 KB
224
+ Current Block Size 32.0 KB
225
+ Peak Allocated Bytes 54 B
226
+ Overflow Count 0
227
+ [ALLOC_TEMP_BatchDeleteObjects]
228
+ Initial Block Size 64.0 KB
229
+ Current Block Size 64.0 KB
230
+ Peak Allocated Bytes 54 B
231
+ Overflow Count 0
232
+ [ALLOC_DEFAULT] Dual Thread Allocator
233
+ Peak main deferred allocation count 3
234
+ [ALLOC_BUCKET]
235
+ Large Block size 4.0 MB
236
+ Used Block count 1
237
+ Peak Allocated bytes 0.9 MB
238
+ [ALLOC_DEFAULT_MAIN]
239
+ Peak usage frame count: [4.0 MB-8.0 MB]: 3226 frames
240
+ Requested Block Size 16.0 MB
241
+ Peak Block count 1
242
+ Peak Allocated memory 4.9 MB
243
+ Peak Large allocation bytes 0 B
244
+ [ALLOC_DEFAULT_THREAD]
245
+ Peak usage frame count: [16.0 MB-32.0 MB]: 3226 frames
246
+ Requested Block Size 16.0 MB
247
+ Peak Block count 1
248
+ Peak Allocated memory 17.5 MB
249
+ Peak Large allocation bytes 16.0 MB
250
+ [ALLOC_TEMP_JOB_1_FRAME]
251
+ Initial Block Size 2.0 MB
252
+ Used Block Count 1
253
+ Overflow Count (too large) 0
254
+ Overflow Count (full) 0
255
+ [ALLOC_TEMP_JOB_2_FRAMES]
256
+ Initial Block Size 2.0 MB
257
+ Used Block Count 1
258
+ Overflow Count (too large) 0
259
+ Overflow Count (full) 0
260
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
261
+ Initial Block Size 2.0 MB
262
+ Used Block Count 2
263
+ Overflow Count (too large) 0
264
+ Overflow Count (full) 0
265
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
266
+ Initial Block Size 1.0 MB
267
+ Used Block Count 3
268
+ Overflow Count (too large) 0
269
+ Overflow Count (full) 0
270
+ [ALLOC_GFX] Dual Thread Allocator
271
+ Peak main deferred allocation count 0
272
+ [ALLOC_BUCKET]
273
+ Large Block size 4.0 MB
274
+ Used Block count 1
275
+ Peak Allocated bytes 0.9 MB
276
+ [ALLOC_GFX_MAIN]
277
+ Peak usage frame count: [32.0 KB-64.0 KB]: 3225 frames, [64.0 KB-128.0 KB]: 1 frames
278
+ Requested Block Size 16.0 MB
279
+ Peak Block count 1
280
+ Peak Allocated memory 65.6 KB
281
+ Peak Large allocation bytes 0 B
282
+ [ALLOC_GFX_THREAD]
283
+ Peak usage frame count: [128.0 KB-256.0 KB]: 3226 frames
284
+ Requested Block Size 16.0 MB
285
+ Peak Block count 1
286
+ Peak Allocated memory 173.6 KB
287
+ Peak Large allocation bytes 0 B
288
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
289
+ Peak main deferred allocation count 2
290
+ [ALLOC_BUCKET]
291
+ Large Block size 4.0 MB
292
+ Used Block count 1
293
+ Peak Allocated bytes 0.9 MB
294
+ [ALLOC_CACHEOBJECTS_MAIN]
295
+ Peak usage frame count: [0.5 MB-1.0 MB]: 3226 frames
296
+ Requested Block Size 4.0 MB
297
+ Peak Block count 1
298
+ Peak Allocated memory 0.6 MB
299
+ Peak Large allocation bytes 0 B
300
+ [ALLOC_CACHEOBJECTS_THREAD]
301
+ Peak usage frame count: [0.5 MB-1.0 MB]: 3225 frames, [1.0 MB-2.0 MB]: 1 frames
302
+ Requested Block Size 4.0 MB
303
+ Peak Block count 1
304
+ Peak Allocated memory 1.7 MB
305
+ Peak Large allocation bytes 0 B
306
+ [ALLOC_TYPETREE] Dual Thread Allocator
307
+ Peak main deferred allocation count 0
308
+ [ALLOC_BUCKET]
309
+ Large Block size 4.0 MB
310
+ Used Block count 1
311
+ Peak Allocated bytes 0.9 MB
312
+ [ALLOC_TYPETREE_MAIN]
313
+ Peak usage frame count: [0-1.0 KB]: 3226 frames
314
+ Requested Block Size 2.0 MB
315
+ Peak Block count 1
316
+ Peak Allocated memory 1.0 KB
317
+ Peak Large allocation bytes 0 B
318
+ [ALLOC_TYPETREE_THREAD]
319
+ Peak usage frame count: [1.0 KB-2.0 KB]: 3225 frames, [2.0 KB-4.0 KB]: 1 frames
320
+ Requested Block Size 2.0 MB
321
+ Peak Block count 1
322
+ Peak Allocated memory 2.2 KB
323
+ 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": 3.2623162269592285,
6
+ "min": 3.2615444660186768,
7
+ "max": 3.2957561016082764,
8
+ "count": 16
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 68691.328125,
12
+ "min": 40394.92578125,
13
+ "max": 105464.1875,
14
+ "count": 16
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 601.7777777777778,
18
+ "min": 574.4,
19
+ "max": 999.0,
20
+ "count": 16
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 21664.0,
24
+ "min": 11488.0,
25
+ "max": 28988.0,
26
+ "count": 16
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1197.3408982701842,
30
+ "min": 1197.3408982701842,
31
+ "max": 1203.8175274476016,
32
+ "count": 15
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 14368.090779242211,
36
+ "min": 2396.1535795422496,
37
+ "max": 14368.090779242211,
38
+ "count": 15
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 159824.0,
42
+ "min": 9512.0,
43
+ "max": 159824.0,
44
+ "count": 16
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 159824.0,
48
+ "min": 9512.0,
49
+ "max": 159824.0,
50
+ "count": 16
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": -0.026351574808359146,
54
+ "min": -0.05036341771483421,
55
+ "max": -0.026351574808359146,
56
+ "count": 16
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": -0.4479767680168152,
60
+ "min": -0.7428839206695557,
61
+ "max": -0.3202369809150696,
62
+ "count": 16
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": -0.025530071929097176,
66
+ "min": -0.050388529896736145,
67
+ "max": -0.025530071929097176,
68
+ "count": 16
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": -0.43401122093200684,
72
+ "min": -0.7053990960121155,
73
+ "max": -0.34283724427223206,
74
+ "count": 16
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 16
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 16
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": 0.05778823179357192,
90
+ "min": -0.3965142858879907,
91
+ "max": 0.2683384601886456,
92
+ "count": 16
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": 0.9823999404907227,
96
+ "min": -5.5512000024318695,
97
+ "max": 3.4883999824523926,
98
+ "count": 16
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": 0.05778823179357192,
102
+ "min": -0.3965142858879907,
103
+ "max": 0.2683384601886456,
104
+ "count": 16
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": 0.9823999404907227,
108
+ "min": -5.5512000024318695,
109
+ "max": 3.4883999824523926,
110
+ "count": 16
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 16
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 16
123
+ },
124
+ "SoccerTwos.Losses.PolicyLoss.mean": {
125
+ "value": 0.016798803419806062,
126
+ "min": 0.013983288051288885,
127
+ "max": 0.019427612053308015,
128
+ "count": 7
129
+ },
130
+ "SoccerTwos.Losses.PolicyLoss.sum": {
131
+ "value": 0.016798803419806062,
132
+ "min": 0.013983288051288885,
133
+ "max": 0.019427612053308015,
134
+ "count": 7
135
+ },
136
+ "SoccerTwos.Losses.ValueLoss.mean": {
137
+ "value": 0.003357618247779707,
138
+ "min": 0.0016571837554996212,
139
+ "max": 0.0046502520640691125,
140
+ "count": 7
141
+ },
142
+ "SoccerTwos.Losses.ValueLoss.sum": {
143
+ "value": 0.003357618247779707,
144
+ "min": 0.0016571837554996212,
145
+ "max": 0.0046502520640691125,
146
+ "count": 7
147
+ },
148
+ "SoccerTwos.Losses.BaselineLoss.mean": {
149
+ "value": 0.0033834061313730976,
150
+ "min": 0.0017213587920802335,
151
+ "max": 0.004764475013750295,
152
+ "count": 7
153
+ },
154
+ "SoccerTwos.Losses.BaselineLoss.sum": {
155
+ "value": 0.0033834061313730976,
156
+ "min": 0.0017213587920802335,
157
+ "max": 0.004764475013750295,
158
+ "count": 7
159
+ },
160
+ "SoccerTwos.Policy.LearningRate.mean": {
161
+ "value": 0.0003,
162
+ "min": 0.0003,
163
+ "max": 0.0003,
164
+ "count": 7
165
+ },
166
+ "SoccerTwos.Policy.LearningRate.sum": {
167
+ "value": 0.0003,
168
+ "min": 0.0003,
169
+ "max": 0.0003,
170
+ "count": 7
171
+ },
172
+ "SoccerTwos.Policy.Epsilon.mean": {
173
+ "value": 0.20000000000000007,
174
+ "min": 0.20000000000000007,
175
+ "max": 0.20000000000000007,
176
+ "count": 7
177
+ },
178
+ "SoccerTwos.Policy.Epsilon.sum": {
179
+ "value": 0.20000000000000007,
180
+ "min": 0.20000000000000007,
181
+ "max": 0.20000000000000007,
182
+ "count": 7
183
+ },
184
+ "SoccerTwos.Policy.Beta.mean": {
185
+ "value": 0.005000000000000001,
186
+ "min": 0.005000000000000001,
187
+ "max": 0.005000000000000001,
188
+ "count": 7
189
+ },
190
+ "SoccerTwos.Policy.Beta.sum": {
191
+ "value": 0.005000000000000001,
192
+ "min": 0.005000000000000001,
193
+ "max": 0.005000000000000001,
194
+ "count": 7
195
+ }
196
+ },
197
+ "metadata": {
198
+ "timer_format_version": "0.1.0",
199
+ "start_time_seconds": "1685065634",
200
+ "python_version": "3.9.16 (main, Mar 8 2023, 10:39:24) [MSC v.1916 64 bit (AMD64)]",
201
+ "command_line_arguments": "C:\\Users\\PC-Admin\\Anaconda\\envs\\rl\\Scripts\\mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos.exe --run-id=SoccerTwos --no-graphics",
202
+ "mlagents_version": "0.31.0.dev0",
203
+ "mlagents_envs_version": "0.31.0.dev0",
204
+ "communication_protocol_version": "1.5.0",
205
+ "pytorch_version": "2.0.1+cpu",
206
+ "numpy_version": "1.21.2",
207
+ "end_time_seconds": "1685073174"
208
+ },
209
+ "total": 7540.803681587,
210
+ "count": 1,
211
+ "self": 0.11845842399907269,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 3.098007620000004,
215
+ "count": 1,
216
+ "self": 3.098007620000004
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 7537.587215543001,
220
+ "count": 1,
221
+ "self": 0.819069577953087,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 92.219704239,
225
+ "count": 1,
226
+ "self": 92.219704239
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 7433.0073113540475,
230
+ "count": 10834,
231
+ "self": 0.8331230440899162,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 6008.036598750998,
235
+ "count": 10834,
236
+ "self": 5817.722961007964,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 189.78471672804437,
240
+ "count": 10834,
241
+ "self": 6.030594909089899,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 183.75412181895447,
245
+ "count": 21504,
246
+ "self": 183.75412181895447
247
+ }
248
+ }
249
+ },
250
+ "workers": {
251
+ "total": 0.5289210149895496,
252
+ "count": 10833,
253
+ "self": 0.0,
254
+ "children": {
255
+ "worker_root": {
256
+ "total": 7434.3655564799865,
257
+ "count": 10833,
258
+ "is_parallel": true,
259
+ "self": 1727.325292816975,
260
+ "children": {
261
+ "steps_from_proto": {
262
+ "total": 0.02151822899999445,
263
+ "count": 2,
264
+ "is_parallel": true,
265
+ "self": 0.002809094999975059,
266
+ "children": {
267
+ "_process_rank_one_or_two_observation": {
268
+ "total": 0.01870913400001939,
269
+ "count": 8,
270
+ "is_parallel": true,
271
+ "self": 0.01870913400001939
272
+ }
273
+ }
274
+ },
275
+ "UnityEnvironment.step": {
276
+ "total": 5707.018745434011,
277
+ "count": 10833,
278
+ "is_parallel": true,
279
+ "self": 10.761603176963035,
280
+ "children": {
281
+ "UnityEnvironment._generate_step_input": {
282
+ "total": 122.15321961302764,
283
+ "count": 10833,
284
+ "is_parallel": true,
285
+ "self": 122.15321961302764
286
+ },
287
+ "communicator.exchange": {
288
+ "total": 5369.75882440797,
289
+ "count": 10833,
290
+ "is_parallel": true,
291
+ "self": 5369.75882440797
292
+ },
293
+ "steps_from_proto": {
294
+ "total": 204.34509823605106,
295
+ "count": 21666,
296
+ "is_parallel": true,
297
+ "self": 23.157507915941096,
298
+ "children": {
299
+ "_process_rank_one_or_two_observation": {
300
+ "total": 181.18759032010996,
301
+ "count": 86664,
302
+ "is_parallel": true,
303
+ "self": 181.18759032010996
304
+ }
305
+ }
306
+ }
307
+ }
308
+ }
309
+ }
310
+ }
311
+ }
312
+ }
313
+ }
314
+ },
315
+ "trainer_advance": {
316
+ "total": 1424.1375895589601,
317
+ "count": 10833,
318
+ "self": 4.837865171013618,
319
+ "children": {
320
+ "process_trajectory": {
321
+ "total": 196.17368740894636,
322
+ "count": 10833,
323
+ "self": 196.17368740894636
324
+ },
325
+ "_update_policy": {
326
+ "total": 1223.1260369790002,
327
+ "count": 7,
328
+ "self": 103.8595243900022,
329
+ "children": {
330
+ "TorchPOCAOptimizer.update": {
331
+ "total": 1119.266512588998,
332
+ "count": 210,
333
+ "self": 1119.266512588998
334
+ }
335
+ }
336
+ }
337
+ }
338
+ }
339
+ }
340
+ },
341
+ "trainer_threads": {
342
+ "total": 1.9740000425372273e-06,
343
+ "count": 1,
344
+ "self": 1.9740000425372273e-06
345
+ },
346
+ "TrainerController._save_models": {
347
+ "total": 11.541128398000183,
348
+ "count": 1,
349
+ "self": 6.315999962680507e-05,
350
+ "children": {
351
+ "RLTrainer._checkpoint": {
352
+ "total": 11.541065238000556,
353
+ "count": 1,
354
+ "self": 11.541065238000556
355
+ }
356
+ }
357
+ }
358
+ }
359
+ }
360
+ }
361
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1197.8829085462999
4
+ },
5
+ "metadata": {
6
+ "stats_format_version": "0.3.0",
7
+ "mlagents_version": "0.31.0.dev0",
8
+ "torch_version": "2.0.1+cpu"
9
+ }
10
+ }