aadarshram commited on
Commit
8a1e056
·
verified ·
1 Parent(s): 2cedc0e

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: aadarshram/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:c6211387b2b03aa6599958011f4359f5df95092bf861b735ff0081d57af0683e
3
+ size 1766876
SoccerTwos/SoccerTwos-13862.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c6211387b2b03aa6599958011f4359f5df95092bf861b735ff0081d57af0683e
3
+ size 1766876
SoccerTwos/SoccerTwos-13862.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:80afbdd440eb16456831573a076643b8b80d1ecb3aba4167d5ee230074f7c5b9
3
+ size 9479954
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dc76db4b451b47ba32dd35c0bba316f8224cfd298867d41d6699f88007049f8a
3
+ size 9479714
SoccerTwos/events.out.tfevents.1720096126.ad.540196.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6999d18d85668e8ad59daf5d8f17972e5fb6e7bfa921bb789584e0ffc7932331
3
+ size 11071
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": 5000, "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, "timeout_wait": 60, "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, "no_graphics_monitor": false}, "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,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: 5000
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
+ timeout_wait: 60
59
+ seed: -1
60
+ max_lifetime_restarts: 10
61
+ restarts_rate_limit_n: 1
62
+ restarts_rate_limit_period_s: 60
63
+ engine_settings:
64
+ width: 84
65
+ height: 84
66
+ quality_level: 5
67
+ time_scale: 20
68
+ target_frame_rate: -1
69
+ capture_frame_rate: 60
70
+ no_graphics: true
71
+ no_graphics_monitor: false
72
+ environment_parameters: null
73
+ checkpoint_settings:
74
+ run_id: SoccerTwos
75
+ initialize_from: null
76
+ load_model: false
77
+ resume: false
78
+ force: true
79
+ train_model: false
80
+ inference: false
81
+ results_dir: results
82
+ torch_settings:
83
+ device: null
84
+ debug: false
run_logs/Player-0.log ADDED
@@ -0,0 +1,332 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/home/ad/ml-agents/training-envs-executables/SoccerTwos_Data/Managed'
2
+ Mono config path = '/home/ad/ml-agents/training-envs-executables/SoccerTwos_Data/MonoBleedingEdge/etc'
3
+ Preloaded 'lib_burst_generated.so'
4
+ Preloaded 'libgrpc_csharp_ext.x64.so'
5
+ PlayerPrefs - Creating folder: /home/ad/.config/unity3d/Unity Technologies
6
+ PlayerPrefs - Creating folder: /home/ad/.config/unity3d/Unity Technologies/SoccerTwos
7
+ Unable to load player prefs
8
+ Initialize engine version: 2021.3.14f1 (eee1884e7226)
9
+ [Subsystems] Discovering subsystems at path /home/ad/ml-agents/training-envs-executables/SoccerTwos_Data/UnitySubsystems
10
+ Forcing GfxDevice: Null
11
+ GfxDevice: creating device client; threaded=0; jobified=0
12
+ NullGfxDevice:
13
+ Version: NULL 1.0 [1.0]
14
+ Renderer: Null Device
15
+ Vendor: Unity Technologies
16
+ Begin MonoManager ReloadAssembly
17
+ - Completed reload, in 0.038 seconds
18
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
19
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
20
+ ERROR: Shader Legacy Shaders/VertexLit 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
+ ERROR: Shader Standard (Specular setup) shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
25
+ WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
26
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
27
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
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
+ ERROR: Shader Autodesk Interactive shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
32
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
33
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
34
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
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
+ ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
39
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
40
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
41
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
42
+ UnloadTime: 0.399743 ms
43
+ Registered Communicator in Agent.
44
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
45
+ requesting resize 84 x 84
46
+ TOO LONG
47
+ TOO LONG
48
+ TOO LONG
49
+ TOO LONG
50
+ TOO LONG
51
+ Setting up 8 worker threads for Enlighten.
52
+ Memory Statistics:
53
+ [ALLOC_TEMP_TLS] TLS Allocator
54
+ StackAllocators :
55
+ [ALLOC_TEMP_MAIN]
56
+ Peak usage frame count: [8.0 KB-16.0 KB]: 299 frames, [2.0 MB-4.0 MB]: 1 frames
57
+ Initial Block Size 4.0 MB
58
+ Current Block Size 4.0 MB
59
+ Peak Allocated Bytes 2.1 MB
60
+ Overflow Count 0
61
+ [ALLOC_TEMP_Loading.AsyncRead]
62
+ Initial Block Size 64.0 KB
63
+ Current Block Size 64.0 KB
64
+ Peak Allocated Bytes 128 B
65
+ Overflow Count 0
66
+ [ALLOC_TEMP_Loading.PreloadManager]
67
+ Initial Block Size 256.0 KB
68
+ Current Block Size 300.0 KB
69
+ Peak Allocated Bytes 249.6 KB
70
+ Overflow Count 4
71
+ [ALLOC_TEMP_Background Job.Worker 8]
72
+ Initial Block Size 32.0 KB
73
+ Current Block Size 32.0 KB
74
+ Peak Allocated Bytes 0 B
75
+ Overflow Count 0
76
+ [ALLOC_TEMP_Job.Worker 6]
77
+ Initial Block Size 256.0 KB
78
+ Current Block Size 256.0 KB
79
+ Peak Allocated Bytes 0.7 KB
80
+ Overflow Count 0
81
+ [ALLOC_TEMP_Job.Worker 0]
82
+ Initial Block Size 256.0 KB
83
+ Current Block Size 256.0 KB
84
+ Peak Allocated Bytes 0 B
85
+ Overflow Count 0
86
+ [ALLOC_TEMP_Background Job.Worker 10]
87
+ Initial Block Size 32.0 KB
88
+ Current Block Size 32.0 KB
89
+ Peak Allocated Bytes 0 B
90
+ Overflow Count 0
91
+ [ALLOC_TEMP_Background Job.Worker 9]
92
+ Initial Block Size 32.0 KB
93
+ Current Block Size 32.0 KB
94
+ Peak Allocated Bytes 0 B
95
+ Overflow Count 0
96
+ [ALLOC_TEMP_Job.Worker 5]
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_Background Job.Worker 14]
102
+ Initial Block Size 32.0 KB
103
+ Current Block Size 32.0 KB
104
+ Peak Allocated Bytes 0 B
105
+ Overflow Count 0
106
+ [ALLOC_TEMP_Background Job.Worker 6]
107
+ Initial Block Size 32.0 KB
108
+ Current Block Size 32.0 KB
109
+ Peak Allocated Bytes 0 B
110
+ Overflow Count 0
111
+ [ALLOC_TEMP_Job.Worker 4]
112
+ Initial Block Size 256.0 KB
113
+ Current Block Size 256.0 KB
114
+ Peak Allocated Bytes 0 B
115
+ Overflow Count 0
116
+ [ALLOC_TEMP_Job.Worker 14]
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_Job.Worker 3]
122
+ Initial Block Size 256.0 KB
123
+ Current Block Size 256.0 KB
124
+ Peak Allocated Bytes 0 B
125
+ Overflow Count 0
126
+ [ALLOC_TEMP_Job.Worker 13]
127
+ Initial Block Size 256.0 KB
128
+ Current Block Size 256.0 KB
129
+ Peak Allocated Bytes 0 B
130
+ Overflow Count 0
131
+ [ALLOC_TEMP_Background Job.Worker 12]
132
+ Initial Block Size 32.0 KB
133
+ Current Block Size 32.0 KB
134
+ Peak Allocated Bytes 0 B
135
+ Overflow Count 0
136
+ [ALLOC_TEMP_EnlightenWorker] x 8
137
+ Initial Block Size 64.0 KB
138
+ Current Block Size 64.0 KB
139
+ Peak Allocated Bytes 0 B
140
+ Overflow Count 0
141
+ [ALLOC_TEMP_Background Job.Worker 15]
142
+ Initial Block Size 32.0 KB
143
+ Current Block Size 32.0 KB
144
+ Peak Allocated Bytes 0 B
145
+ Overflow Count 0
146
+ [ALLOC_TEMP_Background Job.Worker 1]
147
+ Initial Block Size 32.0 KB
148
+ Current Block Size 32.0 KB
149
+ Peak Allocated Bytes 0 B
150
+ Overflow Count 0
151
+ [ALLOC_TEMP_Background Job.Worker 2]
152
+ Initial Block Size 32.0 KB
153
+ Current Block Size 32.0 KB
154
+ Peak Allocated Bytes 0 B
155
+ Overflow Count 0
156
+ [ALLOC_TEMP_Background Job.Worker 7]
157
+ Initial Block Size 32.0 KB
158
+ Current Block Size 32.0 KB
159
+ Peak Allocated Bytes 0 B
160
+ Overflow Count 0
161
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 15
162
+ Initial Block Size 64.0 KB
163
+ Current Block Size 64.0 KB
164
+ Peak Allocated Bytes 0 B
165
+ Overflow Count 0
166
+ [ALLOC_TEMP_Background Job.Worker 5]
167
+ Initial Block Size 32.0 KB
168
+ Current Block Size 32.0 KB
169
+ Peak Allocated Bytes 0 B
170
+ Overflow Count 0
171
+ [ALLOC_TEMP_Job.Worker 9]
172
+ Initial Block Size 256.0 KB
173
+ Current Block Size 256.0 KB
174
+ Peak Allocated Bytes 0 B
175
+ Overflow Count 0
176
+ [ALLOC_TEMP_Background Job.Worker 13]
177
+ Initial Block Size 32.0 KB
178
+ Current Block Size 32.0 KB
179
+ Peak Allocated Bytes 0 B
180
+ Overflow Count 0
181
+ [ALLOC_TEMP_Job.Worker 8]
182
+ Initial Block Size 256.0 KB
183
+ Current Block Size 256.0 KB
184
+ Peak Allocated Bytes 0 B
185
+ Overflow Count 0
186
+ [ALLOC_TEMP_Job.Worker 7]
187
+ Initial Block Size 256.0 KB
188
+ Current Block Size 256.0 KB
189
+ Peak Allocated Bytes 0 B
190
+ Overflow Count 0
191
+ [ALLOC_TEMP_Job.Worker 1]
192
+ Initial Block Size 256.0 KB
193
+ Current Block Size 256.0 KB
194
+ Peak Allocated Bytes 0 B
195
+ Overflow Count 0
196
+ [ALLOC_TEMP_Job.Worker 2]
197
+ Initial Block Size 256.0 KB
198
+ Current Block Size 256.0 KB
199
+ Peak Allocated Bytes 0 B
200
+ Overflow Count 0
201
+ [ALLOC_TEMP_Background Job.Worker 3]
202
+ Initial Block Size 32.0 KB
203
+ Current Block Size 32.0 KB
204
+ Peak Allocated Bytes 0 B
205
+ Overflow Count 0
206
+ [ALLOC_TEMP_Background Job.Worker 11]
207
+ Initial Block Size 32.0 KB
208
+ Current Block Size 32.0 KB
209
+ Peak Allocated Bytes 0 B
210
+ Overflow Count 0
211
+ [ALLOC_TEMP_Job.Worker 10]
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_Background Job.Worker 0]
217
+ Initial Block Size 32.0 KB
218
+ Current Block Size 32.0 KB
219
+ Peak Allocated Bytes 0 B
220
+ Overflow Count 0
221
+ [ALLOC_TEMP_Job.Worker 11]
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 12]
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 4]
232
+ Initial Block Size 32.0 KB
233
+ Current Block Size 32.0 KB
234
+ Peak Allocated Bytes 0 B
235
+ Overflow Count 0
236
+ [ALLOC_TEMP_BatchDeleteObjects]
237
+ Initial Block Size 64.0 KB
238
+ Current Block Size 64.0 KB
239
+ Peak Allocated Bytes 0 B
240
+ Overflow Count 0
241
+ [ALLOC_DEFAULT] Dual Thread Allocator
242
+ Peak main deferred allocation count 3
243
+ [ALLOC_BUCKET]
244
+ Large Block size 4.0 MB
245
+ Used Block count 1
246
+ Peak Allocated bytes 1.0 MB
247
+ [ALLOC_DEFAULT_MAIN]
248
+ Peak usage frame count: [4.0 MB-8.0 MB]: 300 frames
249
+ Requested Block Size 16.0 MB
250
+ Peak Block count 1
251
+ Peak Allocated memory 4.7 MB
252
+ Peak Large allocation bytes 0 B
253
+ [ALLOC_DEFAULT_THREAD]
254
+ Peak usage frame count: [16.0 MB-32.0 MB]: 300 frames
255
+ Requested Block Size 16.0 MB
256
+ Peak Block count 1
257
+ Peak Allocated memory 17.6 MB
258
+ Peak Large allocation bytes 16.0 MB
259
+ [ALLOC_TEMP_JOB_1_FRAME]
260
+ Initial Block Size 2.0 MB
261
+ Used Block Count 1
262
+ Overflow Count (too large) 0
263
+ Overflow Count (full) 0
264
+ [ALLOC_TEMP_JOB_2_FRAMES]
265
+ Initial Block Size 2.0 MB
266
+ Used Block Count 1
267
+ Overflow Count (too large) 0
268
+ Overflow Count (full) 0
269
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
270
+ Initial Block Size 2.0 MB
271
+ Used Block Count 2
272
+ Overflow Count (too large) 0
273
+ Overflow Count (full) 0
274
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
275
+ Initial Block Size 1.0 MB
276
+ Used Block Count 3
277
+ Overflow Count (too large) 0
278
+ Overflow Count (full) 0
279
+ [ALLOC_GFX] Dual Thread Allocator
280
+ Peak main deferred allocation count 0
281
+ [ALLOC_BUCKET]
282
+ Large Block size 4.0 MB
283
+ Used Block count 1
284
+ Peak Allocated bytes 1.0 MB
285
+ [ALLOC_GFX_MAIN]
286
+ Peak usage frame count: [32.0 KB-64.0 KB]: 299 frames, [64.0 KB-128.0 KB]: 1 frames
287
+ Requested Block Size 16.0 MB
288
+ Peak Block count 1
289
+ Peak Allocated memory 65.6 KB
290
+ Peak Large allocation bytes 0 B
291
+ [ALLOC_GFX_THREAD]
292
+ Peak usage frame count: [128.0 KB-256.0 KB]: 300 frames
293
+ Requested Block Size 16.0 MB
294
+ Peak Block count 1
295
+ Peak Allocated memory 173.5 KB
296
+ Peak Large allocation bytes 0 B
297
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
298
+ Peak main deferred allocation count 0
299
+ [ALLOC_BUCKET]
300
+ Large Block size 4.0 MB
301
+ Used Block count 1
302
+ Peak Allocated bytes 1.0 MB
303
+ [ALLOC_CACHEOBJECTS_MAIN]
304
+ Peak usage frame count: [0.5 MB-1.0 MB]: 300 frames
305
+ Requested Block Size 4.0 MB
306
+ Peak Block count 1
307
+ Peak Allocated memory 0.6 MB
308
+ Peak Large allocation bytes 0 B
309
+ [ALLOC_CACHEOBJECTS_THREAD]
310
+ Peak usage frame count: [0.5 MB-1.0 MB]: 299 frames, [4.0 MB-8.0 MB]: 1 frames
311
+ Requested Block Size 4.0 MB
312
+ Peak Block count 2
313
+ Peak Allocated memory 4.5 MB
314
+ Peak Large allocation bytes 0 B
315
+ [ALLOC_TYPETREE] Dual Thread Allocator
316
+ Peak main deferred allocation count 0
317
+ [ALLOC_BUCKET]
318
+ Large Block size 4.0 MB
319
+ Used Block count 1
320
+ Peak Allocated bytes 1.0 MB
321
+ [ALLOC_TYPETREE_MAIN]
322
+ Peak usage frame count: [0-1.0 KB]: 300 frames
323
+ Requested Block Size 2.0 MB
324
+ Peak Block count 1
325
+ Peak Allocated memory 1.0 KB
326
+ Peak Large allocation bytes 0 B
327
+ [ALLOC_TYPETREE_THREAD]
328
+ Peak usage frame count: [1.0 KB-2.0 KB]: 299 frames, [2.0 KB-4.0 KB]: 1 frames
329
+ Requested Block Size 2.0 MB
330
+ Peak Block count 1
331
+ Peak Allocated memory 2.2 KB
332
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,319 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "SoccerTwos.Policy.Entropy.mean": {
5
+ "value": 3.2957088947296143,
6
+ "min": 3.2957088947296143,
7
+ "max": 3.2957088947296143,
8
+ "count": 1
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 105462.6875,
12
+ "min": 105462.6875,
13
+ "max": 105462.6875,
14
+ "count": 1
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 865.375,
18
+ "min": 865.375,
19
+ "max": 865.375,
20
+ "count": 1
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 27692.0,
24
+ "min": 27692.0,
25
+ "max": 27692.0,
26
+ "count": 1
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1198.5052677113574,
30
+ "min": 1198.5052677113574,
31
+ "max": 1198.5052677113574,
32
+ "count": 1
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 7191.031606268144,
36
+ "min": 7191.031606268144,
37
+ "max": 7191.031606268144,
38
+ "count": 1
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 9862.0,
42
+ "min": 9862.0,
43
+ "max": 9862.0,
44
+ "count": 1
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 9862.0,
48
+ "min": 9862.0,
49
+ "max": 9862.0,
50
+ "count": 1
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": 0.06812385469675064,
54
+ "min": 0.06812385469675064,
55
+ "max": 0.06812385469675064,
56
+ "count": 1
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": 0.8174862861633301,
60
+ "min": 0.8174862861633301,
61
+ "max": 0.8174862861633301,
62
+ "count": 1
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": 0.06806158274412155,
66
+ "min": 0.06806158274412155,
67
+ "max": 0.06806158274412155,
68
+ "count": 1
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": 0.8167389631271362,
72
+ "min": 0.8167389631271362,
73
+ "max": 0.8167389631271362,
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.29973333328962326,
90
+ "min": -0.29973333328962326,
91
+ "max": -0.29973333328962326,
92
+ "count": 1
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": -3.596799999475479,
96
+ "min": -3.596799999475479,
97
+ "max": -3.596799999475479,
98
+ "count": 1
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": -0.29973333328962326,
102
+ "min": -0.29973333328962326,
103
+ "max": -0.29973333328962326,
104
+ "count": 1
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": -3.596799999475479,
108
+ "min": -3.596799999475479,
109
+ "max": -3.596799999475479,
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": "1720096125",
128
+ "python_version": "3.10.12 (main, Jul 5 2023, 18:54:27) [GCC 11.2.0]",
129
+ "command_line_arguments": "/home/ad/anaconda3/envs/rl/bin/mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos.exe --run-id=SoccerTwos --no-graphics --force",
130
+ "mlagents_version": "1.1.0.dev0",
131
+ "mlagents_envs_version": "1.1.0.dev0",
132
+ "communication_protocol_version": "1.5.0",
133
+ "pytorch_version": "2.3.1+cu121",
134
+ "numpy_version": "1.23.5",
135
+ "end_time_seconds": "1720096140"
136
+ },
137
+ "total": 14.575247737004247,
138
+ "count": 1,
139
+ "self": 0.3207346570052323,
140
+ "children": {
141
+ "run_training.setup": {
142
+ "total": 0.019262050998804625,
143
+ "count": 1,
144
+ "self": 0.019262050998804625
145
+ },
146
+ "TrainerController.start_learning": {
147
+ "total": 14.23525102900021,
148
+ "count": 1,
149
+ "self": 0.014512084053421859,
150
+ "children": {
151
+ "TrainerController._reset_env": {
152
+ "total": 1.2378106230025878,
153
+ "count": 1,
154
+ "self": 1.2378106230025878
155
+ },
156
+ "TrainerController.advance": {
157
+ "total": 12.843236832937691,
158
+ "count": 1002,
159
+ "self": 0.015600861013808753,
160
+ "children": {
161
+ "env_step": {
162
+ "total": 11.819317989029514,
163
+ "count": 1002,
164
+ "self": 8.83201966004708,
165
+ "children": {
166
+ "SubprocessEnvManager._take_step": {
167
+ "total": 2.9782608119930956,
168
+ "count": 1002,
169
+ "self": 0.19807168892293703,
170
+ "children": {
171
+ "TorchPolicy.evaluate": {
172
+ "total": 2.7801891230701585,
173
+ "count": 2000,
174
+ "self": 2.7801891230701585
175
+ }
176
+ }
177
+ },
178
+ "workers": {
179
+ "total": 0.009037516989337746,
180
+ "count": 1002,
181
+ "self": 0.0,
182
+ "children": {
183
+ "worker_root": {
184
+ "total": 13.388933062866272,
185
+ "count": 1002,
186
+ "is_parallel": true,
187
+ "self": 6.155921595884138,
188
+ "children": {
189
+ "run_training.setup": {
190
+ "total": 0.0,
191
+ "count": 0,
192
+ "is_parallel": true,
193
+ "self": 0.0,
194
+ "children": {
195
+ "steps_from_proto": {
196
+ "total": 0.0013608009976451285,
197
+ "count": 2,
198
+ "is_parallel": true,
199
+ "self": 0.00038594198849750683,
200
+ "children": {
201
+ "_process_rank_one_or_two_observation": {
202
+ "total": 0.0009748590091476217,
203
+ "count": 8,
204
+ "is_parallel": true,
205
+ "self": 0.0009748590091476217
206
+ }
207
+ }
208
+ },
209
+ "UnityEnvironment.step": {
210
+ "total": 0.015323551000619773,
211
+ "count": 1,
212
+ "is_parallel": true,
213
+ "self": 0.000396987990825437,
214
+ "children": {
215
+ "UnityEnvironment._generate_step_input": {
216
+ "total": 0.0002778810012387112,
217
+ "count": 1,
218
+ "is_parallel": true,
219
+ "self": 0.0002778810012387112
220
+ },
221
+ "communicator.exchange": {
222
+ "total": 0.01362147200416075,
223
+ "count": 1,
224
+ "is_parallel": true,
225
+ "self": 0.01362147200416075
226
+ },
227
+ "steps_from_proto": {
228
+ "total": 0.001027210004394874,
229
+ "count": 2,
230
+ "is_parallel": true,
231
+ "self": 0.00022945801174500957,
232
+ "children": {
233
+ "_process_rank_one_or_two_observation": {
234
+ "total": 0.0007977519926498644,
235
+ "count": 8,
236
+ "is_parallel": true,
237
+ "self": 0.0007977519926498644
238
+ }
239
+ }
240
+ }
241
+ }
242
+ }
243
+ }
244
+ },
245
+ "UnityEnvironment.step": {
246
+ "total": 7.233011466982134,
247
+ "count": 1001,
248
+ "is_parallel": true,
249
+ "self": 0.38425974416168174,
250
+ "children": {
251
+ "UnityEnvironment._generate_step_input": {
252
+ "total": 0.22415605383866932,
253
+ "count": 1001,
254
+ "is_parallel": true,
255
+ "self": 0.22415605383866932
256
+ },
257
+ "communicator.exchange": {
258
+ "total": 5.610164100064139,
259
+ "count": 1001,
260
+ "is_parallel": true,
261
+ "self": 5.610164100064139
262
+ },
263
+ "steps_from_proto": {
264
+ "total": 1.0144315689176437,
265
+ "count": 2002,
266
+ "is_parallel": true,
267
+ "self": 0.1937775620026514,
268
+ "children": {
269
+ "_process_rank_one_or_two_observation": {
270
+ "total": 0.8206540069149924,
271
+ "count": 8008,
272
+ "is_parallel": true,
273
+ "self": 0.8206540069149924
274
+ }
275
+ }
276
+ }
277
+ }
278
+ }
279
+ }
280
+ }
281
+ }
282
+ }
283
+ }
284
+ },
285
+ "trainer_advance": {
286
+ "total": 1.0083179828943685,
287
+ "count": 1002,
288
+ "self": 0.0753348968210048,
289
+ "children": {
290
+ "process_trajectory": {
291
+ "total": 0.9329830860733637,
292
+ "count": 1002,
293
+ "self": 0.9329830860733637
294
+ }
295
+ }
296
+ }
297
+ }
298
+ },
299
+ "trainer_threads": {
300
+ "total": 1.0780058801174164e-06,
301
+ "count": 1,
302
+ "self": 1.0780058801174164e-06
303
+ },
304
+ "TrainerController._save_models": {
305
+ "total": 0.13969041100062896,
306
+ "count": 1,
307
+ "self": 0.0014963439971324988,
308
+ "children": {
309
+ "RLTrainer._checkpoint": {
310
+ "total": 0.13819406700349646,
311
+ "count": 1,
312
+ "self": 0.13819406700349646
313
+ }
314
+ }
315
+ }
316
+ }
317
+ }
318
+ }
319
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1198.0086179957034,
4
+ "checkpoints": [
5
+ {
6
+ "steps": 13862,
7
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-13862.onnx",
8
+ "reward": 0.0,
9
+ "creation_time": 1720096139.8460655,
10
+ "auxillary_file_paths": [
11
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-13862.pt"
12
+ ]
13
+ }
14
+ ],
15
+ "final_checkpoint": {
16
+ "steps": 13862,
17
+ "file_path": "results/SoccerTwos/SoccerTwos.onnx",
18
+ "reward": 0.0,
19
+ "creation_time": 1720096139.8460655,
20
+ "auxillary_file_paths": [
21
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-13862.pt"
22
+ ]
23
+ }
24
+ },
25
+ "metadata": {
26
+ "stats_format_version": "0.3.0",
27
+ "mlagents_version": "1.1.0.dev0",
28
+ "torch_version": "2.3.1+cu121"
29
+ }
30
+ }