Frorozcol commited on
Commit
18f6405
1 Parent(s): c610e9a

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: Frorozcol/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:e1ce99fe28b39574113e37203e7eeb8f783b18934bedeabc6d9cd9fd723309b2
3
+ size 1768746
SoccerTwos/SoccerTwos-499582.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e1ce99fe28b39574113e37203e7eeb8f783b18934bedeabc6d9cd9fd723309b2
3
+ size 1768746
SoccerTwos/SoccerTwos-499582.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e1aae0f62c776f10805a32cf5b02f0b02dd37391500fc7c31816a363cc19b37f
3
+ size 28429781
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b68a66910065757e117d8a56d4cdd6bca35cc8df38c023e1a70864cf36f299f1
3
+ size 28428927
SoccerTwos/events.out.tfevents.1684419762.frorozcol.8572.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7988fd905ae83c8ed9f869c1e8bc3b703ff25224e522822324cb5e2fa9747c3e
3
+ size 345626
SoccerTwos/events.out.tfevents.1684421519.frorozcol.10096.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6d02208fca2d5202216ed3fa246de9d6ee62a4cb2efdbdb4cef5e42e7ebe2fa7
3
+ size 1240
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": 5000000, "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": "./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": false}, "environment_parameters": null, "checkpoint_settings": {"run_id": "SoccerTwos", "initialize_from": null, "load_model": false, "resume": true, "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: 5000000
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: ./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: false
70
+ environment_parameters: null
71
+ checkpoint_settings:
72
+ run_id: SoccerTwos
73
+ initialize_from: null
74
+ load_model: false
75
+ resume: true
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,313 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = 'C:/Users/froro/OneDrive/Escritorio/personal_project/Proyectos/ml-agents/ml-agents/SoccerTwos/SoccerTwos_Data/Managed'
2
+ Mono config path = 'C:/Users/froro/OneDrive/Escritorio/personal_project/Proyectos/ml-agents/ml-agents/SoccerTwos/MonoBleedingEdge/etc'
3
+ Initialize engine version: 2021.3.14f1 (eee1884e7226)
4
+ [Subsystems] Discovering subsystems at path C:/Users/froro/OneDrive/Escritorio/personal_project/Proyectos/ml-agents/ml-agents/SoccerTwos/SoccerTwos_Data/UnitySubsystems
5
+ GfxDevice: creating device client; threaded=1; jobified=0
6
+ Direct3D:
7
+ Version: Direct3D 11.0 [level 11.1]
8
+ Renderer: NVIDIA GeForce RTX 3060 Laptop GPU (ID=0x2520)
9
+ Vendor: NVIDIA
10
+ VRAM: 6009 MB
11
+ Driver: 31.0.15.2849
12
+ Begin MonoManager ReloadAssembly
13
+ - Completed reload, in 0.082 seconds
14
+ <RI> Initializing input.
15
+ New input system (experimental) initialized
16
+ Using XInput
17
+ <RI> Input initialized.
18
+ <RI> Initialized touch support.
19
+ UnloadTime: 0.939800 ms
20
+ Registered Communicator in Agent.
21
+ Couldn't connect to trainer on port 5005 using API version 1.5.0. Will perform inference instead.
22
+ Setting up 8 worker threads for Enlighten.
23
+ Memory Statistics:
24
+ [ALLOC_TEMP_TLS] TLS Allocator
25
+ StackAllocators :
26
+ [ALLOC_TEMP_MAIN]
27
+ Peak usage frame count: [2.0 KB-4.0 KB]: 409 frames, [2.0 MB-4.0 MB]: 1 frames
28
+ Initial Block Size 4.0 MB
29
+ Current Block Size 4.0 MB
30
+ Peak Allocated Bytes 2.0 MB
31
+ Overflow Count 0
32
+ [ALLOC_TEMP_Loading.AsyncRead]
33
+ Initial Block Size 64.0 KB
34
+ Current Block Size 64.0 KB
35
+ Peak Allocated Bytes 405 B
36
+ Overflow Count 0
37
+ [ALLOC_TEMP_Loading.PreloadManager]
38
+ Initial Block Size 256.0 KB
39
+ Current Block Size 256.0 KB
40
+ Peak Allocated Bytes 67.1 KB
41
+ Overflow Count 4
42
+ [ALLOC_TEMP_Background Job.Worker 8]
43
+ Initial Block Size 32.0 KB
44
+ Current Block Size 32.0 KB
45
+ Peak Allocated Bytes 54 B
46
+ Overflow Count 0
47
+ [ALLOC_TEMP_Background Job.Worker 9]
48
+ Initial Block Size 32.0 KB
49
+ Current Block Size 32.0 KB
50
+ Peak Allocated Bytes 54 B
51
+ Overflow Count 0
52
+ [ALLOC_TEMP_Job.Worker 0]
53
+ Initial Block Size 256.0 KB
54
+ Current Block Size 256.0 KB
55
+ Peak Allocated Bytes 1.5 KB
56
+ Overflow Count 0
57
+ [ALLOC_TEMP_Background Job.Worker 10]
58
+ Initial Block Size 32.0 KB
59
+ Current Block Size 32.0 KB
60
+ Peak Allocated Bytes 54 B
61
+ Overflow Count 0
62
+ [ALLOC_TEMP_Job.Worker 6]
63
+ Initial Block Size 256.0 KB
64
+ Current Block Size 256.0 KB
65
+ Peak Allocated Bytes 1.5 KB
66
+ Overflow Count 0
67
+ [ALLOC_TEMP_Job.Worker 5]
68
+ Initial Block Size 256.0 KB
69
+ Current Block Size 256.0 KB
70
+ Peak Allocated Bytes 1.5 KB
71
+ Overflow Count 0
72
+ [ALLOC_TEMP_Background Job.Worker 14]
73
+ Initial Block Size 32.0 KB
74
+ Current Block Size 32.0 KB
75
+ Peak Allocated Bytes 54 B
76
+ Overflow Count 0
77
+ [ALLOC_TEMP_Background Job.Worker 6]
78
+ Initial Block Size 32.0 KB
79
+ Current Block Size 32.0 KB
80
+ Peak Allocated Bytes 54 B
81
+ Overflow Count 0
82
+ [ALLOC_TEMP_Job.Worker 4]
83
+ Initial Block Size 256.0 KB
84
+ Current Block Size 256.0 KB
85
+ Peak Allocated Bytes 1.5 KB
86
+ Overflow Count 0
87
+ [ALLOC_TEMP_Job.Worker 14]
88
+ Initial Block Size 256.0 KB
89
+ Current Block Size 256.0 KB
90
+ Peak Allocated Bytes 1.5 KB
91
+ Overflow Count 0
92
+ [ALLOC_TEMP_Job.Worker 3]
93
+ Initial Block Size 256.0 KB
94
+ Current Block Size 256.0 KB
95
+ Peak Allocated Bytes 1.5 KB
96
+ Overflow Count 0
97
+ [ALLOC_TEMP_Job.Worker 13]
98
+ Initial Block Size 256.0 KB
99
+ Current Block Size 256.0 KB
100
+ Peak Allocated Bytes 1.5 KB
101
+ Overflow Count 0
102
+ [ALLOC_TEMP_Background Job.Worker 12]
103
+ Initial Block Size 32.0 KB
104
+ Current Block Size 32.0 KB
105
+ Peak Allocated Bytes 54 B
106
+ Overflow Count 0
107
+ [ALLOC_TEMP_EnlightenWorker] x 8
108
+ Initial Block Size 64.0 KB
109
+ Current Block Size 64.0 KB
110
+ Peak Allocated Bytes 54 B
111
+ Overflow Count 0
112
+ [ALLOC_TEMP_Background Job.Worker 15]
113
+ Initial Block Size 32.0 KB
114
+ Current Block Size 32.0 KB
115
+ Peak Allocated Bytes 54 B
116
+ Overflow Count 0
117
+ [ALLOC_TEMP_Background Job.Worker 1]
118
+ Initial Block Size 32.0 KB
119
+ Current Block Size 32.0 KB
120
+ Peak Allocated Bytes 54 B
121
+ Overflow Count 0
122
+ [ALLOC_TEMP_Background Job.Worker 2]
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 7]
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_UnityGfxDeviceWorker]
133
+ Initial Block Size 256.0 KB
134
+ Current Block Size 256.0 KB
135
+ Peak Allocated Bytes 14.2 KB
136
+ Overflow Count 0
137
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 15
138
+ Initial Block Size 64.0 KB
139
+ Current Block Size 64.0 KB
140
+ Peak Allocated Bytes 0 B
141
+ Overflow Count 0
142
+ [ALLOC_TEMP_Background Job.Worker 5]
143
+ Initial Block Size 32.0 KB
144
+ Current Block Size 32.0 KB
145
+ Peak Allocated Bytes 54 B
146
+ Overflow Count 0
147
+ [ALLOC_TEMP_Job.Worker 9]
148
+ Initial Block Size 256.0 KB
149
+ Current Block Size 256.0 KB
150
+ Peak Allocated Bytes 1.5 KB
151
+ Overflow Count 0
152
+ [ALLOC_TEMP_Background Job.Worker 13]
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_Job.Worker 8]
158
+ Initial Block Size 256.0 KB
159
+ Current Block Size 256.0 KB
160
+ Peak Allocated Bytes 1.5 KB
161
+ Overflow Count 0
162
+ [ALLOC_TEMP_Job.Worker 7]
163
+ Initial Block Size 256.0 KB
164
+ Current Block Size 256.0 KB
165
+ Peak Allocated Bytes 1.5 KB
166
+ Overflow Count 0
167
+ [ALLOC_TEMP_Job.Worker 1]
168
+ Initial Block Size 256.0 KB
169
+ Current Block Size 256.0 KB
170
+ Peak Allocated Bytes 1.5 KB
171
+ Overflow Count 0
172
+ [ALLOC_TEMP_Job.Worker 2]
173
+ Initial Block Size 256.0 KB
174
+ Current Block Size 256.0 KB
175
+ Peak Allocated Bytes 1.5 KB
176
+ Overflow Count 0
177
+ [ALLOC_TEMP_Background Job.Worker 3]
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_Background Job.Worker 11]
183
+ Initial Block Size 32.0 KB
184
+ Current Block Size 32.0 KB
185
+ Peak Allocated Bytes 54 B
186
+ Overflow Count 0
187
+ [ALLOC_TEMP_Job.Worker 10]
188
+ Initial Block Size 256.0 KB
189
+ Current Block Size 256.0 KB
190
+ Peak Allocated Bytes 1.5 KB
191
+ Overflow Count 0
192
+ [ALLOC_TEMP_Background Job.Worker 0]
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_HIDInput]
198
+ Initial Block Size 64.0 KB
199
+ Current Block Size 64.0 KB
200
+ Peak Allocated Bytes 10.8 KB
201
+ Overflow Count 0
202
+ [ALLOC_TEMP_Job.Worker 11]
203
+ Initial Block Size 256.0 KB
204
+ Current Block Size 256.0 KB
205
+ Peak Allocated Bytes 1.5 KB
206
+ Overflow Count 0
207
+ [ALLOC_TEMP_Job.Worker 12]
208
+ Initial Block Size 256.0 KB
209
+ Current Block Size 256.0 KB
210
+ Peak Allocated Bytes 1.5 KB
211
+ Overflow Count 0
212
+ [ALLOC_TEMP_Background Job.Worker 4]
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_BatchDeleteObjects]
218
+ Initial Block Size 64.0 KB
219
+ Current Block Size 64.0 KB
220
+ Peak Allocated Bytes 54 B
221
+ Overflow Count 0
222
+ [ALLOC_DEFAULT] Dual Thread Allocator
223
+ Peak main deferred allocation count 2
224
+ [ALLOC_BUCKET]
225
+ Large Block size 4.0 MB
226
+ Used Block count 1
227
+ Peak Allocated bytes 1.2 MB
228
+ [ALLOC_DEFAULT_MAIN]
229
+ Peak usage frame count: [8.0 MB-16.0 MB]: 409 frames, [32.0 MB-64.0 MB]: 1 frames
230
+ Requested Block Size 16.0 MB
231
+ Peak Block count 2
232
+ Peak Allocated memory 43.3 MB
233
+ Peak Large allocation bytes 16.1 MB
234
+ [ALLOC_DEFAULT_THREAD]
235
+ Peak usage frame count: [16.0 MB-32.0 MB]: 410 frames
236
+ Requested Block Size 16.0 MB
237
+ Peak Block count 1
238
+ Peak Allocated memory 17.2 MB
239
+ Peak Large allocation bytes 16.0 MB
240
+ [ALLOC_TEMP_JOB_1_FRAME]
241
+ Initial Block Size 2.0 MB
242
+ Used Block Count 1
243
+ Overflow Count (too large) 0
244
+ Overflow Count (full) 0
245
+ [ALLOC_TEMP_JOB_2_FRAMES]
246
+ Initial Block Size 2.0 MB
247
+ Used Block Count 1
248
+ Overflow Count (too large) 0
249
+ Overflow Count (full) 0
250
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
251
+ Initial Block Size 2.0 MB
252
+ Used Block Count 2
253
+ Overflow Count (too large) 0
254
+ Overflow Count (full) 0
255
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
256
+ Initial Block Size 1.0 MB
257
+ Used Block Count 3
258
+ Overflow Count (too large) 0
259
+ Overflow Count (full) 0
260
+ [ALLOC_GFX] Dual Thread Allocator
261
+ Peak main deferred allocation count 1
262
+ [ALLOC_BUCKET]
263
+ Large Block size 4.0 MB
264
+ Used Block count 1
265
+ Peak Allocated bytes 1.2 MB
266
+ [ALLOC_GFX_MAIN]
267
+ Peak usage frame count: [32.0 KB-64.0 KB]: 409 frames, [2.0 MB-4.0 MB]: 1 frames
268
+ Requested Block Size 16.0 MB
269
+ Peak Block count 1
270
+ Peak Allocated memory 2.7 MB
271
+ Peak Large allocation bytes 0 B
272
+ [ALLOC_GFX_THREAD]
273
+ Peak usage frame count: [128.0 KB-256.0 KB]: 410 frames
274
+ Requested Block Size 16.0 MB
275
+ Peak Block count 1
276
+ Peak Allocated memory 175.5 KB
277
+ Peak Large allocation bytes 0 B
278
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
279
+ Peak main deferred allocation count 2
280
+ [ALLOC_BUCKET]
281
+ Large Block size 4.0 MB
282
+ Used Block count 1
283
+ Peak Allocated bytes 1.2 MB
284
+ [ALLOC_CACHEOBJECTS_MAIN]
285
+ Peak usage frame count: [1.0 MB-2.0 MB]: 410 frames
286
+ Requested Block Size 4.0 MB
287
+ Peak Block count 1
288
+ Peak Allocated memory 1.1 MB
289
+ Peak Large allocation bytes 0 B
290
+ [ALLOC_CACHEOBJECTS_THREAD]
291
+ Peak usage frame count: [2.0 MB-4.0 MB]: 410 frames
292
+ Requested Block Size 4.0 MB
293
+ Peak Block count 1
294
+ Peak Allocated memory 3.8 MB
295
+ Peak Large allocation bytes 0 B
296
+ [ALLOC_TYPETREE] Dual Thread Allocator
297
+ Peak main deferred allocation count 0
298
+ [ALLOC_BUCKET]
299
+ Large Block size 4.0 MB
300
+ Used Block count 1
301
+ Peak Allocated bytes 1.2 MB
302
+ [ALLOC_TYPETREE_MAIN]
303
+ Peak usage frame count: [0-1.0 KB]: 410 frames
304
+ Requested Block Size 2.0 MB
305
+ Peak Block count 1
306
+ Peak Allocated memory 1.0 KB
307
+ Peak Large allocation bytes 0 B
308
+ [ALLOC_TYPETREE_THREAD]
309
+ Peak usage frame count: [1.0 KB-2.0 KB]: 409 frames, [2.0 KB-4.0 KB]: 1 frames
310
+ Requested Block Size 2.0 MB
311
+ Peak Block count 1
312
+ Peak Allocated memory 2.2 KB
313
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,155 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "metadata": {
4
+ "timer_format_version": "0.1.0",
5
+ "start_time_seconds": "1684421512",
6
+ "python_version": "3.9.2 (tags/v3.9.2:1a79785, Feb 19 2021, 13:44:55) [MSC v.1928 64 bit (AMD64)]",
7
+ "command_line_arguments": "C:\\Users\\froro\\OneDrive\\Escritorio\\personal_project\\Proyectos\\ml-agents\\env\\Scripts\\mlagents-learn .\\config\\poca\\SoccerTwos.yaml --env=./SoccerTwos/SoccerTwos.exe --run-id=SoccerTwos --resume",
8
+ "mlagents_version": "0.31.0.dev0",
9
+ "mlagents_envs_version": "0.31.0.dev0",
10
+ "communication_protocol_version": "1.5.0",
11
+ "pytorch_version": "2.0.0+cpu",
12
+ "numpy_version": "1.21.2",
13
+ "end_time_seconds": "1684421527"
14
+ },
15
+ "total": 14.783975400000001,
16
+ "count": 1,
17
+ "self": 0.004942000000001556,
18
+ "children": {
19
+ "run_training.setup": {
20
+ "total": 0.0938504,
21
+ "count": 1,
22
+ "self": 0.0938504
23
+ },
24
+ "TrainerController.start_learning": {
25
+ "total": 14.685183,
26
+ "count": 1,
27
+ "self": 0.005848700000008478,
28
+ "children": {
29
+ "TrainerController._reset_env": {
30
+ "total": 7.032717,
31
+ "count": 2,
32
+ "self": 7.032717
33
+ },
34
+ "TrainerController.advance": {
35
+ "total": 7.449350799999994,
36
+ "count": 254,
37
+ "self": 0.0056685999999945835,
38
+ "children": {
39
+ "env_step": {
40
+ "total": 7.429804200000005,
41
+ "count": 254,
42
+ "self": 6.483165699999974,
43
+ "children": {
44
+ "SubprocessEnvManager._take_step": {
45
+ "total": 0.9434219000000077,
46
+ "count": 254,
47
+ "self": 0.029185699999983328,
48
+ "children": {
49
+ "TorchPolicy.evaluate": {
50
+ "total": 0.9142362000000244,
51
+ "count": 508,
52
+ "self": 0.9142362000000244
53
+ }
54
+ }
55
+ },
56
+ "workers": {
57
+ "total": 0.0032166000000231065,
58
+ "count": 253,
59
+ "self": 0.0,
60
+ "children": {
61
+ "worker_root": {
62
+ "total": 4.233245600000014,
63
+ "count": 253,
64
+ "is_parallel": true,
65
+ "self": 1.5772206000000146,
66
+ "children": {
67
+ "steps_from_proto": {
68
+ "total": 0.0065131000000002715,
69
+ "count": 4,
70
+ "is_parallel": true,
71
+ "self": 0.0011606999999997925,
72
+ "children": {
73
+ "_process_rank_one_or_two_observation": {
74
+ "total": 0.005352400000000479,
75
+ "count": 16,
76
+ "is_parallel": true,
77
+ "self": 0.005352400000000479
78
+ }
79
+ }
80
+ },
81
+ "UnityEnvironment.step": {
82
+ "total": 2.6495118999999994,
83
+ "count": 253,
84
+ "is_parallel": true,
85
+ "self": 0.13099789999997835,
86
+ "children": {
87
+ "UnityEnvironment._generate_step_input": {
88
+ "total": 0.09891740000000482,
89
+ "count": 253,
90
+ "is_parallel": true,
91
+ "self": 0.09891740000000482
92
+ },
93
+ "communicator.exchange": {
94
+ "total": 2.0130094999999972,
95
+ "count": 253,
96
+ "is_parallel": true,
97
+ "self": 2.0130094999999972
98
+ },
99
+ "steps_from_proto": {
100
+ "total": 0.40658710000001896,
101
+ "count": 506,
102
+ "is_parallel": true,
103
+ "self": 0.08194680000000698,
104
+ "children": {
105
+ "_process_rank_one_or_two_observation": {
106
+ "total": 0.324640300000012,
107
+ "count": 2024,
108
+ "is_parallel": true,
109
+ "self": 0.324640300000012
110
+ }
111
+ }
112
+ }
113
+ }
114
+ }
115
+ }
116
+ }
117
+ }
118
+ }
119
+ }
120
+ },
121
+ "trainer_advance": {
122
+ "total": 0.013877999999994728,
123
+ "count": 253,
124
+ "self": 0.012942500000008295,
125
+ "children": {
126
+ "process_trajectory": {
127
+ "total": 0.0009354999999864333,
128
+ "count": 253,
129
+ "self": 0.0009354999999864333
130
+ }
131
+ }
132
+ }
133
+ }
134
+ },
135
+ "trainer_threads": {
136
+ "total": 6.999999975221272e-07,
137
+ "count": 1,
138
+ "self": 6.999999975221272e-07
139
+ },
140
+ "TrainerController._save_models": {
141
+ "total": 0.19726580000000027,
142
+ "count": 1,
143
+ "self": 0.007141600000000636,
144
+ "children": {
145
+ "RLTrainer._checkpoint": {
146
+ "total": 0.19012419999999963,
147
+ "count": 1,
148
+ "self": 0.19012419999999963
149
+ }
150
+ }
151
+ }
152
+ }
153
+ }
154
+ }
155
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1195.6132185004699,
4
+ "checkpoints": [
5
+ {
6
+ "steps": 499582,
7
+ "file_path": "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-499582.onnx",
8
+ "reward": null,
9
+ "creation_time": 1684421527.7197068,
10
+ "auxillary_file_paths": [
11
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-499582.pt"
12
+ ]
13
+ }
14
+ ],
15
+ "final_checkpoint": {
16
+ "steps": 499582,
17
+ "file_path": "results\\SoccerTwos\\SoccerTwos.onnx",
18
+ "reward": null,
19
+ "creation_time": 1684421527.7197068,
20
+ "auxillary_file_paths": [
21
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-499582.pt"
22
+ ]
23
+ }
24
+ },
25
+ "metadata": {
26
+ "stats_format_version": "0.3.0",
27
+ "mlagents_version": "0.31.0.dev0",
28
+ "torch_version": "2.0.0+cpu"
29
+ }
30
+ }