SebastianS commited on
Commit
76e0827
1 Parent(s): 669a70e

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: SebastianS/poca-SoccerTwos_light
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:9fc5cf5e37ba8c969de2d327ffd2e6f9fd8a6e8f999949ebb8d86ce136ac0ade
3
+ size 1768747
SoccerTwos/SoccerTwos-51502.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9fc5cf5e37ba8c969de2d327ffd2e6f9fd8a6e8f999949ebb8d86ce136ac0ade
3
+ size 1768747
SoccerTwos/SoccerTwos-51502.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eac5a117aad73798306eb1ef4e0cf6b0032e082f7d9ad651cc59bc7e3c96976a
3
+ size 28429659
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd4af7128bdc3186542462ef0e6ad83f6a1843f3874013ea57908beea06c3528
3
+ size 28428927
SoccerTwos/events.out.tfevents.1678764475.DESKTOP-JV76GBV.15920.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee49ff12622bc73cac7a906481d8f7a5d25d9e06fd2601d39094704f8a5693a3
3
+ size 33623
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": 5000, "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.exe", "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_light", "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: 50000
41
+ time_horizon: 1000
42
+ summary_freq: 10000
43
+ threaded: false
44
+ self_play:
45
+ save_steps: 5000
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.exe
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_light
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,283 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = 'C:/Notes/drl-course/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos_Data/Managed'
2
+ Mono config path = 'C:/Notes/drl-course/ml-agents/training-envs-executables/SoccerTwos/MonoBleedingEdge/etc'
3
+ Initialize engine version: 2021.3.14f1 (eee1884e7226)
4
+ [Subsystems] Discovering subsystems at path C:/Notes/drl-course/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos_Data/UnitySubsystems
5
+ Forcing GfxDevice: Null
6
+ GfxDevice: creating device client; threaded=0; jobified=0
7
+ NullGfxDevice:
8
+ Version: NULL 1.0 [1.0]
9
+ Renderer: Null Device
10
+ Vendor: Unity Technologies
11
+ Begin MonoManager ReloadAssembly
12
+ - Completed reload, in 12.943 seconds
13
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
14
+ Microsoft Media Foundation video decoding to texture disabled: graphics device is Null, only Direct3D 11 and Direct3D 12 (only on desktop) are supported for hardware-accelerated video decoding.
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.176900 ms
39
+ Registered Communicator in Agent.
40
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
41
+ TOO LONG
42
+ TOO LONG
43
+ TOO LONG
44
+ TOO LONG
45
+ TOO LONG
46
+ TOO LONG
47
+ TOO LONG
48
+ TOO LONG
49
+ TOO LONG
50
+ TOO LONG
51
+ TOO LONG
52
+ TOO LONG
53
+ TOO LONG
54
+ TOO LONG
55
+ TOO LONG
56
+ TOO LONG
57
+ TOO LONG
58
+ TOO LONG
59
+ TOO LONG
60
+ TOO LONG
61
+ TOO LONG
62
+ Setting up 2 worker threads for Enlighten.
63
+ Memory Statistics:
64
+ [ALLOC_TEMP_TLS] TLS Allocator
65
+ StackAllocators :
66
+ [ALLOC_TEMP_MAIN]
67
+ Peak usage frame count: [8.0 KB-16.0 KB]: 1089 frames, [2.0 MB-4.0 MB]: 1 frames
68
+ Initial Block Size 4.0 MB
69
+ Current Block Size 4.0 MB
70
+ Peak Allocated Bytes 2.0 MB
71
+ Overflow Count 0
72
+ [ALLOC_TEMP_Loading.AsyncRead]
73
+ Initial Block Size 64.0 KB
74
+ Current Block Size 64.0 KB
75
+ Peak Allocated Bytes 327 B
76
+ Overflow Count 0
77
+ [ALLOC_TEMP_Loading.PreloadManager]
78
+ Initial Block Size 256.0 KB
79
+ Current Block Size 256.0 KB
80
+ Peak Allocated Bytes 67.1 KB
81
+ Overflow Count 4
82
+ [ALLOC_TEMP_Background Job.Worker 8]
83
+ Initial Block Size 32.0 KB
84
+ Current Block Size 32.0 KB
85
+ Peak Allocated Bytes 54 B
86
+ Overflow Count 0
87
+ [ALLOC_TEMP_Background Job.Worker 9]
88
+ Initial Block Size 32.0 KB
89
+ Current Block Size 32.0 KB
90
+ Peak Allocated Bytes 54 B
91
+ Overflow Count 0
92
+ [ALLOC_TEMP_Job.Worker 0]
93
+ Initial Block Size 256.0 KB
94
+ Current Block Size 256.0 KB
95
+ Peak Allocated Bytes 0 B
96
+ Overflow Count 0
97
+ [ALLOC_TEMP_Background Job.Worker 10]
98
+ Initial Block Size 32.0 KB
99
+ Current Block Size 32.0 KB
100
+ Peak Allocated Bytes 54 B
101
+ Overflow Count 0
102
+ [ALLOC_TEMP_Background Job.Worker 14]
103
+ Initial Block Size 32.0 KB
104
+ Current Block Size 32.0 KB
105
+ Peak Allocated Bytes 54 B
106
+ Overflow Count 0
107
+ [ALLOC_TEMP_Background Job.Worker 6]
108
+ Initial Block Size 32.0 KB
109
+ Current Block Size 32.0 KB
110
+ Peak Allocated Bytes 54 B
111
+ Overflow Count 0
112
+ [ALLOC_TEMP_Background Job.Worker 12]
113
+ Initial Block Size 32.0 KB
114
+ Current Block Size 32.0 KB
115
+ Peak Allocated Bytes 54 B
116
+ Overflow Count 0
117
+ [ALLOC_TEMP_EnlightenWorker] x 2
118
+ Initial Block Size 64.0 KB
119
+ Current Block Size 64.0 KB
120
+ Peak Allocated Bytes 54 B
121
+ Overflow Count 0
122
+ [ALLOC_TEMP_Background Job.Worker 15]
123
+ Initial Block Size 32.0 KB
124
+ Current Block Size 32.0 KB
125
+ Peak Allocated Bytes 54 B
126
+ Overflow Count 0
127
+ [ALLOC_TEMP_Background Job.Worker 1]
128
+ Initial Block Size 32.0 KB
129
+ Current Block Size 32.0 KB
130
+ Peak Allocated Bytes 54 B
131
+ Overflow Count 0
132
+ [ALLOC_TEMP_Background Job.Worker 2]
133
+ Initial Block Size 32.0 KB
134
+ Current Block Size 32.0 KB
135
+ Peak Allocated Bytes 54 B
136
+ Overflow Count 0
137
+ [ALLOC_TEMP_Background Job.Worker 7]
138
+ Initial Block Size 32.0 KB
139
+ Current Block Size 32.0 KB
140
+ Peak Allocated Bytes 54 B
141
+ Overflow Count 0
142
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 3
143
+ Initial Block Size 64.0 KB
144
+ Current Block Size 64.0 KB
145
+ Peak Allocated Bytes 0 B
146
+ Overflow Count 0
147
+ [ALLOC_TEMP_Background Job.Worker 5]
148
+ Initial Block Size 32.0 KB
149
+ Current Block Size 32.0 KB
150
+ Peak Allocated Bytes 54 B
151
+ Overflow Count 0
152
+ [ALLOC_TEMP_Background Job.Worker 13]
153
+ Initial Block Size 32.0 KB
154
+ Current Block Size 32.0 KB
155
+ Peak Allocated Bytes 54 B
156
+ Overflow Count 0
157
+ [ALLOC_TEMP_Job.Worker 1]
158
+ Initial Block Size 256.0 KB
159
+ Current Block Size 256.0 KB
160
+ Peak Allocated Bytes 0.8 KB
161
+ Overflow Count 0
162
+ [ALLOC_TEMP_Job.Worker 2]
163
+ Initial Block Size 256.0 KB
164
+ Current Block Size 256.0 KB
165
+ Peak Allocated Bytes 0 B
166
+ Overflow Count 0
167
+ [ALLOC_TEMP_Background Job.Worker 3]
168
+ Initial Block Size 32.0 KB
169
+ Current Block Size 32.0 KB
170
+ Peak Allocated Bytes 54 B
171
+ Overflow Count 0
172
+ [ALLOC_TEMP_Background Job.Worker 11]
173
+ Initial Block Size 32.0 KB
174
+ Current Block Size 32.0 KB
175
+ Peak Allocated Bytes 54 B
176
+ Overflow Count 0
177
+ [ALLOC_TEMP_Background Job.Worker 0]
178
+ Initial Block Size 32.0 KB
179
+ Current Block Size 32.0 KB
180
+ Peak Allocated Bytes 54 B
181
+ Overflow Count 0
182
+ [ALLOC_TEMP_Background Job.Worker 4]
183
+ Initial Block Size 32.0 KB
184
+ Current Block Size 32.0 KB
185
+ Peak Allocated Bytes 54 B
186
+ Overflow Count 0
187
+ [ALLOC_TEMP_BatchDeleteObjects]
188
+ Initial Block Size 64.0 KB
189
+ Current Block Size 64.0 KB
190
+ Peak Allocated Bytes 54 B
191
+ Overflow Count 0
192
+ [ALLOC_DEFAULT] Dual Thread Allocator
193
+ Peak main deferred allocation count 3
194
+ [ALLOC_BUCKET]
195
+ Large Block size 4.0 MB
196
+ Used Block count 1
197
+ Peak Allocated bytes 0.9 MB
198
+ [ALLOC_DEFAULT_MAIN]
199
+ Peak usage frame count: [4.0 MB-8.0 MB]: 1090 frames
200
+ Requested Block Size 16.0 MB
201
+ Peak Block count 1
202
+ Peak Allocated memory 5.1 MB
203
+ Peak Large allocation bytes 0 B
204
+ [ALLOC_DEFAULT_THREAD]
205
+ Peak usage frame count: [16.0 MB-32.0 MB]: 1090 frames
206
+ Requested Block Size 16.0 MB
207
+ Peak Block count 1
208
+ Peak Allocated memory 17.2 MB
209
+ Peak Large allocation bytes 16.0 MB
210
+ [ALLOC_TEMP_JOB_1_FRAME]
211
+ Initial Block Size 2.0 MB
212
+ Used Block Count 1
213
+ Overflow Count (too large) 0
214
+ Overflow Count (full) 0
215
+ [ALLOC_TEMP_JOB_2_FRAMES]
216
+ Initial Block Size 2.0 MB
217
+ Used Block Count 1
218
+ Overflow Count (too large) 0
219
+ Overflow Count (full) 0
220
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
221
+ Initial Block Size 2.0 MB
222
+ Used Block Count 2
223
+ Overflow Count (too large) 0
224
+ Overflow Count (full) 0
225
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
226
+ Initial Block Size 1.0 MB
227
+ Used Block Count 3
228
+ Overflow Count (too large) 0
229
+ Overflow Count (full) 0
230
+ [ALLOC_GFX] Dual Thread Allocator
231
+ Peak main deferred allocation count 0
232
+ [ALLOC_BUCKET]
233
+ Large Block size 4.0 MB
234
+ Used Block count 1
235
+ Peak Allocated bytes 0.9 MB
236
+ [ALLOC_GFX_MAIN]
237
+ Peak usage frame count: [32.0 KB-64.0 KB]: 1089 frames, [64.0 KB-128.0 KB]: 1 frames
238
+ Requested Block Size 16.0 MB
239
+ Peak Block count 1
240
+ Peak Allocated memory 65.6 KB
241
+ Peak Large allocation bytes 0 B
242
+ [ALLOC_GFX_THREAD]
243
+ Peak usage frame count: [128.0 KB-256.0 KB]: 1090 frames
244
+ Requested Block Size 16.0 MB
245
+ Peak Block count 1
246
+ Peak Allocated memory 173.6 KB
247
+ Peak Large allocation bytes 0 B
248
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
249
+ Peak main deferred allocation count 2
250
+ [ALLOC_BUCKET]
251
+ Large Block size 4.0 MB
252
+ Used Block count 1
253
+ Peak Allocated bytes 0.9 MB
254
+ [ALLOC_CACHEOBJECTS_MAIN]
255
+ Peak usage frame count: [0.5 MB-1.0 MB]: 1090 frames
256
+ Requested Block Size 4.0 MB
257
+ Peak Block count 1
258
+ Peak Allocated memory 0.6 MB
259
+ Peak Large allocation bytes 0 B
260
+ [ALLOC_CACHEOBJECTS_THREAD]
261
+ Peak usage frame count: [0.5 MB-1.0 MB]: 1089 frames, [2.0 MB-4.0 MB]: 1 frames
262
+ Requested Block Size 4.0 MB
263
+ Peak Block count 1
264
+ Peak Allocated memory 3.2 MB
265
+ Peak Large allocation bytes 0 B
266
+ [ALLOC_TYPETREE] Dual Thread Allocator
267
+ Peak main deferred allocation count 0
268
+ [ALLOC_BUCKET]
269
+ Large Block size 4.0 MB
270
+ Used Block count 1
271
+ Peak Allocated bytes 0.9 MB
272
+ [ALLOC_TYPETREE_MAIN]
273
+ Peak usage frame count: [0-1.0 KB]: 1090 frames
274
+ Requested Block Size 2.0 MB
275
+ Peak Block count 1
276
+ Peak Allocated memory 1.0 KB
277
+ Peak Large allocation bytes 0 B
278
+ [ALLOC_TYPETREE_THREAD]
279
+ Peak usage frame count: [1.0 KB-2.0 KB]: 1089 frames, [2.0 KB-4.0 KB]: 1 frames
280
+ Requested Block Size 2.0 MB
281
+ Peak Block count 1
282
+ Peak Allocated memory 2.2 KB
283
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,361 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "SoccerTwos.Policy.Entropy.mean": {
5
+ "value": 3.270434856414795,
6
+ "min": 3.270434856414795,
7
+ "max": 3.2957565784454346,
8
+ "count": 5
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 66245.9296875,
12
+ "min": 57922.0390625,
13
+ "max": 105463.984375,
14
+ "count": 5
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 572.8571428571429,
18
+ "min": 572.8571428571429,
19
+ "max": 999.0,
20
+ "count": 5
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 16040.0,
24
+ "min": 15984.0,
25
+ "max": 25604.0,
26
+ "count": 5
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1197.6510988651753,
30
+ "min": 1197.6510988651753,
31
+ "max": 1200.4622574853702,
32
+ "count": 4
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 9581.208790921402,
36
+ "min": 2398.517159820343,
37
+ "max": 14405.547089824442,
38
+ "count": 4
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 49502.0,
42
+ "min": 9820.0,
43
+ "max": 49502.0,
44
+ "count": 5
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 49502.0,
48
+ "min": 9820.0,
49
+ "max": 49502.0,
50
+ "count": 5
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": 0.03455100208520889,
54
+ "min": 0.03455100208520889,
55
+ "max": 0.05008567124605179,
56
+ "count": 5
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": 0.5528160333633423,
60
+ "min": 0.415897011756897,
61
+ "max": 0.7512457370758057,
62
+ "count": 5
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": 0.035482101142406464,
66
+ "min": 0.035482101142406464,
67
+ "max": 0.05012375861406326,
68
+ "count": 5
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": 0.5677136182785034,
72
+ "min": 0.4534440040588379,
73
+ "max": 0.7517714500427246,
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.25394999980926514,
90
+ "min": -0.25394999980926514,
91
+ "max": 0.1096266746520996,
92
+ "count": 5
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": -4.063199996948242,
96
+ "min": -4.063199996948242,
97
+ "max": 1.6444001197814941,
98
+ "count": 5
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": -0.25394999980926514,
102
+ "min": -0.25394999980926514,
103
+ "max": 0.1096266746520996,
104
+ "count": 5
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": -4.063199996948242,
108
+ "min": -4.063199996948242,
109
+ "max": 1.6444001197814941,
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.017691626998412452,
126
+ "min": 0.013456214430455778,
127
+ "max": 0.017691626998412452,
128
+ "count": 2
129
+ },
130
+ "SoccerTwos.Losses.PolicyLoss.sum": {
131
+ "value": 0.017691626998412452,
132
+ "min": 0.013456214430455778,
133
+ "max": 0.017691626998412452,
134
+ "count": 2
135
+ },
136
+ "SoccerTwos.Losses.ValueLoss.mean": {
137
+ "value": 0.0015896653446058433,
138
+ "min": 0.0015896653446058433,
139
+ "max": 0.001771482858263577,
140
+ "count": 2
141
+ },
142
+ "SoccerTwos.Losses.ValueLoss.sum": {
143
+ "value": 0.0015896653446058433,
144
+ "min": 0.0015896653446058433,
145
+ "max": 0.001771482858263577,
146
+ "count": 2
147
+ },
148
+ "SoccerTwos.Losses.BaselineLoss.mean": {
149
+ "value": 0.0016096843791081374,
150
+ "min": 0.0015241764350018153,
151
+ "max": 0.0016096843791081374,
152
+ "count": 2
153
+ },
154
+ "SoccerTwos.Losses.BaselineLoss.sum": {
155
+ "value": 0.0016096843791081374,
156
+ "min": 0.0015241764350018153,
157
+ "max": 0.0016096843791081374,
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.2,
174
+ "min": 0.2,
175
+ "max": 0.20000000000000007,
176
+ "count": 2
177
+ },
178
+ "SoccerTwos.Policy.Epsilon.sum": {
179
+ "value": 0.2,
180
+ "min": 0.2,
181
+ "max": 0.20000000000000007,
182
+ "count": 2
183
+ },
184
+ "SoccerTwos.Policy.Beta.mean": {
185
+ "value": 0.005,
186
+ "min": 0.005,
187
+ "max": 0.005000000000000001,
188
+ "count": 2
189
+ },
190
+ "SoccerTwos.Policy.Beta.sum": {
191
+ "value": 0.005,
192
+ "min": 0.005,
193
+ "max": 0.005000000000000001,
194
+ "count": 2
195
+ }
196
+ },
197
+ "metadata": {
198
+ "timer_format_version": "0.1.0",
199
+ "start_time_seconds": "1678764456",
200
+ "python_version": "3.9.16 (main, Mar 8 2023, 10:39:24) [MSC v.1916 64 bit (AMD64)]",
201
+ "command_line_arguments": "C:\\Notes\\drl-course\\rl\\Scripts\\mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos/SoccerTwos.exe --run-id=SoccerTwos_light --no-graphics",
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.13.1+cpu",
206
+ "numpy_version": "1.21.2",
207
+ "end_time_seconds": "1678764807"
208
+ },
209
+ "total": 351.0104281,
210
+ "count": 1,
211
+ "self": 2.9374502000000575,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.23172039999999994,
215
+ "count": 1,
216
+ "self": 0.23172039999999994
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 347.8412575,
220
+ "count": 1,
221
+ "self": 0.15428849999875638,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 19.2141545,
225
+ "count": 1,
226
+ "self": 19.2141545
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 328.13108200000124,
230
+ "count": 3656,
231
+ "self": 0.17994720000052666,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 145.71569330000034,
235
+ "count": 3656,
236
+ "self": 114.14501089999965,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 31.455057800000354,
240
+ "count": 3656,
241
+ "self": 1.0930717999998052,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 30.36198600000055,
245
+ "count": 7266,
246
+ "self": 30.36198600000055
247
+ }
248
+ }
249
+ },
250
+ "workers": {
251
+ "total": 0.11562460000034491,
252
+ "count": 3656,
253
+ "self": 0.0,
254
+ "children": {
255
+ "worker_root": {
256
+ "total": 327.1890946000002,
257
+ "count": 3656,
258
+ "is_parallel": true,
259
+ "self": 235.7860736000015,
260
+ "children": {
261
+ "steps_from_proto": {
262
+ "total": 0.011300399999999655,
263
+ "count": 2,
264
+ "is_parallel": true,
265
+ "self": 0.003762999999995742,
266
+ "children": {
267
+ "_process_rank_one_or_two_observation": {
268
+ "total": 0.007537400000003913,
269
+ "count": 8,
270
+ "is_parallel": true,
271
+ "self": 0.007537400000003913
272
+ }
273
+ }
274
+ },
275
+ "UnityEnvironment.step": {
276
+ "total": 91.3917205999987,
277
+ "count": 3656,
278
+ "is_parallel": true,
279
+ "self": 5.103755799999291,
280
+ "children": {
281
+ "UnityEnvironment._generate_step_input": {
282
+ "total": 4.572379299999508,
283
+ "count": 3656,
284
+ "is_parallel": true,
285
+ "self": 4.572379299999508
286
+ },
287
+ "communicator.exchange": {
288
+ "total": 64.59551070000042,
289
+ "count": 3656,
290
+ "is_parallel": true,
291
+ "self": 64.59551070000042
292
+ },
293
+ "steps_from_proto": {
294
+ "total": 17.120074799999486,
295
+ "count": 7312,
296
+ "is_parallel": true,
297
+ "self": 3.413218499997466,
298
+ "children": {
299
+ "_process_rank_one_or_two_observation": {
300
+ "total": 13.70685630000202,
301
+ "count": 29248,
302
+ "is_parallel": true,
303
+ "self": 13.70685630000202
304
+ }
305
+ }
306
+ }
307
+ }
308
+ }
309
+ }
310
+ }
311
+ }
312
+ }
313
+ }
314
+ },
315
+ "trainer_advance": {
316
+ "total": 182.23544150000038,
317
+ "count": 3656,
318
+ "self": 0.8856490000020472,
319
+ "children": {
320
+ "process_trajectory": {
321
+ "total": 27.986286299998337,
322
+ "count": 3656,
323
+ "self": 27.986286299998337
324
+ },
325
+ "_update_policy": {
326
+ "total": 153.3635062,
327
+ "count": 2,
328
+ "self": 11.564430700000145,
329
+ "children": {
330
+ "TorchPOCAOptimizer.update": {
331
+ "total": 141.79907549999984,
332
+ "count": 63,
333
+ "self": 141.79907549999984
334
+ }
335
+ }
336
+ }
337
+ }
338
+ }
339
+ }
340
+ },
341
+ "trainer_threads": {
342
+ "total": 6.199999972977821e-06,
343
+ "count": 1,
344
+ "self": 6.199999972977821e-06
345
+ },
346
+ "TrainerController._save_models": {
347
+ "total": 0.3417263000000048,
348
+ "count": 1,
349
+ "self": 0.012669200000004821,
350
+ "children": {
351
+ "RLTrainer._checkpoint": {
352
+ "total": 0.3290571,
353
+ "count": 1,
354
+ "self": 0.3290571
355
+ }
356
+ }
357
+ }
358
+ }
359
+ }
360
+ }
361
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1197.0356806498658,
4
+ "checkpoints": [
5
+ {
6
+ "steps": 51502,
7
+ "file_path": "results\\SoccerTwos_light\\SoccerTwos\\SoccerTwos-51502.onnx",
8
+ "reward": 0.0,
9
+ "creation_time": 1678764804.391589,
10
+ "auxillary_file_paths": [
11
+ "results\\SoccerTwos_light\\SoccerTwos\\SoccerTwos-51502.pt"
12
+ ]
13
+ }
14
+ ],
15
+ "final_checkpoint": {
16
+ "steps": 51502,
17
+ "file_path": "results\\SoccerTwos_light\\SoccerTwos.onnx",
18
+ "reward": 0.0,
19
+ "creation_time": 1678764804.391589,
20
+ "auxillary_file_paths": [
21
+ "results\\SoccerTwos_light\\SoccerTwos\\SoccerTwos-51502.pt"
22
+ ]
23
+ }
24
+ },
25
+ "metadata": {
26
+ "stats_format_version": "0.3.0",
27
+ "mlagents_version": "0.31.0.dev0",
28
+ "torch_version": "1.13.1+cpu"
29
+ }
30
+ }