JvThunder commited on
Commit
b01ae83
1 Parent(s): bc888af

First Push`

Browse files
README.md ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: ml-agents
3
+ tags:
4
+ - SoccerTwos
5
+ - deep-reinforcement-learning
6
+ - reinforcement-learning
7
+ - ML-Agents-SoccerTwos
8
+ ---
9
+
10
+ # **poca** Agent playing **SoccerTwos**
11
+ This is a trained model of a **poca** agent playing **SoccerTwos**
12
+ using the [Unity ML-Agents Library](https://github.com/Unity-Technologies/ml-agents).
13
+
14
+ ## Usage (with ML-Agents)
15
+ The Documentation: https://unity-technologies.github.io/ml-agents/ML-Agents-Toolkit-Documentation/
16
+
17
+ We wrote a complete tutorial to learn to train your first agent using ML-Agents and publish it to the Hub:
18
+ - A *short tutorial* where you teach Huggy the Dog 🐶 to fetch the stick and then play with him directly in your
19
+ browser: https://huggingface.co/learn/deep-rl-course/unitbonus1/introduction
20
+ - A *longer tutorial* to understand how works ML-Agents:
21
+ https://huggingface.co/learn/deep-rl-course/unit5/introduction
22
+
23
+ ### Resume the training
24
+ ```bash
25
+ mlagents-learn <your_configuration_file_path.yaml> --run-id=<run_id> --resume
26
+ ```
27
+
28
+ ### Watch your Agent play
29
+ You can watch your agent **playing directly in your browser**
30
+
31
+ 1. If the environment is part of ML-Agents official environments, go to https://huggingface.co/unity
32
+ 2. Step 1: Find your model_id: JvThunder/poca-SoccerTwos
33
+ 3. Step 2: Select your *.nn /*.onnx file
34
+ 4. Click on Watch the agent play 👀
35
+
SoccerTwos/SoccerTwos-0.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7e6b57536fde4b86384e76448ca0fc87496d3050f6d20ab4db88b600188db95b
3
+ size 9478839
SoccerTwos/SoccerTwos-64520.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:768f9ac687137fd9b028564678dda0489537593d9f35873a7074b3aabc8c93ad
3
+ size 28429659
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:58a8072036c1fd1dea018f2ed2737e2ab8fcb9496e4bdec7424854ebeaa78ca4
3
+ size 28428927
SoccerTwos/events.out.tfevents.1690795194.LAPTOP-P5UQJ1J6.23592.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fc8d39fcb19df7b567f11743e6e4759762a4b262bb1936e9769085608444e57c
3
+ size 1240
SoccerTwos/events.out.tfevents.1690795225.LAPTOP-P5UQJ1J6.24772.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1c7ba1874433d6eebf76fb47f4b09250f035c481f8e3d5015c4a5dc593347e23
3
+ size 38053
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": 5000000, "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.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", "initialize_from": null, "load_model": false, "resume": true, "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: 5000000
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.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
73
+ initialize_from: null
74
+ load_model: false
75
+ resume: true
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,367 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = 'D:/Joshua/Coding/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos_Data/Managed'
2
+ Mono config path = 'D:/Joshua/Coding/ml-agents/training-envs-executables/SoccerTwos/MonoBleedingEdge/etc'
3
+ Initialize engine version: 2021.3.14f1 (eee1884e7226)
4
+ [Subsystems] Discovering subsystems at path D:/Joshua/Coding/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 0.074 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: 0.725000 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
+ TOO LONG
63
+ TOO LONG
64
+ TOO LONG
65
+ TOO LONG
66
+ Setting up 10 worker threads for Enlighten.
67
+ Memory Statistics:
68
+ [ALLOC_TEMP_TLS] TLS Allocator
69
+ StackAllocators :
70
+ [ALLOC_TEMP_MAIN]
71
+ Peak usage frame count: [8.0 KB-16.0 KB]: 1331 frames, [2.0 MB-4.0 MB]: 1 frames
72
+ Initial Block Size 4.0 MB
73
+ Current Block Size 4.0 MB
74
+ Peak Allocated Bytes 2.0 MB
75
+ Overflow Count 0
76
+ [ALLOC_TEMP_Job.Worker 18]
77
+ Initial Block Size 256.0 KB
78
+ Current Block Size 256.0 KB
79
+ Peak Allocated Bytes 54 B
80
+ Overflow Count 0
81
+ [ALLOC_TEMP_Loading.PreloadManager]
82
+ Initial Block Size 256.0 KB
83
+ Current Block Size 256.0 KB
84
+ Peak Allocated Bytes 67.1 KB
85
+ Overflow Count 4
86
+ [ALLOC_TEMP_Loading.AsyncRead]
87
+ Initial Block Size 64.0 KB
88
+ Current Block Size 64.0 KB
89
+ Peak Allocated Bytes 318 B
90
+ Overflow Count 0
91
+ [ALLOC_TEMP_Background Job.Worker 8]
92
+ Initial Block Size 32.0 KB
93
+ Current Block Size 32.0 KB
94
+ Peak Allocated Bytes 54 B
95
+ Overflow Count 0
96
+ [ALLOC_TEMP_Job.Worker 6]
97
+ Initial Block Size 256.0 KB
98
+ Current Block Size 256.0 KB
99
+ Peak Allocated Bytes 0 B
100
+ Overflow Count 0
101
+ [ALLOC_TEMP_Job.Worker 0]
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_Background Job.Worker 10]
107
+ Initial Block Size 32.0 KB
108
+ Current Block Size 32.0 KB
109
+ Peak Allocated Bytes 54 B
110
+ Overflow Count 0
111
+ [ALLOC_TEMP_Background Job.Worker 9]
112
+ Initial Block Size 32.0 KB
113
+ Current Block Size 32.0 KB
114
+ Peak Allocated Bytes 54 B
115
+ Overflow Count 0
116
+ [ALLOC_TEMP_Job.Worker 5]
117
+ Initial Block Size 256.0 KB
118
+ Current Block Size 256.0 KB
119
+ Peak Allocated Bytes 0 B
120
+ Overflow Count 0
121
+ [ALLOC_TEMP_Background Job.Worker 14]
122
+ Initial Block Size 32.0 KB
123
+ Current Block Size 32.0 KB
124
+ Peak Allocated Bytes 54 B
125
+ Overflow Count 0
126
+ [ALLOC_TEMP_Job.Worker 16]
127
+ Initial Block Size 256.0 KB
128
+ Current Block Size 256.0 KB
129
+ Peak Allocated Bytes 54 B
130
+ Overflow Count 0
131
+ [ALLOC_TEMP_Background Job.Worker 6]
132
+ Initial Block Size 32.0 KB
133
+ Current Block Size 32.0 KB
134
+ Peak Allocated Bytes 54 B
135
+ Overflow Count 0
136
+ [ALLOC_TEMP_Job.Worker 4]
137
+ Initial Block Size 256.0 KB
138
+ Current Block Size 256.0 KB
139
+ Peak Allocated Bytes 0 B
140
+ Overflow Count 0
141
+ [ALLOC_TEMP_Job.Worker 14]
142
+ Initial Block Size 256.0 KB
143
+ Current Block Size 256.0 KB
144
+ Peak Allocated Bytes 54 B
145
+ Overflow Count 0
146
+ [ALLOC_TEMP_Job.Worker 17]
147
+ Initial Block Size 256.0 KB
148
+ Current Block Size 256.0 KB
149
+ Peak Allocated Bytes 54 B
150
+ Overflow Count 0
151
+ [ALLOC_TEMP_Job.Worker 3]
152
+ Initial Block Size 256.0 KB
153
+ Current Block Size 256.0 KB
154
+ Peak Allocated Bytes 0 B
155
+ Overflow Count 0
156
+ [ALLOC_TEMP_Job.Worker 13]
157
+ Initial Block Size 256.0 KB
158
+ Current Block Size 256.0 KB
159
+ Peak Allocated Bytes 54 B
160
+ Overflow Count 0
161
+ [ALLOC_TEMP_Background Job.Worker 12]
162
+ Initial Block Size 32.0 KB
163
+ Current Block Size 32.0 KB
164
+ Peak Allocated Bytes 54 B
165
+ Overflow Count 0
166
+ [ALLOC_TEMP_EnlightenWorker] x 10
167
+ Initial Block Size 64.0 KB
168
+ Current Block Size 64.0 KB
169
+ Peak Allocated Bytes 54 B
170
+ Overflow Count 0
171
+ [ALLOC_TEMP_Background Job.Worker 15]
172
+ Initial Block Size 32.0 KB
173
+ Current Block Size 32.0 KB
174
+ Peak Allocated Bytes 54 B
175
+ Overflow Count 0
176
+ [ALLOC_TEMP_Background Job.Worker 1]
177
+ Initial Block Size 32.0 KB
178
+ Current Block Size 32.0 KB
179
+ Peak Allocated Bytes 54 B
180
+ Overflow Count 0
181
+ [ALLOC_TEMP_Background Job.Worker 2]
182
+ Initial Block Size 32.0 KB
183
+ Current Block Size 32.0 KB
184
+ Peak Allocated Bytes 54 B
185
+ Overflow Count 0
186
+ [ALLOC_TEMP_Background Job.Worker 7]
187
+ Initial Block Size 32.0 KB
188
+ Current Block Size 32.0 KB
189
+ Peak Allocated Bytes 54 B
190
+ Overflow Count 0
191
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 19
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_TEMP_Background Job.Worker 5]
197
+ Initial Block Size 32.0 KB
198
+ Current Block Size 32.0 KB
199
+ Peak Allocated Bytes 54 B
200
+ Overflow Count 0
201
+ [ALLOC_TEMP_Job.Worker 9]
202
+ Initial Block Size 256.0 KB
203
+ Current Block Size 256.0 KB
204
+ Peak Allocated Bytes 488 B
205
+ Overflow Count 0
206
+ [ALLOC_TEMP_Background Job.Worker 13]
207
+ Initial Block Size 32.0 KB
208
+ Current Block Size 32.0 KB
209
+ Peak Allocated Bytes 54 B
210
+ Overflow Count 0
211
+ [ALLOC_TEMP_Job.Worker 8]
212
+ Initial Block Size 256.0 KB
213
+ Current Block Size 256.0 KB
214
+ Peak Allocated Bytes 0 B
215
+ Overflow Count 0
216
+ [ALLOC_TEMP_Job.Worker 7]
217
+ Initial Block Size 256.0 KB
218
+ Current Block Size 256.0 KB
219
+ Peak Allocated Bytes 0 B
220
+ Overflow Count 0
221
+ [ALLOC_TEMP_Job.Worker 1]
222
+ Initial Block Size 256.0 KB
223
+ Current Block Size 256.0 KB
224
+ Peak Allocated Bytes 0 B
225
+ Overflow Count 0
226
+ [ALLOC_TEMP_Job.Worker 2]
227
+ Initial Block Size 256.0 KB
228
+ Current Block Size 256.0 KB
229
+ Peak Allocated Bytes 0 B
230
+ Overflow Count 0
231
+ [ALLOC_TEMP_Background Job.Worker 3]
232
+ Initial Block Size 32.0 KB
233
+ Current Block Size 32.0 KB
234
+ Peak Allocated Bytes 54 B
235
+ Overflow Count 0
236
+ [ALLOC_TEMP_Background Job.Worker 11]
237
+ Initial Block Size 32.0 KB
238
+ Current Block Size 32.0 KB
239
+ Peak Allocated Bytes 54 B
240
+ Overflow Count 0
241
+ [ALLOC_TEMP_Job.Worker 10]
242
+ Initial Block Size 256.0 KB
243
+ Current Block Size 256.0 KB
244
+ Peak Allocated Bytes 54 B
245
+ Overflow Count 0
246
+ [ALLOC_TEMP_Background Job.Worker 0]
247
+ Initial Block Size 32.0 KB
248
+ Current Block Size 32.0 KB
249
+ Peak Allocated Bytes 54 B
250
+ Overflow Count 0
251
+ [ALLOC_TEMP_Job.Worker 15]
252
+ Initial Block Size 256.0 KB
253
+ Current Block Size 256.0 KB
254
+ Peak Allocated Bytes 54 B
255
+ Overflow Count 0
256
+ [ALLOC_TEMP_Job.Worker 11]
257
+ Initial Block Size 256.0 KB
258
+ Current Block Size 256.0 KB
259
+ Peak Allocated Bytes 54 B
260
+ Overflow Count 0
261
+ [ALLOC_TEMP_Job.Worker 12]
262
+ Initial Block Size 256.0 KB
263
+ Current Block Size 256.0 KB
264
+ Peak Allocated Bytes 54 B
265
+ Overflow Count 0
266
+ [ALLOC_TEMP_Background Job.Worker 4]
267
+ Initial Block Size 32.0 KB
268
+ Current Block Size 32.0 KB
269
+ Peak Allocated Bytes 54 B
270
+ Overflow Count 0
271
+ [ALLOC_TEMP_BatchDeleteObjects]
272
+ Initial Block Size 64.0 KB
273
+ Current Block Size 64.0 KB
274
+ Peak Allocated Bytes 54 B
275
+ Overflow Count 0
276
+ [ALLOC_DEFAULT] Dual Thread Allocator
277
+ Peak main deferred allocation count 3
278
+ [ALLOC_BUCKET]
279
+ Large Block size 4.0 MB
280
+ Used Block count 1
281
+ Peak Allocated bytes 0.9 MB
282
+ [ALLOC_DEFAULT_MAIN]
283
+ Peak usage frame count: [4.0 MB-8.0 MB]: 1332 frames
284
+ Requested Block Size 16.0 MB
285
+ Peak Block count 1
286
+ Peak Allocated memory 4.9 MB
287
+ Peak Large allocation bytes 0 B
288
+ [ALLOC_DEFAULT_THREAD]
289
+ Peak usage frame count: [16.0 MB-32.0 MB]: 1332 frames
290
+ Requested Block Size 16.0 MB
291
+ Peak Block count 1
292
+ Peak Allocated memory 17.3 MB
293
+ Peak Large allocation bytes 16.0 MB
294
+ [ALLOC_TEMP_JOB_1_FRAME]
295
+ Initial Block Size 2.0 MB
296
+ Used Block Count 1
297
+ Overflow Count (too large) 0
298
+ Overflow Count (full) 0
299
+ [ALLOC_TEMP_JOB_2_FRAMES]
300
+ Initial Block Size 2.0 MB
301
+ Used Block Count 1
302
+ Overflow Count (too large) 0
303
+ Overflow Count (full) 0
304
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
305
+ Initial Block Size 2.0 MB
306
+ Used Block Count 2
307
+ Overflow Count (too large) 0
308
+ Overflow Count (full) 0
309
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
310
+ Initial Block Size 1.0 MB
311
+ Used Block Count 3
312
+ Overflow Count (too large) 0
313
+ Overflow Count (full) 0
314
+ [ALLOC_GFX] Dual Thread Allocator
315
+ Peak main deferred allocation count 0
316
+ [ALLOC_BUCKET]
317
+ Large Block size 4.0 MB
318
+ Used Block count 1
319
+ Peak Allocated bytes 0.9 MB
320
+ [ALLOC_GFX_MAIN]
321
+ Peak usage frame count: [32.0 KB-64.0 KB]: 1331 frames, [64.0 KB-128.0 KB]: 1 frames
322
+ Requested Block Size 16.0 MB
323
+ Peak Block count 1
324
+ Peak Allocated memory 65.6 KB
325
+ Peak Large allocation bytes 0 B
326
+ [ALLOC_GFX_THREAD]
327
+ Peak usage frame count: [128.0 KB-256.0 KB]: 1332 frames
328
+ Requested Block Size 16.0 MB
329
+ Peak Block count 1
330
+ Peak Allocated memory 173.6 KB
331
+ Peak Large allocation bytes 0 B
332
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
333
+ Peak main deferred allocation count 2
334
+ [ALLOC_BUCKET]
335
+ Large Block size 4.0 MB
336
+ Used Block count 1
337
+ Peak Allocated bytes 0.9 MB
338
+ [ALLOC_CACHEOBJECTS_MAIN]
339
+ Peak usage frame count: [0.5 MB-1.0 MB]: 1332 frames
340
+ Requested Block Size 4.0 MB
341
+ Peak Block count 1
342
+ Peak Allocated memory 0.6 MB
343
+ Peak Large allocation bytes 0 B
344
+ [ALLOC_CACHEOBJECTS_THREAD]
345
+ Peak usage frame count: [0.5 MB-1.0 MB]: 1331 frames, [2.0 MB-4.0 MB]: 1 frames
346
+ Requested Block Size 4.0 MB
347
+ Peak Block count 1
348
+ Peak Allocated memory 3.2 MB
349
+ Peak Large allocation bytes 0 B
350
+ [ALLOC_TYPETREE] Dual Thread Allocator
351
+ Peak main deferred allocation count 0
352
+ [ALLOC_BUCKET]
353
+ Large Block size 4.0 MB
354
+ Used Block count 1
355
+ Peak Allocated bytes 0.9 MB
356
+ [ALLOC_TYPETREE_MAIN]
357
+ Peak usage frame count: [0-1.0 KB]: 1332 frames
358
+ Requested Block Size 2.0 MB
359
+ Peak Block count 1
360
+ Peak Allocated memory 1.0 KB
361
+ Peak Large allocation bytes 0 B
362
+ [ALLOC_TYPETREE_THREAD]
363
+ Peak usage frame count: [1.0 KB-2.0 KB]: 1331 frames, [2.0 KB-4.0 KB]: 1 frames
364
+ Requested Block Size 2.0 MB
365
+ Peak Block count 1
366
+ Peak Allocated memory 2.2 KB
367
+ 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.286545753479004,
6
+ "min": 3.2799487113952637,
7
+ "max": 3.2957255840301514,
8
+ "count": 6
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 55003.62890625,
12
+ "min": 36448.6015625,
13
+ "max": 105463.21875,
14
+ "count": 6
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 999.0,
18
+ "min": 781.8571428571429,
19
+ "max": 999.0,
20
+ "count": 6
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 19980.0,
24
+ "min": 13660.0,
25
+ "max": 30168.0,
26
+ "count": 6
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1201.205006106708,
30
+ "min": 1199.5028730369677,
31
+ "max": 1202.2305948025287,
32
+ "count": 5
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 2402.410012213416,
36
+ "min": 2402.410012213416,
37
+ "max": 7213.383568815172,
38
+ "count": 5
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 59084.0,
42
+ "min": 9100.0,
43
+ "max": 59084.0,
44
+ "count": 6
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 59084.0,
48
+ "min": 9100.0,
49
+ "max": 59084.0,
50
+ "count": 6
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": -0.0017422193195670843,
54
+ "min": -0.013540264219045639,
55
+ "max": -0.0017422193195670843,
56
+ "count": 6
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": -0.01742219366133213,
60
+ "min": -0.16248317062854767,
61
+ "max": -0.01742219366133213,
62
+ "count": 6
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": -0.0051831635646522045,
66
+ "min": -0.013567925430834293,
67
+ "max": -0.0051831635646522045,
68
+ "count": 6
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": -0.05183163657784462,
72
+ "min": -0.16281510889530182,
73
+ "max": -0.05183163657784462,
74
+ "count": 6
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 6
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 6
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": 0.0,
90
+ "min": -0.2,
91
+ "max": 0.09700000332668424,
92
+ "count": 6
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": 0.0,
96
+ "min": -2.0,
97
+ "max": 1.1640000399202108,
98
+ "count": 6
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": 0.0,
102
+ "min": -0.2,
103
+ "max": 0.09700000332668424,
104
+ "count": 6
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": 0.0,
108
+ "min": -2.0,
109
+ "max": 1.1640000399202108,
110
+ "count": 6
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 6
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 6
123
+ },
124
+ "SoccerTwos.Losses.PolicyLoss.mean": {
125
+ "value": 0.01165679257683223,
126
+ "min": 0.01165679257683223,
127
+ "max": 0.015404471598837214,
128
+ "count": 2
129
+ },
130
+ "SoccerTwos.Losses.PolicyLoss.sum": {
131
+ "value": 0.01165679257683223,
132
+ "min": 0.01165679257683223,
133
+ "max": 0.015404471598837214,
134
+ "count": 2
135
+ },
136
+ "SoccerTwos.Losses.ValueLoss.mean": {
137
+ "value": 0.0019071170633348327,
138
+ "min": 0.0015114257888247569,
139
+ "max": 0.0019071170633348327,
140
+ "count": 2
141
+ },
142
+ "SoccerTwos.Losses.ValueLoss.sum": {
143
+ "value": 0.0019071170633348327,
144
+ "min": 0.0015114257888247569,
145
+ "max": 0.0019071170633348327,
146
+ "count": 2
147
+ },
148
+ "SoccerTwos.Losses.BaselineLoss.mean": {
149
+ "value": 0.0019426810302926847,
150
+ "min": 0.0012286341758832957,
151
+ "max": 0.0019426810302926847,
152
+ "count": 2
153
+ },
154
+ "SoccerTwos.Losses.BaselineLoss.sum": {
155
+ "value": 0.0019426810302926847,
156
+ "min": 0.0012286341758832957,
157
+ "max": 0.0019426810302926847,
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.20000000000000007,
175
+ "max": 0.20000000000000007,
176
+ "count": 2
177
+ },
178
+ "SoccerTwos.Policy.Epsilon.sum": {
179
+ "value": 0.20000000000000007,
180
+ "min": 0.20000000000000007,
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": "1690795222",
200
+ "python_version": "3.9.17 (main, Jul 5 2023, 20:47:11) [MSC v.1916 64 bit (AMD64)]",
201
+ "command_line_arguments": "\\\\?\\C:\\Users\\User\\anaconda3\\envs\\rl\\Scripts\\mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos.exe --run-id=SoccerTwos --no-graphics --resume",
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": "2.0.1+cpu",
206
+ "numpy_version": "1.21.2",
207
+ "end_time_seconds": "1690795352"
208
+ },
209
+ "total": 130.3720441,
210
+ "count": 1,
211
+ "self": 0.0733976999999868,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.07721880000000003,
215
+ "count": 1,
216
+ "self": 0.07721880000000003
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 130.22142760000003,
220
+ "count": 1,
221
+ "self": 0.10734660000059648,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 2.4465953999999996,
225
+ "count": 1,
226
+ "self": 2.4465953999999996
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 127.55914779999944,
230
+ "count": 4454,
231
+ "self": 0.10057499999965103,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 67.04976439999999,
235
+ "count": 4454,
236
+ "self": 48.87346289999975,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 18.116562999999942,
240
+ "count": 4454,
241
+ "self": 0.5460334000005211,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 17.57052959999942,
245
+ "count": 8874,
246
+ "self": 17.57052959999942
247
+ }
248
+ }
249
+ },
250
+ "workers": {
251
+ "total": 0.05973850000029035,
252
+ "count": 4454,
253
+ "self": 0.0,
254
+ "children": {
255
+ "worker_root": {
256
+ "total": 118.82038529999961,
257
+ "count": 4454,
258
+ "is_parallel": true,
259
+ "self": 81.92932019999984,
260
+ "children": {
261
+ "steps_from_proto": {
262
+ "total": 0.0010920999999997072,
263
+ "count": 2,
264
+ "is_parallel": true,
265
+ "self": 0.00022529999999942874,
266
+ "children": {
267
+ "_process_rank_one_or_two_observation": {
268
+ "total": 0.0008668000000002785,
269
+ "count": 8,
270
+ "is_parallel": true,
271
+ "self": 0.0008668000000002785
272
+ }
273
+ }
274
+ },
275
+ "UnityEnvironment.step": {
276
+ "total": 36.889972999999785,
277
+ "count": 4454,
278
+ "is_parallel": true,
279
+ "self": 1.9315163999990972,
280
+ "children": {
281
+ "UnityEnvironment._generate_step_input": {
282
+ "total": 1.8743645000002829,
283
+ "count": 4454,
284
+ "is_parallel": true,
285
+ "self": 1.8743645000002829
286
+ },
287
+ "communicator.exchange": {
288
+ "total": 26.44697940000008,
289
+ "count": 4454,
290
+ "is_parallel": true,
291
+ "self": 26.44697940000008
292
+ },
293
+ "steps_from_proto": {
294
+ "total": 6.637112700000321,
295
+ "count": 8908,
296
+ "is_parallel": true,
297
+ "self": 1.4580303000004573,
298
+ "children": {
299
+ "_process_rank_one_or_two_observation": {
300
+ "total": 5.179082399999864,
301
+ "count": 35632,
302
+ "is_parallel": true,
303
+ "self": 5.179082399999864
304
+ }
305
+ }
306
+ }
307
+ }
308
+ }
309
+ }
310
+ }
311
+ }
312
+ }
313
+ }
314
+ },
315
+ "trainer_advance": {
316
+ "total": 60.4088083999998,
317
+ "count": 4454,
318
+ "self": 0.5503726000001663,
319
+ "children": {
320
+ "process_trajectory": {
321
+ "total": 13.114336999999644,
322
+ "count": 4454,
323
+ "self": 13.114336999999644
324
+ },
325
+ "_update_policy": {
326
+ "total": 46.74409879999999,
327
+ "count": 3,
328
+ "self": 7.118506999999994,
329
+ "children": {
330
+ "TorchPOCAOptimizer.update": {
331
+ "total": 39.625591799999995,
332
+ "count": 73,
333
+ "self": 39.625591799999995
334
+ }
335
+ }
336
+ }
337
+ }
338
+ }
339
+ }
340
+ },
341
+ "trainer_threads": {
342
+ "total": 5.999999928008037e-07,
343
+ "count": 1,
344
+ "self": 5.999999928008037e-07
345
+ },
346
+ "TrainerController._save_models": {
347
+ "total": 0.10833719999999403,
348
+ "count": 1,
349
+ "self": 4.419999999072388e-05,
350
+ "children": {
351
+ "RLTrainer._checkpoint": {
352
+ "total": 0.1082930000000033,
353
+ "count": 1,
354
+ "self": 0.1082930000000033
355
+ }
356
+ }
357
+ }
358
+ }
359
+ }
360
+ }
361
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "stats_format_version": "0.3.0",
4
+ "mlagents_version": "0.31.0.dev0",
5
+ "torch_version": "2.0.1+cpu"
6
+ },
7
+ "SoccerTwos": {
8
+ "elo": 1200.9529092161076
9
+ }
10
+ }