jmurphy97 commited on
Commit
a917e45
1 Parent(s): d08d5ae

First Push

Browse files
README.md ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ tags:
4
+ - unity-ml-agents
5
+ - ml-agents
6
+ - deep-reinforcement-learning
7
+ - reinforcement-learning
8
+ - ML-Agents-SoccerTwos
9
+ library_name: ml-agents
10
+ ---
11
+
12
+ # **poca** Agent playing **SoccerTwos**
13
+ This is a trained model of a **poca** agent playing **SoccerTwos** using the [Unity ML-Agents Library](https://github.com/Unity-Technologies/ml-agents).
14
+
15
+ ## Usage (with ML-Agents)
16
+ The Documentation: https://github.com/huggingface/ml-agents#get-started
17
+ We wrote a complete tutorial to learn to train your first agent using ML-Agents and publish it to the Hub:
18
+
19
+
20
+ ### Resume the training
21
+ ```
22
+ mlagents-learn <your_configuration_file_path.yaml> --run-id=<run_id> --resume
23
+ ```
24
+ ### Watch your Agent play
25
+ You can watch your agent **playing directly in your browser:**.
26
+
27
+ 1. Go to https://huggingface.co/spaces/unity/ML-Agents-SoccerTwos
28
+ 2. Step 1: Write your model_id: jmurphy97/poca-SoccerTwos
29
+ 3. Step 2: Select your *.nn /*.onnx file
30
+ 4. Click on Watch the agent play 👀
31
+
SoccerTwos.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f7a11838459115088e042b0e449e777b49f35f5d1cea1e2371219bea71ef91b0
3
+ size 1764633
SoccerTwos/SoccerTwos-16000.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f7a11838459115088e042b0e449e777b49f35f5d1cea1e2371219bea71ef91b0
3
+ size 1764633
SoccerTwos/SoccerTwos-16000.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:96e3ea8809412b6861a0bc4a7194683f736f36f59818af04abbd8f38f8f1281d
3
+ size 9478265
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:96e3ea8809412b6861a0bc4a7194683f736f36f59818af04abbd8f38f8f1281d
3
+ size 9478265
SoccerTwos/events.out.tfevents.1681330854.A1484.17117.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:35724ae4cca2b897ab363a71d9870029d5be2a51935f373c509183964690d6f7
3
+ size 1937
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": 100, "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": false, "force": true, "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: 100
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: false
76
+ force: true
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,296 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/Users/jackmurphy/Documents/courses/hf-deep-rl/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos.app/Contents/Resources/Data/Managed'
2
+ Mono config path = '/Users/jackmurphy/Documents/courses/hf-deep-rl/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/jackmurphy/Documents/courses/hf-deep-rl/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.391 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.425958 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
+ Thread 0x16c687000 may have been prematurely finalized
50
+ Setting up 4 worker threads for Enlighten.
51
+ Memory Statistics:
52
+ [ALLOC_TEMP_TLS] TLS Allocator
53
+ StackAllocators :
54
+ [ALLOC_TEMP_MAIN]
55
+ Peak usage frame count: [8.0 KB-16.0 KB]: 299 frames, [2.0 MB-4.0 MB]: 1 frames
56
+ Initial Block Size 4.0 MB
57
+ Current Block Size 4.0 MB
58
+ Peak Allocated Bytes 2.1 MB
59
+ Overflow Count 0
60
+ [ALLOC_TEMP_Loading.AsyncRead]
61
+ Initial Block Size 64.0 KB
62
+ Current Block Size 64.0 KB
63
+ Peak Allocated Bytes 159 B
64
+ Overflow Count 0
65
+ [ALLOC_TEMP_Loading.PreloadManager]
66
+ Initial Block Size 256.0 KB
67
+ Current Block Size 256.0 KB
68
+ Peak Allocated Bytes 78.8 KB
69
+ Overflow Count 4
70
+ [ALLOC_TEMP_Background Job.Worker 8]
71
+ Initial Block Size 32.0 KB
72
+ Current Block Size 32.0 KB
73
+ Peak Allocated Bytes 0 B
74
+ Overflow Count 0
75
+ [ALLOC_TEMP_Job.Worker 6]
76
+ Initial Block Size 256.0 KB
77
+ Current Block Size 256.0 KB
78
+ Peak Allocated Bytes 0.7 KB
79
+ Overflow Count 0
80
+ [ALLOC_TEMP_Job.Worker 0]
81
+ Initial Block Size 256.0 KB
82
+ Current Block Size 256.0 KB
83
+ Peak Allocated Bytes 0 B
84
+ Overflow Count 0
85
+ [ALLOC_TEMP_Background Job.Worker 10]
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_Background Job.Worker 9]
91
+ Initial Block Size 32.0 KB
92
+ Current Block Size 32.0 KB
93
+ Peak Allocated Bytes 0 B
94
+ Overflow Count 0
95
+ [ALLOC_TEMP_Job.Worker 5]
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 14]
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 6]
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 4]
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_Job.Worker 3]
116
+ Initial Block Size 256.0 KB
117
+ Current Block Size 256.0 KB
118
+ Peak Allocated Bytes 0 B
119
+ Overflow Count 0
120
+ [ALLOC_TEMP_Background Job.Worker 12]
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_EnlightenWorker] x 4
126
+ Initial Block Size 64.0 KB
127
+ Current Block Size 64.0 KB
128
+ Peak Allocated Bytes 0 B
129
+ Overflow Count 0
130
+ [ALLOC_TEMP_Background Job.Worker 15]
131
+ Initial Block Size 32.0 KB
132
+ Current Block Size 32.0 KB
133
+ Peak Allocated Bytes 0 B
134
+ Overflow Count 0
135
+ [ALLOC_TEMP_Background Job.Worker 1]
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_Background Job.Worker 2]
141
+ Initial Block Size 32.0 KB
142
+ Current Block Size 32.0 KB
143
+ Peak Allocated Bytes 0 B
144
+ Overflow Count 0
145
+ [ALLOC_TEMP_Background Job.Worker 7]
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_AssetGarbageCollectorHelper] x 7
151
+ Initial Block Size 64.0 KB
152
+ Current Block Size 64.0 KB
153
+ Peak Allocated Bytes 0 B
154
+ Overflow Count 0
155
+ [ALLOC_TEMP_Background Job.Worker 5]
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 13]
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_OSX HID Input]
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_Job.Worker 1]
171
+ Initial Block Size 256.0 KB
172
+ Current Block Size 256.0 KB
173
+ Peak Allocated Bytes 0 B
174
+ Overflow Count 0
175
+ [ALLOC_TEMP_Job.Worker 2]
176
+ Initial Block Size 256.0 KB
177
+ Current Block Size 256.0 KB
178
+ Peak Allocated Bytes 0 B
179
+ Overflow Count 0
180
+ [ALLOC_TEMP_Background Job.Worker 3]
181
+ Initial Block Size 32.0 KB
182
+ Current Block Size 32.0 KB
183
+ Peak Allocated Bytes 0 B
184
+ Overflow Count 0
185
+ [ALLOC_TEMP_Background Job.Worker 11]
186
+ Initial Block Size 32.0 KB
187
+ Current Block Size 32.0 KB
188
+ Peak Allocated Bytes 0 B
189
+ Overflow Count 0
190
+ [ALLOC_TEMP_Background Job.Worker 0]
191
+ Initial Block Size 32.0 KB
192
+ Current Block Size 32.0 KB
193
+ Peak Allocated Bytes 0 B
194
+ Overflow Count 0
195
+ [ALLOC_TEMP_Background Job.Worker 4]
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_BatchDeleteObjects]
201
+ Initial Block Size 64.0 KB
202
+ Current Block Size 64.0 KB
203
+ Peak Allocated Bytes 0 B
204
+ Overflow Count 0
205
+ [ALLOC_DEFAULT] Dual Thread Allocator
206
+ Peak main deferred allocation count 2
207
+ [ALLOC_BUCKET]
208
+ Large Block size 4.0 MB
209
+ Used Block count 1
210
+ Peak Allocated bytes 1.0 MB
211
+ [ALLOC_DEFAULT_MAIN]
212
+ Peak usage frame count: [4.0 MB-8.0 MB]: 300 frames
213
+ Requested Block Size 16.0 MB
214
+ Peak Block count 1
215
+ Peak Allocated memory 5.1 MB
216
+ Peak Large allocation bytes 0 B
217
+ [ALLOC_DEFAULT_THREAD]
218
+ Peak usage frame count: [16.0 MB-32.0 MB]: 300 frames
219
+ Requested Block Size 16.0 MB
220
+ Peak Block count 1
221
+ Peak Allocated memory 17.3 MB
222
+ Peak Large allocation bytes 16.0 MB
223
+ [ALLOC_TEMP_JOB_1_FRAME]
224
+ Initial Block Size 2.0 MB
225
+ Used Block Count 1
226
+ Overflow Count (too large) 0
227
+ Overflow Count (full) 0
228
+ [ALLOC_TEMP_JOB_2_FRAMES]
229
+ Initial Block Size 2.0 MB
230
+ Used Block Count 1
231
+ Overflow Count (too large) 0
232
+ Overflow Count (full) 0
233
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
234
+ Initial Block Size 2.0 MB
235
+ Used Block Count 2
236
+ Overflow Count (too large) 0
237
+ Overflow Count (full) 0
238
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
239
+ Initial Block Size 1.0 MB
240
+ Used Block Count 3
241
+ Overflow Count (too large) 0
242
+ Overflow Count (full) 0
243
+ [ALLOC_GFX] Dual Thread Allocator
244
+ Peak main deferred allocation count 0
245
+ [ALLOC_BUCKET]
246
+ Large Block size 4.0 MB
247
+ Used Block count 1
248
+ Peak Allocated bytes 1.0 MB
249
+ [ALLOC_GFX_MAIN]
250
+ Peak usage frame count: [32.0 KB-64.0 KB]: 299 frames, [64.0 KB-128.0 KB]: 1 frames
251
+ Requested Block Size 16.0 MB
252
+ Peak Block count 1
253
+ Peak Allocated memory 65.6 KB
254
+ Peak Large allocation bytes 0 B
255
+ [ALLOC_GFX_THREAD]
256
+ Peak usage frame count: [128.0 KB-256.0 KB]: 300 frames
257
+ Requested Block Size 16.0 MB
258
+ Peak Block count 1
259
+ Peak Allocated memory 173.5 KB
260
+ Peak Large allocation bytes 0 B
261
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
262
+ Peak main deferred allocation count 0
263
+ [ALLOC_BUCKET]
264
+ Large Block size 4.0 MB
265
+ Used Block count 1
266
+ Peak Allocated bytes 1.0 MB
267
+ [ALLOC_CACHEOBJECTS_MAIN]
268
+ Peak usage frame count: [0.5 MB-1.0 MB]: 300 frames
269
+ Requested Block Size 4.0 MB
270
+ Peak Block count 1
271
+ Peak Allocated memory 0.6 MB
272
+ Peak Large allocation bytes 0 B
273
+ [ALLOC_CACHEOBJECTS_THREAD]
274
+ Peak usage frame count: [0.5 MB-1.0 MB]: 299 frames, [2.0 MB-4.0 MB]: 1 frames
275
+ Requested Block Size 4.0 MB
276
+ Peak Block count 1
277
+ Peak Allocated memory 3.4 MB
278
+ Peak Large allocation bytes 0 B
279
+ [ALLOC_TYPETREE] Dual Thread Allocator
280
+ Peak main deferred allocation count 0
281
+ [ALLOC_BUCKET]
282
+ Large Block size 4.0 MB
283
+ Used Block count 1
284
+ Peak Allocated bytes 1.0 MB
285
+ [ALLOC_TYPETREE_MAIN]
286
+ Peak usage frame count: [0-1.0 KB]: 300 frames
287
+ Requested Block Size 2.0 MB
288
+ Peak Block count 1
289
+ Peak Allocated memory 1.0 KB
290
+ Peak Large allocation bytes 0 B
291
+ [ALLOC_TYPETREE_THREAD]
292
+ Peak usage frame count: [1.0 KB-2.0 KB]: 299 frames, [2.0 KB-4.0 KB]: 1 frames
293
+ Requested Block Size 2.0 MB
294
+ Peak Block count 1
295
+ Peak Allocated memory 2.2 KB
296
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,265 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "SoccerTwos.Policy.Entropy.mean": {
5
+ "value": 3.2956924438476562,
6
+ "min": 3.2956924438476562,
7
+ "max": 3.2956924438476562,
8
+ "count": 1
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 105462.15625,
12
+ "min": 105462.15625,
13
+ "max": 105462.15625,
14
+ "count": 1
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 999.0,
18
+ "min": 999.0,
19
+ "max": 999.0,
20
+ "count": 1
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 31968.0,
24
+ "min": 31968.0,
25
+ "max": 31968.0,
26
+ "count": 1
27
+ },
28
+ "SoccerTwos.Step.mean": {
29
+ "value": 9000.0,
30
+ "min": 9000.0,
31
+ "max": 9000.0,
32
+ "count": 1
33
+ },
34
+ "SoccerTwos.Step.sum": {
35
+ "value": 9000.0,
36
+ "min": 9000.0,
37
+ "max": 9000.0,
38
+ "count": 1
39
+ },
40
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
41
+ "value": -0.07048062980175018,
42
+ "min": -0.07048062980175018,
43
+ "max": -0.07048062980175018,
44
+ "count": 1
45
+ },
46
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
47
+ "value": -0.6343256831169128,
48
+ "min": -0.6343256831169128,
49
+ "max": -0.6343256831169128,
50
+ "count": 1
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
53
+ "value": -0.07046054303646088,
54
+ "min": -0.07046054303646088,
55
+ "max": -0.07046054303646088,
56
+ "count": 1
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
59
+ "value": -0.6341449022293091,
60
+ "min": -0.6341449022293091,
61
+ "max": -0.6341449022293091,
62
+ "count": 1
63
+ },
64
+ "SoccerTwos.Environment.CumulativeReward.mean": {
65
+ "value": 0.0,
66
+ "min": 0.0,
67
+ "max": 0.0,
68
+ "count": 1
69
+ },
70
+ "SoccerTwos.Environment.CumulativeReward.sum": {
71
+ "value": 0.0,
72
+ "min": 0.0,
73
+ "max": 0.0,
74
+ "count": 1
75
+ },
76
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 1
81
+ },
82
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 1
87
+ },
88
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
89
+ "value": 0.0,
90
+ "min": 0.0,
91
+ "max": 0.0,
92
+ "count": 1
93
+ },
94
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
95
+ "value": 0.0,
96
+ "min": 0.0,
97
+ "max": 0.0,
98
+ "count": 1
99
+ },
100
+ "SoccerTwos.IsTraining.mean": {
101
+ "value": 0.0,
102
+ "min": 0.0,
103
+ "max": 0.0,
104
+ "count": 1
105
+ },
106
+ "SoccerTwos.IsTraining.sum": {
107
+ "value": 0.0,
108
+ "min": 0.0,
109
+ "max": 0.0,
110
+ "count": 1
111
+ }
112
+ },
113
+ "metadata": {
114
+ "timer_format_version": "0.1.0",
115
+ "start_time_seconds": "1681330850",
116
+ "python_version": "3.9.13 (main, Nov 7 2022, 17:01:06) \n[Clang 14.0.0 (clang-1400.0.29.202)]",
117
+ "command_line_arguments": "/Users/jackmurphy/Documents/courses/hf-deep-rl/rl/bin/mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos/SoccerTwos.app --run-id=SoccerTwos --no-graphics --force",
118
+ "mlagents_version": "0.31.0.dev0",
119
+ "mlagents_envs_version": "0.31.0.dev0",
120
+ "communication_protocol_version": "1.5.0",
121
+ "pytorch_version": "1.11.0",
122
+ "numpy_version": "1.21.2",
123
+ "end_time_seconds": "1681330910"
124
+ },
125
+ "total": 59.875142042,
126
+ "count": 1,
127
+ "self": 0.35136991699999953,
128
+ "children": {
129
+ "run_training.setup": {
130
+ "total": 0.08205849999999981,
131
+ "count": 1,
132
+ "self": 0.08205849999999981
133
+ },
134
+ "TrainerController.start_learning": {
135
+ "total": 59.441713625,
136
+ "count": 1,
137
+ "self": 0.0129422460000157,
138
+ "children": {
139
+ "TrainerController._reset_env": {
140
+ "total": 3.4714360419999997,
141
+ "count": 1,
142
+ "self": 3.4714360419999997
143
+ },
144
+ "TrainerController.advance": {
145
+ "total": 55.731946587999985,
146
+ "count": 1000,
147
+ "self": 0.011706604999972114,
148
+ "children": {
149
+ "env_step": {
150
+ "total": 54.12125265400004,
151
+ "count": 1000,
152
+ "self": 52.28014058000007,
153
+ "children": {
154
+ "SubprocessEnvManager._take_step": {
155
+ "total": 1.8333576639999674,
156
+ "count": 1000,
157
+ "self": 0.05573051000007645,
158
+ "children": {
159
+ "TorchPolicy.evaluate": {
160
+ "total": 1.777627153999891,
161
+ "count": 2000,
162
+ "self": 1.777627153999891
163
+ }
164
+ }
165
+ },
166
+ "workers": {
167
+ "total": 0.007754409999996881,
168
+ "count": 1000,
169
+ "self": 0.0,
170
+ "children": {
171
+ "worker_root": {
172
+ "total": 54.222766987999904,
173
+ "count": 1000,
174
+ "is_parallel": true,
175
+ "self": 3.3985920460000614,
176
+ "children": {
177
+ "steps_from_proto": {
178
+ "total": 0.0018145839999994529,
179
+ "count": 2,
180
+ "is_parallel": true,
181
+ "self": 0.000252543000000216,
182
+ "children": {
183
+ "_process_rank_one_or_two_observation": {
184
+ "total": 0.0015620409999992368,
185
+ "count": 8,
186
+ "is_parallel": true,
187
+ "self": 0.0015620409999992368
188
+ }
189
+ }
190
+ },
191
+ "UnityEnvironment.step": {
192
+ "total": 50.82236035799984,
193
+ "count": 1000,
194
+ "is_parallel": true,
195
+ "self": 0.14223537499982797,
196
+ "children": {
197
+ "UnityEnvironment._generate_step_input": {
198
+ "total": 0.8709525949999715,
199
+ "count": 1000,
200
+ "is_parallel": true,
201
+ "self": 0.8709525949999715
202
+ },
203
+ "communicator.exchange": {
204
+ "total": 48.09095756100003,
205
+ "count": 1000,
206
+ "is_parallel": true,
207
+ "self": 48.09095756100003
208
+ },
209
+ "steps_from_proto": {
210
+ "total": 1.718214827000013,
211
+ "count": 2000,
212
+ "is_parallel": true,
213
+ "self": 0.20315039800005996,
214
+ "children": {
215
+ "_process_rank_one_or_two_observation": {
216
+ "total": 1.515064428999953,
217
+ "count": 8000,
218
+ "is_parallel": true,
219
+ "self": 1.515064428999953
220
+ }
221
+ }
222
+ }
223
+ }
224
+ }
225
+ }
226
+ }
227
+ }
228
+ }
229
+ }
230
+ },
231
+ "trainer_advance": {
232
+ "total": 1.598987328999975,
233
+ "count": 1000,
234
+ "self": 0.08059926799989992,
235
+ "children": {
236
+ "process_trajectory": {
237
+ "total": 1.518388061000075,
238
+ "count": 1000,
239
+ "self": 1.518388061000075
240
+ }
241
+ }
242
+ }
243
+ }
244
+ },
245
+ "trainer_threads": {
246
+ "total": 4.5800000236795313e-07,
247
+ "count": 1,
248
+ "self": 4.5800000236795313e-07
249
+ },
250
+ "TrainerController._save_models": {
251
+ "total": 0.22538829099999447,
252
+ "count": 1,
253
+ "self": 0.046379082999997934,
254
+ "children": {
255
+ "RLTrainer._checkpoint": {
256
+ "total": 0.17900920799999653,
257
+ "count": 1,
258
+ "self": 0.17900920799999653
259
+ }
260
+ }
261
+ }
262
+ }
263
+ }
264
+ }
265
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1200.0,
4
+ "checkpoints": [
5
+ {
6
+ "steps": 16000,
7
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-16000.onnx",
8
+ "reward": 0.0,
9
+ "creation_time": 1681330910.428162,
10
+ "auxillary_file_paths": [
11
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-16000.pt"
12
+ ]
13
+ }
14
+ ],
15
+ "final_checkpoint": {
16
+ "steps": 16000,
17
+ "file_path": "results/SoccerTwos/SoccerTwos.onnx",
18
+ "reward": 0.0,
19
+ "creation_time": 1681330910.428162,
20
+ "auxillary_file_paths": [
21
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-16000.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
+ }