NathanS-HuggingFace commited on
Commit
6a0c185
1 Parent(s): 9f45829

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: NathanS-HuggingFace/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:450e02e5319f181708111facf7d0b403652f40f7b6c16e302c942a066afe6967
3
+ size 1764633
SoccerTwos/SoccerTwos-0.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fe939a6bfbe433766427eaca36f2db8ee967b7b3706308f9da0d6f04243f3ee2
3
+ size 1764633
SoccerTwos/SoccerTwos-0.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e95288bf4779fc3d9bd72916ce4a7d400ca0204acf405e56a962a8f520dd7eb0
3
+ size 9478713
SoccerTwos/SoccerTwos-51974.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:450e02e5319f181708111facf7d0b403652f40f7b6c16e302c942a066afe6967
3
+ size 1764633
SoccerTwos/SoccerTwos-51974.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4e16c7347134f17cbdc4ffb61efb0526161f4278d2165439b650d01a8789db6e
3
+ size 28422417
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4e16c7347134f17cbdc4ffb61efb0526161f4278d2165439b650d01a8789db6e
3
+ size 28422417
SoccerTwos/events.out.tfevents.1683590234.Gentoo.9040.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:557f5af8b8ab27b4c1492679b189798c527e4ae5c1f8b586ce9d544b1a8f1615
3
+ size 32328
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": 50000, "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.x86_64", "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: 50000
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.x86_64
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,325 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/home/thekeymaster/Server/Projects/Hugging-Face-Course/Unit-7-AI-vs-AI/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos_Data/Managed'
2
+ Mono config path = '/home/thekeymaster/Server/Projects/Hugging-Face-Course/Unit-7-AI-vs-AI/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos_Data/MonoBleedingEdge/etc'
3
+ Preloaded 'lib_burst_generated.so'
4
+ Preloaded 'libgrpc_csharp_ext.x64.so'
5
+ Initialize engine version: 2021.3.14f1 (eee1884e7226)
6
+ [Subsystems] Discovering subsystems at path /home/thekeymaster/Server/Projects/Hugging-Face-Course/Unit-7-AI-vs-AI/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos_Data/UnitySubsystems
7
+ Forcing GfxDevice: Null
8
+ GfxDevice: creating device client; threaded=0; jobified=0
9
+ NullGfxDevice:
10
+ Version: NULL 1.0 [1.0]
11
+ Renderer: Null Device
12
+ Vendor: Unity Technologies
13
+ Begin MonoManager ReloadAssembly
14
+ - Completed reload, in 2.437 seconds
15
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
16
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
17
+ ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
18
+ WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
19
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
20
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
21
+ ERROR: Shader Standard (Specular setup) shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
22
+ WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
23
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
24
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
25
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
26
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
27
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
28
+ ERROR: Shader Autodesk Interactive shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
29
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
30
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
31
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
32
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
33
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
34
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
35
+ ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
36
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
37
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
38
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
39
+ UnloadTime: 1.192898 ms
40
+ Registered Communicator in Agent.
41
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
42
+ requesting resize 84 x 84
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
+ Setting up 6 worker threads for Enlighten.
65
+ Memory Statistics:
66
+ [ALLOC_TEMP_TLS] TLS Allocator
67
+ StackAllocators :
68
+ [ALLOC_TEMP_MAIN]
69
+ Peak usage frame count: [8.0 KB-16.0 KB]: 1141 frames, [2.0 MB-4.0 MB]: 1 frames
70
+ Initial Block Size 4.0 MB
71
+ Current Block Size 4.0 MB
72
+ Peak Allocated Bytes 2.1 MB
73
+ Overflow Count 0
74
+ [ALLOC_TEMP_Loading.AsyncRead]
75
+ Initial Block Size 64.0 KB
76
+ Current Block Size 64.0 KB
77
+ Peak Allocated Bytes 160 B
78
+ Overflow Count 0
79
+ [ALLOC_TEMP_Loading.PreloadManager]
80
+ Initial Block Size 256.0 KB
81
+ Current Block Size 300.0 KB
82
+ Peak Allocated Bytes 249.7 KB
83
+ Overflow Count 4
84
+ [ALLOC_TEMP_Background Job.Worker 8]
85
+ Initial Block Size 32.0 KB
86
+ Current Block Size 32.0 KB
87
+ Peak Allocated Bytes 0 B
88
+ Overflow Count 0
89
+ [ALLOC_TEMP_Job.Worker 6]
90
+ Initial Block Size 256.0 KB
91
+ Current Block Size 256.0 KB
92
+ Peak Allocated Bytes 0 B
93
+ Overflow Count 0
94
+ [ALLOC_TEMP_Job.Worker 0]
95
+ Initial Block Size 256.0 KB
96
+ Current Block Size 256.0 KB
97
+ Peak Allocated Bytes 0 B
98
+ Overflow Count 0
99
+ [ALLOC_TEMP_Background Job.Worker 10]
100
+ Initial Block Size 32.0 KB
101
+ Current Block Size 32.0 KB
102
+ Peak Allocated Bytes 0 B
103
+ Overflow Count 0
104
+ [ALLOC_TEMP_Background Job.Worker 9]
105
+ Initial Block Size 32.0 KB
106
+ Current Block Size 32.0 KB
107
+ Peak Allocated Bytes 0 B
108
+ Overflow Count 0
109
+ [ALLOC_TEMP_Job.Worker 5]
110
+ Initial Block Size 256.0 KB
111
+ Current Block Size 256.0 KB
112
+ Peak Allocated Bytes 0 B
113
+ Overflow Count 0
114
+ [ALLOC_TEMP_Background Job.Worker 14]
115
+ Initial Block Size 32.0 KB
116
+ Current Block Size 32.0 KB
117
+ Peak Allocated Bytes 0 B
118
+ Overflow Count 0
119
+ [ALLOC_TEMP_Background Job.Worker 6]
120
+ Initial Block Size 32.0 KB
121
+ Current Block Size 32.0 KB
122
+ Peak Allocated Bytes 0 B
123
+ Overflow Count 0
124
+ [ALLOC_TEMP_Job.Worker 4]
125
+ Initial Block Size 256.0 KB
126
+ Current Block Size 256.0 KB
127
+ Peak Allocated Bytes 0.7 KB
128
+ Overflow Count 0
129
+ [ALLOC_TEMP_Job.Worker 3]
130
+ Initial Block Size 256.0 KB
131
+ Current Block Size 256.0 KB
132
+ Peak Allocated Bytes 0 B
133
+ Overflow Count 0
134
+ [ALLOC_TEMP_Background Job.Worker 12]
135
+ Initial Block Size 32.0 KB
136
+ Current Block Size 32.0 KB
137
+ Peak Allocated Bytes 0 B
138
+ Overflow Count 0
139
+ [ALLOC_TEMP_EnlightenWorker] x 6
140
+ Initial Block Size 64.0 KB
141
+ Current Block Size 64.0 KB
142
+ Peak Allocated Bytes 0 B
143
+ Overflow Count 0
144
+ [ALLOC_TEMP_Background Job.Worker 15]
145
+ Initial Block Size 32.0 KB
146
+ Current Block Size 32.0 KB
147
+ Peak Allocated Bytes 0 B
148
+ Overflow Count 0
149
+ [ALLOC_TEMP_Background Job.Worker 1]
150
+ Initial Block Size 32.0 KB
151
+ Current Block Size 32.0 KB
152
+ Peak Allocated Bytes 0 B
153
+ Overflow Count 0
154
+ [ALLOC_TEMP_Background Job.Worker 2]
155
+ Initial Block Size 32.0 KB
156
+ Current Block Size 32.0 KB
157
+ Peak Allocated Bytes 0 B
158
+ Overflow Count 0
159
+ [ALLOC_TEMP_Background Job.Worker 7]
160
+ Initial Block Size 32.0 KB
161
+ Current Block Size 32.0 KB
162
+ Peak Allocated Bytes 0 B
163
+ Overflow Count 0
164
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 11
165
+ Initial Block Size 64.0 KB
166
+ Current Block Size 64.0 KB
167
+ Peak Allocated Bytes 0 B
168
+ Overflow Count 0
169
+ [ALLOC_TEMP_Background Job.Worker 5]
170
+ Initial Block Size 32.0 KB
171
+ Current Block Size 32.0 KB
172
+ Peak Allocated Bytes 0 B
173
+ Overflow Count 0
174
+ [ALLOC_TEMP_Job.Worker 9]
175
+ Initial Block Size 256.0 KB
176
+ Current Block Size 256.0 KB
177
+ Peak Allocated Bytes 0 B
178
+ Overflow Count 0
179
+ [ALLOC_TEMP_Background Job.Worker 13]
180
+ Initial Block Size 32.0 KB
181
+ Current Block Size 32.0 KB
182
+ Peak Allocated Bytes 0 B
183
+ Overflow Count 0
184
+ [ALLOC_TEMP_Job.Worker 8]
185
+ Initial Block Size 256.0 KB
186
+ Current Block Size 256.0 KB
187
+ Peak Allocated Bytes 0 B
188
+ Overflow Count 0
189
+ [ALLOC_TEMP_Job.Worker 7]
190
+ Initial Block Size 256.0 KB
191
+ Current Block Size 256.0 KB
192
+ Peak Allocated Bytes 0 B
193
+ Overflow Count 0
194
+ [ALLOC_TEMP_Job.Worker 1]
195
+ Initial Block Size 256.0 KB
196
+ Current Block Size 256.0 KB
197
+ Peak Allocated Bytes 0 B
198
+ Overflow Count 0
199
+ [ALLOC_TEMP_Job.Worker 2]
200
+ Initial Block Size 256.0 KB
201
+ Current Block Size 256.0 KB
202
+ Peak Allocated Bytes 0 B
203
+ Overflow Count 0
204
+ [ALLOC_TEMP_Background Job.Worker 3]
205
+ Initial Block Size 32.0 KB
206
+ Current Block Size 32.0 KB
207
+ Peak Allocated Bytes 0 B
208
+ Overflow Count 0
209
+ [ALLOC_TEMP_Background Job.Worker 11]
210
+ Initial Block Size 32.0 KB
211
+ Current Block Size 32.0 KB
212
+ Peak Allocated Bytes 0 B
213
+ Overflow Count 0
214
+ [ALLOC_TEMP_Job.Worker 10]
215
+ Initial Block Size 256.0 KB
216
+ Current Block Size 256.0 KB
217
+ Peak Allocated Bytes 0 B
218
+ Overflow Count 0
219
+ [ALLOC_TEMP_Background Job.Worker 0]
220
+ Initial Block Size 32.0 KB
221
+ Current Block Size 32.0 KB
222
+ Peak Allocated Bytes 0 B
223
+ Overflow Count 0
224
+ [ALLOC_TEMP_Background Job.Worker 4]
225
+ Initial Block Size 32.0 KB
226
+ Current Block Size 32.0 KB
227
+ Peak Allocated Bytes 0 B
228
+ Overflow Count 0
229
+ [ALLOC_TEMP_BatchDeleteObjects]
230
+ Initial Block Size 64.0 KB
231
+ Current Block Size 64.0 KB
232
+ Peak Allocated Bytes 0 B
233
+ Overflow Count 0
234
+ [ALLOC_DEFAULT] Dual Thread Allocator
235
+ Peak main deferred allocation count 3
236
+ [ALLOC_BUCKET]
237
+ Large Block size 4.0 MB
238
+ Used Block count 1
239
+ Peak Allocated bytes 1.0 MB
240
+ [ALLOC_DEFAULT_MAIN]
241
+ Peak usage frame count: [4.0 MB-8.0 MB]: 1142 frames
242
+ Requested Block Size 16.0 MB
243
+ Peak Block count 1
244
+ Peak Allocated memory 4.7 MB
245
+ Peak Large allocation bytes 0 B
246
+ [ALLOC_DEFAULT_THREAD]
247
+ Peak usage frame count: [16.0 MB-32.0 MB]: 1142 frames
248
+ Requested Block Size 16.0 MB
249
+ Peak Block count 1
250
+ Peak Allocated memory 17.6 MB
251
+ Peak Large allocation bytes 16.0 MB
252
+ [ALLOC_TEMP_JOB_1_FRAME]
253
+ Initial Block Size 2.0 MB
254
+ Used Block Count 1
255
+ Overflow Count (too large) 0
256
+ Overflow Count (full) 0
257
+ [ALLOC_TEMP_JOB_2_FRAMES]
258
+ Initial Block Size 2.0 MB
259
+ Used Block Count 1
260
+ Overflow Count (too large) 0
261
+ Overflow Count (full) 0
262
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
263
+ Initial Block Size 2.0 MB
264
+ Used Block Count 2
265
+ Overflow Count (too large) 0
266
+ Overflow Count (full) 0
267
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
268
+ Initial Block Size 1.0 MB
269
+ Used Block Count 3
270
+ Overflow Count (too large) 0
271
+ Overflow Count (full) 0
272
+ [ALLOC_GFX] Dual Thread Allocator
273
+ Peak main deferred allocation count 0
274
+ [ALLOC_BUCKET]
275
+ Large Block size 4.0 MB
276
+ Used Block count 1
277
+ Peak Allocated bytes 1.0 MB
278
+ [ALLOC_GFX_MAIN]
279
+ Peak usage frame count: [32.0 KB-64.0 KB]: 1141 frames, [64.0 KB-128.0 KB]: 1 frames
280
+ Requested Block Size 16.0 MB
281
+ Peak Block count 1
282
+ Peak Allocated memory 65.6 KB
283
+ Peak Large allocation bytes 0 B
284
+ [ALLOC_GFX_THREAD]
285
+ Peak usage frame count: [128.0 KB-256.0 KB]: 1142 frames
286
+ Requested Block Size 16.0 MB
287
+ Peak Block count 1
288
+ Peak Allocated memory 173.5 KB
289
+ Peak Large allocation bytes 0 B
290
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
291
+ Peak main deferred allocation count 0
292
+ [ALLOC_BUCKET]
293
+ Large Block size 4.0 MB
294
+ Used Block count 1
295
+ Peak Allocated bytes 1.0 MB
296
+ [ALLOC_CACHEOBJECTS_MAIN]
297
+ Peak usage frame count: [0.5 MB-1.0 MB]: 1142 frames
298
+ Requested Block Size 4.0 MB
299
+ Peak Block count 1
300
+ Peak Allocated memory 0.6 MB
301
+ Peak Large allocation bytes 0 B
302
+ [ALLOC_CACHEOBJECTS_THREAD]
303
+ Peak usage frame count: [0.5 MB-1.0 MB]: 1141 frames, [4.0 MB-8.0 MB]: 1 frames
304
+ Requested Block Size 4.0 MB
305
+ Peak Block count 2
306
+ Peak Allocated memory 4.5 MB
307
+ Peak Large allocation bytes 0 B
308
+ [ALLOC_TYPETREE] Dual Thread Allocator
309
+ Peak main deferred allocation count 0
310
+ [ALLOC_BUCKET]
311
+ Large Block size 4.0 MB
312
+ Used Block count 1
313
+ Peak Allocated bytes 1.0 MB
314
+ [ALLOC_TYPETREE_MAIN]
315
+ Peak usage frame count: [0-1.0 KB]: 1142 frames
316
+ Requested Block Size 2.0 MB
317
+ Peak Block count 1
318
+ Peak Allocated memory 1.0 KB
319
+ Peak Large allocation bytes 0 B
320
+ [ALLOC_TYPETREE_THREAD]
321
+ Peak usage frame count: [1.0 KB-2.0 KB]: 1141 frames, [2.0 KB-4.0 KB]: 1 frames
322
+ Requested Block Size 2.0 MB
323
+ Peak Block count 1
324
+ Peak Allocated memory 2.2 KB
325
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,403 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "SoccerTwos.Policy.Entropy.mean": {
5
+ "value": 3.2807910442352295,
6
+ "min": 3.2807910442352295,
7
+ "max": 3.295742988586426,
8
+ "count": 5
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 84723.1484375,
12
+ "min": 51235.0546875,
13
+ "max": 105463.7734375,
14
+ "count": 5
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 955.4,
18
+ "min": 745.2,
19
+ "max": 999.0,
20
+ "count": 5
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 19108.0,
24
+ "min": 14904.0,
25
+ "max": 25888.0,
26
+ "count": 5
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1198.2960463941354,
30
+ "min": 1198.2960463941354,
31
+ "max": 1199.4207269131573,
32
+ "count": 4
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 2396.5920927882707,
36
+ "min": 2396.5920927882707,
37
+ "max": 7196.524361478944,
38
+ "count": 4
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 49974.0,
42
+ "min": 9960.0,
43
+ "max": 49974.0,
44
+ "count": 5
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 49974.0,
48
+ "min": 9960.0,
49
+ "max": 49974.0,
50
+ "count": 5
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": -0.06636136025190353,
54
+ "min": -0.07005516439676285,
55
+ "max": -0.06636136025190353,
56
+ "count": 5
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": -0.7299749255180359,
60
+ "min": -0.9106462597846985,
61
+ "max": -0.6965510845184326,
62
+ "count": 5
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": -0.06056693568825722,
66
+ "min": -0.07001491636037827,
67
+ "max": -0.06056693568825722,
68
+ "count": 5
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": -0.6662362813949585,
72
+ "min": -0.9100764989852905,
73
+ "max": -0.6329516172409058,
74
+ "count": 5
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 5
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 5
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": -0.18181818181818182,
90
+ "min": -0.3241333334396283,
91
+ "max": 0.001360000018030405,
92
+ "count": 5
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": -2.0,
96
+ "min": -3.8896000012755394,
97
+ "max": 0.01360000018030405,
98
+ "count": 5
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": -0.18181818181818182,
102
+ "min": -0.3241333334396283,
103
+ "max": 0.001360000018030405,
104
+ "count": 5
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": -2.0,
108
+ "min": -3.8896000012755394,
109
+ "max": 0.01360000018030405,
110
+ "count": 5
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 5
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 5
123
+ },
124
+ "SoccerTwos.Losses.PolicyLoss.mean": {
125
+ "value": 0.01809350042991961,
126
+ "min": 0.017385530701075267,
127
+ "max": 0.01809350042991961,
128
+ "count": 2
129
+ },
130
+ "SoccerTwos.Losses.PolicyLoss.sum": {
131
+ "value": 0.01809350042991961,
132
+ "min": 0.017385530701075267,
133
+ "max": 0.01809350042991961,
134
+ "count": 2
135
+ },
136
+ "SoccerTwos.Losses.ValueLoss.mean": {
137
+ "value": 0.0007348242984638394,
138
+ "min": 0.0007348242984638394,
139
+ "max": 0.002954561379738152,
140
+ "count": 2
141
+ },
142
+ "SoccerTwos.Losses.ValueLoss.sum": {
143
+ "value": 0.0007348242984638394,
144
+ "min": 0.0007348242984638394,
145
+ "max": 0.002954561379738152,
146
+ "count": 2
147
+ },
148
+ "SoccerTwos.Losses.BaselineLoss.mean": {
149
+ "value": 0.0007452838452688108,
150
+ "min": 0.0007452838452688108,
151
+ "max": 0.002745604452987512,
152
+ "count": 2
153
+ },
154
+ "SoccerTwos.Losses.BaselineLoss.sum": {
155
+ "value": 0.0007452838452688108,
156
+ "min": 0.0007452838452688108,
157
+ "max": 0.002745604452987512,
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": "1683590226",
200
+ "python_version": "3.9.13 (main, Jul 20 2022, 22:20:50) \n[GCC 11.3.0]",
201
+ "command_line_arguments": "/home/thekeymaster/Server/Projects/Hugging-Face-Course/Unit-7-AI-vs-AI/rl/bin/mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos/SoccerTwos.x86_64 --run-id=SoccerTwos --no-graphics --force",
202
+ "mlagents_version": "0.31.0.dev0",
203
+ "mlagents_envs_version": "0.31.0.dev0",
204
+ "communication_protocol_version": "1.5.0",
205
+ "pytorch_version": "1.11.0+cu102",
206
+ "numpy_version": "1.21.2",
207
+ "end_time_seconds": "1683590430"
208
+ },
209
+ "total": 204.44136967899976,
210
+ "count": 1,
211
+ "self": 1.05795118399692,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.10620303400173725,
215
+ "count": 1,
216
+ "self": 0.10620303400173725
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 203.2772154610011,
220
+ "count": 1,
221
+ "self": 0.11539166511465737,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 42.49264526099978,
225
+ "count": 1,
226
+ "self": 42.49264526099978
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 153.98561443488506,
230
+ "count": 3819,
231
+ "self": 0.11292492894426687,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 126.35035360599795,
235
+ "count": 3819,
236
+ "self": 104.39870043693008,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 21.879080556025656,
240
+ "count": 3819,
241
+ "self": 0.6794282059963734,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 21.199652350029282,
245
+ "count": 7614,
246
+ "self": 21.199652350029282
247
+ }
248
+ }
249
+ },
250
+ "workers": {
251
+ "total": 0.07257261304221174,
252
+ "count": 3819,
253
+ "self": 0.0,
254
+ "children": {
255
+ "worker_root": {
256
+ "total": 196.03046066292882,
257
+ "count": 3819,
258
+ "is_parallel": true,
259
+ "self": 108.00857298397568,
260
+ "children": {
261
+ "run_training.setup": {
262
+ "total": 0.0,
263
+ "count": 0,
264
+ "is_parallel": true,
265
+ "self": 0.0,
266
+ "children": {
267
+ "steps_from_proto": {
268
+ "total": 0.021005970000260277,
269
+ "count": 2,
270
+ "is_parallel": true,
271
+ "self": 0.015773913997691125,
272
+ "children": {
273
+ "_process_rank_one_or_two_observation": {
274
+ "total": 0.005232056002569152,
275
+ "count": 8,
276
+ "is_parallel": true,
277
+ "self": 0.005232056002569152
278
+ }
279
+ }
280
+ },
281
+ "UnityEnvironment.step": {
282
+ "total": 0.03804310700070346,
283
+ "count": 1,
284
+ "is_parallel": true,
285
+ "self": 0.000784120000389521,
286
+ "children": {
287
+ "UnityEnvironment._generate_step_input": {
288
+ "total": 0.0015876180004852358,
289
+ "count": 1,
290
+ "is_parallel": true,
291
+ "self": 0.0015876180004852358
292
+ },
293
+ "communicator.exchange": {
294
+ "total": 0.0332690930008539,
295
+ "count": 1,
296
+ "is_parallel": true,
297
+ "self": 0.0332690930008539
298
+ },
299
+ "steps_from_proto": {
300
+ "total": 0.002402275998974801,
301
+ "count": 2,
302
+ "is_parallel": true,
303
+ "self": 0.0004890790005447343,
304
+ "children": {
305
+ "_process_rank_one_or_two_observation": {
306
+ "total": 0.0019131969984300667,
307
+ "count": 8,
308
+ "is_parallel": true,
309
+ "self": 0.0019131969984300667
310
+ }
311
+ }
312
+ }
313
+ }
314
+ }
315
+ }
316
+ },
317
+ "UnityEnvironment.step": {
318
+ "total": 88.02188767895314,
319
+ "count": 3818,
320
+ "is_parallel": true,
321
+ "self": 5.955326958886872,
322
+ "children": {
323
+ "UnityEnvironment._generate_step_input": {
324
+ "total": 4.789865059981821,
325
+ "count": 3818,
326
+ "is_parallel": true,
327
+ "self": 4.789865059981821
328
+ },
329
+ "communicator.exchange": {
330
+ "total": 58.98325425498115,
331
+ "count": 3818,
332
+ "is_parallel": true,
333
+ "self": 58.98325425498115
334
+ },
335
+ "steps_from_proto": {
336
+ "total": 18.293441405103295,
337
+ "count": 7636,
338
+ "is_parallel": true,
339
+ "self": 3.5349990402028197,
340
+ "children": {
341
+ "_process_rank_one_or_two_observation": {
342
+ "total": 14.758442364900475,
343
+ "count": 30544,
344
+ "is_parallel": true,
345
+ "self": 14.758442364900475
346
+ }
347
+ }
348
+ }
349
+ }
350
+ }
351
+ }
352
+ }
353
+ }
354
+ }
355
+ }
356
+ },
357
+ "trainer_advance": {
358
+ "total": 27.522335899942846,
359
+ "count": 3819,
360
+ "self": 1.270590202879248,
361
+ "children": {
362
+ "process_trajectory": {
363
+ "total": 7.35048717706195,
364
+ "count": 3819,
365
+ "self": 7.35048717706195
366
+ },
367
+ "_update_policy": {
368
+ "total": 18.901258520001647,
369
+ "count": 2,
370
+ "self": 14.493343388008725,
371
+ "children": {
372
+ "TorchPOCAOptimizer.update": {
373
+ "total": 4.407915131992922,
374
+ "count": 66,
375
+ "self": 4.407915131992922
376
+ }
377
+ }
378
+ }
379
+ }
380
+ }
381
+ }
382
+ },
383
+ "trainer_threads": {
384
+ "total": 1.6730009519960731e-06,
385
+ "count": 1,
386
+ "self": 1.6730009519960731e-06
387
+ },
388
+ "TrainerController._save_models": {
389
+ "total": 6.683562427000652,
390
+ "count": 1,
391
+ "self": 0.22492797700033407,
392
+ "children": {
393
+ "RLTrainer._checkpoint": {
394
+ "total": 6.458634450000318,
395
+ "count": 1,
396
+ "self": 6.458634450000318
397
+ }
398
+ }
399
+ }
400
+ }
401
+ }
402
+ }
403
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1198.0481417679891,
4
+ "checkpoints": [
5
+ {
6
+ "steps": 51974,
7
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-51974.onnx",
8
+ "reward": 0.0,
9
+ "creation_time": 1683590429.4876857,
10
+ "auxillary_file_paths": [
11
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-51974.pt"
12
+ ]
13
+ }
14
+ ],
15
+ "final_checkpoint": {
16
+ "steps": 51974,
17
+ "file_path": "results/SoccerTwos/SoccerTwos.onnx",
18
+ "reward": 0.0,
19
+ "creation_time": 1683590429.4876857,
20
+ "auxillary_file_paths": [
21
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-51974.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+cu102"
29
+ }
30
+ }