kitrakrev commited on
Commit
7d3eb52
1 Parent(s): c02e37c

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: kitrak-rev/poca-SoccerTwos
29
+ 3. Step 2: Select your *.nn /*.onnx file
30
+ 4. Click on Watch the agent play 👀
31
+
SoccerTwos.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6dfac6e20ac02a8474d31c5aab453fdd629ef1fce316f92d86382a168545f48d
3
+ size 1768746
SoccerTwos/SoccerTwos-113048.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:62437cb18e7be4f2e8aab97839ac10dca1af3a2d8ec5ca2215d1d9d3a37e74ce
3
+ size 28429781
SoccerTwos/SoccerTwos-132180.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6dfac6e20ac02a8474d31c5aab453fdd629ef1fce316f92d86382a168545f48d
3
+ size 1768746
SoccerTwos/SoccerTwos-132180.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:71260647100654d92cc3b9034684df3dc1bcfd38d0622565370b02e5422b77b6
3
+ size 28429781
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a3304f80da3023053ed37564eb054dbd73919616444ee564a91e101a00ca35f3
3
+ size 28428927
SoccerTwos/events.out.tfevents.1685354290.LAPTOP-S3ISAQ04.23268.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:95f631647498e98195c36c0aa1702e3f812d5924be552abe95d4fcffb9e1f82e
3
+ size 94608
SoccerTwos/events.out.tfevents.1685356058.LAPTOP-S3ISAQ04.15380.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a2b835d94a5b485ee9be88ff6af721a232d0cdd80042329e1f2dd1eae3b67009
3
+ size 16712
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,309 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = 'D:/GITS/RL-HF/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos_Data/Managed'
2
+ Mono config path = 'D:/GITS/RL-HF/ml-agents/training-envs-executables/SoccerTwos/MonoBleedingEdge/etc'
3
+ Initialize engine version: 2021.3.14f1 (eee1884e7226)
4
+ [Subsystems] Discovering subsystems at path D:/GITS/RL-HF/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 21.927 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: 3.898300 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 6 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]: 531 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 309 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 B
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 6
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 11
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_Job.Worker 9]
159
+ Initial Block Size 256.0 KB
160
+ Current Block Size 256.0 KB
161
+ Peak Allocated Bytes 0 B
162
+ Overflow Count 0
163
+ [ALLOC_TEMP_Background Job.Worker 13]
164
+ Initial Block Size 32.0 KB
165
+ Current Block Size 32.0 KB
166
+ Peak Allocated Bytes 54 B
167
+ Overflow Count 0
168
+ [ALLOC_TEMP_Job.Worker 8]
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_Job.Worker 7]
174
+ Initial Block Size 256.0 KB
175
+ Current Block Size 256.0 KB
176
+ Peak Allocated Bytes 0 B
177
+ Overflow Count 0
178
+ [ALLOC_TEMP_Job.Worker 1]
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 2]
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_Background Job.Worker 3]
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_Background Job.Worker 11]
194
+ Initial Block Size 32.0 KB
195
+ Current Block Size 32.0 KB
196
+ Peak Allocated Bytes 54 B
197
+ Overflow Count 0
198
+ [ALLOC_TEMP_Job.Worker 10]
199
+ Initial Block Size 256.0 KB
200
+ Current Block Size 256.0 KB
201
+ Peak Allocated Bytes 0.8 KB
202
+ Overflow Count 0
203
+ [ALLOC_TEMP_Background Job.Worker 0]
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_Background Job.Worker 4]
209
+ Initial Block Size 32.0 KB
210
+ Current Block Size 32.0 KB
211
+ Peak Allocated Bytes 54 B
212
+ Overflow Count 0
213
+ [ALLOC_TEMP_BatchDeleteObjects]
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_DEFAULT] Dual Thread Allocator
219
+ Peak main deferred allocation count 2
220
+ [ALLOC_BUCKET]
221
+ Large Block size 4.0 MB
222
+ Used Block count 1
223
+ Peak Allocated bytes 0.9 MB
224
+ [ALLOC_DEFAULT_MAIN]
225
+ Peak usage frame count: [4.0 MB-8.0 MB]: 532 frames
226
+ Requested Block Size 16.0 MB
227
+ Peak Block count 1
228
+ Peak Allocated memory 5.1 MB
229
+ Peak Large allocation bytes 0 B
230
+ [ALLOC_DEFAULT_THREAD]
231
+ Peak usage frame count: [16.0 MB-32.0 MB]: 532 frames
232
+ Requested Block Size 16.0 MB
233
+ Peak Block count 1
234
+ Peak Allocated memory 17.3 MB
235
+ Peak Large allocation bytes 16.0 MB
236
+ [ALLOC_TEMP_JOB_1_FRAME]
237
+ Initial Block Size 2.0 MB
238
+ Used Block Count 1
239
+ Overflow Count (too large) 0
240
+ Overflow Count (full) 0
241
+ [ALLOC_TEMP_JOB_2_FRAMES]
242
+ Initial Block Size 2.0 MB
243
+ Used Block Count 1
244
+ Overflow Count (too large) 0
245
+ Overflow Count (full) 0
246
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
247
+ Initial Block Size 2.0 MB
248
+ Used Block Count 2
249
+ Overflow Count (too large) 0
250
+ Overflow Count (full) 0
251
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
252
+ Initial Block Size 1.0 MB
253
+ Used Block Count 3
254
+ Overflow Count (too large) 0
255
+ Overflow Count (full) 0
256
+ [ALLOC_GFX] Dual Thread Allocator
257
+ Peak main deferred allocation count 0
258
+ [ALLOC_BUCKET]
259
+ Large Block size 4.0 MB
260
+ Used Block count 1
261
+ Peak Allocated bytes 0.9 MB
262
+ [ALLOC_GFX_MAIN]
263
+ Peak usage frame count: [32.0 KB-64.0 KB]: 531 frames, [64.0 KB-128.0 KB]: 1 frames
264
+ Requested Block Size 16.0 MB
265
+ Peak Block count 1
266
+ Peak Allocated memory 65.6 KB
267
+ Peak Large allocation bytes 0 B
268
+ [ALLOC_GFX_THREAD]
269
+ Peak usage frame count: [128.0 KB-256.0 KB]: 532 frames
270
+ Requested Block Size 16.0 MB
271
+ Peak Block count 1
272
+ Peak Allocated memory 173.6 KB
273
+ Peak Large allocation bytes 0 B
274
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
275
+ Peak main deferred allocation count 2
276
+ [ALLOC_BUCKET]
277
+ Large Block size 4.0 MB
278
+ Used Block count 1
279
+ Peak Allocated bytes 0.9 MB
280
+ [ALLOC_CACHEOBJECTS_MAIN]
281
+ Peak usage frame count: [0.5 MB-1.0 MB]: 532 frames
282
+ Requested Block Size 4.0 MB
283
+ Peak Block count 1
284
+ Peak Allocated memory 0.6 MB
285
+ Peak Large allocation bytes 0 B
286
+ [ALLOC_CACHEOBJECTS_THREAD]
287
+ Peak usage frame count: [0.5 MB-1.0 MB]: 531 frames, [2.0 MB-4.0 MB]: 1 frames
288
+ Requested Block Size 4.0 MB
289
+ Peak Block count 1
290
+ Peak Allocated memory 2.2 MB
291
+ Peak Large allocation bytes 0 B
292
+ [ALLOC_TYPETREE] Dual Thread Allocator
293
+ Peak main deferred allocation count 0
294
+ [ALLOC_BUCKET]
295
+ Large Block size 4.0 MB
296
+ Used Block count 1
297
+ Peak Allocated bytes 0.9 MB
298
+ [ALLOC_TYPETREE_MAIN]
299
+ Peak usage frame count: [0-1.0 KB]: 532 frames
300
+ Requested Block Size 2.0 MB
301
+ Peak Block count 1
302
+ Peak Allocated memory 1.0 KB
303
+ Peak Large allocation bytes 0 B
304
+ [ALLOC_TYPETREE_THREAD]
305
+ Peak usage frame count: [1.0 KB-2.0 KB]: 531 frames, [2.0 KB-4.0 KB]: 1 frames
306
+ Requested Block Size 2.0 MB
307
+ Peak Block count 1
308
+ Peak Allocated memory 2.2 KB
309
+ 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.268545627593994,
6
+ "min": 3.268545627593994,
7
+ "max": 3.2688074111938477,
8
+ "count": 2
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 65370.9140625,
12
+ "min": 65370.9140625,
13
+ "max": 104601.8359375,
14
+ "count": 2
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 660.6666666666666,
18
+ "min": 657.1,
19
+ "max": 660.6666666666666,
20
+ "count": 2
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 7928.0,
24
+ "min": 7928.0,
25
+ "max": 26284.0,
26
+ "count": 2
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1199.2933648526175,
30
+ "min": 1198.4233408102318,
31
+ "max": 1199.2933648526175,
32
+ "count": 2
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 4797.17345941047,
36
+ "min": 4797.17345941047,
37
+ "max": 11984.233408102318,
38
+ "count": 2
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 129555.0,
42
+ "min": 119210.0,
43
+ "max": 129555.0,
44
+ "count": 2
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 129555.0,
48
+ "min": 119210.0,
49
+ "max": 129555.0,
50
+ "count": 2
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": 0.04442071542143822,
54
+ "min": 0.04442071542143822,
55
+ "max": 0.04516923800110817,
56
+ "count": 2
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": 0.5330485701560974,
60
+ "min": 0.5330485701560974,
61
+ "max": 0.5872001051902771,
62
+ "count": 2
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": 0.04456588253378868,
66
+ "min": 0.04456588253378868,
67
+ "max": 0.04510977119207382,
68
+ "count": 2
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": 0.534790575504303,
72
+ "min": 0.534790575504303,
73
+ "max": 0.5864270329475403,
74
+ "count": 2
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 2
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 2
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": 0.13798333704471588,
90
+ "min": 0.05710769616640531,
91
+ "max": 0.13798333704471588,
92
+ "count": 2
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": 1.6558000445365906,
96
+ "min": 0.742400050163269,
97
+ "max": 1.6558000445365906,
98
+ "count": 2
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": 0.13798333704471588,
102
+ "min": 0.05710769616640531,
103
+ "max": 0.13798333704471588,
104
+ "count": 2
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": 1.6558000445365906,
108
+ "min": 0.742400050163269,
109
+ "max": 1.6558000445365906,
110
+ "count": 2
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 2
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 2
123
+ }
124
+ },
125
+ "metadata": {
126
+ "timer_format_version": "0.1.0",
127
+ "start_time_seconds": "1685356016",
128
+ "python_version": "3.9.16 (main, Mar 8 2023, 10:39:24) [MSC v.1916 64 bit (AMD64)]",
129
+ "command_line_arguments": "D:\\Users\\Karth\\miniconda3\\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": "1685356254"
136
+ },
137
+ "total": 238.2041421,
138
+ "count": 1,
139
+ "self": 3.9869597000000283,
140
+ "children": {
141
+ "run_training.setup": {
142
+ "total": 0.5120532999999998,
143
+ "count": 1,
144
+ "self": 0.5120532999999998
145
+ },
146
+ "TrainerController.start_learning": {
147
+ "total": 233.7051291,
148
+ "count": 1,
149
+ "self": 0.20140879999965478,
150
+ "children": {
151
+ "TrainerController._reset_env": {
152
+ "total": 42.0219721,
153
+ "count": 1,
154
+ "self": 42.0219721
155
+ },
156
+ "TrainerController.advance": {
157
+ "total": 190.25874190000033,
158
+ "count": 1780,
159
+ "self": 0.22091580000071076,
160
+ "children": {
161
+ "env_step": {
162
+ "total": 170.30585719999985,
163
+ "count": 1780,
164
+ "self": 130.81243989999928,
165
+ "children": {
166
+ "SubprocessEnvManager._take_step": {
167
+ "total": 39.37364489999948,
168
+ "count": 1780,
169
+ "self": 1.2718991999998295,
170
+ "children": {
171
+ "TorchPolicy.evaluate": {
172
+ "total": 38.101745699999654,
173
+ "count": 3542,
174
+ "self": 38.101745699999654
175
+ }
176
+ }
177
+ },
178
+ "workers": {
179
+ "total": 0.11977240000108935,
180
+ "count": 1779,
181
+ "self": 0.0,
182
+ "children": {
183
+ "worker_root": {
184
+ "total": 190.64747180000015,
185
+ "count": 1779,
186
+ "is_parallel": true,
187
+ "self": 84.58078559999983,
188
+ "children": {
189
+ "steps_from_proto": {
190
+ "total": 0.008490699999995854,
191
+ "count": 2,
192
+ "is_parallel": true,
193
+ "self": 0.0018218999999746188,
194
+ "children": {
195
+ "_process_rank_one_or_two_observation": {
196
+ "total": 0.0066688000000212355,
197
+ "count": 8,
198
+ "is_parallel": true,
199
+ "self": 0.0066688000000212355
200
+ }
201
+ }
202
+ },
203
+ "UnityEnvironment.step": {
204
+ "total": 106.05819550000032,
205
+ "count": 1779,
206
+ "is_parallel": true,
207
+ "self": 5.746424800000739,
208
+ "children": {
209
+ "UnityEnvironment._generate_step_input": {
210
+ "total": 4.955105699999756,
211
+ "count": 1779,
212
+ "is_parallel": true,
213
+ "self": 4.955105699999756
214
+ },
215
+ "communicator.exchange": {
216
+ "total": 76.44259999999997,
217
+ "count": 1779,
218
+ "is_parallel": true,
219
+ "self": 76.44259999999997
220
+ },
221
+ "steps_from_proto": {
222
+ "total": 18.91406499999986,
223
+ "count": 3558,
224
+ "is_parallel": true,
225
+ "self": 3.9178382000003964,
226
+ "children": {
227
+ "_process_rank_one_or_two_observation": {
228
+ "total": 14.996226799999462,
229
+ "count": 14232,
230
+ "is_parallel": true,
231
+ "self": 14.996226799999462
232
+ }
233
+ }
234
+ }
235
+ }
236
+ }
237
+ }
238
+ }
239
+ }
240
+ }
241
+ }
242
+ },
243
+ "trainer_advance": {
244
+ "total": 19.731968899999764,
245
+ "count": 1779,
246
+ "self": 0.7386796999991816,
247
+ "children": {
248
+ "process_trajectory": {
249
+ "total": 18.993289200000582,
250
+ "count": 1779,
251
+ "self": 18.993289200000582
252
+ }
253
+ }
254
+ }
255
+ }
256
+ },
257
+ "trainer_threads": {
258
+ "total": 6.000000013273166e-06,
259
+ "count": 1,
260
+ "self": 6.000000013273166e-06
261
+ },
262
+ "TrainerController._save_models": {
263
+ "total": 1.2230002999999954,
264
+ "count": 1,
265
+ "self": 0.03244680000000244,
266
+ "children": {
267
+ "RLTrainer._checkpoint": {
268
+ "total": 1.190553499999993,
269
+ "count": 1,
270
+ "self": 1.190553499999993
271
+ }
272
+ }
273
+ }
274
+ }
275
+ }
276
+ }
277
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1200.0342041363886,
4
+ "checkpoints": [
5
+ {
6
+ "steps": 132180,
7
+ "file_path": "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-132180.onnx",
8
+ "reward": 0.0,
9
+ "creation_time": 1685356250.37806,
10
+ "auxillary_file_paths": [
11
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-132180.pt"
12
+ ]
13
+ }
14
+ ],
15
+ "final_checkpoint": {
16
+ "steps": 132180,
17
+ "file_path": "results\\SoccerTwos\\SoccerTwos.onnx",
18
+ "reward": 0.0,
19
+ "creation_time": 1685356250.37806,
20
+ "auxillary_file_paths": [
21
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-132180.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+cpu"
29
+ }
30
+ }