fangphattha commited on
Commit
9d71be4
1 Parent(s): 9a93bfd

First Push 500

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: fangphattha/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:24c28e4b8ffbbb6b208acb95b9d28474e87757db54f3903267905915d1179796
3
+ size 1766876
SoccerTwos/SoccerTwos-1130.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24c28e4b8ffbbb6b208acb95b9d28474e87757db54f3903267905915d1179796
3
+ size 1766876
SoccerTwos/SoccerTwos-1130.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3aa5df1f0a5f414d40dd9f54554035836803a0c1541280a0a18bb78aaadf90e9
3
+ size 9479402
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f33f39668f3e0141e192b5a0379502c4b6c05158e09498c8caee0fcb5dcdb1cf
3
+ size 9479202
SoccerTwos/events.out.tfevents.1717448016.beees-iMac.lan.59859.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:adc016f3810a0a25d9a85706f9b346d6d84f56ce9fbcf804bd8a8289cb89a727
3
+ size 1236
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": 500, "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": true, "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: 500
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: true
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,287 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/Users/beee/Downloads/HF-learn/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos.app/Contents/Resources/Data/Managed'
2
+ Mono config path = '/Users/beee/Downloads/HF-learn/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/beee/Downloads/HF-learn/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.078 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.041042 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
+ Setting up 4 worker threads for Enlighten.
42
+ Memory Statistics:
43
+ [ALLOC_TEMP_TLS] TLS Allocator
44
+ StackAllocators :
45
+ [ALLOC_TEMP_MAIN]
46
+ Peak usage frame count: [8.0 KB-16.0 KB]: 165 frames, [2.0 MB-4.0 MB]: 1 frames
47
+ Initial Block Size 4.0 MB
48
+ Current Block Size 4.0 MB
49
+ Peak Allocated Bytes 2.1 MB
50
+ Overflow Count 0
51
+ [ALLOC_TEMP_Loading.AsyncRead]
52
+ Initial Block Size 64.0 KB
53
+ Current Block Size 64.0 KB
54
+ Peak Allocated Bytes 143 B
55
+ Overflow Count 0
56
+ [ALLOC_TEMP_Loading.PreloadManager]
57
+ Initial Block Size 256.0 KB
58
+ Current Block Size 256.0 KB
59
+ Peak Allocated Bytes 78.8 KB
60
+ Overflow Count 4
61
+ [ALLOC_TEMP_Background Job.Worker 8]
62
+ Initial Block Size 32.0 KB
63
+ Current Block Size 32.0 KB
64
+ Peak Allocated Bytes 0 B
65
+ Overflow Count 0
66
+ [ALLOC_TEMP_Job.Worker 6]
67
+ Initial Block Size 256.0 KB
68
+ Current Block Size 256.0 KB
69
+ Peak Allocated Bytes 0 B
70
+ Overflow Count 0
71
+ [ALLOC_TEMP_Job.Worker 0]
72
+ Initial Block Size 256.0 KB
73
+ Current Block Size 256.0 KB
74
+ Peak Allocated Bytes 0.7 KB
75
+ Overflow Count 0
76
+ [ALLOC_TEMP_Background Job.Worker 10]
77
+ Initial Block Size 32.0 KB
78
+ Current Block Size 32.0 KB
79
+ Peak Allocated Bytes 0 B
80
+ Overflow Count 0
81
+ [ALLOC_TEMP_Background Job.Worker 9]
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_Job.Worker 5]
87
+ Initial Block Size 256.0 KB
88
+ Current Block Size 256.0 KB
89
+ Peak Allocated Bytes 0 B
90
+ Overflow Count 0
91
+ [ALLOC_TEMP_Background Job.Worker 14]
92
+ Initial Block Size 32.0 KB
93
+ Current Block Size 32.0 KB
94
+ Peak Allocated Bytes 0 B
95
+ Overflow Count 0
96
+ [ALLOC_TEMP_Background Job.Worker 6]
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_Job.Worker 4]
102
+ Initial Block Size 256.0 KB
103
+ Current Block Size 256.0 KB
104
+ Peak Allocated Bytes 0 B
105
+ Overflow Count 0
106
+ [ALLOC_TEMP_Job.Worker 3]
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_Background Job.Worker 12]
112
+ Initial Block Size 32.0 KB
113
+ Current Block Size 32.0 KB
114
+ Peak Allocated Bytes 0 B
115
+ Overflow Count 0
116
+ [ALLOC_TEMP_EnlightenWorker] x 4
117
+ Initial Block Size 64.0 KB
118
+ Current Block Size 64.0 KB
119
+ Peak Allocated Bytes 0 B
120
+ Overflow Count 0
121
+ [ALLOC_TEMP_Background Job.Worker 15]
122
+ Initial Block Size 32.0 KB
123
+ Current Block Size 32.0 KB
124
+ Peak Allocated Bytes 0 B
125
+ Overflow Count 0
126
+ [ALLOC_TEMP_Background Job.Worker 1]
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 2]
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 7]
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_AssetGarbageCollectorHelper] x 7
142
+ Initial Block Size 64.0 KB
143
+ Current Block Size 64.0 KB
144
+ Peak Allocated Bytes 0 B
145
+ Overflow Count 0
146
+ [ALLOC_TEMP_Background Job.Worker 5]
147
+ Initial Block Size 32.0 KB
148
+ Current Block Size 32.0 KB
149
+ Peak Allocated Bytes 0 B
150
+ Overflow Count 0
151
+ [ALLOC_TEMP_Background Job.Worker 13]
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_OSX HID Input]
157
+ Initial Block Size 64.0 KB
158
+ Current Block Size 64.0 KB
159
+ Peak Allocated Bytes 0 B
160
+ Overflow Count 0
161
+ [ALLOC_TEMP_Job.Worker 1]
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_Job.Worker 2]
167
+ Initial Block Size 256.0 KB
168
+ Current Block Size 256.0 KB
169
+ Peak Allocated Bytes 0 B
170
+ Overflow Count 0
171
+ [ALLOC_TEMP_Background Job.Worker 3]
172
+ Initial Block Size 32.0 KB
173
+ Current Block Size 32.0 KB
174
+ Peak Allocated Bytes 0 B
175
+ Overflow Count 0
176
+ [ALLOC_TEMP_Background Job.Worker 11]
177
+ Initial Block Size 32.0 KB
178
+ Current Block Size 32.0 KB
179
+ Peak Allocated Bytes 0 B
180
+ Overflow Count 0
181
+ [ALLOC_TEMP_Background Job.Worker 0]
182
+ Initial Block Size 32.0 KB
183
+ Current Block Size 32.0 KB
184
+ Peak Allocated Bytes 0 B
185
+ Overflow Count 0
186
+ [ALLOC_TEMP_Background Job.Worker 4]
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_BatchDeleteObjects]
192
+ Initial Block Size 64.0 KB
193
+ Current Block Size 64.0 KB
194
+ Peak Allocated Bytes 0 B
195
+ Overflow Count 0
196
+ [ALLOC_DEFAULT] Dual Thread Allocator
197
+ Peak main deferred allocation count 2
198
+ [ALLOC_BUCKET]
199
+ Large Block size 4.0 MB
200
+ Used Block count 1
201
+ Peak Allocated bytes 1.0 MB
202
+ [ALLOC_DEFAULT_MAIN]
203
+ Peak usage frame count: [4.0 MB-8.0 MB]: 166 frames
204
+ Requested Block Size 16.0 MB
205
+ Peak Block count 1
206
+ Peak Allocated memory 5.0 MB
207
+ Peak Large allocation bytes 0 B
208
+ [ALLOC_DEFAULT_THREAD]
209
+ Peak usage frame count: [16.0 MB-32.0 MB]: 166 frames
210
+ Requested Block Size 16.0 MB
211
+ Peak Block count 1
212
+ Peak Allocated memory 17.4 MB
213
+ Peak Large allocation bytes 16.0 MB
214
+ [ALLOC_TEMP_JOB_1_FRAME]
215
+ Initial Block Size 2.0 MB
216
+ Used Block Count 1
217
+ Overflow Count (too large) 0
218
+ Overflow Count (full) 0
219
+ [ALLOC_TEMP_JOB_2_FRAMES]
220
+ Initial Block Size 2.0 MB
221
+ Used Block Count 1
222
+ Overflow Count (too large) 0
223
+ Overflow Count (full) 0
224
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
225
+ Initial Block Size 2.0 MB
226
+ Used Block Count 2
227
+ Overflow Count (too large) 0
228
+ Overflow Count (full) 0
229
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
230
+ Initial Block Size 1.0 MB
231
+ Used Block Count 3
232
+ Overflow Count (too large) 0
233
+ Overflow Count (full) 0
234
+ [ALLOC_GFX] Dual Thread Allocator
235
+ Peak main deferred allocation count 0
236
+ [ALLOC_BUCKET]
237
+ Large Block size 4.0 MB
238
+ Used Block count 1
239
+ Peak Allocated bytes 1.0 MB
240
+ [ALLOC_GFX_MAIN]
241
+ Peak usage frame count: [32.0 KB-64.0 KB]: 165 frames, [64.0 KB-128.0 KB]: 1 frames
242
+ Requested Block Size 16.0 MB
243
+ Peak Block count 1
244
+ Peak Allocated memory 65.6 KB
245
+ Peak Large allocation bytes 0 B
246
+ [ALLOC_GFX_THREAD]
247
+ Peak usage frame count: [128.0 KB-256.0 KB]: 166 frames
248
+ Requested Block Size 16.0 MB
249
+ Peak Block count 1
250
+ Peak Allocated memory 173.5 KB
251
+ Peak Large allocation bytes 0 B
252
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
253
+ Peak main deferred allocation count 0
254
+ [ALLOC_BUCKET]
255
+ Large Block size 4.0 MB
256
+ Used Block count 1
257
+ Peak Allocated bytes 1.0 MB
258
+ [ALLOC_CACHEOBJECTS_MAIN]
259
+ Peak usage frame count: [0.5 MB-1.0 MB]: 166 frames
260
+ Requested Block Size 4.0 MB
261
+ Peak Block count 1
262
+ Peak Allocated memory 0.6 MB
263
+ Peak Large allocation bytes 0 B
264
+ [ALLOC_CACHEOBJECTS_THREAD]
265
+ Peak usage frame count: [0.5 MB-1.0 MB]: 165 frames, [2.0 MB-4.0 MB]: 1 frames
266
+ Requested Block Size 4.0 MB
267
+ Peak Block count 1
268
+ Peak Allocated memory 3.4 MB
269
+ Peak Large allocation bytes 0 B
270
+ [ALLOC_TYPETREE] Dual Thread Allocator
271
+ Peak main deferred allocation count 0
272
+ [ALLOC_BUCKET]
273
+ Large Block size 4.0 MB
274
+ Used Block count 1
275
+ Peak Allocated bytes 1.0 MB
276
+ [ALLOC_TYPETREE_MAIN]
277
+ Peak usage frame count: [0-1.0 KB]: 166 frames
278
+ Requested Block Size 2.0 MB
279
+ Peak Block count 1
280
+ Peak Allocated memory 1.0 KB
281
+ Peak Large allocation bytes 0 B
282
+ [ALLOC_TYPETREE_THREAD]
283
+ Peak usage frame count: [1.0 KB-2.0 KB]: 165 frames, [2.0 KB-4.0 KB]: 1 frames
284
+ Requested Block Size 2.0 MB
285
+ Peak Block count 1
286
+ Peak Allocated memory 2.2 KB
287
+ 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": "1717448012",
6
+ "python_version": "3.10.12 (main, Jul 5 2023, 15:34:07) [Clang 14.0.6 ]",
7
+ "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 --force",
8
+ "mlagents_version": "1.1.0.dev0",
9
+ "mlagents_envs_version": "1.1.0.dev0",
10
+ "communication_protocol_version": "1.5.0",
11
+ "pytorch_version": "2.2.2",
12
+ "numpy_version": "1.23.5",
13
+ "end_time_seconds": "1717448063"
14
+ },
15
+ "total": 50.574341969011584,
16
+ "count": 1,
17
+ "self": 0.32905976704205386,
18
+ "children": {
19
+ "run_training.setup": {
20
+ "total": 0.02533804698032327,
21
+ "count": 1,
22
+ "self": 0.02533804698032327
23
+ },
24
+ "TrainerController.start_learning": {
25
+ "total": 50.21994415498921,
26
+ "count": 1,
27
+ "self": 0.010334121878258884,
28
+ "children": {
29
+ "TrainerController._reset_env": {
30
+ "total": 4.042011037992779,
31
+ "count": 1,
32
+ "self": 4.042011037992779
33
+ },
34
+ "TrainerController.advance": {
35
+ "total": 45.99471517911297,
36
+ "count": 553,
37
+ "self": 0.01098527293652296,
38
+ "children": {
39
+ "env_step": {
40
+ "total": 45.75294454279356,
41
+ "count": 553,
42
+ "self": 44.309467079438036,
43
+ "children": {
44
+ "SubprocessEnvManager._take_step": {
45
+ "total": 1.4372495233255904,
46
+ "count": 553,
47
+ "self": 0.055769077385775745,
48
+ "children": {
49
+ "TorchPolicy.evaluate": {
50
+ "total": 1.3814804459398147,
51
+ "count": 1104,
52
+ "self": 1.3814804459398147
53
+ }
54
+ }
55
+ },
56
+ "workers": {
57
+ "total": 0.006227940029930323,
58
+ "count": 553,
59
+ "self": 0.0,
60
+ "children": {
61
+ "worker_root": {
62
+ "total": 46.37804628274171,
63
+ "count": 553,
64
+ "is_parallel": true,
65
+ "self": 3.3488574996008538,
66
+ "children": {
67
+ "steps_from_proto": {
68
+ "total": 0.002628420013934374,
69
+ "count": 2,
70
+ "is_parallel": true,
71
+ "self": 0.0004541860253084451,
72
+ "children": {
73
+ "_process_rank_one_or_two_observation": {
74
+ "total": 0.0021742339886259288,
75
+ "count": 8,
76
+ "is_parallel": true,
77
+ "self": 0.0021742339886259288
78
+ }
79
+ }
80
+ },
81
+ "UnityEnvironment.step": {
82
+ "total": 43.02656036312692,
83
+ "count": 553,
84
+ "is_parallel": true,
85
+ "self": 0.14129470483749174,
86
+ "children": {
87
+ "UnityEnvironment._generate_step_input": {
88
+ "total": 0.8958085159538314,
89
+ "count": 553,
90
+ "is_parallel": true,
91
+ "self": 0.8958085159538314
92
+ },
93
+ "communicator.exchange": {
94
+ "total": 40.456625930266455,
95
+ "count": 553,
96
+ "is_parallel": true,
97
+ "self": 40.456625930266455
98
+ },
99
+ "steps_from_proto": {
100
+ "total": 1.5328312120691407,
101
+ "count": 1106,
102
+ "is_parallel": true,
103
+ "self": 0.2153397143119946,
104
+ "children": {
105
+ "_process_rank_one_or_two_observation": {
106
+ "total": 1.3174914977571461,
107
+ "count": 4424,
108
+ "is_parallel": true,
109
+ "self": 1.3174914977571461
110
+ }
111
+ }
112
+ }
113
+ }
114
+ }
115
+ }
116
+ }
117
+ }
118
+ }
119
+ }
120
+ },
121
+ "trainer_advance": {
122
+ "total": 0.23078536338289268,
123
+ "count": 553,
124
+ "self": 0.031384217232698575,
125
+ "children": {
126
+ "process_trajectory": {
127
+ "total": 0.1994011461501941,
128
+ "count": 553,
129
+ "self": 0.1994011461501941
130
+ }
131
+ }
132
+ }
133
+ }
134
+ },
135
+ "trainer_threads": {
136
+ "total": 1.127016730606556e-06,
137
+ "count": 1,
138
+ "self": 1.127016730606556e-06
139
+ },
140
+ "TrainerController._save_models": {
141
+ "total": 0.17288268898846582,
142
+ "count": 1,
143
+ "self": 0.0011430189770180732,
144
+ "children": {
145
+ "RLTrainer._checkpoint": {
146
+ "total": 0.17173967001144774,
147
+ "count": 1,
148
+ "self": 0.17173967001144774
149
+ }
150
+ }
151
+ }
152
+ }
153
+ }
154
+ }
155
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1198.0086179957034,
4
+ "checkpoints": [
5
+ {
6
+ "steps": 1130,
7
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-1130.onnx",
8
+ "reward": 0.0,
9
+ "creation_time": 1717448062.86352,
10
+ "auxillary_file_paths": [
11
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-1130.pt"
12
+ ]
13
+ }
14
+ ],
15
+ "final_checkpoint": {
16
+ "steps": 1130,
17
+ "file_path": "results/SoccerTwos/SoccerTwos.onnx",
18
+ "reward": 0.0,
19
+ "creation_time": 1717448062.86352,
20
+ "auxillary_file_paths": [
21
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-1130.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
+ }