YojitShinde commited on
Commit
65491d8
1 Parent(s): 8958cbd

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: YojitShinde/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:02ba3d1be627644a0dccf78678f15a6f1e628dc3aaf6ec0db93dacf4b8fd3857
3
+ size 1768746
SoccerTwos/SoccerTwos-499932.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d29440cb2e0caf6b35cce0597f738989f4a1b7eeff3c05679154a91d536b4bf3
3
+ size 1768746
SoccerTwos/SoccerTwos-499932.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e3c156cebe30186b4bcb22f9dbe5c0b561da1b1a107a50aa40ff0b27fd89f9ee
3
+ size 28429781
SoccerTwos/SoccerTwos-499978.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a38aa26d06a2ee0a18c423c148d9f4f773f70344390ae84c4ba8bea20a5abd04
3
+ size 28429781
SoccerTwos/SoccerTwos-550998.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:02ba3d1be627644a0dccf78678f15a6f1e628dc3aaf6ec0db93dacf4b8fd3857
3
+ size 1768746
SoccerTwos/SoccerTwos-550998.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b8545798edffaaece6439c061b67d1777b6a343ca6a0d2c087b3c65358dff6aa
3
+ size 28429781
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:18984192abcfaf9f7a8ec6df56cddb91cb5c903ae3e71a7c271326e9f86ff73b
3
+ size 28428927
SoccerTwos/events.out.tfevents.1690226169.LAPTOP-LUO02G3A.9080.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1564fc3d73d8e922541358d52aa253a0bb428309b9d0305277f43fd152952720
3
+ size 506988
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": 10000, "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: 10000
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,417 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = 'C:/Projects/Python_Projects/Machine Learning/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos_Data/Managed'
2
+ Mono config path = 'C:/Projects/Python_Projects/Machine Learning/ml-agents/training-envs-executables/SoccerTwos/MonoBleedingEdge/etc'
3
+ Initialize engine version: 2021.3.14f1 (eee1884e7226)
4
+ [Subsystems] Discovering subsystems at path C:/Projects/Python_Projects/Machine Learning/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 0.124 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: 0.966700 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
+ 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
+ TOO LONG
178
+ TOO LONG
179
+ TOO LONG
180
+ TOO LONG
181
+ TOO LONG
182
+ TOO LONG
183
+ TOO LONG
184
+ TOO LONG
185
+ TOO LONG
186
+ TOO LONG
187
+ TOO LONG
188
+ TOO LONG
189
+ TOO LONG
190
+ TOO LONG
191
+ TOO LONG
192
+ TOO LONG
193
+ TOO LONG
194
+ TOO LONG
195
+ TOO LONG
196
+ Setting up 2 worker threads for Enlighten.
197
+ Memory Statistics:
198
+ [ALLOC_TEMP_TLS] TLS Allocator
199
+ StackAllocators :
200
+ [ALLOC_TEMP_MAIN]
201
+ Peak usage frame count: [8.0 KB-16.0 KB]: 10681 frames, [2.0 MB-4.0 MB]: 1 frames
202
+ Initial Block Size 4.0 MB
203
+ Current Block Size 4.0 MB
204
+ Peak Allocated Bytes 2.0 MB
205
+ Overflow Count 0
206
+ [ALLOC_TEMP_Loading.AsyncRead]
207
+ Initial Block Size 64.0 KB
208
+ Current Block Size 64.0 KB
209
+ Peak Allocated Bytes 402 B
210
+ Overflow Count 0
211
+ [ALLOC_TEMP_Loading.PreloadManager]
212
+ Initial Block Size 256.0 KB
213
+ Current Block Size 256.0 KB
214
+ Peak Allocated Bytes 67.1 KB
215
+ Overflow Count 4
216
+ [ALLOC_TEMP_Background Job.Worker 8]
217
+ Initial Block Size 32.0 KB
218
+ Current Block Size 32.0 KB
219
+ Peak Allocated Bytes 54 B
220
+ Overflow Count 0
221
+ [ALLOC_TEMP_Background Job.Worker 9]
222
+ Initial Block Size 32.0 KB
223
+ Current Block Size 32.0 KB
224
+ Peak Allocated Bytes 54 B
225
+ Overflow Count 0
226
+ [ALLOC_TEMP_Job.Worker 0]
227
+ Initial Block Size 256.0 KB
228
+ Current Block Size 256.0 KB
229
+ Peak Allocated Bytes 0 B
230
+ Overflow Count 0
231
+ [ALLOC_TEMP_Background Job.Worker 10]
232
+ Initial Block Size 32.0 KB
233
+ Current Block Size 32.0 KB
234
+ Peak Allocated Bytes 54 B
235
+ Overflow Count 0
236
+ [ALLOC_TEMP_Background Job.Worker 14]
237
+ Initial Block Size 32.0 KB
238
+ Current Block Size 32.0 KB
239
+ Peak Allocated Bytes 54 B
240
+ Overflow Count 0
241
+ [ALLOC_TEMP_Background Job.Worker 6]
242
+ Initial Block Size 32.0 KB
243
+ Current Block Size 32.0 KB
244
+ Peak Allocated Bytes 54 B
245
+ Overflow Count 0
246
+ [ALLOC_TEMP_Background Job.Worker 12]
247
+ Initial Block Size 32.0 KB
248
+ Current Block Size 32.0 KB
249
+ Peak Allocated Bytes 54 B
250
+ Overflow Count 0
251
+ [ALLOC_TEMP_EnlightenWorker] x 2
252
+ Initial Block Size 64.0 KB
253
+ Current Block Size 64.0 KB
254
+ Peak Allocated Bytes 54 B
255
+ Overflow Count 0
256
+ [ALLOC_TEMP_Background Job.Worker 15]
257
+ Initial Block Size 32.0 KB
258
+ Current Block Size 32.0 KB
259
+ Peak Allocated Bytes 54 B
260
+ Overflow Count 0
261
+ [ALLOC_TEMP_Background Job.Worker 1]
262
+ Initial Block Size 32.0 KB
263
+ Current Block Size 32.0 KB
264
+ Peak Allocated Bytes 54 B
265
+ Overflow Count 0
266
+ [ALLOC_TEMP_Background Job.Worker 2]
267
+ Initial Block Size 32.0 KB
268
+ Current Block Size 32.0 KB
269
+ Peak Allocated Bytes 54 B
270
+ Overflow Count 0
271
+ [ALLOC_TEMP_Background Job.Worker 7]
272
+ Initial Block Size 32.0 KB
273
+ Current Block Size 32.0 KB
274
+ Peak Allocated Bytes 54 B
275
+ Overflow Count 0
276
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 3
277
+ Initial Block Size 64.0 KB
278
+ Current Block Size 64.0 KB
279
+ Peak Allocated Bytes 0 B
280
+ Overflow Count 0
281
+ [ALLOC_TEMP_Background Job.Worker 5]
282
+ Initial Block Size 32.0 KB
283
+ Current Block Size 32.0 KB
284
+ Peak Allocated Bytes 54 B
285
+ Overflow Count 0
286
+ [ALLOC_TEMP_Background Job.Worker 13]
287
+ Initial Block Size 32.0 KB
288
+ Current Block Size 32.0 KB
289
+ Peak Allocated Bytes 54 B
290
+ Overflow Count 0
291
+ [ALLOC_TEMP_Job.Worker 1]
292
+ Initial Block Size 256.0 KB
293
+ Current Block Size 256.0 KB
294
+ Peak Allocated Bytes 0.8 KB
295
+ Overflow Count 0
296
+ [ALLOC_TEMP_Job.Worker 2]
297
+ Initial Block Size 256.0 KB
298
+ Current Block Size 256.0 KB
299
+ Peak Allocated Bytes 0 B
300
+ Overflow Count 0
301
+ [ALLOC_TEMP_Background Job.Worker 3]
302
+ Initial Block Size 32.0 KB
303
+ Current Block Size 32.0 KB
304
+ Peak Allocated Bytes 54 B
305
+ Overflow Count 0
306
+ [ALLOC_TEMP_Background Job.Worker 11]
307
+ Initial Block Size 32.0 KB
308
+ Current Block Size 32.0 KB
309
+ Peak Allocated Bytes 54 B
310
+ Overflow Count 0
311
+ [ALLOC_TEMP_Background Job.Worker 0]
312
+ Initial Block Size 32.0 KB
313
+ Current Block Size 32.0 KB
314
+ Peak Allocated Bytes 54 B
315
+ Overflow Count 0
316
+ [ALLOC_TEMP_Background Job.Worker 4]
317
+ Initial Block Size 32.0 KB
318
+ Current Block Size 32.0 KB
319
+ Peak Allocated Bytes 54 B
320
+ Overflow Count 0
321
+ [ALLOC_TEMP_BatchDeleteObjects]
322
+ Initial Block Size 64.0 KB
323
+ Current Block Size 64.0 KB
324
+ Peak Allocated Bytes 54 B
325
+ Overflow Count 0
326
+ [ALLOC_DEFAULT] Dual Thread Allocator
327
+ Peak main deferred allocation count 3
328
+ [ALLOC_BUCKET]
329
+ Large Block size 4.0 MB
330
+ Used Block count 1
331
+ Peak Allocated bytes 0.9 MB
332
+ [ALLOC_DEFAULT_MAIN]
333
+ Peak usage frame count: [4.0 MB-8.0 MB]: 10682 frames
334
+ Requested Block Size 16.0 MB
335
+ Peak Block count 1
336
+ Peak Allocated memory 4.9 MB
337
+ Peak Large allocation bytes 0 B
338
+ [ALLOC_DEFAULT_THREAD]
339
+ Peak usage frame count: [16.0 MB-32.0 MB]: 10682 frames
340
+ Requested Block Size 16.0 MB
341
+ Peak Block count 1
342
+ Peak Allocated memory 17.3 MB
343
+ Peak Large allocation bytes 16.0 MB
344
+ [ALLOC_TEMP_JOB_1_FRAME]
345
+ Initial Block Size 2.0 MB
346
+ Used Block Count 1
347
+ Overflow Count (too large) 0
348
+ Overflow Count (full) 0
349
+ [ALLOC_TEMP_JOB_2_FRAMES]
350
+ Initial Block Size 2.0 MB
351
+ Used Block Count 1
352
+ Overflow Count (too large) 0
353
+ Overflow Count (full) 0
354
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
355
+ Initial Block Size 2.0 MB
356
+ Used Block Count 2
357
+ Overflow Count (too large) 0
358
+ Overflow Count (full) 0
359
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
360
+ Initial Block Size 1.0 MB
361
+ Used Block Count 3
362
+ Overflow Count (too large) 0
363
+ Overflow Count (full) 0
364
+ [ALLOC_GFX] Dual Thread Allocator
365
+ Peak main deferred allocation count 0
366
+ [ALLOC_BUCKET]
367
+ Large Block size 4.0 MB
368
+ Used Block count 1
369
+ Peak Allocated bytes 0.9 MB
370
+ [ALLOC_GFX_MAIN]
371
+ Peak usage frame count: [32.0 KB-64.0 KB]: 10681 frames, [64.0 KB-128.0 KB]: 1 frames
372
+ Requested Block Size 16.0 MB
373
+ Peak Block count 1
374
+ Peak Allocated memory 65.6 KB
375
+ Peak Large allocation bytes 0 B
376
+ [ALLOC_GFX_THREAD]
377
+ Peak usage frame count: [128.0 KB-256.0 KB]: 10682 frames
378
+ Requested Block Size 16.0 MB
379
+ Peak Block count 1
380
+ Peak Allocated memory 173.6 KB
381
+ Peak Large allocation bytes 0 B
382
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
383
+ Peak main deferred allocation count 2
384
+ [ALLOC_BUCKET]
385
+ Large Block size 4.0 MB
386
+ Used Block count 1
387
+ Peak Allocated bytes 0.9 MB
388
+ [ALLOC_CACHEOBJECTS_MAIN]
389
+ Peak usage frame count: [0.5 MB-1.0 MB]: 10682 frames
390
+ Requested Block Size 4.0 MB
391
+ Peak Block count 1
392
+ Peak Allocated memory 0.6 MB
393
+ Peak Large allocation bytes 0 B
394
+ [ALLOC_CACHEOBJECTS_THREAD]
395
+ Peak usage frame count: [0.5 MB-1.0 MB]: 10681 frames, [2.0 MB-4.0 MB]: 1 frames
396
+ Requested Block Size 4.0 MB
397
+ Peak Block count 1
398
+ Peak Allocated memory 3.2 MB
399
+ Peak Large allocation bytes 0 B
400
+ [ALLOC_TYPETREE] Dual Thread Allocator
401
+ Peak main deferred allocation count 0
402
+ [ALLOC_BUCKET]
403
+ Large Block size 4.0 MB
404
+ Used Block count 1
405
+ Peak Allocated bytes 0.9 MB
406
+ [ALLOC_TYPETREE_MAIN]
407
+ Peak usage frame count: [0-1.0 KB]: 10682 frames
408
+ Requested Block Size 2.0 MB
409
+ Peak Block count 1
410
+ Peak Allocated memory 1.0 KB
411
+ Peak Large allocation bytes 0 B
412
+ [ALLOC_TYPETREE_THREAD]
413
+ Peak usage frame count: [1.0 KB-2.0 KB]: 10681 frames, [2.0 KB-4.0 KB]: 1 frames
414
+ Requested Block Size 2.0 MB
415
+ Peak Block count 1
416
+ Peak Allocated memory 2.2 KB
417
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,368 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "SoccerTwos.Policy.Entropy.mean": {
5
+ "value": 3.1853787899017334,
6
+ "min": 3.1321542263031006,
7
+ "max": 3.295640230178833,
8
+ "count": 55
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 85724.9140625,
12
+ "min": 18404.51953125,
13
+ "max": 105460.453125,
14
+ "count": 55
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 360.8,
18
+ "min": 233.56521739130434,
19
+ "max": 999.0,
20
+ "count": 55
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 21648.0,
24
+ "min": 17612.0,
25
+ "max": 23816.0,
26
+ "count": 55
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1235.6966781131266,
30
+ "min": 1193.9849330349607,
31
+ "max": 1235.6966781131266,
32
+ "count": 53
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 34599.506987167544,
36
+ "min": 2388.421744919647,
37
+ "max": 56583.659072376024,
38
+ "count": 53
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 549998.0,
42
+ "min": 9924.0,
43
+ "max": 549998.0,
44
+ "count": 55
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 549998.0,
48
+ "min": 9924.0,
49
+ "max": 549998.0,
50
+ "count": 55
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": 0.016695523634552956,
54
+ "min": -0.009290765970945358,
55
+ "max": 0.07515978068113327,
56
+ "count": 55
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": 0.5008656978607178,
60
+ "min": -0.3065952658653259,
61
+ "max": 1.0521931648254395,
62
+ "count": 55
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": 0.01842910423874855,
66
+ "min": -0.009097704663872719,
67
+ "max": 0.07520028203725815,
68
+ "count": 55
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": 0.5528731346130371,
72
+ "min": -0.300224244594574,
73
+ "max": 1.1129671335220337,
74
+ "count": 55
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 55
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 55
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": 0.5275066653887431,
90
+ "min": -0.6299000016103188,
91
+ "max": 0.5275066653887431,
92
+ "count": 55
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": 15.825199961662292,
96
+ "min": -15.117600038647652,
97
+ "max": 15.825199961662292,
98
+ "count": 55
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": 0.5275066653887431,
102
+ "min": -0.6299000016103188,
103
+ "max": 0.5275066653887431,
104
+ "count": 55
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": 15.825199961662292,
108
+ "min": -15.117600038647652,
109
+ "max": 15.825199961662292,
110
+ "count": 55
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 55
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 55
123
+ },
124
+ "SoccerTwos.Losses.PolicyLoss.mean": {
125
+ "value": 0.019107229733435815,
126
+ "min": 0.011625102110459314,
127
+ "max": 0.023824517099031557,
128
+ "count": 25
129
+ },
130
+ "SoccerTwos.Losses.PolicyLoss.sum": {
131
+ "value": 0.019107229733435815,
132
+ "min": 0.011625102110459314,
133
+ "max": 0.023824517099031557,
134
+ "count": 25
135
+ },
136
+ "SoccerTwos.Losses.ValueLoss.mean": {
137
+ "value": 0.019781758605192105,
138
+ "min": 0.0018005522550083696,
139
+ "max": 0.019781758605192105,
140
+ "count": 25
141
+ },
142
+ "SoccerTwos.Losses.ValueLoss.sum": {
143
+ "value": 0.019781758605192105,
144
+ "min": 0.0018005522550083696,
145
+ "max": 0.019781758605192105,
146
+ "count": 25
147
+ },
148
+ "SoccerTwos.Losses.BaselineLoss.mean": {
149
+ "value": 0.02071026973426342,
150
+ "min": 0.0018095454666763543,
151
+ "max": 0.02071026973426342,
152
+ "count": 25
153
+ },
154
+ "SoccerTwos.Losses.BaselineLoss.sum": {
155
+ "value": 0.02071026973426342,
156
+ "min": 0.0018095454666763543,
157
+ "max": 0.02071026973426342,
158
+ "count": 25
159
+ },
160
+ "SoccerTwos.Policy.LearningRate.mean": {
161
+ "value": 0.0003,
162
+ "min": 0.0003,
163
+ "max": 0.0003,
164
+ "count": 25
165
+ },
166
+ "SoccerTwos.Policy.LearningRate.sum": {
167
+ "value": 0.0003,
168
+ "min": 0.0003,
169
+ "max": 0.0003,
170
+ "count": 25
171
+ },
172
+ "SoccerTwos.Policy.Epsilon.mean": {
173
+ "value": 0.20000000000000007,
174
+ "min": 0.20000000000000007,
175
+ "max": 0.20000000000000007,
176
+ "count": 25
177
+ },
178
+ "SoccerTwos.Policy.Epsilon.sum": {
179
+ "value": 0.20000000000000007,
180
+ "min": 0.20000000000000007,
181
+ "max": 0.20000000000000007,
182
+ "count": 25
183
+ },
184
+ "SoccerTwos.Policy.Beta.mean": {
185
+ "value": 0.005000000000000001,
186
+ "min": 0.005000000000000001,
187
+ "max": 0.005000000000000001,
188
+ "count": 25
189
+ },
190
+ "SoccerTwos.Policy.Beta.sum": {
191
+ "value": 0.005000000000000001,
192
+ "min": 0.005000000000000001,
193
+ "max": 0.005000000000000001,
194
+ "count": 25
195
+ }
196
+ },
197
+ "metadata": {
198
+ "timer_format_version": "0.1.0",
199
+ "start_time_seconds": "1690226164",
200
+ "python_version": "3.9.17 (main, Jul 5 2023, 20:47:11) [MSC v.1916 64 bit (AMD64)]",
201
+ "command_line_arguments": "C:\\Users\\yojit\\miniconda3\\envs\\rl\\Scripts\\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": "2.0.1+cpu",
206
+ "numpy_version": "1.21.2",
207
+ "end_time_seconds": "1690228555"
208
+ },
209
+ "total": 2391.4622449000003,
210
+ "count": 1,
211
+ "self": 0.3056692000000112,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.17043860000000022,
215
+ "count": 1,
216
+ "self": 0.17043860000000022
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 2390.9861371,
220
+ "count": 1,
221
+ "self": 1.1522503999890432,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 4.933811299999984,
225
+ "count": 3,
226
+ "self": 4.933811299999984
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 2384.663659600011,
230
+ "count": 36000,
231
+ "self": 1.3310645000224213,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 921.8023372999942,
235
+ "count": 36000,
236
+ "self": 715.4007014999893,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 205.67426330000313,
240
+ "count": 36000,
241
+ "self": 7.900247900007798,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 197.77401539999533,
245
+ "count": 71210,
246
+ "self": 197.77401539999533
247
+ }
248
+ }
249
+ },
250
+ "workers": {
251
+ "total": 0.727372500001751,
252
+ "count": 36000,
253
+ "self": 0.0,
254
+ "children": {
255
+ "worker_root": {
256
+ "total": 2349.111099200014,
257
+ "count": 36000,
258
+ "is_parallel": true,
259
+ "self": 1774.1064614000106,
260
+ "children": {
261
+ "steps_from_proto": {
262
+ "total": 0.006796600000422259,
263
+ "count": 6,
264
+ "is_parallel": true,
265
+ "self": 0.00136760000067504,
266
+ "children": {
267
+ "_process_rank_one_or_two_observation": {
268
+ "total": 0.005428999999747219,
269
+ "count": 24,
270
+ "is_parallel": true,
271
+ "self": 0.005428999999747219
272
+ }
273
+ }
274
+ },
275
+ "UnityEnvironment.step": {
276
+ "total": 574.997841200003,
277
+ "count": 36000,
278
+ "is_parallel": true,
279
+ "self": 32.59274699997536,
280
+ "children": {
281
+ "UnityEnvironment._generate_step_input": {
282
+ "total": 24.573396800002243,
283
+ "count": 36000,
284
+ "is_parallel": true,
285
+ "self": 24.573396800002243
286
+ },
287
+ "communicator.exchange": {
288
+ "total": 411.39709200000976,
289
+ "count": 36000,
290
+ "is_parallel": true,
291
+ "self": 411.39709200000976
292
+ },
293
+ "steps_from_proto": {
294
+ "total": 106.43460540001567,
295
+ "count": 72000,
296
+ "is_parallel": true,
297
+ "self": 21.500849300048472,
298
+ "children": {
299
+ "_process_rank_one_or_two_observation": {
300
+ "total": 84.9337560999672,
301
+ "count": 288000,
302
+ "is_parallel": true,
303
+ "self": 84.9337560999672
304
+ }
305
+ }
306
+ }
307
+ }
308
+ }
309
+ }
310
+ }
311
+ }
312
+ }
313
+ }
314
+ },
315
+ "trainer_advance": {
316
+ "total": 1461.5302577999944,
317
+ "count": 36000,
318
+ "self": 8.366181699980416,
319
+ "children": {
320
+ "process_trajectory": {
321
+ "total": 194.8513073000147,
322
+ "count": 36000,
323
+ "self": 194.18469420001452,
324
+ "children": {
325
+ "RLTrainer._checkpoint": {
326
+ "total": 0.6666131000001769,
327
+ "count": 1,
328
+ "self": 0.6666131000001769
329
+ }
330
+ }
331
+ },
332
+ "_update_policy": {
333
+ "total": 1258.3127687999993,
334
+ "count": 26,
335
+ "self": 116.67866579999577,
336
+ "children": {
337
+ "TorchPOCAOptimizer.update": {
338
+ "total": 1141.6341030000035,
339
+ "count": 770,
340
+ "self": 1141.6341030000035
341
+ }
342
+ }
343
+ }
344
+ }
345
+ }
346
+ }
347
+ },
348
+ "trainer_threads": {
349
+ "total": 3.200000264769187e-06,
350
+ "count": 1,
351
+ "self": 3.200000264769187e-06
352
+ },
353
+ "TrainerController._save_models": {
354
+ "total": 0.23641259999976683,
355
+ "count": 1,
356
+ "self": 0.01481499999999869,
357
+ "children": {
358
+ "RLTrainer._checkpoint": {
359
+ "total": 0.22159759999976814,
360
+ "count": 1,
361
+ "self": 0.22159759999976814
362
+ }
363
+ }
364
+ }
365
+ }
366
+ }
367
+ }
368
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "checkpoints": [
4
+ {
5
+ "steps": 499932,
6
+ "file_path": "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-499932.onnx",
7
+ "reward": 0.0,
8
+ "creation_time": 1690228322.4168115,
9
+ "auxillary_file_paths": [
10
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-499932.pt"
11
+ ]
12
+ },
13
+ {
14
+ "steps": 550998,
15
+ "file_path": "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-550998.onnx",
16
+ "reward": null,
17
+ "creation_time": 1690228555.6538947,
18
+ "auxillary_file_paths": [
19
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-550998.pt"
20
+ ]
21
+ }
22
+ ],
23
+ "elo": 1239.8394405958147,
24
+ "final_checkpoint": {
25
+ "steps": 550998,
26
+ "file_path": "results\\SoccerTwos\\SoccerTwos.onnx",
27
+ "reward": null,
28
+ "creation_time": 1690228555.6538947,
29
+ "auxillary_file_paths": [
30
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-550998.pt"
31
+ ]
32
+ }
33
+ },
34
+ "metadata": {
35
+ "stats_format_version": "0.3.0",
36
+ "mlagents_version": "0.31.0.dev0",
37
+ "torch_version": "2.0.1+cpu"
38
+ }
39
+ }