hugfacerhaha commited on
Commit
48cbcea
1 Parent(s): 4813ba0

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: hugfacerhaha/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:379d37597a8d6b0caea1f4bd5a9054d47e75d43bc38c3ec98fa4b24a2723279b
3
+ size 1764633
SoccerTwos/SoccerTwos-0.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:379d37597a8d6b0caea1f4bd5a9054d47e75d43bc38c3ec98fa4b24a2723279b
3
+ size 1764633
SoccerTwos/SoccerTwos-0.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1ae1d1ace3bc5700c02b33c852885471389fa3d2a190e741d825d2d0da01f75a
3
+ size 9478265
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1ae1d1ace3bc5700c02b33c852885471389fa3d2a190e741d825d2d0da01f75a
3
+ size 9478265
SoccerTwos/events.out.tfevents.1689426934.bcd0749a6d7e.67810.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2c643e076db901a62d4f2b3c6f7ba8dac7036ca139364dc420d42e42ae4ca014
3
+ size 1242
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.97, "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": 100000000, "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.app", "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": 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.97
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: 100000000
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.app
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: 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,298 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/Users/matteoh/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos.app/Contents/Resources/Data/Managed'
2
+ Mono config path = '/Users/matteoh/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos.app/Contents/MonoBleedingEdge/etc'
3
+ New input system (experimental) initialized
4
+ Initialize engine version: 2021.3.17f1 (3e8111cac19d)
5
+ [Subsystems] Discovering subsystems at path /Users/matteoh/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos.app/Contents/Resources/Data/UnitySubsystems
6
+ Forcing GfxDevice: Null
7
+ GfxDevice: creating device client; threaded=0; jobified=0
8
+ NullGfxDevice:
9
+ Version: NULL 1.0 [1.0]
10
+ Renderer: Null Device
11
+ Vendor: Unity Technologies
12
+ Begin MonoManager ReloadAssembly
13
+ - Completed reload, in 0.048 seconds
14
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
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.346083 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
+ Thread 0x16f2ff000 may have been prematurely finalized
42
+ Setting up 5 worker threads for Enlighten.
43
+ Memory Statistics:
44
+ [ALLOC_TEMP_TLS] TLS Allocator
45
+ StackAllocators :
46
+ [ALLOC_TEMP_MAIN]
47
+ Peak usage frame count: [2.0 MB-4.0 MB]: 1 frames
48
+ Initial Block Size 4.0 MB
49
+ Current Block Size 4.0 MB
50
+ Peak Allocated Bytes 2.1 MB
51
+ Overflow Count 0
52
+ [ALLOC_TEMP_Loading.AsyncRead]
53
+ Initial Block Size 64.0 KB
54
+ Current Block Size 64.0 KB
55
+ Peak Allocated Bytes 128 B
56
+ Overflow Count 0
57
+ [ALLOC_TEMP_Loading.PreloadManager]
58
+ Initial Block Size 256.0 KB
59
+ Current Block Size 256.0 KB
60
+ Peak Allocated Bytes 78.8 KB
61
+ Overflow Count 4
62
+ [ALLOC_TEMP_Background Job.Worker 8]
63
+ Initial Block Size 32.0 KB
64
+ Current Block Size 32.0 KB
65
+ Peak Allocated Bytes 0 B
66
+ Overflow Count 0
67
+ [ALLOC_TEMP_Job.Worker 6]
68
+ Initial Block Size 256.0 KB
69
+ Current Block Size 256.0 KB
70
+ Peak Allocated Bytes 0 B
71
+ Overflow Count 0
72
+ [ALLOC_TEMP_Job.Worker 0]
73
+ Initial Block Size 256.0 KB
74
+ Current Block Size 256.0 KB
75
+ Peak Allocated Bytes 0 B
76
+ Overflow Count 0
77
+ [ALLOC_TEMP_Background Job.Worker 10]
78
+ Initial Block Size 32.0 KB
79
+ Current Block Size 32.0 KB
80
+ Peak Allocated Bytes 0 B
81
+ Overflow Count 0
82
+ [ALLOC_TEMP_Background Job.Worker 9]
83
+ Initial Block Size 32.0 KB
84
+ Current Block Size 32.0 KB
85
+ Peak Allocated Bytes 0 B
86
+ Overflow Count 0
87
+ [ALLOC_TEMP_Job.Worker 5]
88
+ Initial Block Size 256.0 KB
89
+ Current Block Size 256.0 KB
90
+ Peak Allocated Bytes 0 B
91
+ Overflow Count 0
92
+ [ALLOC_TEMP_Background Job.Worker 14]
93
+ Initial Block Size 32.0 KB
94
+ Current Block Size 32.0 KB
95
+ Peak Allocated Bytes 0 B
96
+ Overflow Count 0
97
+ [ALLOC_TEMP_Background Job.Worker 6]
98
+ Initial Block Size 32.0 KB
99
+ Current Block Size 32.0 KB
100
+ Peak Allocated Bytes 0 B
101
+ Overflow Count 0
102
+ [ALLOC_TEMP_Job.Worker 4]
103
+ Initial Block Size 256.0 KB
104
+ Current Block Size 256.0 KB
105
+ Peak Allocated Bytes 0 B
106
+ Overflow Count 0
107
+ [ALLOC_TEMP_Job.Worker 3]
108
+ Initial Block Size 256.0 KB
109
+ Current Block Size 256.0 KB
110
+ Peak Allocated Bytes 0 B
111
+ Overflow Count 0
112
+ [ALLOC_TEMP_Background Job.Worker 12]
113
+ Initial Block Size 32.0 KB
114
+ Current Block Size 32.0 KB
115
+ Peak Allocated Bytes 0 B
116
+ Overflow Count 0
117
+ [ALLOC_TEMP_EnlightenWorker] x 5
118
+ Initial Block Size 64.0 KB
119
+ Current Block Size 64.0 KB
120
+ Peak Allocated Bytes 0 B
121
+ Overflow Count 0
122
+ [ALLOC_TEMP_Background Job.Worker 15]
123
+ Initial Block Size 32.0 KB
124
+ Current Block Size 32.0 KB
125
+ Peak Allocated Bytes 0 B
126
+ Overflow Count 0
127
+ [ALLOC_TEMP_Background Job.Worker 1]
128
+ Initial Block Size 32.0 KB
129
+ Current Block Size 32.0 KB
130
+ Peak Allocated Bytes 0 B
131
+ Overflow Count 0
132
+ [ALLOC_TEMP_Background Job.Worker 2]
133
+ Initial Block Size 32.0 KB
134
+ Current Block Size 32.0 KB
135
+ Peak Allocated Bytes 0 B
136
+ Overflow Count 0
137
+ [ALLOC_TEMP_Background Job.Worker 7]
138
+ Initial Block Size 32.0 KB
139
+ Current Block Size 32.0 KB
140
+ Peak Allocated Bytes 0 B
141
+ Overflow Count 0
142
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 9
143
+ Initial Block Size 64.0 KB
144
+ Current Block Size 64.0 KB
145
+ Peak Allocated Bytes 0 B
146
+ Overflow Count 0
147
+ [ALLOC_TEMP_Background Job.Worker 5]
148
+ Initial Block Size 32.0 KB
149
+ Current Block Size 32.0 KB
150
+ Peak Allocated Bytes 0 B
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 0 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 0 B
161
+ Overflow Count 0
162
+ [ALLOC_TEMP_OSX HID Input]
163
+ Initial Block Size 64.0 KB
164
+ Current Block Size 64.0 KB
165
+ Peak Allocated Bytes 0 B
166
+ Overflow Count 0
167
+ [ALLOC_TEMP_Job.Worker 7]
168
+ Initial Block Size 256.0 KB
169
+ Current Block Size 256.0 KB
170
+ Peak Allocated Bytes 0 B
171
+ Overflow Count 0
172
+ [ALLOC_TEMP_Job.Worker 1]
173
+ Initial Block Size 256.0 KB
174
+ Current Block Size 256.0 KB
175
+ Peak Allocated Bytes 0 B
176
+ Overflow Count 0
177
+ [ALLOC_TEMP_Job.Worker 2]
178
+ Initial Block Size 256.0 KB
179
+ Current Block Size 256.0 KB
180
+ Peak Allocated Bytes 0.7 KB
181
+ Overflow Count 0
182
+ [ALLOC_TEMP_Background Job.Worker 3]
183
+ Initial Block Size 32.0 KB
184
+ Current Block Size 32.0 KB
185
+ Peak Allocated Bytes 0 B
186
+ Overflow Count 0
187
+ [ALLOC_TEMP_Background Job.Worker 11]
188
+ Initial Block Size 32.0 KB
189
+ Current Block Size 32.0 KB
190
+ Peak Allocated Bytes 0 B
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 0 B
196
+ Overflow Count 0
197
+ [ALLOC_TEMP_Background Job.Worker 4]
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_BatchDeleteObjects]
203
+ Initial Block Size 64.0 KB
204
+ Current Block Size 64.0 KB
205
+ Peak Allocated Bytes 0 B
206
+ Overflow Count 0
207
+ [ALLOC_DEFAULT] Dual Thread Allocator
208
+ Peak main deferred allocation count 3
209
+ [ALLOC_BUCKET]
210
+ Large Block size 4.0 MB
211
+ Used Block count 1
212
+ Peak Allocated bytes 1.0 MB
213
+ [ALLOC_DEFAULT_MAIN]
214
+ Peak usage frame count: [4.0 MB-8.0 MB]: 1 frames
215
+ Requested Block Size 16.0 MB
216
+ Peak Block count 1
217
+ Peak Allocated memory 4.8 MB
218
+ Peak Large allocation bytes 0 B
219
+ [ALLOC_DEFAULT_THREAD]
220
+ Peak usage frame count: [16.0 MB-32.0 MB]: 1 frames
221
+ Requested Block Size 16.0 MB
222
+ Peak Block count 1
223
+ Peak Allocated memory 17.5 MB
224
+ Peak Large allocation bytes 16.0 MB
225
+ [ALLOC_TEMP_JOB_1_FRAME]
226
+ Initial Block Size 2.0 MB
227
+ Used Block Count 1
228
+ Overflow Count (too large) 0
229
+ Overflow Count (full) 0
230
+ [ALLOC_TEMP_JOB_2_FRAMES]
231
+ Initial Block Size 2.0 MB
232
+ Used Block Count 1
233
+ Overflow Count (too large) 0
234
+ Overflow Count (full) 0
235
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
236
+ Initial Block Size 2.0 MB
237
+ Used Block Count 1
238
+ Overflow Count (too large) 0
239
+ Overflow Count (full) 0
240
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
241
+ Initial Block Size 1.0 MB
242
+ Used Block Count 3
243
+ Overflow Count (too large) 0
244
+ Overflow Count (full) 0
245
+ [ALLOC_GFX] Dual Thread Allocator
246
+ Peak main deferred allocation count 0
247
+ [ALLOC_BUCKET]
248
+ Large Block size 4.0 MB
249
+ Used Block count 1
250
+ Peak Allocated bytes 1.0 MB
251
+ [ALLOC_GFX_MAIN]
252
+ Peak usage frame count: [64.0 KB-128.0 KB]: 1 frames
253
+ Requested Block Size 16.0 MB
254
+ Peak Block count 1
255
+ Peak Allocated memory 65.6 KB
256
+ Peak Large allocation bytes 0 B
257
+ [ALLOC_GFX_THREAD]
258
+ Peak usage frame count: [128.0 KB-256.0 KB]: 1 frames
259
+ Requested Block Size 16.0 MB
260
+ Peak Block count 1
261
+ Peak Allocated memory 173.5 KB
262
+ Peak Large allocation bytes 0 B
263
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
264
+ Peak main deferred allocation count 0
265
+ [ALLOC_BUCKET]
266
+ Large Block size 4.0 MB
267
+ Used Block count 1
268
+ Peak Allocated bytes 1.0 MB
269
+ [ALLOC_CACHEOBJECTS_MAIN]
270
+ Peak usage frame count: [0.5 MB-1.0 MB]: 1 frames
271
+ Requested Block Size 4.0 MB
272
+ Peak Block count 1
273
+ Peak Allocated memory 0.6 MB
274
+ Peak Large allocation bytes 0 B
275
+ [ALLOC_CACHEOBJECTS_THREAD]
276
+ Peak usage frame count: [2.0 MB-4.0 MB]: 1 frames
277
+ Requested Block Size 4.0 MB
278
+ Peak Block count 1
279
+ Peak Allocated memory 3.4 MB
280
+ Peak Large allocation bytes 0 B
281
+ [ALLOC_TYPETREE] Dual Thread Allocator
282
+ Peak main deferred allocation count 0
283
+ [ALLOC_BUCKET]
284
+ Large Block size 4.0 MB
285
+ Used Block count 1
286
+ Peak Allocated bytes 1.0 MB
287
+ [ALLOC_TYPETREE_MAIN]
288
+ Peak usage frame count: [0-1.0 KB]: 1 frames
289
+ Requested Block Size 2.0 MB
290
+ Peak Block count 1
291
+ Peak Allocated memory 1.0 KB
292
+ Peak Large allocation bytes 0 B
293
+ [ALLOC_TYPETREE_THREAD]
294
+ Peak usage frame count: [2.0 KB-4.0 KB]: 1 frames
295
+ Requested Block Size 2.0 MB
296
+ Peak Block count 1
297
+ Peak Allocated memory 2.2 KB
298
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "metadata": {
4
+ "timer_format_version": "0.1.0",
5
+ "start_time_seconds": "1689426932",
6
+ "python_version": "3.9.17 (main, Jul 5 2023, 15:35:09) \n[Clang 14.0.6 ]",
7
+ "command_line_arguments": "/Users/matteoh/anaconda3/envs/rl/bin/mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos/SoccerTwos.app --run-id=SoccerTwos --no-graphics --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": "1.11.0",
12
+ "numpy_version": "1.21.2",
13
+ "end_time_seconds": "1689426934"
14
+ },
15
+ "total": 2.239049166,
16
+ "count": 1,
17
+ "self": 0.23211304099999985,
18
+ "children": {
19
+ "run_training.setup": {
20
+ "total": 0.011259125000000036,
21
+ "count": 1,
22
+ "self": 0.011259125000000036
23
+ },
24
+ "TrainerController.start_learning": {
25
+ "total": 1.9956770000000001,
26
+ "count": 1,
27
+ "self": 6.229200000040791e-05,
28
+ "children": {
29
+ "TrainerController._reset_env": {
30
+ "total": 1.9230004159999998,
31
+ "count": 1,
32
+ "self": 1.9230004159999998
33
+ },
34
+ "TrainerController._save_models": {
35
+ "total": 0.07261429199999991,
36
+ "count": 1,
37
+ "self": 0.0006197509999998907,
38
+ "children": {
39
+ "RLTrainer._checkpoint": {
40
+ "total": 0.07199454100000002,
41
+ "count": 1,
42
+ "self": 0.07199454100000002
43
+ }
44
+ }
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "stats_format_version": "0.3.0",
4
+ "mlagents_version": "0.31.0.dev0",
5
+ "torch_version": "1.11.0"
6
+ },
7
+ "SoccerTwos": {
8
+ "elo": 1200.0,
9
+ "checkpoints": [
10
+ {
11
+ "steps": 0,
12
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-0.onnx",
13
+ "reward": null,
14
+ "creation_time": 1689426934.718724,
15
+ "auxillary_file_paths": [
16
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-0.pt"
17
+ ]
18
+ }
19
+ ],
20
+ "final_checkpoint": {
21
+ "steps": 0,
22
+ "file_path": "results/SoccerTwos/SoccerTwos.onnx",
23
+ "reward": null,
24
+ "creation_time": 1689426934.718724,
25
+ "auxillary_file_paths": [
26
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-0.pt"
27
+ ]
28
+ }
29
+ }
30
+ }