innovation64 commited on
Commit
39c7954
1 Parent(s): 56a554f

second 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: innovation64/poca-aSoccerTwos
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:dd54bf2fc4f1aad8232024f705edb09cc7a706607fbf2e8f295afa4eb70b5d9d
3
+ size 1768746
SoccerTwos/SoccerTwos-499292.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8049f1e8322f975df2b909d944851cf4fbc58d052328957f435cf147340b6211
3
+ size 1768746
SoccerTwos/SoccerTwos-499292.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cde14dd7d669f509ad43de62b7989f6bc525ead8bbad175af03b2c3399576a37
3
+ size 28429781
SoccerTwos/SoccerTwos-520616.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd54bf2fc4f1aad8232024f705edb09cc7a706607fbf2e8f295afa4eb70b5d9d
3
+ size 1768746
SoccerTwos/SoccerTwos-520616.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:911fc4b12a55a52a3ac00c0869a7d133cdafc6deced19e433263bfd6b1e4892b
3
+ size 28429781
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6056b32b5bda095c701b871a4db1d1cbc0459f319c484d07a6b3113845f470af
3
+ size 28428927
SoccerTwos/events.out.tfevents.1685374167.innovation64.14712.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9fba05cb24c5e45e1078a27104846929dac83d36cff4a502d49a8da47daad5c4
3
+ size 383087
SoccerTwos/events.out.tfevents.1685394760.innovation64.10232.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:429cc6e7d75b8af727e2a2dd43770733afc96ed9e8270eec3f806994601f97cc
3
+ size 16320
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": 50000000, "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: 50000000
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,289 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = 'C:/Users/liyan/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos_Data/Managed'
2
+ Mono config path = 'C:/Users/liyan/ml-agents/training-envs-executables/SoccerTwos/MonoBleedingEdge/etc'
3
+ Initialize engine version: 2021.3.14f1 (eee1884e7226)
4
+ [Subsystems] Discovering subsystems at path C:/Users/liyan/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 3.967 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.639700 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
+ Setting up 4 worker threads for Enlighten.
49
+ Memory Statistics:
50
+ [ALLOC_TEMP_TLS] TLS Allocator
51
+ StackAllocators :
52
+ [ALLOC_TEMP_MAIN]
53
+ Peak usage frame count: [8.0 KB-16.0 KB]: 559 frames, [2.0 MB-4.0 MB]: 1 frames
54
+ Initial Block Size 4.0 MB
55
+ Current Block Size 4.0 MB
56
+ Peak Allocated Bytes 2.0 MB
57
+ Overflow Count 0
58
+ [ALLOC_TEMP_Loading.AsyncRead]
59
+ Initial Block Size 64.0 KB
60
+ Current Block Size 64.0 KB
61
+ Peak Allocated Bytes 312 B
62
+ Overflow Count 0
63
+ [ALLOC_TEMP_Loading.PreloadManager]
64
+ Initial Block Size 256.0 KB
65
+ Current Block Size 256.0 KB
66
+ Peak Allocated Bytes 67.1 KB
67
+ Overflow Count 4
68
+ [ALLOC_TEMP_Background Job.Worker 8]
69
+ Initial Block Size 32.0 KB
70
+ Current Block Size 32.0 KB
71
+ Peak Allocated Bytes 54 B
72
+ Overflow Count 0
73
+ [ALLOC_TEMP_Job.Worker 6]
74
+ Initial Block Size 256.0 KB
75
+ Current Block Size 256.0 KB
76
+ Peak Allocated Bytes 0.8 KB
77
+ Overflow Count 0
78
+ [ALLOC_TEMP_Job.Worker 0]
79
+ Initial Block Size 256.0 KB
80
+ Current Block Size 256.0 KB
81
+ Peak Allocated Bytes 0 B
82
+ Overflow Count 0
83
+ [ALLOC_TEMP_Background Job.Worker 10]
84
+ Initial Block Size 32.0 KB
85
+ Current Block Size 32.0 KB
86
+ Peak Allocated Bytes 54 B
87
+ Overflow Count 0
88
+ [ALLOC_TEMP_Background Job.Worker 9]
89
+ Initial Block Size 32.0 KB
90
+ Current Block Size 32.0 KB
91
+ Peak Allocated Bytes 54 B
92
+ Overflow Count 0
93
+ [ALLOC_TEMP_Job.Worker 5]
94
+ Initial Block Size 256.0 KB
95
+ Current Block Size 256.0 KB
96
+ Peak Allocated Bytes 0 B
97
+ Overflow Count 0
98
+ [ALLOC_TEMP_Background Job.Worker 14]
99
+ Initial Block Size 32.0 KB
100
+ Current Block Size 32.0 KB
101
+ Peak Allocated Bytes 54 B
102
+ Overflow Count 0
103
+ [ALLOC_TEMP_Background Job.Worker 6]
104
+ Initial Block Size 32.0 KB
105
+ Current Block Size 32.0 KB
106
+ Peak Allocated Bytes 54 B
107
+ Overflow Count 0
108
+ [ALLOC_TEMP_Job.Worker 4]
109
+ Initial Block Size 256.0 KB
110
+ Current Block Size 256.0 KB
111
+ Peak Allocated Bytes 0 B
112
+ Overflow Count 0
113
+ [ALLOC_TEMP_Job.Worker 3]
114
+ Initial Block Size 256.0 KB
115
+ Current Block Size 256.0 KB
116
+ Peak Allocated Bytes 0 B
117
+ Overflow Count 0
118
+ [ALLOC_TEMP_Background Job.Worker 12]
119
+ Initial Block Size 32.0 KB
120
+ Current Block Size 32.0 KB
121
+ Peak Allocated Bytes 54 B
122
+ Overflow Count 0
123
+ [ALLOC_TEMP_EnlightenWorker] x 4
124
+ Initial Block Size 64.0 KB
125
+ Current Block Size 64.0 KB
126
+ Peak Allocated Bytes 54 B
127
+ Overflow Count 0
128
+ [ALLOC_TEMP_Background Job.Worker 15]
129
+ Initial Block Size 32.0 KB
130
+ Current Block Size 32.0 KB
131
+ Peak Allocated Bytes 54 B
132
+ Overflow Count 0
133
+ [ALLOC_TEMP_Background Job.Worker 1]
134
+ Initial Block Size 32.0 KB
135
+ Current Block Size 32.0 KB
136
+ Peak Allocated Bytes 54 B
137
+ Overflow Count 0
138
+ [ALLOC_TEMP_Background Job.Worker 2]
139
+ Initial Block Size 32.0 KB
140
+ Current Block Size 32.0 KB
141
+ Peak Allocated Bytes 54 B
142
+ Overflow Count 0
143
+ [ALLOC_TEMP_Background Job.Worker 7]
144
+ Initial Block Size 32.0 KB
145
+ Current Block Size 32.0 KB
146
+ Peak Allocated Bytes 54 B
147
+ Overflow Count 0
148
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 7
149
+ Initial Block Size 64.0 KB
150
+ Current Block Size 64.0 KB
151
+ Peak Allocated Bytes 0 B
152
+ Overflow Count 0
153
+ [ALLOC_TEMP_Background Job.Worker 5]
154
+ Initial Block Size 32.0 KB
155
+ Current Block Size 32.0 KB
156
+ Peak Allocated Bytes 54 B
157
+ Overflow Count 0
158
+ [ALLOC_TEMP_Background Job.Worker 13]
159
+ Initial Block Size 32.0 KB
160
+ Current Block Size 32.0 KB
161
+ Peak Allocated Bytes 54 B
162
+ Overflow Count 0
163
+ [ALLOC_TEMP_Job.Worker 1]
164
+ Initial Block Size 256.0 KB
165
+ Current Block Size 256.0 KB
166
+ Peak Allocated Bytes 0 B
167
+ Overflow Count 0
168
+ [ALLOC_TEMP_Job.Worker 2]
169
+ Initial Block Size 256.0 KB
170
+ Current Block Size 256.0 KB
171
+ Peak Allocated Bytes 0 B
172
+ Overflow Count 0
173
+ [ALLOC_TEMP_Background Job.Worker 3]
174
+ Initial Block Size 32.0 KB
175
+ Current Block Size 32.0 KB
176
+ Peak Allocated Bytes 54 B
177
+ Overflow Count 0
178
+ [ALLOC_TEMP_Background Job.Worker 11]
179
+ Initial Block Size 32.0 KB
180
+ Current Block Size 32.0 KB
181
+ Peak Allocated Bytes 54 B
182
+ Overflow Count 0
183
+ [ALLOC_TEMP_Background Job.Worker 0]
184
+ Initial Block Size 32.0 KB
185
+ Current Block Size 32.0 KB
186
+ Peak Allocated Bytes 54 B
187
+ Overflow Count 0
188
+ [ALLOC_TEMP_Background Job.Worker 4]
189
+ Initial Block Size 32.0 KB
190
+ Current Block Size 32.0 KB
191
+ Peak Allocated Bytes 54 B
192
+ Overflow Count 0
193
+ [ALLOC_TEMP_BatchDeleteObjects]
194
+ Initial Block Size 64.0 KB
195
+ Current Block Size 64.0 KB
196
+ Peak Allocated Bytes 54 B
197
+ Overflow Count 0
198
+ [ALLOC_DEFAULT] Dual Thread Allocator
199
+ Peak main deferred allocation count 4
200
+ [ALLOC_BUCKET]
201
+ Large Block size 4.0 MB
202
+ Used Block count 1
203
+ Peak Allocated bytes 0.9 MB
204
+ [ALLOC_DEFAULT_MAIN]
205
+ Peak usage frame count: [4.0 MB-8.0 MB]: 560 frames
206
+ Requested Block Size 16.0 MB
207
+ Peak Block count 1
208
+ Peak Allocated memory 5.0 MB
209
+ Peak Large allocation bytes 0 B
210
+ [ALLOC_DEFAULT_THREAD]
211
+ Peak usage frame count: [16.0 MB-32.0 MB]: 560 frames
212
+ Requested Block Size 16.0 MB
213
+ Peak Block count 1
214
+ Peak Allocated memory 17.2 MB
215
+ Peak Large allocation bytes 16.0 MB
216
+ [ALLOC_TEMP_JOB_1_FRAME]
217
+ Initial Block Size 2.0 MB
218
+ Used Block Count 1
219
+ Overflow Count (too large) 0
220
+ Overflow Count (full) 0
221
+ [ALLOC_TEMP_JOB_2_FRAMES]
222
+ Initial Block Size 2.0 MB
223
+ Used Block Count 1
224
+ Overflow Count (too large) 0
225
+ Overflow Count (full) 0
226
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
227
+ Initial Block Size 2.0 MB
228
+ Used Block Count 2
229
+ Overflow Count (too large) 0
230
+ Overflow Count (full) 0
231
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
232
+ Initial Block Size 1.0 MB
233
+ Used Block Count 3
234
+ Overflow Count (too large) 0
235
+ Overflow Count (full) 0
236
+ [ALLOC_GFX] Dual Thread Allocator
237
+ Peak main deferred allocation count 0
238
+ [ALLOC_BUCKET]
239
+ Large Block size 4.0 MB
240
+ Used Block count 1
241
+ Peak Allocated bytes 0.9 MB
242
+ [ALLOC_GFX_MAIN]
243
+ Peak usage frame count: [32.0 KB-64.0 KB]: 559 frames, [64.0 KB-128.0 KB]: 1 frames
244
+ Requested Block Size 16.0 MB
245
+ Peak Block count 1
246
+ Peak Allocated memory 65.6 KB
247
+ Peak Large allocation bytes 0 B
248
+ [ALLOC_GFX_THREAD]
249
+ Peak usage frame count: [128.0 KB-256.0 KB]: 560 frames
250
+ Requested Block Size 16.0 MB
251
+ Peak Block count 1
252
+ Peak Allocated memory 173.6 KB
253
+ Peak Large allocation bytes 0 B
254
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
255
+ Peak main deferred allocation count 2
256
+ [ALLOC_BUCKET]
257
+ Large Block size 4.0 MB
258
+ Used Block count 1
259
+ Peak Allocated bytes 0.9 MB
260
+ [ALLOC_CACHEOBJECTS_MAIN]
261
+ Peak usage frame count: [0.5 MB-1.0 MB]: 560 frames
262
+ Requested Block Size 4.0 MB
263
+ Peak Block count 1
264
+ Peak Allocated memory 0.6 MB
265
+ Peak Large allocation bytes 0 B
266
+ [ALLOC_CACHEOBJECTS_THREAD]
267
+ Peak usage frame count: [0.5 MB-1.0 MB]: 559 frames, [2.0 MB-4.0 MB]: 1 frames
268
+ Requested Block Size 4.0 MB
269
+ Peak Block count 1
270
+ Peak Allocated memory 3.2 MB
271
+ Peak Large allocation bytes 0 B
272
+ [ALLOC_TYPETREE] 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 0.9 MB
278
+ [ALLOC_TYPETREE_MAIN]
279
+ Peak usage frame count: [0-1.0 KB]: 560 frames
280
+ Requested Block Size 2.0 MB
281
+ Peak Block count 1
282
+ Peak Allocated memory 1.0 KB
283
+ Peak Large allocation bytes 0 B
284
+ [ALLOC_TYPETREE_THREAD]
285
+ Peak usage frame count: [1.0 KB-2.0 KB]: 559 frames, [2.0 KB-4.0 KB]: 1 frames
286
+ Requested Block Size 2.0 MB
287
+ Peak Block count 1
288
+ Peak Allocated memory 2.2 KB
289
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,296 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "SoccerTwos.Policy.Entropy.mean": {
5
+ "value": 3.1788666248321533,
6
+ "min": 3.1788666248321533,
7
+ "max": 3.1962766647338867,
8
+ "count": 3
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 87991.03125,
12
+ "min": 3170.70654296875,
13
+ "max": 98689.21875,
14
+ "count": 3
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 449.1666666666667,
18
+ "min": 449.1666666666667,
19
+ "max": 998.0,
20
+ "count": 3
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 10780.0,
24
+ "min": 3868.0,
25
+ "max": 27944.0,
26
+ "count": 3
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1191.8236794936065,
30
+ "min": 1190.2567896756163,
31
+ "max": 1191.8236794936065,
32
+ "count": 2
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 14301.884153923278,
36
+ "min": 2380.5135793512327,
37
+ "max": 14301.884153923278,
38
+ "count": 2
39
+ },
40
+ "SoccerTwos.IsTraining.mean": {
41
+ "value": 1.0,
42
+ "min": 1.0,
43
+ "max": 1.0,
44
+ "count": 3
45
+ },
46
+ "SoccerTwos.IsTraining.sum": {
47
+ "value": 1.0,
48
+ "min": 1.0,
49
+ "max": 1.0,
50
+ "count": 3
51
+ },
52
+ "SoccerTwos.Step.mean": {
53
+ "value": 519751.0,
54
+ "min": 509220.0,
55
+ "max": 519751.0,
56
+ "count": 2
57
+ },
58
+ "SoccerTwos.Step.sum": {
59
+ "value": 519751.0,
60
+ "min": 509220.0,
61
+ "max": 519751.0,
62
+ "count": 2
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
65
+ "value": -0.0027279292698949575,
66
+ "min": -0.0027279292698949575,
67
+ "max": 0.0028961326461285353,
68
+ "count": 2
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
71
+ "value": -0.04637479782104492,
72
+ "min": -0.04637479782104492,
73
+ "max": 0.02896132692694664,
74
+ "count": 2
75
+ },
76
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
77
+ "value": -0.0056932042352855206,
78
+ "min": -0.0056932042352855206,
79
+ "max": 0.00048605288611724973,
80
+ "count": 2
81
+ },
82
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
83
+ "value": -0.09678447246551514,
84
+ "min": -0.09678447246551514,
85
+ "max": 0.0048605287447571754,
86
+ "count": 2
87
+ },
88
+ "SoccerTwos.Environment.CumulativeReward.mean": {
89
+ "value": 0.0,
90
+ "min": 0.0,
91
+ "max": 0.0,
92
+ "count": 2
93
+ },
94
+ "SoccerTwos.Environment.CumulativeReward.sum": {
95
+ "value": 0.0,
96
+ "min": 0.0,
97
+ "max": 0.0,
98
+ "count": 2
99
+ },
100
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
101
+ "value": 0.17399999674628763,
102
+ "min": 0.006319999694824219,
103
+ "max": 0.17399999674628763,
104
+ "count": 2
105
+ },
106
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
107
+ "value": 2.9579999446868896,
108
+ "min": 0.06319999694824219,
109
+ "max": 2.9579999446868896,
110
+ "count": 2
111
+ },
112
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
113
+ "value": 0.17399999674628763,
114
+ "min": 0.006319999694824219,
115
+ "max": 0.17399999674628763,
116
+ "count": 2
117
+ },
118
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
119
+ "value": 2.9579999446868896,
120
+ "min": 0.06319999694824219,
121
+ "max": 2.9579999446868896,
122
+ "count": 2
123
+ }
124
+ },
125
+ "metadata": {
126
+ "timer_format_version": "0.1.0",
127
+ "start_time_seconds": "1685394749",
128
+ "python_version": "3.9.16 (main, Mar 8 2023, 10:39:24) [MSC v.1916 64 bit (AMD64)]",
129
+ "command_line_arguments": "C:\\Users\\liyan\\anaconda3\\envs\\rl\\Scripts\\mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos.exe --run-id=SoccerTwos --no-graphics --resume",
130
+ "mlagents_version": "0.31.0.dev0",
131
+ "mlagents_envs_version": "0.31.0.dev0",
132
+ "communication_protocol_version": "1.5.0",
133
+ "pytorch_version": "2.0.1+cpu",
134
+ "numpy_version": "1.21.2",
135
+ "end_time_seconds": "1685394870"
136
+ },
137
+ "total": 120.43148400000001,
138
+ "count": 1,
139
+ "self": 0.41875100000001453,
140
+ "children": {
141
+ "run_training.setup": {
142
+ "total": 0.15784090000000006,
143
+ "count": 1,
144
+ "self": 0.15784090000000006
145
+ },
146
+ "TrainerController.start_learning": {
147
+ "total": 119.8548921,
148
+ "count": 1,
149
+ "self": 0.07927699999989102,
150
+ "children": {
151
+ "TrainerController._reset_env": {
152
+ "total": 10.3700346,
153
+ "count": 2,
154
+ "self": 10.3700346
155
+ },
156
+ "TrainerController.advance": {
157
+ "total": 109.06550140000012,
158
+ "count": 1872,
159
+ "self": 0.07673349999993206,
160
+ "children": {
161
+ "env_step": {
162
+ "total": 61.540721400000315,
163
+ "count": 1872,
164
+ "self": 48.24523500000018,
165
+ "children": {
166
+ "SubprocessEnvManager._take_step": {
167
+ "total": 13.249424300000038,
168
+ "count": 1872,
169
+ "self": 0.4028446999998483,
170
+ "children": {
171
+ "TorchPolicy.evaluate": {
172
+ "total": 12.84657960000019,
173
+ "count": 3730,
174
+ "self": 12.84657960000019
175
+ }
176
+ }
177
+ },
178
+ "workers": {
179
+ "total": 0.04606210000010158,
180
+ "count": 1872,
181
+ "self": 0.0,
182
+ "children": {
183
+ "worker_root": {
184
+ "total": 68.91105810000008,
185
+ "count": 1872,
186
+ "is_parallel": true,
187
+ "self": 29.816860800000114,
188
+ "children": {
189
+ "steps_from_proto": {
190
+ "total": 0.004187399999999286,
191
+ "count": 4,
192
+ "is_parallel": true,
193
+ "self": 0.0009122000000001407,
194
+ "children": {
195
+ "_process_rank_one_or_two_observation": {
196
+ "total": 0.0032751999999991455,
197
+ "count": 16,
198
+ "is_parallel": true,
199
+ "self": 0.0032751999999991455
200
+ }
201
+ }
202
+ },
203
+ "UnityEnvironment.step": {
204
+ "total": 39.09000989999996,
205
+ "count": 1872,
206
+ "is_parallel": true,
207
+ "self": 2.0243150999998747,
208
+ "children": {
209
+ "UnityEnvironment._generate_step_input": {
210
+ "total": 1.7682429999999378,
211
+ "count": 1872,
212
+ "is_parallel": true,
213
+ "self": 1.7682429999999378
214
+ },
215
+ "communicator.exchange": {
216
+ "total": 28.551646699999857,
217
+ "count": 1872,
218
+ "is_parallel": true,
219
+ "self": 28.551646699999857
220
+ },
221
+ "steps_from_proto": {
222
+ "total": 6.745805100000293,
223
+ "count": 3744,
224
+ "is_parallel": true,
225
+ "self": 1.3648891999997446,
226
+ "children": {
227
+ "_process_rank_one_or_two_observation": {
228
+ "total": 5.380915900000549,
229
+ "count": 14976,
230
+ "is_parallel": true,
231
+ "self": 5.380915900000549
232
+ }
233
+ }
234
+ }
235
+ }
236
+ }
237
+ }
238
+ }
239
+ }
240
+ }
241
+ }
242
+ },
243
+ "trainer_advance": {
244
+ "total": 47.44804649999987,
245
+ "count": 1872,
246
+ "self": 0.29611059999960787,
247
+ "children": {
248
+ "process_trajectory": {
249
+ "total": 7.4224586000002635,
250
+ "count": 1872,
251
+ "self": 7.073435500000267,
252
+ "children": {
253
+ "RLTrainer._checkpoint": {
254
+ "total": 0.3490230999999966,
255
+ "count": 1,
256
+ "self": 0.3490230999999966
257
+ }
258
+ }
259
+ },
260
+ "_update_policy": {
261
+ "total": 39.7294773,
262
+ "count": 1,
263
+ "self": 4.240818700000048,
264
+ "children": {
265
+ "TorchPOCAOptimizer.update": {
266
+ "total": 35.48865859999995,
267
+ "count": 25,
268
+ "self": 35.48865859999995
269
+ }
270
+ }
271
+ }
272
+ }
273
+ }
274
+ }
275
+ },
276
+ "trainer_threads": {
277
+ "total": 1.6999999985500835e-06,
278
+ "count": 1,
279
+ "self": 1.6999999985500835e-06
280
+ },
281
+ "TrainerController._save_models": {
282
+ "total": 0.3400773999999984,
283
+ "count": 1,
284
+ "self": 0.03898540000000139,
285
+ "children": {
286
+ "RLTrainer._checkpoint": {
287
+ "total": 0.30109199999999703,
288
+ "count": 1,
289
+ "self": 0.30109199999999703
290
+ }
291
+ }
292
+ }
293
+ }
294
+ }
295
+ }
296
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1192.2310842312354,
4
+ "checkpoints": [
5
+ {
6
+ "steps": 499292,
7
+ "file_path": "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-499292.onnx",
8
+ "reward": null,
9
+ "creation_time": 1685394792.1625884,
10
+ "auxillary_file_paths": [
11
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-499292.pt"
12
+ ]
13
+ },
14
+ {
15
+ "steps": 520616,
16
+ "file_path": "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-520616.onnx",
17
+ "reward": null,
18
+ "creation_time": 1685394869.6206725,
19
+ "auxillary_file_paths": [
20
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-520616.pt"
21
+ ]
22
+ }
23
+ ],
24
+ "final_checkpoint": {
25
+ "steps": 520616,
26
+ "file_path": "results\\SoccerTwos\\SoccerTwos.onnx",
27
+ "reward": null,
28
+ "creation_time": 1685394869.6206725,
29
+ "auxillary_file_paths": [
30
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-520616.pt"
31
+ ]
32
+ }
33
+ },
34
+ "metadata": {
35
+ "stats_format_version": "0.3.0",
36
+ "mlagents_version": "0.31.0.dev0",
37
+ "torch_version": "2.0.1+cpu"
38
+ }
39
+ }