t3PbMvBN6SXv commited on
Commit
0b70e00
1 Parent(s): 6297d5f

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: t3PbMvBN6SXv/poca-SoccerTwos
33
+ 3. Step 2: Select your *.nn /*.onnx file
34
+ 4. Click on Watch the agent play 👀
35
+
SoccerTwos.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4533d131dc4c21d39d356e899f37719f67a6e2ce909c7864f65e52d6a7d994c8
3
+ size 2820880
SoccerTwos/SoccerTwos-12696.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07cc66cfa7f441e54ce6ed9ed3bf26fbc8f6e47a985f8efc04829906cf528850
3
+ size 11594223
SoccerTwos/SoccerTwos-15472.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4533d131dc4c21d39d356e899f37719f67a6e2ce909c7864f65e52d6a7d994c8
3
+ size 2820880
SoccerTwos/SoccerTwos-15472.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:482830c0b39cbea4a7838a33f532e969fd9fd4a6000678112c16f29da8a41758
3
+ size 11594223
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d5f1d1f4147cdf541534d3135ad7de0eb6bab5e9dfd6b35badec62c148c8be3c
3
+ size 11593899
SoccerTwos/events.out.tfevents.1688094747.Workbench.21108.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:608fcf2982a5306fe41c3839a181ba98e96b460e0b4eee756f5abda58254cc22
3
+ size 6677
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.94, "num_epoch": 3, "learning_rate_schedule": "constant", "beta_schedule": "constant", "epsilon_schedule": "constant"}, "checkpoint_interval": 500000, "network_settings": {"normalize": true, "hidden_units": 512, "num_layers": 3, "vis_encode_type": "simple", "memory": null, "goal_conditioning_type": "hyper", "deterministic": false}, "reward_signals": {"extrinsic": {"gamma": 0.98, "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": 7500, "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": 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.94
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: true
19
+ hidden_units: 512
20
+ num_layers: 3
21
+ vis_encode_type: simple
22
+ memory: null
23
+ goal_conditioning_type: hyper
24
+ deterministic: false
25
+ reward_signals:
26
+ extrinsic:
27
+ gamma: 0.98
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: 7500
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: 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,369 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = 'C:/Users/igorw/OneDrive/Files/projects/_github/huggingface_rl_tutorial/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos_Data/Managed'
2
+ Mono config path = 'C:/Users/igorw/OneDrive/Files/projects/_github/huggingface_rl_tutorial/ml-agents/training-envs-executables/SoccerTwos/MonoBleedingEdge/etc'
3
+ Initialize engine version: 2021.3.14f1 (eee1884e7226)
4
+ [Subsystems] Discovering subsystems at path C:/Users/igorw/OneDrive/Files/projects/_github/huggingface_rl_tutorial/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.049 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.365100 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 12 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]: 299 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_Job.Worker 19]
59
+ Initial Block Size 256.0 KB
60
+ Current Block Size 256.0 KB
61
+ Peak Allocated Bytes 54 B
62
+ Overflow Count 0
63
+ [ALLOC_TEMP_Job.Worker 18]
64
+ Initial Block Size 256.0 KB
65
+ Current Block Size 256.0 KB
66
+ Peak Allocated Bytes 54 B
67
+ Overflow Count 0
68
+ [ALLOC_TEMP_Loading.PreloadManager]
69
+ Initial Block Size 256.0 KB
70
+ Current Block Size 256.0 KB
71
+ Peak Allocated Bytes 67.2 KB
72
+ Overflow Count 4
73
+ [ALLOC_TEMP_Background Job.Worker 8]
74
+ Initial Block Size 32.0 KB
75
+ Current Block Size 32.0 KB
76
+ Peak Allocated Bytes 54 B
77
+ Overflow Count 0
78
+ [ALLOC_TEMP_Background Job.Worker 10]
79
+ Initial Block Size 32.0 KB
80
+ Current Block Size 32.0 KB
81
+ Peak Allocated Bytes 54 B
82
+ Overflow Count 0
83
+ [ALLOC_TEMP_Job.Worker 16]
84
+ Initial Block Size 256.0 KB
85
+ Current Block Size 256.0 KB
86
+ Peak Allocated Bytes 54 B
87
+ Overflow Count 0
88
+ [ALLOC_TEMP_Background Job.Worker 6]
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 4]
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_Job.Worker 14]
99
+ Initial Block Size 256.0 KB
100
+ Current Block Size 256.0 KB
101
+ Peak Allocated Bytes 54 B
102
+ Overflow Count 0
103
+ [ALLOC_TEMP_Job.Worker 17]
104
+ Initial Block Size 256.0 KB
105
+ Current Block Size 256.0 KB
106
+ Peak Allocated Bytes 54 B
107
+ Overflow Count 0
108
+ [ALLOC_TEMP_Job.Worker 3]
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_Background Job.Worker 12]
114
+ Initial Block Size 32.0 KB
115
+ Current Block Size 32.0 KB
116
+ Peak Allocated Bytes 54 B
117
+ Overflow Count 0
118
+ [ALLOC_TEMP_Background Job.Worker 1]
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_AssetGarbageCollectorHelper] x 23
124
+ Initial Block Size 64.0 KB
125
+ Current Block Size 64.0 KB
126
+ Peak Allocated Bytes 0 B
127
+ Overflow Count 0
128
+ [ALLOC_TEMP_Background Job.Worker 5]
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 13]
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 11]
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_Job.Worker 2]
144
+ Initial Block Size 256.0 KB
145
+ Current Block Size 256.0 KB
146
+ Peak Allocated Bytes 0.8 KB
147
+ Overflow Count 0
148
+ [ALLOC_TEMP_Background Job.Worker 3]
149
+ Initial Block Size 32.0 KB
150
+ Current Block Size 32.0 KB
151
+ Peak Allocated Bytes 54 B
152
+ Overflow Count 0
153
+ [ALLOC_TEMP_Background Job.Worker 0]
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_Job.Worker 20]
159
+ Initial Block Size 256.0 KB
160
+ Current Block Size 256.0 KB
161
+ Peak Allocated Bytes 54 B
162
+ Overflow Count 0
163
+ [ALLOC_TEMP_Job.Worker 11]
164
+ Initial Block Size 256.0 KB
165
+ Current Block Size 256.0 KB
166
+ Peak Allocated Bytes 54 B
167
+ Overflow Count 0
168
+ [ALLOC_TEMP_Background Job.Worker 4]
169
+ Initial Block Size 32.0 KB
170
+ Current Block Size 32.0 KB
171
+ Peak Allocated Bytes 54 B
172
+ Overflow Count 0
173
+ [ALLOC_TEMP_BatchDeleteObjects]
174
+ Initial Block Size 64.0 KB
175
+ Current Block Size 64.0 KB
176
+ Peak Allocated Bytes 54 B
177
+ Overflow Count 0
178
+ [ALLOC_TEMP_Job.Worker 6]
179
+ Initial Block Size 256.0 KB
180
+ Current Block Size 256.0 KB
181
+ Peak Allocated Bytes 0 B
182
+ Overflow Count 0
183
+ [ALLOC_TEMP_Job.Worker 0]
184
+ Initial Block Size 256.0 KB
185
+ Current Block Size 256.0 KB
186
+ Peak Allocated Bytes 0 B
187
+ Overflow Count 0
188
+ [ALLOC_TEMP_Job.Worker 21]
189
+ Initial Block Size 256.0 KB
190
+ Current Block Size 256.0 KB
191
+ Peak Allocated Bytes 54 B
192
+ Overflow Count 0
193
+ [ALLOC_TEMP_Job.Worker 5]
194
+ Initial Block Size 256.0 KB
195
+ Current Block Size 256.0 KB
196
+ Peak Allocated Bytes 0 B
197
+ Overflow Count 0
198
+ [ALLOC_TEMP_Background Job.Worker 14]
199
+ Initial Block Size 32.0 KB
200
+ Current Block Size 32.0 KB
201
+ Peak Allocated Bytes 54 B
202
+ Overflow Count 0
203
+ [ALLOC_TEMP_Background Job.Worker 9]
204
+ Initial Block Size 32.0 KB
205
+ Current Block Size 32.0 KB
206
+ Peak Allocated Bytes 54 B
207
+ Overflow Count 0
208
+ [ALLOC_TEMP_Job.Worker 13]
209
+ Initial Block Size 256.0 KB
210
+ Current Block Size 256.0 KB
211
+ Peak Allocated Bytes 54 B
212
+ Overflow Count 0
213
+ [ALLOC_TEMP_EnlightenWorker] x 12
214
+ Initial Block Size 64.0 KB
215
+ Current Block Size 64.0 KB
216
+ Peak Allocated Bytes 54 B
217
+ Overflow Count 0
218
+ [ALLOC_TEMP_Background Job.Worker 15]
219
+ Initial Block Size 32.0 KB
220
+ Current Block Size 32.0 KB
221
+ Peak Allocated Bytes 54 B
222
+ Overflow Count 0
223
+ [ALLOC_TEMP_Background Job.Worker 2]
224
+ Initial Block Size 32.0 KB
225
+ Current Block Size 32.0 KB
226
+ Peak Allocated Bytes 54 B
227
+ Overflow Count 0
228
+ [ALLOC_TEMP_Background Job.Worker 7]
229
+ Initial Block Size 32.0 KB
230
+ Current Block Size 32.0 KB
231
+ Peak Allocated Bytes 54 B
232
+ Overflow Count 0
233
+ [ALLOC_TEMP_Job.Worker 22]
234
+ Initial Block Size 256.0 KB
235
+ Current Block Size 256.0 KB
236
+ Peak Allocated Bytes 54 B
237
+ Overflow Count 0
238
+ [ALLOC_TEMP_Job.Worker 9]
239
+ Initial Block Size 256.0 KB
240
+ Current Block Size 256.0 KB
241
+ Peak Allocated Bytes 0 B
242
+ Overflow Count 0
243
+ [ALLOC_TEMP_Job.Worker 8]
244
+ Initial Block Size 256.0 KB
245
+ Current Block Size 256.0 KB
246
+ Peak Allocated Bytes 0 B
247
+ Overflow Count 0
248
+ [ALLOC_TEMP_Job.Worker 7]
249
+ Initial Block Size 256.0 KB
250
+ Current Block Size 256.0 KB
251
+ Peak Allocated Bytes 0 B
252
+ Overflow Count 0
253
+ [ALLOC_TEMP_Job.Worker 1]
254
+ Initial Block Size 256.0 KB
255
+ Current Block Size 256.0 KB
256
+ Peak Allocated Bytes 0 B
257
+ Overflow Count 0
258
+ [ALLOC_TEMP_Job.Worker 10]
259
+ Initial Block Size 256.0 KB
260
+ Current Block Size 256.0 KB
261
+ Peak Allocated Bytes 54 B
262
+ Overflow Count 0
263
+ [ALLOC_TEMP_Job.Worker 15]
264
+ Initial Block Size 256.0 KB
265
+ Current Block Size 256.0 KB
266
+ Peak Allocated Bytes 54 B
267
+ Overflow Count 0
268
+ [ALLOC_TEMP_Job.Worker 12]
269
+ Initial Block Size 256.0 KB
270
+ Current Block Size 256.0 KB
271
+ Peak Allocated Bytes 54 B
272
+ Overflow Count 0
273
+ [ALLOC_TEMP_Loading.AsyncRead]
274
+ Initial Block Size 64.0 KB
275
+ Current Block Size 64.0 KB
276
+ Peak Allocated Bytes 480 B
277
+ Overflow Count 0
278
+ [ALLOC_DEFAULT] Dual Thread Allocator
279
+ Peak main deferred allocation count 3
280
+ [ALLOC_BUCKET]
281
+ Large Block size 4.0 MB
282
+ Used Block count 1
283
+ Peak Allocated bytes 0.9 MB
284
+ [ALLOC_DEFAULT_MAIN]
285
+ Peak usage frame count: [4.0 MB-8.0 MB]: 300 frames
286
+ Requested Block Size 16.0 MB
287
+ Peak Block count 1
288
+ Peak Allocated memory 4.9 MB
289
+ Peak Large allocation bytes 0 B
290
+ [ALLOC_DEFAULT_THREAD]
291
+ Peak usage frame count: [16.0 MB-32.0 MB]: 300 frames
292
+ Requested Block Size 16.0 MB
293
+ Peak Block count 1
294
+ Peak Allocated memory 17.4 MB
295
+ Peak Large allocation bytes 16.0 MB
296
+ [ALLOC_TEMP_JOB_1_FRAME]
297
+ Initial Block Size 2.0 MB
298
+ Used Block Count 1
299
+ Overflow Count (too large) 0
300
+ Overflow Count (full) 0
301
+ [ALLOC_TEMP_JOB_2_FRAMES]
302
+ Initial Block Size 2.0 MB
303
+ Used Block Count 1
304
+ Overflow Count (too large) 0
305
+ Overflow Count (full) 0
306
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
307
+ Initial Block Size 2.0 MB
308
+ Used Block Count 2
309
+ Overflow Count (too large) 0
310
+ Overflow Count (full) 0
311
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
312
+ Initial Block Size 1.0 MB
313
+ Used Block Count 3
314
+ Overflow Count (too large) 0
315
+ Overflow Count (full) 0
316
+ [ALLOC_GFX] Dual Thread Allocator
317
+ Peak main deferred allocation count 0
318
+ [ALLOC_BUCKET]
319
+ Large Block size 4.0 MB
320
+ Used Block count 1
321
+ Peak Allocated bytes 0.9 MB
322
+ [ALLOC_GFX_MAIN]
323
+ Peak usage frame count: [32.0 KB-64.0 KB]: 299 frames, [64.0 KB-128.0 KB]: 1 frames
324
+ Requested Block Size 16.0 MB
325
+ Peak Block count 1
326
+ Peak Allocated memory 65.6 KB
327
+ Peak Large allocation bytes 0 B
328
+ [ALLOC_GFX_THREAD]
329
+ Peak usage frame count: [128.0 KB-256.0 KB]: 300 frames
330
+ Requested Block Size 16.0 MB
331
+ Peak Block count 1
332
+ Peak Allocated memory 173.6 KB
333
+ Peak Large allocation bytes 0 B
334
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
335
+ Peak main deferred allocation count 2
336
+ [ALLOC_BUCKET]
337
+ Large Block size 4.0 MB
338
+ Used Block count 1
339
+ Peak Allocated bytes 0.9 MB
340
+ [ALLOC_CACHEOBJECTS_MAIN]
341
+ Peak usage frame count: [0.5 MB-1.0 MB]: 300 frames
342
+ Requested Block Size 4.0 MB
343
+ Peak Block count 1
344
+ Peak Allocated memory 0.6 MB
345
+ Peak Large allocation bytes 0 B
346
+ [ALLOC_CACHEOBJECTS_THREAD]
347
+ Peak usage frame count: [0.5 MB-1.0 MB]: 299 frames, [2.0 MB-4.0 MB]: 1 frames
348
+ Requested Block Size 4.0 MB
349
+ Peak Block count 1
350
+ Peak Allocated memory 3.2 MB
351
+ Peak Large allocation bytes 0 B
352
+ [ALLOC_TYPETREE] Dual Thread Allocator
353
+ Peak main deferred allocation count 0
354
+ [ALLOC_BUCKET]
355
+ Large Block size 4.0 MB
356
+ Used Block count 1
357
+ Peak Allocated bytes 0.9 MB
358
+ [ALLOC_TYPETREE_MAIN]
359
+ Peak usage frame count: [0-1.0 KB]: 300 frames
360
+ Requested Block Size 2.0 MB
361
+ Peak Block count 1
362
+ Peak Allocated memory 1.0 KB
363
+ Peak Large allocation bytes 0 B
364
+ [ALLOC_TYPETREE_THREAD]
365
+ Peak usage frame count: [1.0 KB-2.0 KB]: 299 frames, [2.0 KB-4.0 KB]: 1 frames
366
+ Requested Block Size 2.0 MB
367
+ Peak Block count 1
368
+ Peak Allocated memory 2.2 KB
369
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,277 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "SoccerTwos.Policy.Entropy.mean": {
5
+ "value": 3.2958128452301025,
6
+ "min": 3.2958128452301025,
7
+ "max": 3.2958128452301025,
8
+ "count": 1
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 105466.0078125,
12
+ "min": 105466.0078125,
13
+ "max": 105466.0078125,
14
+ "count": 1
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 966.0,
18
+ "min": 966.0,
19
+ "max": 966.0,
20
+ "count": 1
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 30912.0,
24
+ "min": 30912.0,
25
+ "max": 30912.0,
26
+ "count": 1
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1199.2507195558546,
30
+ "min": 1199.2507195558546,
31
+ "max": 1199.2507195558546,
32
+ "count": 1
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 2398.5014391117093,
36
+ "min": 2398.5014391117093,
37
+ "max": 2398.5014391117093,
38
+ "count": 1
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 9472.0,
42
+ "min": 9472.0,
43
+ "max": 9472.0,
44
+ "count": 1
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 9472.0,
48
+ "min": 9472.0,
49
+ "max": 9472.0,
50
+ "count": 1
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": -0.04026492312550545,
54
+ "min": -0.04026492312550545,
55
+ "max": -0.04026492312550545,
56
+ "count": 1
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": -0.4026492238044739,
60
+ "min": -0.4026492238044739,
61
+ "max": -0.4026492238044739,
62
+ "count": 1
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": -0.040264956653118134,
66
+ "min": -0.040264956653118134,
67
+ "max": -0.040264956653118134,
68
+ "count": 1
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": -0.40264958143234253,
72
+ "min": -0.40264958143234253,
73
+ "max": -0.40264958143234253,
74
+ "count": 1
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 1
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 1
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": -0.2,
90
+ "min": -0.2,
91
+ "max": -0.2,
92
+ "count": 1
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": -2.0,
96
+ "min": -2.0,
97
+ "max": -2.0,
98
+ "count": 1
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": -0.2,
102
+ "min": -0.2,
103
+ "max": -0.2,
104
+ "count": 1
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": -2.0,
108
+ "min": -2.0,
109
+ "max": -2.0,
110
+ "count": 1
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 0.0,
114
+ "min": 0.0,
115
+ "max": 0.0,
116
+ "count": 1
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 0.0,
120
+ "min": 0.0,
121
+ "max": 0.0,
122
+ "count": 1
123
+ }
124
+ },
125
+ "metadata": {
126
+ "timer_format_version": "0.1.0",
127
+ "start_time_seconds": "1688094746",
128
+ "python_version": "3.9.6 (default, Aug 18 2021, 15:44:49) [MSC v.1916 64 bit (AMD64)]",
129
+ "command_line_arguments": "C:\\Users\\igorw\\miniconda3\\envs\\venv_main\\Scripts\\mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos.exe --run-id=SoccerTwos --no-graphics --force",
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",
134
+ "numpy_version": "1.21.2",
135
+ "end_time_seconds": "1688094761"
136
+ },
137
+ "total": 15.4259587,
138
+ "count": 1,
139
+ "self": 0.1357803000000004,
140
+ "children": {
141
+ "run_training.setup": {
142
+ "total": 0.04930780000000001,
143
+ "count": 1,
144
+ "self": 0.04930780000000001
145
+ },
146
+ "TrainerController.start_learning": {
147
+ "total": 15.240870600000001,
148
+ "count": 1,
149
+ "self": 0.010860799999997894,
150
+ "children": {
151
+ "TrainerController._reset_env": {
152
+ "total": 2.5328257,
153
+ "count": 1,
154
+ "self": 2.5328257
155
+ },
156
+ "TrainerController.advance": {
157
+ "total": 11.511658100000002,
158
+ "count": 1001,
159
+ "self": 0.010751300000022113,
160
+ "children": {
161
+ "env_step": {
162
+ "total": 10.728298700000009,
163
+ "count": 1001,
164
+ "self": 6.4078938999999915,
165
+ "children": {
166
+ "SubprocessEnvManager._take_step": {
167
+ "total": 4.313714100000005,
168
+ "count": 1001,
169
+ "self": 0.07283120000001553,
170
+ "children": {
171
+ "TorchPolicy.evaluate": {
172
+ "total": 4.240882899999989,
173
+ "count": 2000,
174
+ "self": 4.240882899999989
175
+ }
176
+ }
177
+ },
178
+ "workers": {
179
+ "total": 0.006690700000012484,
180
+ "count": 1001,
181
+ "self": 0.0,
182
+ "children": {
183
+ "worker_root": {
184
+ "total": 11.559152899999994,
185
+ "count": 1001,
186
+ "is_parallel": true,
187
+ "self": 6.2596208999999785,
188
+ "children": {
189
+ "steps_from_proto": {
190
+ "total": 0.0008848000000001299,
191
+ "count": 2,
192
+ "is_parallel": true,
193
+ "self": 0.00018450000000047595,
194
+ "children": {
195
+ "_process_rank_one_or_two_observation": {
196
+ "total": 0.000700299999999654,
197
+ "count": 8,
198
+ "is_parallel": true,
199
+ "self": 0.000700299999999654
200
+ }
201
+ }
202
+ },
203
+ "UnityEnvironment.step": {
204
+ "total": 5.298647200000015,
205
+ "count": 1001,
206
+ "is_parallel": true,
207
+ "self": 0.2580117000000621,
208
+ "children": {
209
+ "UnityEnvironment._generate_step_input": {
210
+ "total": 0.1740233999999723,
211
+ "count": 1001,
212
+ "is_parallel": true,
213
+ "self": 0.1740233999999723
214
+ },
215
+ "communicator.exchange": {
216
+ "total": 4.062464500000003,
217
+ "count": 1001,
218
+ "is_parallel": true,
219
+ "self": 4.062464500000003
220
+ },
221
+ "steps_from_proto": {
222
+ "total": 0.8041475999999776,
223
+ "count": 2002,
224
+ "is_parallel": true,
225
+ "self": 0.1590710999999394,
226
+ "children": {
227
+ "_process_rank_one_or_two_observation": {
228
+ "total": 0.6450765000000382,
229
+ "count": 8008,
230
+ "is_parallel": true,
231
+ "self": 0.6450765000000382
232
+ }
233
+ }
234
+ }
235
+ }
236
+ }
237
+ }
238
+ }
239
+ }
240
+ }
241
+ }
242
+ },
243
+ "trainer_advance": {
244
+ "total": 0.7726080999999709,
245
+ "count": 1001,
246
+ "self": 0.05781109999999767,
247
+ "children": {
248
+ "process_trajectory": {
249
+ "total": 0.7147969999999733,
250
+ "count": 1001,
251
+ "self": 0.7147969999999733
252
+ }
253
+ }
254
+ }
255
+ }
256
+ },
257
+ "trainer_threads": {
258
+ "total": 4.000000011217253e-07,
259
+ "count": 1,
260
+ "self": 4.000000011217253e-07
261
+ },
262
+ "TrainerController._save_models": {
263
+ "total": 1.1855256,
264
+ "count": 1,
265
+ "self": 0.0035913000000018513,
266
+ "children": {
267
+ "RLTrainer._checkpoint": {
268
+ "total": 1.1819342999999982,
269
+ "count": 1,
270
+ "self": 1.1819342999999982
271
+ }
272
+ }
273
+ }
274
+ }
275
+ }
276
+ }
277
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1199.0014391117093,
4
+ "checkpoints": [
5
+ {
6
+ "steps": 15472,
7
+ "file_path": "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-15472.onnx",
8
+ "reward": 0.0,
9
+ "creation_time": 1688094761.381814,
10
+ "auxillary_file_paths": [
11
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-15472.pt"
12
+ ]
13
+ }
14
+ ],
15
+ "final_checkpoint": {
16
+ "steps": 15472,
17
+ "file_path": "results\\SoccerTwos\\SoccerTwos.onnx",
18
+ "reward": 0.0,
19
+ "creation_time": 1688094761.381814,
20
+ "auxillary_file_paths": [
21
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-15472.pt"
22
+ ]
23
+ }
24
+ },
25
+ "metadata": {
26
+ "stats_format_version": "0.3.0",
27
+ "mlagents_version": "0.31.0.dev0",
28
+ "torch_version": "2.0.1"
29
+ }
30
+ }