ibrahimciko commited on
Commit
a046443
1 Parent(s): 8e638cc

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: ibrahimciko/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:67da4afb0ca4f655229c90a0eb350dd682c64bf69e9a3560efe2a3ab978dd4e9
3
+ size 1764633
SoccerTwos/SoccerTwos-12122.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:67da4afb0ca4f655229c90a0eb350dd682c64bf69e9a3560efe2a3ab978dd4e9
3
+ size 1764633
SoccerTwos/SoccerTwos-12122.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c91b0b524a78053e08aef336ef0d683cb7c7684af00ed6deea965366526e97e
3
+ size 9478265
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c91b0b524a78053e08aef336ef0d683cb7c7684af00ed6deea965366526e97e
3
+ size 9478265
SoccerTwos/events.out.tfevents.1694074757.NLAMS1M0832.47044.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7362a2a6ff0dbe53c54eb60050cfa89f30773723fc4f7e94fe724e43c6b3e2e2
3
+ size 6631
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": 10000, "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": "SoccerTwos2", "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,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: 10000
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: SoccerTwos2
73
+ initialize_from: null
74
+ load_model: false
75
+ resume: false
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,302 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/Users/cikriibr/projects/learning/deepRL/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos.app/Contents/Resources/Data/Managed'
2
+ Mono config path = '/Users/cikriibr/projects/learning/deepRL/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/cikriibr/projects/learning/deepRL/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.071 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.318250 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
+ Thread 0x170cd3000 may have been prematurely finalized
46
+ Setting up 5 worker threads for Enlighten.
47
+ Memory Statistics:
48
+ [ALLOC_TEMP_TLS] TLS Allocator
49
+ StackAllocators :
50
+ [ALLOC_TEMP_MAIN]
51
+ Peak usage frame count: [8.0 KB-16.0 KB]: 299 frames, [2.0 MB-4.0 MB]: 1 frames
52
+ Initial Block Size 4.0 MB
53
+ Current Block Size 4.0 MB
54
+ Peak Allocated Bytes 2.1 MB
55
+ Overflow Count 0
56
+ [ALLOC_TEMP_Loading.AsyncRead]
57
+ Initial Block Size 64.0 KB
58
+ Current Block Size 64.0 KB
59
+ Peak Allocated Bytes 153 B
60
+ Overflow Count 0
61
+ [ALLOC_TEMP_Loading.PreloadManager]
62
+ Initial Block Size 256.0 KB
63
+ Current Block Size 256.0 KB
64
+ Peak Allocated Bytes 78.8 KB
65
+ Overflow Count 4
66
+ [ALLOC_TEMP_Background Job.Worker 8]
67
+ Initial Block Size 32.0 KB
68
+ Current Block Size 32.0 KB
69
+ Peak Allocated Bytes 0 B
70
+ Overflow Count 0
71
+ [ALLOC_TEMP_Job.Worker 6]
72
+ Initial Block Size 256.0 KB
73
+ Current Block Size 256.0 KB
74
+ Peak Allocated Bytes 0 B
75
+ Overflow Count 0
76
+ [ALLOC_TEMP_Job.Worker 0]
77
+ Initial Block Size 256.0 KB
78
+ Current Block Size 256.0 KB
79
+ Peak Allocated Bytes 0 B
80
+ Overflow Count 0
81
+ [ALLOC_TEMP_Background Job.Worker 10]
82
+ Initial Block Size 32.0 KB
83
+ Current Block Size 32.0 KB
84
+ Peak Allocated Bytes 0 B
85
+ Overflow Count 0
86
+ [ALLOC_TEMP_Background Job.Worker 9]
87
+ Initial Block Size 32.0 KB
88
+ Current Block Size 32.0 KB
89
+ Peak Allocated Bytes 0 B
90
+ Overflow Count 0
91
+ [ALLOC_TEMP_Job.Worker 5]
92
+ Initial Block Size 256.0 KB
93
+ Current Block Size 256.0 KB
94
+ Peak Allocated Bytes 0 B
95
+ Overflow Count 0
96
+ [ALLOC_TEMP_Background Job.Worker 14]
97
+ Initial Block Size 32.0 KB
98
+ Current Block Size 32.0 KB
99
+ Peak Allocated Bytes 0 B
100
+ Overflow Count 0
101
+ [ALLOC_TEMP_Background Job.Worker 6]
102
+ Initial Block Size 32.0 KB
103
+ Current Block Size 32.0 KB
104
+ Peak Allocated Bytes 0 B
105
+ Overflow Count 0
106
+ [ALLOC_TEMP_Job.Worker 4]
107
+ Initial Block Size 256.0 KB
108
+ Current Block Size 256.0 KB
109
+ Peak Allocated Bytes 0 B
110
+ Overflow Count 0
111
+ [ALLOC_TEMP_Job.Worker 3]
112
+ Initial Block Size 256.0 KB
113
+ Current Block Size 256.0 KB
114
+ Peak Allocated Bytes 0 B
115
+ Overflow Count 0
116
+ [ALLOC_TEMP_Background Job.Worker 12]
117
+ Initial Block Size 32.0 KB
118
+ Current Block Size 32.0 KB
119
+ Peak Allocated Bytes 0 B
120
+ Overflow Count 0
121
+ [ALLOC_TEMP_EnlightenWorker] x 5
122
+ Initial Block Size 64.0 KB
123
+ Current Block Size 64.0 KB
124
+ Peak Allocated Bytes 0 B
125
+ Overflow Count 0
126
+ [ALLOC_TEMP_Background Job.Worker 15]
127
+ Initial Block Size 32.0 KB
128
+ Current Block Size 32.0 KB
129
+ Peak Allocated Bytes 0 B
130
+ Overflow Count 0
131
+ [ALLOC_TEMP_Background Job.Worker 1]
132
+ Initial Block Size 32.0 KB
133
+ Current Block Size 32.0 KB
134
+ Peak Allocated Bytes 0 B
135
+ Overflow Count 0
136
+ [ALLOC_TEMP_Background Job.Worker 2]
137
+ Initial Block Size 32.0 KB
138
+ Current Block Size 32.0 KB
139
+ Peak Allocated Bytes 0 B
140
+ Overflow Count 0
141
+ [ALLOC_TEMP_Background Job.Worker 7]
142
+ Initial Block Size 32.0 KB
143
+ Current Block Size 32.0 KB
144
+ Peak Allocated Bytes 0 B
145
+ Overflow Count 0
146
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 9
147
+ Initial Block Size 64.0 KB
148
+ Current Block Size 64.0 KB
149
+ Peak Allocated Bytes 0 B
150
+ Overflow Count 0
151
+ [ALLOC_TEMP_Background Job.Worker 5]
152
+ Initial Block Size 32.0 KB
153
+ Current Block Size 32.0 KB
154
+ Peak Allocated Bytes 0 B
155
+ Overflow Count 0
156
+ [ALLOC_TEMP_Background Job.Worker 13]
157
+ Initial Block Size 32.0 KB
158
+ Current Block Size 32.0 KB
159
+ Peak Allocated Bytes 0 B
160
+ Overflow Count 0
161
+ [ALLOC_TEMP_Job.Worker 8]
162
+ Initial Block Size 256.0 KB
163
+ Current Block Size 256.0 KB
164
+ Peak Allocated Bytes 0 B
165
+ Overflow Count 0
166
+ [ALLOC_TEMP_OSX HID Input]
167
+ Initial Block Size 64.0 KB
168
+ Current Block Size 64.0 KB
169
+ Peak Allocated Bytes 0 B
170
+ Overflow Count 0
171
+ [ALLOC_TEMP_Job.Worker 7]
172
+ Initial Block Size 256.0 KB
173
+ Current Block Size 256.0 KB
174
+ Peak Allocated Bytes 0 B
175
+ Overflow Count 0
176
+ [ALLOC_TEMP_Job.Worker 1]
177
+ Initial Block Size 256.0 KB
178
+ Current Block Size 256.0 KB
179
+ Peak Allocated Bytes 0 B
180
+ Overflow Count 0
181
+ [ALLOC_TEMP_Job.Worker 2]
182
+ Initial Block Size 256.0 KB
183
+ Current Block Size 256.0 KB
184
+ Peak Allocated Bytes 0.7 KB
185
+ Overflow Count 0
186
+ [ALLOC_TEMP_Background Job.Worker 3]
187
+ Initial Block Size 32.0 KB
188
+ Current Block Size 32.0 KB
189
+ Peak Allocated Bytes 0 B
190
+ Overflow Count 0
191
+ [ALLOC_TEMP_Background Job.Worker 11]
192
+ Initial Block Size 32.0 KB
193
+ Current Block Size 32.0 KB
194
+ Peak Allocated Bytes 0 B
195
+ Overflow Count 0
196
+ [ALLOC_TEMP_Background Job.Worker 0]
197
+ Initial Block Size 32.0 KB
198
+ Current Block Size 32.0 KB
199
+ Peak Allocated Bytes 0 B
200
+ Overflow Count 0
201
+ [ALLOC_TEMP_Background Job.Worker 4]
202
+ Initial Block Size 32.0 KB
203
+ Current Block Size 32.0 KB
204
+ Peak Allocated Bytes 0 B
205
+ Overflow Count 0
206
+ [ALLOC_TEMP_BatchDeleteObjects]
207
+ Initial Block Size 64.0 KB
208
+ Current Block Size 64.0 KB
209
+ Peak Allocated Bytes 0 B
210
+ Overflow Count 0
211
+ [ALLOC_DEFAULT] Dual Thread Allocator
212
+ Peak main deferred allocation count 2
213
+ [ALLOC_BUCKET]
214
+ Large Block size 4.0 MB
215
+ Used Block count 1
216
+ Peak Allocated bytes 1.0 MB
217
+ [ALLOC_DEFAULT_MAIN]
218
+ Peak usage frame count: [4.0 MB-8.0 MB]: 300 frames
219
+ Requested Block Size 16.0 MB
220
+ Peak Block count 1
221
+ Peak Allocated memory 5.1 MB
222
+ Peak Large allocation bytes 0 B
223
+ [ALLOC_DEFAULT_THREAD]
224
+ Peak usage frame count: [16.0 MB-32.0 MB]: 300 frames
225
+ Requested Block Size 16.0 MB
226
+ Peak Block count 1
227
+ Peak Allocated memory 17.3 MB
228
+ Peak Large allocation bytes 16.0 MB
229
+ [ALLOC_TEMP_JOB_1_FRAME]
230
+ Initial Block Size 2.0 MB
231
+ Used Block Count 1
232
+ Overflow Count (too large) 0
233
+ Overflow Count (full) 0
234
+ [ALLOC_TEMP_JOB_2_FRAMES]
235
+ Initial Block Size 2.0 MB
236
+ Used Block Count 1
237
+ Overflow Count (too large) 0
238
+ Overflow Count (full) 0
239
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
240
+ Initial Block Size 2.0 MB
241
+ Used Block Count 2
242
+ Overflow Count (too large) 0
243
+ Overflow Count (full) 0
244
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
245
+ Initial Block Size 1.0 MB
246
+ Used Block Count 3
247
+ Overflow Count (too large) 0
248
+ Overflow Count (full) 0
249
+ [ALLOC_GFX] Dual Thread Allocator
250
+ Peak main deferred allocation count 0
251
+ [ALLOC_BUCKET]
252
+ Large Block size 4.0 MB
253
+ Used Block count 1
254
+ Peak Allocated bytes 1.0 MB
255
+ [ALLOC_GFX_MAIN]
256
+ Peak usage frame count: [32.0 KB-64.0 KB]: 299 frames, [64.0 KB-128.0 KB]: 1 frames
257
+ Requested Block Size 16.0 MB
258
+ Peak Block count 1
259
+ Peak Allocated memory 65.6 KB
260
+ Peak Large allocation bytes 0 B
261
+ [ALLOC_GFX_THREAD]
262
+ Peak usage frame count: [128.0 KB-256.0 KB]: 300 frames
263
+ Requested Block Size 16.0 MB
264
+ Peak Block count 1
265
+ Peak Allocated memory 173.5 KB
266
+ Peak Large allocation bytes 0 B
267
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
268
+ Peak main deferred allocation count 0
269
+ [ALLOC_BUCKET]
270
+ Large Block size 4.0 MB
271
+ Used Block count 1
272
+ Peak Allocated bytes 1.0 MB
273
+ [ALLOC_CACHEOBJECTS_MAIN]
274
+ Peak usage frame count: [0.5 MB-1.0 MB]: 300 frames
275
+ Requested Block Size 4.0 MB
276
+ Peak Block count 1
277
+ Peak Allocated memory 0.6 MB
278
+ Peak Large allocation bytes 0 B
279
+ [ALLOC_CACHEOBJECTS_THREAD]
280
+ Peak usage frame count: [0.5 MB-1.0 MB]: 299 frames, [2.0 MB-4.0 MB]: 1 frames
281
+ Requested Block Size 4.0 MB
282
+ Peak Block count 1
283
+ Peak Allocated memory 3.4 MB
284
+ Peak Large allocation bytes 0 B
285
+ [ALLOC_TYPETREE] Dual Thread Allocator
286
+ Peak main deferred allocation count 0
287
+ [ALLOC_BUCKET]
288
+ Large Block size 4.0 MB
289
+ Used Block count 1
290
+ Peak Allocated bytes 1.0 MB
291
+ [ALLOC_TYPETREE_MAIN]
292
+ Peak usage frame count: [0-1.0 KB]: 300 frames
293
+ Requested Block Size 2.0 MB
294
+ Peak Block count 1
295
+ Peak Allocated memory 1.0 KB
296
+ Peak Large allocation bytes 0 B
297
+ [ALLOC_TYPETREE_THREAD]
298
+ Peak usage frame count: [1.0 KB-2.0 KB]: 299 frames, [2.0 KB-4.0 KB]: 1 frames
299
+ Requested Block Size 2.0 MB
300
+ Peak Block count 1
301
+ Peak Allocated memory 2.2 KB
302
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,277 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "SoccerTwos.Policy.Entropy.mean": {
5
+ "value": 3.2957217693328857,
6
+ "min": 3.2957217693328857,
7
+ "max": 3.2957217693328857,
8
+ "count": 1
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 105463.09375,
12
+ "min": 105463.09375,
13
+ "max": 105463.09375,
14
+ "count": 1
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 756.625,
18
+ "min": 756.625,
19
+ "max": 756.625,
20
+ "count": 1
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 24212.0,
24
+ "min": 24212.0,
25
+ "max": 24212.0,
26
+ "count": 1
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1202.234955112457,
30
+ "min": 1202.234955112457,
31
+ "max": 1202.234955112457,
32
+ "count": 1
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 9617.879640899657,
36
+ "min": 9617.879640899657,
37
+ "max": 9617.879640899657,
38
+ "count": 1
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 9122.0,
42
+ "min": 9122.0,
43
+ "max": 9122.0,
44
+ "count": 1
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 9122.0,
48
+ "min": 9122.0,
49
+ "max": 9122.0,
50
+ "count": 1
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": -0.10343889892101288,
54
+ "min": -0.10343889892101288,
55
+ "max": -0.10343889892101288,
56
+ "count": 1
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": -1.3447057008743286,
60
+ "min": -1.3447057008743286,
61
+ "max": -1.3447057008743286,
62
+ "count": 1
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": -0.10348843038082123,
66
+ "min": -0.10348843038082123,
67
+ "max": -0.10348843038082123,
68
+ "count": 1
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": -1.3453495502471924,
72
+ "min": -1.3453495502471924,
73
+ "max": -1.3453495502471924,
74
+ "count": 1
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 1
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 1
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": 0.29861539143782395,
90
+ "min": 0.29861539143782395,
91
+ "max": 0.29861539143782395,
92
+ "count": 1
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": 3.8820000886917114,
96
+ "min": 3.8820000886917114,
97
+ "max": 3.8820000886917114,
98
+ "count": 1
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": 0.29861539143782395,
102
+ "min": 0.29861539143782395,
103
+ "max": 0.29861539143782395,
104
+ "count": 1
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": 3.8820000886917114,
108
+ "min": 3.8820000886917114,
109
+ "max": 3.8820000886917114,
110
+ "count": 1
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 1
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 1
123
+ }
124
+ },
125
+ "metadata": {
126
+ "timer_format_version": "0.1.0",
127
+ "start_time_seconds": "1694074756",
128
+ "python_version": "3.9.18 (main, Aug 24 2023, 21:20:15) \n[Clang 14.0.0 (clang-1400.0.29.202)]",
129
+ "command_line_arguments": "/Users/cikriibr/projects/learning/deepRL/env/bin/mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos/SoccerTwos.app --run-id=SoccerTwos2 --no-graphics",
130
+ "mlagents_version": "0.31.0.dev0",
131
+ "mlagents_envs_version": "0.31.0.dev0",
132
+ "communication_protocol_version": "1.5.0",
133
+ "pytorch_version": "1.11.0",
134
+ "numpy_version": "1.21.2",
135
+ "end_time_seconds": "1694074809"
136
+ },
137
+ "total": 53.066556375000005,
138
+ "count": 1,
139
+ "self": 0.28110941700000325,
140
+ "children": {
141
+ "run_training.setup": {
142
+ "total": 0.030046958000000012,
143
+ "count": 1,
144
+ "self": 0.030046958000000012
145
+ },
146
+ "TrainerController.start_learning": {
147
+ "total": 52.7554,
148
+ "count": 1,
149
+ "self": 0.012068182999939836,
150
+ "children": {
151
+ "TrainerController._reset_env": {
152
+ "total": 1.694077167,
153
+ "count": 1,
154
+ "self": 1.694077167
155
+ },
156
+ "TrainerController.advance": {
157
+ "total": 50.90541894100006,
158
+ "count": 1004,
159
+ "self": 0.01212669900018426,
160
+ "children": {
161
+ "env_step": {
162
+ "total": 49.66604145199994,
163
+ "count": 1004,
164
+ "self": 48.0027904279998,
165
+ "children": {
166
+ "SubprocessEnvManager._take_step": {
167
+ "total": 1.6545578100000276,
168
+ "count": 1004,
169
+ "self": 0.045994196000025855,
170
+ "children": {
171
+ "TorchPolicy.evaluate": {
172
+ "total": 1.6085636140000017,
173
+ "count": 2000,
174
+ "self": 1.6085636140000017
175
+ }
176
+ }
177
+ },
178
+ "workers": {
179
+ "total": 0.008693214000111027,
180
+ "count": 1004,
181
+ "self": 0.0,
182
+ "children": {
183
+ "worker_root": {
184
+ "total": 50.13892670999993,
185
+ "count": 1004,
186
+ "is_parallel": true,
187
+ "self": 3.555963091999992,
188
+ "children": {
189
+ "steps_from_proto": {
190
+ "total": 0.0014188749999999306,
191
+ "count": 2,
192
+ "is_parallel": true,
193
+ "self": 0.0002449999999993846,
194
+ "children": {
195
+ "_process_rank_one_or_two_observation": {
196
+ "total": 0.001173875000000546,
197
+ "count": 8,
198
+ "is_parallel": true,
199
+ "self": 0.001173875000000546
200
+ }
201
+ }
202
+ },
203
+ "UnityEnvironment.step": {
204
+ "total": 46.58154474299994,
205
+ "count": 1004,
206
+ "is_parallel": true,
207
+ "self": 0.12588737199990874,
208
+ "children": {
209
+ "UnityEnvironment._generate_step_input": {
210
+ "total": 0.7080112539999688,
211
+ "count": 1004,
212
+ "is_parallel": true,
213
+ "self": 0.7080112539999688
214
+ },
215
+ "communicator.exchange": {
216
+ "total": 44.389486800000086,
217
+ "count": 1004,
218
+ "is_parallel": true,
219
+ "self": 44.389486800000086
220
+ },
221
+ "steps_from_proto": {
222
+ "total": 1.3581593169999737,
223
+ "count": 2008,
224
+ "is_parallel": true,
225
+ "self": 0.19286627000009937,
226
+ "children": {
227
+ "_process_rank_one_or_two_observation": {
228
+ "total": 1.1652930469998743,
229
+ "count": 8032,
230
+ "is_parallel": true,
231
+ "self": 1.1652930469998743
232
+ }
233
+ }
234
+ }
235
+ }
236
+ }
237
+ }
238
+ }
239
+ }
240
+ }
241
+ }
242
+ },
243
+ "trainer_advance": {
244
+ "total": 1.227250789999938,
245
+ "count": 1004,
246
+ "self": 0.0674553749999598,
247
+ "children": {
248
+ "process_trajectory": {
249
+ "total": 1.1597954149999783,
250
+ "count": 1004,
251
+ "self": 1.1597954149999783
252
+ }
253
+ }
254
+ }
255
+ }
256
+ },
257
+ "trainer_threads": {
258
+ "total": 4.170000025283116e-07,
259
+ "count": 1,
260
+ "self": 4.170000025283116e-07
261
+ },
262
+ "TrainerController._save_models": {
263
+ "total": 0.14383529199999856,
264
+ "count": 1,
265
+ "self": 0.0480642919999994,
266
+ "children": {
267
+ "RLTrainer._checkpoint": {
268
+ "total": 0.09577099999999916,
269
+ "count": 1,
270
+ "self": 0.09577099999999916
271
+ }
272
+ }
273
+ }
274
+ }
275
+ }
276
+ }
277
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1203.9599389264042,
4
+ "checkpoints": [
5
+ {
6
+ "steps": 12122,
7
+ "file_path": "results/SoccerTwos2/SoccerTwos/SoccerTwos-12122.onnx",
8
+ "reward": 0.0,
9
+ "creation_time": 1694074808.8160279,
10
+ "auxillary_file_paths": [
11
+ "results/SoccerTwos2/SoccerTwos/SoccerTwos-12122.pt"
12
+ ]
13
+ }
14
+ ],
15
+ "final_checkpoint": {
16
+ "steps": 12122,
17
+ "file_path": "results/SoccerTwos2/SoccerTwos.onnx",
18
+ "reward": 0.0,
19
+ "creation_time": 1694074808.8160279,
20
+ "auxillary_file_paths": [
21
+ "results/SoccerTwos2/SoccerTwos/SoccerTwos-12122.pt"
22
+ ]
23
+ }
24
+ },
25
+ "metadata": {
26
+ "stats_format_version": "0.3.0",
27
+ "mlagents_version": "0.31.0.dev0",
28
+ "torch_version": "1.11.0"
29
+ }
30
+ }