Sadrodin Barikbin commited on
Commit
056dae5
1 Parent(s): 7fe26dc

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: sadra-barikbin/poca-SoccerTwos
29
+ 3. Step 2: Select your *.nn /*.onnx file
30
+ 4. Click on Watch the agent play 👀
31
+
SoccerTwos.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4684070252c9e94b044fcef8763ca59d42a8cce38af4bba6ec5cac6651068629
3
+ size 1764633
SoccerTwos/SoccerTwos-343208.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4684070252c9e94b044fcef8763ca59d42a8cce38af4bba6ec5cac6651068629
3
+ size 1764633
SoccerTwos/SoccerTwos-343208.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c50a39c778de0b0ce79a70d7660b202d9de51d78ee8ec7975d4c3f447e2e27b
3
+ size 28421201
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c50a39c778de0b0ce79a70d7660b202d9de51d78ee8ec7975d4c3f447e2e27b
3
+ size 28421201
SoccerTwos/events.out.tfevents.1685045156.barikbin-x450ld.15308.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f2b4c64e1a10345a20deb2508053b7c86f90402bfbfeb0185cada917ad16af9b
3
+ size 268655
config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"default_settings": null, "behaviors": {"SoccerTwos": {"trainer_type": "poca", "hyperparameters": {"batch_size": 2048, "buffer_size": 20480, "learning_rate": 0.0003, "beta": 0.005, "epsilon": 0.2, "lambd": 0.95, "num_epoch": 3, "learning_rate_schedule": "constant", "beta_schedule": "constant", "epsilon_schedule": "constant"}, "checkpoint_interval": 500000, "network_settings": {"normalize": false, "hidden_units": 512, "num_layers": 2, "vis_encode_type": "simple", "memory": null, "goal_conditioning_type": "hyper", "deterministic": false}, "reward_signals": {"extrinsic": {"gamma": 0.99, "strength": 1.0, "network_settings": {"normalize": false, "hidden_units": 128, "num_layers": 2, "vis_encode_type": "simple", "memory": null, "goal_conditioning_type": "hyper", "deterministic": false}}}, "init_path": null, "keep_checkpoints": 5, "even_checkpoints": false, "max_steps": 50000000, "time_horizon": 1000, "summary_freq": 10000, "threaded": false, "self_play": {"save_steps": 50000, "team_change": 200000, "swap_steps": 2000, "window": 10, "play_against_latest_model_ratio": 0.5, "initial_elo": 1200.0}, "behavioral_cloning": null}}, "env_settings": {"env_path": "./training-envs-executables/SoccerTwos/SoccerTwos.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": true, "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/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: true
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,398 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/home/sadra-barikbin/Desktop/other_repos/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos_Data/Managed'
2
+ Mono config path = '/home/sadra-barikbin/Desktop/other_repos/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos_Data/MonoBleedingEdge/etc'
3
+ Preloaded 'lib_burst_generated.so'
4
+ Preloaded 'libgrpc_csharp_ext.x64.so'
5
+ PlayerPrefs - Creating folder: /home/sadra-barikbin/.config/unity3d/Unity Technologies
6
+ PlayerPrefs - Creating folder: /home/sadra-barikbin/.config/unity3d/Unity Technologies/SoccerTwos
7
+ Unable to load player prefs
8
+ Initialize engine version: 2021.3.14f1 (eee1884e7226)
9
+ [Subsystems] Discovering subsystems at path /home/sadra-barikbin/Desktop/other_repos/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos_Data/UnitySubsystems
10
+ Forcing GfxDevice: Null
11
+ GfxDevice: creating device client; threaded=0; jobified=0
12
+ NullGfxDevice:
13
+ Version: NULL 1.0 [1.0]
14
+ Renderer: Null Device
15
+ Vendor: Unity Technologies
16
+ Begin MonoManager ReloadAssembly
17
+ - Completed reload, in 0.181 seconds
18
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
19
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
20
+ ERROR: Shader Legacy Shaders/VertexLit 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
+ ERROR: Shader Standard (Specular setup) shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
25
+ WARNING: Shader Unsupported: 'Standard (Specular setup)' - 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
+ 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
+ ERROR: Shader Autodesk Interactive shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
32
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - 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
+ 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
+ ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
39
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
40
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
41
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
42
+ UnloadTime: 0.787496 ms
43
+ Registered Communicator in Agent.
44
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
45
+ requesting resize 84 x 84
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
+ TOO LONG
103
+ TOO LONG
104
+ TOO LONG
105
+ TOO LONG
106
+ TOO LONG
107
+ TOO LONG
108
+ TOO LONG
109
+ TOO LONG
110
+ TOO LONG
111
+ TOO LONG
112
+ TOO LONG
113
+ TOO LONG
114
+ TOO LONG
115
+ TOO LONG
116
+ TOO LONG
117
+ TOO LONG
118
+ TOO LONG
119
+ TOO LONG
120
+ TOO LONG
121
+ TOO LONG
122
+ TOO LONG
123
+ TOO LONG
124
+ TOO LONG
125
+ TOO LONG
126
+ TOO LONG
127
+ TOO LONG
128
+ TOO LONG
129
+ TOO LONG
130
+ TOO LONG
131
+ TOO LONG
132
+ TOO LONG
133
+ TOO LONG
134
+ TOO LONG
135
+ TOO LONG
136
+ TOO LONG
137
+ TOO LONG
138
+ TOO LONG
139
+ TOO LONG
140
+ TOO LONG
141
+ TOO LONG
142
+ TOO LONG
143
+ TOO LONG
144
+ TOO LONG
145
+ TOO LONG
146
+ TOO LONG
147
+ TOO LONG
148
+ TOO LONG
149
+ TOO LONG
150
+ TOO LONG
151
+ TOO LONG
152
+ TOO LONG
153
+ TOO LONG
154
+ TOO LONG
155
+ TOO LONG
156
+ TOO LONG
157
+ TOO LONG
158
+ TOO LONG
159
+ TOO LONG
160
+ TOO LONG
161
+ TOO LONG
162
+ TOO LONG
163
+ TOO LONG
164
+ TOO LONG
165
+ TOO LONG
166
+ TOO LONG
167
+ TOO LONG
168
+ TOO LONG
169
+ TOO LONG
170
+ TOO LONG
171
+ TOO LONG
172
+ TOO LONG
173
+ TOO LONG
174
+ TOO LONG
175
+ TOO LONG
176
+ TOO LONG
177
+ Setting up 2 worker threads for Enlighten.
178
+ Memory Statistics:
179
+ [ALLOC_TEMP_TLS] TLS Allocator
180
+ StackAllocators :
181
+ [ALLOC_TEMP_MAIN]
182
+ Peak usage frame count: [8.0 KB-16.0 KB]: 6725 frames, [2.0 MB-4.0 MB]: 1 frames
183
+ Initial Block Size 4.0 MB
184
+ Current Block Size 4.0 MB
185
+ Peak Allocated Bytes 2.1 MB
186
+ Overflow Count 0
187
+ [ALLOC_TEMP_Loading.AsyncRead]
188
+ Initial Block Size 64.0 KB
189
+ Current Block Size 64.0 KB
190
+ Peak Allocated Bytes 130 B
191
+ Overflow Count 0
192
+ [ALLOC_TEMP_Loading.PreloadManager]
193
+ Initial Block Size 256.0 KB
194
+ Current Block Size 300.0 KB
195
+ Peak Allocated Bytes 249.6 KB
196
+ Overflow Count 4
197
+ [ALLOC_TEMP_Background Job.Worker 8]
198
+ Initial Block Size 32.0 KB
199
+ Current Block Size 32.0 KB
200
+ Peak Allocated Bytes 0 B
201
+ Overflow Count 0
202
+ [ALLOC_TEMP_Background Job.Worker 9]
203
+ Initial Block Size 32.0 KB
204
+ Current Block Size 32.0 KB
205
+ Peak Allocated Bytes 0 B
206
+ Overflow Count 0
207
+ [ALLOC_TEMP_Job.Worker 0]
208
+ Initial Block Size 256.0 KB
209
+ Current Block Size 256.0 KB
210
+ Peak Allocated Bytes 0 B
211
+ Overflow Count 0
212
+ [ALLOC_TEMP_Background Job.Worker 10]
213
+ Initial Block Size 32.0 KB
214
+ Current Block Size 32.0 KB
215
+ Peak Allocated Bytes 0 B
216
+ Overflow Count 0
217
+ [ALLOC_TEMP_Background Job.Worker 14]
218
+ Initial Block Size 32.0 KB
219
+ Current Block Size 32.0 KB
220
+ Peak Allocated Bytes 0 B
221
+ Overflow Count 0
222
+ [ALLOC_TEMP_Background Job.Worker 6]
223
+ Initial Block Size 32.0 KB
224
+ Current Block Size 32.0 KB
225
+ Peak Allocated Bytes 0 B
226
+ Overflow Count 0
227
+ [ALLOC_TEMP_Background Job.Worker 12]
228
+ Initial Block Size 32.0 KB
229
+ Current Block Size 32.0 KB
230
+ Peak Allocated Bytes 0 B
231
+ Overflow Count 0
232
+ [ALLOC_TEMP_EnlightenWorker] x 2
233
+ Initial Block Size 64.0 KB
234
+ Current Block Size 64.0 KB
235
+ Peak Allocated Bytes 0 B
236
+ Overflow Count 0
237
+ [ALLOC_TEMP_Background Job.Worker 15]
238
+ Initial Block Size 32.0 KB
239
+ Current Block Size 32.0 KB
240
+ Peak Allocated Bytes 0 B
241
+ Overflow Count 0
242
+ [ALLOC_TEMP_Background Job.Worker 1]
243
+ Initial Block Size 32.0 KB
244
+ Current Block Size 32.0 KB
245
+ Peak Allocated Bytes 0 B
246
+ Overflow Count 0
247
+ [ALLOC_TEMP_Background Job.Worker 2]
248
+ Initial Block Size 32.0 KB
249
+ Current Block Size 32.0 KB
250
+ Peak Allocated Bytes 0 B
251
+ Overflow Count 0
252
+ [ALLOC_TEMP_Background Job.Worker 7]
253
+ Initial Block Size 32.0 KB
254
+ Current Block Size 32.0 KB
255
+ Peak Allocated Bytes 0 B
256
+ Overflow Count 0
257
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 3
258
+ Initial Block Size 64.0 KB
259
+ Current Block Size 64.0 KB
260
+ Peak Allocated Bytes 0 B
261
+ Overflow Count 0
262
+ [ALLOC_TEMP_Background Job.Worker 5]
263
+ Initial Block Size 32.0 KB
264
+ Current Block Size 32.0 KB
265
+ Peak Allocated Bytes 0 B
266
+ Overflow Count 0
267
+ [ALLOC_TEMP_Background Job.Worker 13]
268
+ Initial Block Size 32.0 KB
269
+ Current Block Size 32.0 KB
270
+ Peak Allocated Bytes 0 B
271
+ Overflow Count 0
272
+ [ALLOC_TEMP_Job.Worker 1]
273
+ Initial Block Size 256.0 KB
274
+ Current Block Size 256.0 KB
275
+ Peak Allocated Bytes 0.7 KB
276
+ Overflow Count 0
277
+ [ALLOC_TEMP_Job.Worker 2]
278
+ Initial Block Size 256.0 KB
279
+ Current Block Size 256.0 KB
280
+ Peak Allocated Bytes 0 B
281
+ Overflow Count 0
282
+ [ALLOC_TEMP_Background Job.Worker 3]
283
+ Initial Block Size 32.0 KB
284
+ Current Block Size 32.0 KB
285
+ Peak Allocated Bytes 0 B
286
+ Overflow Count 0
287
+ [ALLOC_TEMP_Background Job.Worker 11]
288
+ Initial Block Size 32.0 KB
289
+ Current Block Size 32.0 KB
290
+ Peak Allocated Bytes 0 B
291
+ Overflow Count 0
292
+ [ALLOC_TEMP_Background Job.Worker 0]
293
+ Initial Block Size 32.0 KB
294
+ Current Block Size 32.0 KB
295
+ Peak Allocated Bytes 0 B
296
+ Overflow Count 0
297
+ [ALLOC_TEMP_Background Job.Worker 4]
298
+ Initial Block Size 32.0 KB
299
+ Current Block Size 32.0 KB
300
+ Peak Allocated Bytes 0 B
301
+ Overflow Count 0
302
+ [ALLOC_TEMP_BatchDeleteObjects]
303
+ Initial Block Size 64.0 KB
304
+ Current Block Size 64.0 KB
305
+ Peak Allocated Bytes 0 B
306
+ Overflow Count 0
307
+ [ALLOC_DEFAULT] Dual Thread Allocator
308
+ Peak main deferred allocation count 3
309
+ [ALLOC_BUCKET]
310
+ Large Block size 4.0 MB
311
+ Used Block count 1
312
+ Peak Allocated bytes 1.0 MB
313
+ [ALLOC_DEFAULT_MAIN]
314
+ Peak usage frame count: [4.0 MB-8.0 MB]: 6726 frames
315
+ Requested Block Size 16.0 MB
316
+ Peak Block count 1
317
+ Peak Allocated memory 4.8 MB
318
+ Peak Large allocation bytes 0 B
319
+ [ALLOC_DEFAULT_THREAD]
320
+ Peak usage frame count: [16.0 MB-32.0 MB]: 6726 frames
321
+ Requested Block Size 16.0 MB
322
+ Peak Block count 1
323
+ Peak Allocated memory 17.4 MB
324
+ Peak Large allocation bytes 16.0 MB
325
+ [ALLOC_TEMP_JOB_1_FRAME]
326
+ Initial Block Size 2.0 MB
327
+ Used Block Count 1
328
+ Overflow Count (too large) 0
329
+ Overflow Count (full) 0
330
+ [ALLOC_TEMP_JOB_2_FRAMES]
331
+ Initial Block Size 2.0 MB
332
+ Used Block Count 1
333
+ Overflow Count (too large) 0
334
+ Overflow Count (full) 0
335
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
336
+ Initial Block Size 2.0 MB
337
+ Used Block Count 2
338
+ Overflow Count (too large) 0
339
+ Overflow Count (full) 0
340
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
341
+ Initial Block Size 1.0 MB
342
+ Used Block Count 3
343
+ Overflow Count (too large) 0
344
+ Overflow Count (full) 0
345
+ [ALLOC_GFX] Dual Thread Allocator
346
+ Peak main deferred allocation count 0
347
+ [ALLOC_BUCKET]
348
+ Large Block size 4.0 MB
349
+ Used Block count 1
350
+ Peak Allocated bytes 1.0 MB
351
+ [ALLOC_GFX_MAIN]
352
+ Peak usage frame count: [32.0 KB-64.0 KB]: 6725 frames, [64.0 KB-128.0 KB]: 1 frames
353
+ Requested Block Size 16.0 MB
354
+ Peak Block count 1
355
+ Peak Allocated memory 65.6 KB
356
+ Peak Large allocation bytes 0 B
357
+ [ALLOC_GFX_THREAD]
358
+ Peak usage frame count: [128.0 KB-256.0 KB]: 6726 frames
359
+ Requested Block Size 16.0 MB
360
+ Peak Block count 1
361
+ Peak Allocated memory 173.5 KB
362
+ Peak Large allocation bytes 0 B
363
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
364
+ Peak main deferred allocation count 0
365
+ [ALLOC_BUCKET]
366
+ Large Block size 4.0 MB
367
+ Used Block count 1
368
+ Peak Allocated bytes 1.0 MB
369
+ [ALLOC_CACHEOBJECTS_MAIN]
370
+ Peak usage frame count: [0.5 MB-1.0 MB]: 6726 frames
371
+ Requested Block Size 4.0 MB
372
+ Peak Block count 1
373
+ Peak Allocated memory 0.6 MB
374
+ Peak Large allocation bytes 0 B
375
+ [ALLOC_CACHEOBJECTS_THREAD]
376
+ Peak usage frame count: [0.5 MB-1.0 MB]: 6725 frames, [4.0 MB-8.0 MB]: 1 frames
377
+ Requested Block Size 4.0 MB
378
+ Peak Block count 2
379
+ Peak Allocated memory 4.5 MB
380
+ Peak Large allocation bytes 0 B
381
+ [ALLOC_TYPETREE] Dual Thread Allocator
382
+ Peak main deferred allocation count 0
383
+ [ALLOC_BUCKET]
384
+ Large Block size 4.0 MB
385
+ Used Block count 1
386
+ Peak Allocated bytes 1.0 MB
387
+ [ALLOC_TYPETREE_MAIN]
388
+ Peak usage frame count: [0-1.0 KB]: 6726 frames
389
+ Requested Block Size 2.0 MB
390
+ Peak Block count 1
391
+ Peak Allocated memory 1.0 KB
392
+ Peak Large allocation bytes 0 B
393
+ [ALLOC_TYPETREE_THREAD]
394
+ Peak usage frame count: [1.0 KB-2.0 KB]: 6725 frames, [2.0 KB-4.0 KB]: 1 frames
395
+ Requested Block Size 2.0 MB
396
+ Peak Block count 1
397
+ Peak Allocated memory 2.2 KB
398
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,417 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "SoccerTwos.Policy.Entropy.mean": {
5
+ "value": 3.2418689727783203,
6
+ "min": 3.1966044902801514,
7
+ "max": 3.295738935470581,
8
+ "count": 34
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 44089.41796875,
12
+ "min": 29153.033203125,
13
+ "max": 105463.59375,
14
+ "count": 34
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 938.0,
18
+ "min": 485.4,
19
+ "max": 999.0,
20
+ "count": 34
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 18760.0,
24
+ "min": 16212.0,
25
+ "max": 23276.0,
26
+ "count": 34
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1195.405863227191,
30
+ "min": 1193.407974261606,
31
+ "max": 1202.563785842107,
32
+ "count": 32
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 2390.811726454382,
36
+ "min": 2388.1345341231226,
37
+ "max": 16800.000921159233,
38
+ "count": 32
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 339818.0,
42
+ "min": 9510.0,
43
+ "max": 339818.0,
44
+ "count": 34
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 339818.0,
48
+ "min": 9510.0,
49
+ "max": 339818.0,
50
+ "count": 34
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": -0.0064717428758740425,
54
+ "min": -0.013049962930381298,
55
+ "max": 0.06881744414567947,
56
+ "count": 34
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": -0.06471742689609528,
60
+ "min": -0.20288750529289246,
61
+ "max": 1.032261610031128,
62
+ "count": 34
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": -0.0065886168740689754,
66
+ "min": -0.012767443433403969,
67
+ "max": 0.06885610520839691,
68
+ "count": 34
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": -0.06588616967201233,
72
+ "min": -0.2042790949344635,
73
+ "max": 1.0328415632247925,
74
+ "count": 34
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 34
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 34
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": 0.0,
90
+ "min": -0.6923076923076923,
91
+ "max": 0.30119999647140505,
92
+ "count": 34
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": 0.0,
96
+ "min": -9.0,
97
+ "max": 4.517999947071075,
98
+ "count": 34
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": 0.0,
102
+ "min": -0.6923076923076923,
103
+ "max": 0.30119999647140505,
104
+ "count": 34
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": 0.0,
108
+ "min": -9.0,
109
+ "max": 4.517999947071075,
110
+ "count": 34
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 34
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 34
123
+ },
124
+ "SoccerTwos.Losses.PolicyLoss.mean": {
125
+ "value": 0.01841297391122983,
126
+ "min": 0.01300939742141054,
127
+ "max": 0.0201228869787883,
128
+ "count": 16
129
+ },
130
+ "SoccerTwos.Losses.PolicyLoss.sum": {
131
+ "value": 0.01841297391122983,
132
+ "min": 0.01300939742141054,
133
+ "max": 0.0201228869787883,
134
+ "count": 16
135
+ },
136
+ "SoccerTwos.Losses.ValueLoss.mean": {
137
+ "value": 0.0001582189739565365,
138
+ "min": 0.0001582189739565365,
139
+ "max": 0.006725435331463814,
140
+ "count": 16
141
+ },
142
+ "SoccerTwos.Losses.ValueLoss.sum": {
143
+ "value": 0.0001582189739565365,
144
+ "min": 0.0001582189739565365,
145
+ "max": 0.006725435331463814,
146
+ "count": 16
147
+ },
148
+ "SoccerTwos.Losses.BaselineLoss.mean": {
149
+ "value": 0.0001607902983475166,
150
+ "min": 0.0001607902983475166,
151
+ "max": 0.006197890259015063,
152
+ "count": 16
153
+ },
154
+ "SoccerTwos.Losses.BaselineLoss.sum": {
155
+ "value": 0.0001607902983475166,
156
+ "min": 0.0001607902983475166,
157
+ "max": 0.006197890259015063,
158
+ "count": 16
159
+ },
160
+ "SoccerTwos.Policy.LearningRate.mean": {
161
+ "value": 0.0003,
162
+ "min": 0.0003,
163
+ "max": 0.0003,
164
+ "count": 16
165
+ },
166
+ "SoccerTwos.Policy.LearningRate.sum": {
167
+ "value": 0.0003,
168
+ "min": 0.0003,
169
+ "max": 0.0003,
170
+ "count": 16
171
+ },
172
+ "SoccerTwos.Policy.Epsilon.mean": {
173
+ "value": 0.20000000000000007,
174
+ "min": 0.20000000000000007,
175
+ "max": 0.20000000000000007,
176
+ "count": 16
177
+ },
178
+ "SoccerTwos.Policy.Epsilon.sum": {
179
+ "value": 0.20000000000000007,
180
+ "min": 0.20000000000000007,
181
+ "max": 0.20000000000000007,
182
+ "count": 16
183
+ },
184
+ "SoccerTwos.Policy.Beta.mean": {
185
+ "value": 0.005000000000000001,
186
+ "min": 0.005000000000000001,
187
+ "max": 0.005000000000000001,
188
+ "count": 16
189
+ },
190
+ "SoccerTwos.Policy.Beta.sum": {
191
+ "value": 0.005000000000000001,
192
+ "min": 0.005000000000000001,
193
+ "max": 0.005000000000000001,
194
+ "count": 16
195
+ }
196
+ },
197
+ "metadata": {
198
+ "timer_format_version": "0.1.0",
199
+ "start_time_seconds": "1685045154",
200
+ "python_version": "3.9.16 (main, Mar 8 2023, 14:00:05) \n[GCC 11.2.0]",
201
+ "command_line_arguments": "/home/sadra-barikbin/anaconda3/envs/rl/bin/mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos/SoccerTwos.exe --run-id=SoccerTwos --no-graphics --force",
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": "1.11.0+cpu",
206
+ "numpy_version": "1.21.2",
207
+ "end_time_seconds": "1685049006"
208
+ },
209
+ "total": 3851.3453548840007,
210
+ "count": 1,
211
+ "self": 0.1356319100004839,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.011757823000152712,
215
+ "count": 1,
216
+ "self": 0.011757823000152712
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 3851.197965151,
220
+ "count": 1,
221
+ "self": 0.686521564945906,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 1.6295709819996773,
225
+ "count": 2,
226
+ "self": 1.6295709819996773
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 3848.543460912054,
230
+ "count": 22583,
231
+ "self": 0.718869355069728,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 3108.535672307954,
235
+ "count": 22583,
236
+ "self": 3004.4388827744433,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 103.69949132260354,
240
+ "count": 22583,
241
+ "self": 4.58749585557689,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 99.11199546702665,
245
+ "count": 44838,
246
+ "self": 99.11199546702665
247
+ }
248
+ }
249
+ },
250
+ "workers": {
251
+ "total": 0.3972982109071381,
252
+ "count": 22582,
253
+ "self": 0.0,
254
+ "children": {
255
+ "worker_root": {
256
+ "total": 3849.5970459510654,
257
+ "count": 22582,
258
+ "is_parallel": true,
259
+ "self": 924.197943497963,
260
+ "children": {
261
+ "run_training.setup": {
262
+ "total": 0.0,
263
+ "count": 0,
264
+ "is_parallel": true,
265
+ "self": 0.0,
266
+ "children": {
267
+ "steps_from_proto": {
268
+ "total": 0.005524146999960067,
269
+ "count": 2,
270
+ "is_parallel": true,
271
+ "self": 0.0018040919985651271,
272
+ "children": {
273
+ "_process_rank_one_or_two_observation": {
274
+ "total": 0.0037200550013949396,
275
+ "count": 8,
276
+ "is_parallel": true,
277
+ "self": 0.0037200550013949396
278
+ }
279
+ }
280
+ },
281
+ "UnityEnvironment.step": {
282
+ "total": 0.216608486000041,
283
+ "count": 1,
284
+ "is_parallel": true,
285
+ "self": 0.00032194300001719967,
286
+ "children": {
287
+ "UnityEnvironment._generate_step_input": {
288
+ "total": 0.0025612740000724443,
289
+ "count": 1,
290
+ "is_parallel": true,
291
+ "self": 0.0025612740000724443
292
+ },
293
+ "communicator.exchange": {
294
+ "total": 0.20969537000019045,
295
+ "count": 1,
296
+ "is_parallel": true,
297
+ "self": 0.20969537000019045
298
+ },
299
+ "steps_from_proto": {
300
+ "total": 0.004029898999760917,
301
+ "count": 2,
302
+ "is_parallel": true,
303
+ "self": 0.0006060089990569395,
304
+ "children": {
305
+ "_process_rank_one_or_two_observation": {
306
+ "total": 0.0034238900007039774,
307
+ "count": 8,
308
+ "is_parallel": true,
309
+ "self": 0.0034238900007039774
310
+ }
311
+ }
312
+ }
313
+ }
314
+ }
315
+ }
316
+ },
317
+ "UnityEnvironment.step": {
318
+ "total": 2925.3954338321037,
319
+ "count": 22581,
320
+ "is_parallel": true,
321
+ "self": 7.69875933412095,
322
+ "children": {
323
+ "UnityEnvironment._generate_step_input": {
324
+ "total": 61.0330529719231,
325
+ "count": 22581,
326
+ "is_parallel": true,
327
+ "self": 61.0330529719231
328
+ },
329
+ "communicator.exchange": {
330
+ "total": 2761.053441806006,
331
+ "count": 22581,
332
+ "is_parallel": true,
333
+ "self": 2761.053441806006
334
+ },
335
+ "steps_from_proto": {
336
+ "total": 95.61017972005357,
337
+ "count": 45162,
338
+ "is_parallel": true,
339
+ "self": 13.568160792005983,
340
+ "children": {
341
+ "_process_rank_one_or_two_observation": {
342
+ "total": 82.04201892804758,
343
+ "count": 180648,
344
+ "is_parallel": true,
345
+ "self": 82.04201892804758
346
+ }
347
+ }
348
+ }
349
+ }
350
+ },
351
+ "steps_from_proto": {
352
+ "total": 0.0036686209987237817,
353
+ "count": 2,
354
+ "is_parallel": true,
355
+ "self": 0.0005391069989855168,
356
+ "children": {
357
+ "_process_rank_one_or_two_observation": {
358
+ "total": 0.003129513999738265,
359
+ "count": 8,
360
+ "is_parallel": true,
361
+ "self": 0.003129513999738265
362
+ }
363
+ }
364
+ }
365
+ }
366
+ }
367
+ }
368
+ }
369
+ }
370
+ },
371
+ "trainer_advance": {
372
+ "total": 739.2889192490302,
373
+ "count": 22582,
374
+ "self": 4.486709887963116,
375
+ "children": {
376
+ "process_trajectory": {
377
+ "total": 90.76107710406541,
378
+ "count": 22582,
379
+ "self": 90.76107710406541
380
+ },
381
+ "_update_policy": {
382
+ "total": 644.0411322570017,
383
+ "count": 16,
384
+ "self": 68.02150736899421,
385
+ "children": {
386
+ "TorchPOCAOptimizer.update": {
387
+ "total": 576.0196248880075,
388
+ "count": 480,
389
+ "self": 576.0196248880075
390
+ }
391
+ }
392
+ }
393
+ }
394
+ }
395
+ }
396
+ },
397
+ "trainer_threads": {
398
+ "total": 2.1340001694625244e-06,
399
+ "count": 1,
400
+ "self": 2.1340001694625244e-06
401
+ },
402
+ "TrainerController._save_models": {
403
+ "total": 0.3384095580004214,
404
+ "count": 1,
405
+ "self": 0.001959322000402608,
406
+ "children": {
407
+ "RLTrainer._checkpoint": {
408
+ "total": 0.3364502360000188,
409
+ "count": 1,
410
+ "self": 0.3364502360000188
411
+ }
412
+ }
413
+ }
414
+ }
415
+ }
416
+ }
417
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1195.1635465739566,
4
+ "checkpoints": [
5
+ {
6
+ "steps": 343208,
7
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-343208.onnx",
8
+ "reward": 0.0,
9
+ "creation_time": 1685049005.880162,
10
+ "auxillary_file_paths": [
11
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-343208.pt"
12
+ ]
13
+ }
14
+ ],
15
+ "final_checkpoint": {
16
+ "steps": 343208,
17
+ "file_path": "results/SoccerTwos/SoccerTwos.onnx",
18
+ "reward": 0.0,
19
+ "creation_time": 1685049005.880162,
20
+ "auxillary_file_paths": [
21
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-343208.pt"
22
+ ]
23
+ }
24
+ },
25
+ "metadata": {
26
+ "stats_format_version": "0.3.0",
27
+ "mlagents_version": "0.31.0.dev0",
28
+ "torch_version": "1.11.0+cpu"
29
+ }
30
+ }