jarski commited on
Commit
3dc50e5
1 Parent(s): 5e4800f

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: jarski/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:0e6ad5d562a777ce796adc06bd1165b1707c25712026a0ed568339157429bcd8
3
+ size 1768747
SoccerTwos/SoccerTwos-64472.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e6ad5d562a777ce796adc06bd1165b1707c25712026a0ed568339157429bcd8
3
+ size 1768747
SoccerTwos/SoccerTwos-64472.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:502cb965390015f9b892fc7cd839f3742bb0661c57a99ed33f81d2348d053d5e
3
+ size 28430110
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f999693562830a3f091e0473d897c614b80857f49eecc8354a4a350bf07921b1
3
+ size 28429366
SoccerTwos/events.out.tfevents.1724519453.jarskis-MacBook-Pro.local.4388.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:856226acf9766e259bc5f84b26d7fbe0e7a30e23810dfe34d156ab5c88d52462
3
+ size 56993
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.app", "env_args": null, "base_port": 5005, "num_envs": 1, "num_areas": 1, "timeout_wait": 60, "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, "no_graphics_monitor": false}, "environment_parameters": null, "checkpoint_settings": {"run_id": "SoccerTwos", "initialize_from": null, "load_model": false, "resume": false, "force": false, "train_model": false, "inference": false, "results_dir": "results"}, "torch_settings": {"device": null}, "debug": false}
configuration.yaml ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.app
54
+ env_args: null
55
+ base_port: 5005
56
+ num_envs: 1
57
+ num_areas: 1
58
+ timeout_wait: 60
59
+ seed: -1
60
+ max_lifetime_restarts: 10
61
+ restarts_rate_limit_n: 1
62
+ restarts_rate_limit_period_s: 60
63
+ engine_settings:
64
+ width: 84
65
+ height: 84
66
+ quality_level: 5
67
+ time_scale: 20
68
+ target_frame_rate: -1
69
+ capture_frame_rate: 60
70
+ no_graphics: true
71
+ no_graphics_monitor: false
72
+ environment_parameters: null
73
+ checkpoint_settings:
74
+ run_id: SoccerTwos
75
+ initialize_from: null
76
+ load_model: false
77
+ resume: false
78
+ force: false
79
+ train_model: false
80
+ inference: false
81
+ results_dir: results
82
+ torch_settings:
83
+ device: null
84
+ debug: false
run_logs/Player-0.log ADDED
@@ -0,0 +1,311 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/Users/jarski/Dropbox/DEV/HuggingFace/AIvsAISoccer/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos.app/Contents/Resources/Data/Managed'
2
+ Mono config path = '/Users/jarski/Dropbox/DEV/HuggingFace/AIvsAISoccer/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/jarski/Dropbox/DEV/HuggingFace/AIvsAISoccer/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.100 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: 1.794795 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
+ GRPC Exception: Status(StatusCode=Unknown, Detail="Exception calling application: [Errno 32] Broken pipe"). Disconnecting from trainer.
65
+ Setting up 4 worker threads for Enlighten.
66
+ Memory Statistics:
67
+ [ALLOC_TEMP_TLS] TLS Allocator
68
+ StackAllocators :
69
+ [ALLOC_TEMP_MAIN]
70
+ Peak usage frame count: [8.0 KB-16.0 KB]: 1426 frames, [2.0 MB-4.0 MB]: 1 frames
71
+ Initial Block Size 4.0 MB
72
+ Current Block Size 4.0 MB
73
+ Peak Allocated Bytes 2.1 MB
74
+ Overflow Count 0
75
+ [ALLOC_TEMP_Loading.AsyncRead]
76
+ Initial Block Size 64.0 KB
77
+ Current Block Size 64.0 KB
78
+ Peak Allocated Bytes 163 B
79
+ Overflow Count 0
80
+ [ALLOC_TEMP_Loading.PreloadManager]
81
+ Initial Block Size 256.0 KB
82
+ Current Block Size 256.0 KB
83
+ Peak Allocated Bytes 78.8 KB
84
+ Overflow Count 4
85
+ [ALLOC_TEMP_Background Job.Worker 8]
86
+ Initial Block Size 32.0 KB
87
+ Current Block Size 32.0 KB
88
+ Peak Allocated Bytes 0 B
89
+ Overflow Count 0
90
+ [ALLOC_TEMP_Job.Worker 6]
91
+ Initial Block Size 256.0 KB
92
+ Current Block Size 256.0 KB
93
+ Peak Allocated Bytes 0.7 KB
94
+ Overflow Count 0
95
+ [ALLOC_TEMP_Job.Worker 0]
96
+ Initial Block Size 256.0 KB
97
+ Current Block Size 256.0 KB
98
+ Peak Allocated Bytes 0 B
99
+ Overflow Count 0
100
+ [ALLOC_TEMP_Background Job.Worker 10]
101
+ Initial Block Size 32.0 KB
102
+ Current Block Size 32.0 KB
103
+ Peak Allocated Bytes 0 B
104
+ Overflow Count 0
105
+ [ALLOC_TEMP_Background Job.Worker 9]
106
+ Initial Block Size 32.0 KB
107
+ Current Block Size 32.0 KB
108
+ Peak Allocated Bytes 0 B
109
+ Overflow Count 0
110
+ [ALLOC_TEMP_Job.Worker 5]
111
+ Initial Block Size 256.0 KB
112
+ Current Block Size 256.0 KB
113
+ Peak Allocated Bytes 0 B
114
+ Overflow Count 0
115
+ [ALLOC_TEMP_Background Job.Worker 14]
116
+ Initial Block Size 32.0 KB
117
+ Current Block Size 32.0 KB
118
+ Peak Allocated Bytes 0 B
119
+ Overflow Count 0
120
+ [ALLOC_TEMP_Background Job.Worker 6]
121
+ Initial Block Size 32.0 KB
122
+ Current Block Size 32.0 KB
123
+ Peak Allocated Bytes 0 B
124
+ Overflow Count 0
125
+ [ALLOC_TEMP_Job.Worker 4]
126
+ Initial Block Size 256.0 KB
127
+ Current Block Size 256.0 KB
128
+ Peak Allocated Bytes 0 B
129
+ Overflow Count 0
130
+ [ALLOC_TEMP_Job.Worker 3]
131
+ Initial Block Size 256.0 KB
132
+ Current Block Size 256.0 KB
133
+ Peak Allocated Bytes 0 B
134
+ Overflow Count 0
135
+ [ALLOC_TEMP_Background Job.Worker 12]
136
+ Initial Block Size 32.0 KB
137
+ Current Block Size 32.0 KB
138
+ Peak Allocated Bytes 0 B
139
+ Overflow Count 0
140
+ [ALLOC_TEMP_EnlightenWorker] x 4
141
+ Initial Block Size 64.0 KB
142
+ Current Block Size 64.0 KB
143
+ Peak Allocated Bytes 0 B
144
+ Overflow Count 0
145
+ [ALLOC_TEMP_Background Job.Worker 15]
146
+ Initial Block Size 32.0 KB
147
+ Current Block Size 32.0 KB
148
+ Peak Allocated Bytes 0 B
149
+ Overflow Count 0
150
+ [ALLOC_TEMP_Background Job.Worker 1]
151
+ Initial Block Size 32.0 KB
152
+ Current Block Size 32.0 KB
153
+ Peak Allocated Bytes 0 B
154
+ Overflow Count 0
155
+ [ALLOC_TEMP_Background Job.Worker 2]
156
+ Initial Block Size 32.0 KB
157
+ Current Block Size 32.0 KB
158
+ Peak Allocated Bytes 0 B
159
+ Overflow Count 0
160
+ [ALLOC_TEMP_Background Job.Worker 7]
161
+ Initial Block Size 32.0 KB
162
+ Current Block Size 32.0 KB
163
+ Peak Allocated Bytes 0 B
164
+ Overflow Count 0
165
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 7
166
+ Initial Block Size 64.0 KB
167
+ Current Block Size 64.0 KB
168
+ Peak Allocated Bytes 0 B
169
+ Overflow Count 0
170
+ [ALLOC_TEMP_Background Job.Worker 5]
171
+ Initial Block Size 32.0 KB
172
+ Current Block Size 32.0 KB
173
+ Peak Allocated Bytes 0 B
174
+ Overflow Count 0
175
+ [ALLOC_TEMP_Background Job.Worker 13]
176
+ Initial Block Size 32.0 KB
177
+ Current Block Size 32.0 KB
178
+ Peak Allocated Bytes 0 B
179
+ Overflow Count 0
180
+ [ALLOC_TEMP_OSX HID Input]
181
+ Initial Block Size 64.0 KB
182
+ Current Block Size 64.0 KB
183
+ Peak Allocated Bytes 0 B
184
+ Overflow Count 0
185
+ [ALLOC_TEMP_Job.Worker 1]
186
+ Initial Block Size 256.0 KB
187
+ Current Block Size 256.0 KB
188
+ Peak Allocated Bytes 0 B
189
+ Overflow Count 0
190
+ [ALLOC_TEMP_Job.Worker 2]
191
+ Initial Block Size 256.0 KB
192
+ Current Block Size 256.0 KB
193
+ Peak Allocated Bytes 0 B
194
+ Overflow Count 0
195
+ [ALLOC_TEMP_Background Job.Worker 3]
196
+ Initial Block Size 32.0 KB
197
+ Current Block Size 32.0 KB
198
+ Peak Allocated Bytes 0 B
199
+ Overflow Count 0
200
+ [ALLOC_TEMP_Background Job.Worker 11]
201
+ Initial Block Size 32.0 KB
202
+ Current Block Size 32.0 KB
203
+ Peak Allocated Bytes 0 B
204
+ Overflow Count 0
205
+ [ALLOC_TEMP_Background Job.Worker 0]
206
+ Initial Block Size 32.0 KB
207
+ Current Block Size 32.0 KB
208
+ Peak Allocated Bytes 0 B
209
+ Overflow Count 0
210
+ [ALLOC_TEMP_Background Job.Worker 4]
211
+ Initial Block Size 32.0 KB
212
+ Current Block Size 32.0 KB
213
+ Peak Allocated Bytes 0 B
214
+ Overflow Count 0
215
+ [ALLOC_TEMP_BatchDeleteObjects]
216
+ Initial Block Size 64.0 KB
217
+ Current Block Size 64.0 KB
218
+ Peak Allocated Bytes 0 B
219
+ Overflow Count 0
220
+ [ALLOC_DEFAULT] Dual Thread Allocator
221
+ Peak main deferred allocation count 2
222
+ [ALLOC_BUCKET]
223
+ Large Block size 4.0 MB
224
+ Used Block count 1
225
+ Peak Allocated bytes 1.0 MB
226
+ [ALLOC_DEFAULT_MAIN]
227
+ Peak usage frame count: [4.0 MB-8.0 MB]: 1427 frames
228
+ Requested Block Size 16.0 MB
229
+ Peak Block count 1
230
+ Peak Allocated memory 5.0 MB
231
+ Peak Large allocation bytes 0 B
232
+ [ALLOC_DEFAULT_THREAD]
233
+ Peak usage frame count: [16.0 MB-32.0 MB]: 1427 frames
234
+ Requested Block Size 16.0 MB
235
+ Peak Block count 1
236
+ Peak Allocated memory 17.4 MB
237
+ Peak Large allocation bytes 16.0 MB
238
+ [ALLOC_TEMP_JOB_1_FRAME]
239
+ Initial Block Size 2.0 MB
240
+ Used Block Count 1
241
+ Overflow Count (too large) 0
242
+ Overflow Count (full) 0
243
+ [ALLOC_TEMP_JOB_2_FRAMES]
244
+ Initial Block Size 2.0 MB
245
+ Used Block Count 1
246
+ Overflow Count (too large) 0
247
+ Overflow Count (full) 0
248
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
249
+ Initial Block Size 2.0 MB
250
+ Used Block Count 2
251
+ Overflow Count (too large) 0
252
+ Overflow Count (full) 0
253
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
254
+ Initial Block Size 1.0 MB
255
+ Used Block Count 3
256
+ Overflow Count (too large) 0
257
+ Overflow Count (full) 0
258
+ [ALLOC_GFX] Dual Thread Allocator
259
+ Peak main deferred allocation count 0
260
+ [ALLOC_BUCKET]
261
+ Large Block size 4.0 MB
262
+ Used Block count 1
263
+ Peak Allocated bytes 1.0 MB
264
+ [ALLOC_GFX_MAIN]
265
+ Peak usage frame count: [32.0 KB-64.0 KB]: 1426 frames, [64.0 KB-128.0 KB]: 1 frames
266
+ Requested Block Size 16.0 MB
267
+ Peak Block count 1
268
+ Peak Allocated memory 65.6 KB
269
+ Peak Large allocation bytes 0 B
270
+ [ALLOC_GFX_THREAD]
271
+ Peak usage frame count: [128.0 KB-256.0 KB]: 1427 frames
272
+ Requested Block Size 16.0 MB
273
+ Peak Block count 1
274
+ Peak Allocated memory 173.5 KB
275
+ Peak Large allocation bytes 0 B
276
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
277
+ Peak main deferred allocation count 0
278
+ [ALLOC_BUCKET]
279
+ Large Block size 4.0 MB
280
+ Used Block count 1
281
+ Peak Allocated bytes 1.0 MB
282
+ [ALLOC_CACHEOBJECTS_MAIN]
283
+ Peak usage frame count: [0.5 MB-1.0 MB]: 1427 frames
284
+ Requested Block Size 4.0 MB
285
+ Peak Block count 1
286
+ Peak Allocated memory 0.6 MB
287
+ Peak Large allocation bytes 0 B
288
+ [ALLOC_CACHEOBJECTS_THREAD]
289
+ Peak usage frame count: [0.5 MB-1.0 MB]: 1426 frames, [2.0 MB-4.0 MB]: 1 frames
290
+ Requested Block Size 4.0 MB
291
+ Peak Block count 1
292
+ Peak Allocated memory 3.4 MB
293
+ Peak Large allocation bytes 0 B
294
+ [ALLOC_TYPETREE] Dual Thread Allocator
295
+ Peak main deferred allocation count 0
296
+ [ALLOC_BUCKET]
297
+ Large Block size 4.0 MB
298
+ Used Block count 1
299
+ Peak Allocated bytes 1.0 MB
300
+ [ALLOC_TYPETREE_MAIN]
301
+ Peak usage frame count: [0-1.0 KB]: 1427 frames
302
+ Requested Block Size 2.0 MB
303
+ Peak Block count 1
304
+ Peak Allocated memory 1.0 KB
305
+ Peak Large allocation bytes 0 B
306
+ [ALLOC_TYPETREE_THREAD]
307
+ Peak usage frame count: [1.0 KB-2.0 KB]: 1426 frames, [2.0 KB-4.0 KB]: 1 frames
308
+ Requested Block Size 2.0 MB
309
+ Peak Block count 1
310
+ Peak Allocated memory 2.2 KB
311
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,361 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "SoccerTwos.Policy.Entropy.mean": {
5
+ "value": 3.280280113220215,
6
+ "min": 3.2783467769622803,
7
+ "max": 3.2957565784454346,
8
+ "count": 6
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 84185.109375,
12
+ "min": 48556.515625,
13
+ "max": 105464.2109375,
14
+ "count": 6
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 863.6666666666666,
18
+ "min": 628.0,
19
+ "max": 999.0,
20
+ "count": 6
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 20728.0,
24
+ "min": 19100.0,
25
+ "max": 20796.0,
26
+ "count": 6
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1202.2824431324761,
30
+ "min": 1198.03718369126,
31
+ "max": 1202.2824431324761,
32
+ "count": 5
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 7213.694658794857,
36
+ "min": 4792.14873476504,
37
+ "max": 9607.354611621628,
38
+ "count": 5
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 59472.0,
42
+ "min": 9064.0,
43
+ "max": 59472.0,
44
+ "count": 6
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 59472.0,
48
+ "min": 9064.0,
49
+ "max": 59472.0,
50
+ "count": 6
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": -0.04934411123394966,
54
+ "min": -0.07580116391181946,
55
+ "max": -0.04934411123394966,
56
+ "count": 6
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": -0.5921293497085571,
60
+ "min": -1.1370174884796143,
61
+ "max": -0.5921293497085571,
62
+ "count": 6
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": -0.04930315539240837,
66
+ "min": -0.07575174421072006,
67
+ "max": -0.04930315539240837,
68
+ "count": 6
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": -0.5916378498077393,
72
+ "min": -1.1362628936767578,
73
+ "max": -0.5916378498077393,
74
+ "count": 6
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 6
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 6
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": -0.31566666687528294,
90
+ "min": -0.31618666648864746,
91
+ "max": 0.07618571392127446,
92
+ "count": 6
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": -3.788000002503395,
96
+ "min": -4.742799997329712,
97
+ "max": 1.0665999948978424,
98
+ "count": 6
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": -0.31566666687528294,
102
+ "min": -0.31618666648864746,
103
+ "max": 0.07618571392127446,
104
+ "count": 6
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": -3.788000002503395,
108
+ "min": -4.742799997329712,
109
+ "max": 1.0665999948978424,
110
+ "count": 6
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 6
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 6
123
+ },
124
+ "SoccerTwos.Losses.PolicyLoss.mean": {
125
+ "value": 0.012926523063045654,
126
+ "min": 0.012926523063045654,
127
+ "max": 0.020022281814211357,
128
+ "count": 2
129
+ },
130
+ "SoccerTwos.Losses.PolicyLoss.sum": {
131
+ "value": 0.012926523063045654,
132
+ "min": 0.012926523063045654,
133
+ "max": 0.020022281814211357,
134
+ "count": 2
135
+ },
136
+ "SoccerTwos.Losses.ValueLoss.mean": {
137
+ "value": 0.002601245115511119,
138
+ "min": 0.002601245115511119,
139
+ "max": 0.003279344812552962,
140
+ "count": 2
141
+ },
142
+ "SoccerTwos.Losses.ValueLoss.sum": {
143
+ "value": 0.002601245115511119,
144
+ "min": 0.002601245115511119,
145
+ "max": 0.003279344812552962,
146
+ "count": 2
147
+ },
148
+ "SoccerTwos.Losses.BaselineLoss.mean": {
149
+ "value": 0.0026231462019495667,
150
+ "min": 0.0026231462019495667,
151
+ "max": 0.002986939672458296,
152
+ "count": 2
153
+ },
154
+ "SoccerTwos.Losses.BaselineLoss.sum": {
155
+ "value": 0.0026231462019495667,
156
+ "min": 0.0026231462019495667,
157
+ "max": 0.002986939672458296,
158
+ "count": 2
159
+ },
160
+ "SoccerTwos.Policy.LearningRate.mean": {
161
+ "value": 0.0003,
162
+ "min": 0.0003,
163
+ "max": 0.0003,
164
+ "count": 2
165
+ },
166
+ "SoccerTwos.Policy.LearningRate.sum": {
167
+ "value": 0.0003,
168
+ "min": 0.0003,
169
+ "max": 0.0003,
170
+ "count": 2
171
+ },
172
+ "SoccerTwos.Policy.Epsilon.mean": {
173
+ "value": 0.20000000000000007,
174
+ "min": 0.20000000000000004,
175
+ "max": 0.20000000000000007,
176
+ "count": 2
177
+ },
178
+ "SoccerTwos.Policy.Epsilon.sum": {
179
+ "value": 0.20000000000000007,
180
+ "min": 0.20000000000000004,
181
+ "max": 0.20000000000000007,
182
+ "count": 2
183
+ },
184
+ "SoccerTwos.Policy.Beta.mean": {
185
+ "value": 0.005000000000000001,
186
+ "min": 0.005000000000000001,
187
+ "max": 0.005000000000000001,
188
+ "count": 2
189
+ },
190
+ "SoccerTwos.Policy.Beta.sum": {
191
+ "value": 0.005000000000000001,
192
+ "min": 0.005000000000000001,
193
+ "max": 0.005000000000000001,
194
+ "count": 2
195
+ }
196
+ },
197
+ "metadata": {
198
+ "timer_format_version": "0.1.0",
199
+ "start_time_seconds": "1724519447",
200
+ "python_version": "3.10.12 (main, Jul 5 2023, 15:34:07) [Clang 14.0.6 ]",
201
+ "command_line_arguments": "/opt/miniconda3/envs/rl/bin/mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos/SoccerTwos.app --run-id=SoccerTwos --no-graphics",
202
+ "mlagents_version": "1.1.0.dev0",
203
+ "mlagents_envs_version": "1.1.0.dev0",
204
+ "communication_protocol_version": "1.5.0",
205
+ "pytorch_version": "2.2.2",
206
+ "numpy_version": "1.23.5",
207
+ "end_time_seconds": "1724520140"
208
+ },
209
+ "total": 693.4518482399999,
210
+ "count": 1,
211
+ "self": 0.05742895299954398,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.40264591000004657,
215
+ "count": 1,
216
+ "self": 0.40264591000004657
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 692.9917733770003,
220
+ "count": 1,
221
+ "self": 0.12369536600908759,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 7.406253436000043,
225
+ "count": 1,
226
+ "self": 7.406253436000043
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 685.071366134991,
230
+ "count": 4785,
231
+ "self": 0.12215116300012596,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 592.8307875299761,
235
+ "count": 4785,
236
+ "self": 573.5621467529818,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 19.187191830997108,
240
+ "count": 4785,
241
+ "self": 0.7303791650201674,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 18.45681266597694,
245
+ "count": 9508,
246
+ "self": 18.45681266597694
247
+ }
248
+ }
249
+ },
250
+ "workers": {
251
+ "total": 0.081448945997181,
252
+ "count": 4784,
253
+ "self": 0.0,
254
+ "children": {
255
+ "worker_root": {
256
+ "total": 686.8875139429874,
257
+ "count": 4784,
258
+ "is_parallel": true,
259
+ "self": 128.84188381700505,
260
+ "children": {
261
+ "steps_from_proto": {
262
+ "total": 0.0035839239999404526,
263
+ "count": 2,
264
+ "is_parallel": true,
265
+ "self": 0.0006243819998417166,
266
+ "children": {
267
+ "_process_rank_one_or_two_observation": {
268
+ "total": 0.002959542000098736,
269
+ "count": 8,
270
+ "is_parallel": true,
271
+ "self": 0.002959542000098736
272
+ }
273
+ }
274
+ },
275
+ "UnityEnvironment.step": {
276
+ "total": 558.0420462019824,
277
+ "count": 4784,
278
+ "is_parallel": true,
279
+ "self": 1.7412149479487198,
280
+ "children": {
281
+ "UnityEnvironment._generate_step_input": {
282
+ "total": 10.846042801002113,
283
+ "count": 4784,
284
+ "is_parallel": true,
285
+ "self": 10.846042801002113
286
+ },
287
+ "communicator.exchange": {
288
+ "total": 525.9501560759873,
289
+ "count": 4784,
290
+ "is_parallel": true,
291
+ "self": 525.9501560759873
292
+ },
293
+ "steps_from_proto": {
294
+ "total": 19.504632377044345,
295
+ "count": 9568,
296
+ "is_parallel": true,
297
+ "self": 2.6491153230367672,
298
+ "children": {
299
+ "_process_rank_one_or_two_observation": {
300
+ "total": 16.855517054007578,
301
+ "count": 38272,
302
+ "is_parallel": true,
303
+ "self": 16.855517054007578
304
+ }
305
+ }
306
+ }
307
+ }
308
+ }
309
+ }
310
+ }
311
+ }
312
+ }
313
+ }
314
+ },
315
+ "trainer_advance": {
316
+ "total": 92.11842744201476,
317
+ "count": 4784,
318
+ "self": 0.7905554330382074,
319
+ "children": {
320
+ "process_trajectory": {
321
+ "total": 12.927446241976668,
322
+ "count": 4784,
323
+ "self": 12.927446241976668
324
+ },
325
+ "_update_policy": {
326
+ "total": 78.40042576699989,
327
+ "count": 2,
328
+ "self": 7.863874345997829,
329
+ "children": {
330
+ "TorchPOCAOptimizer.update": {
331
+ "total": 70.53655142100206,
332
+ "count": 66,
333
+ "self": 70.53655142100206
334
+ }
335
+ }
336
+ }
337
+ }
338
+ }
339
+ }
340
+ },
341
+ "trainer_threads": {
342
+ "total": 1.9780000002356246e-06,
343
+ "count": 1,
344
+ "self": 1.9780000002356246e-06
345
+ },
346
+ "TrainerController._save_models": {
347
+ "total": 0.390456462000202,
348
+ "count": 1,
349
+ "self": 0.013004382999952213,
350
+ "children": {
351
+ "RLTrainer._checkpoint": {
352
+ "total": 0.3774520790002498,
353
+ "count": 1,
354
+ "self": 0.3774520790002498
355
+ }
356
+ }
357
+ }
358
+ }
359
+ }
360
+ }
361
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1203.0224700966921,
4
+ "checkpoints": [
5
+ {
6
+ "steps": 64472,
7
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-64472.onnx",
8
+ "reward": 0.0,
9
+ "creation_time": 1724520140.809403,
10
+ "auxillary_file_paths": [
11
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-64472.pt"
12
+ ]
13
+ }
14
+ ],
15
+ "final_checkpoint": {
16
+ "steps": 64472,
17
+ "file_path": "results/SoccerTwos/SoccerTwos.onnx",
18
+ "reward": 0.0,
19
+ "creation_time": 1724520140.809403,
20
+ "auxillary_file_paths": [
21
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-64472.pt"
22
+ ]
23
+ }
24
+ },
25
+ "metadata": {
26
+ "stats_format_version": "0.3.0",
27
+ "mlagents_version": "1.1.0.dev0",
28
+ "torch_version": "2.2.2"
29
+ }
30
+ }