4mirfor3v3r commited on
Commit
270aa7c
1 Parent(s): 43cb542

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: 4mirfor3v3r/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:542487dddb91e3705cecabc3dfb312e3aeede8f3c6932a14e076af12a05481eb
3
+ size 1768747
SoccerTwos/SoccerTwos-244050.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:542487dddb91e3705cecabc3dfb312e3aeede8f3c6932a14e076af12a05481eb
3
+ size 1768747
SoccerTwos/SoccerTwos-244050.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8d1267dce6acc112f1a5a5b827f5b0a5c612c42339604815df99c5a5220ae1b9
3
+ size 28430234
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ca60b4934908fc3d443f232f149aaedd307657599076e02579c28798b5438840
3
+ size 28429366
SoccerTwos/events.out.tfevents.1717155160.6fd11d57e171.10214.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4244c36ec0064e611267c427b63dc80faa6adfca2dccc2a6fedf918af2469988
3
+ size 166767
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.x86_64", "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": "SmartJenglot", "initialize_from": null, "load_model": false, "resume": false, "force": false, "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: 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.x86_64
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: SmartJenglot
75
+ initialize_from: null
76
+ load_model: false
77
+ resume: false
78
+ force: false
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,374 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/content/ml-agents/training-envs-executables/SoccerTwos_Data/Managed'
2
+ Mono config path = '/content/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: /root/.config/unity3d/Unity Technologies
6
+ PlayerPrefs - Creating folder: /root/.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 /content/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
+ ALSA lib confmisc.c:855:(parse_card) cannot find card '0'
17
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
18
+ ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
19
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
20
+ ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name
21
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
22
+ ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory
23
+ ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM default
24
+ FMOD failed to initialize the output device.: "Error initializing output device. " (60)
25
+ Forced to initialize FMOD to to the device driver's system output rate 48000, this may impact performance and/or give inconsistent experiences compared to selected sample rate 48000
26
+ ALSA lib confmisc.c:855:(parse_card) cannot find card '0'
27
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
28
+ ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
29
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
30
+ ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name
31
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
32
+ ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory
33
+ ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM default
34
+ FMOD failed to initialize the output device.: "Error initializing output device. " (60)
35
+ FMOD initialized on nosound output
36
+ Begin MonoManager ReloadAssembly
37
+ - Completed reload, in 0.127 seconds
38
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
39
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
40
+ ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
41
+ WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
42
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
43
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
44
+ ERROR: Shader Standard (Specular setup) shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
45
+ WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
46
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
47
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
48
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
49
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
50
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
51
+ ERROR: Shader Autodesk Interactive shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
52
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
53
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
54
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
55
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
56
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
57
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
58
+ ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
59
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
60
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
61
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
62
+ UnloadTime: 0.963059 ms
63
+ Registered Communicator in Agent.
64
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
65
+ requesting resize 84 x 84
66
+ TOO LONG
67
+ TOO LONG
68
+ TOO LONG
69
+ TOO LONG
70
+ TOO LONG
71
+ TOO LONG
72
+ TOO LONG
73
+ TOO LONG
74
+ TOO LONG
75
+ TOO LONG
76
+ TOO LONG
77
+ TOO LONG
78
+ TOO LONG
79
+ TOO LONG
80
+ TOO LONG
81
+ TOO LONG
82
+ TOO LONG
83
+ TOO LONG
84
+ TOO LONG
85
+ TOO LONG
86
+ TOO LONG
87
+ TOO LONG
88
+ TOO LONG
89
+ TOO LONG
90
+ TOO LONG
91
+ TOO LONG
92
+ TOO LONG
93
+ TOO LONG
94
+ TOO LONG
95
+ TOO LONG
96
+ TOO LONG
97
+ TOO LONG
98
+ TOO LONG
99
+ TOO LONG
100
+ TOO LONG
101
+ TOO LONG
102
+ TOO LONG
103
+ TOO LONG
104
+ TOO LONG
105
+ TOO LONG
106
+ TOO LONG
107
+ TOO LONG
108
+ TOO LONG
109
+ TOO LONG
110
+ TOO LONG
111
+ TOO LONG
112
+ TOO LONG
113
+ TOO LONG
114
+ TOO LONG
115
+ TOO LONG
116
+ TOO LONG
117
+ TOO LONG
118
+ TOO LONG
119
+ TOO LONG
120
+ TOO LONG
121
+ TOO LONG
122
+ TOO LONG
123
+ TOO LONG
124
+ TOO LONG
125
+ TOO LONG
126
+ TOO LONG
127
+ TOO LONG
128
+ TOO LONG
129
+ TOO LONG
130
+ TOO LONG
131
+ TOO LONG
132
+ TOO LONG
133
+ TOO LONG
134
+ TOO LONG
135
+ TOO LONG
136
+ TOO LONG
137
+ TOO LONG
138
+ TOO LONG
139
+ TOO LONG
140
+ TOO LONG
141
+ TOO LONG
142
+ TOO LONG
143
+ TOO LONG
144
+ TOO LONG
145
+ TOO LONG
146
+ TOO LONG
147
+ TOO LONG
148
+ TOO LONG
149
+ TOO LONG
150
+ TOO LONG
151
+ TOO LONG
152
+ TOO LONG
153
+ TOO LONG
154
+ TOO LONG
155
+ TOO LONG
156
+ TOO LONG
157
+ TOO LONG
158
+ TOO LONG
159
+ TOO LONG
160
+ TOO LONG
161
+ TOO LONG
162
+ TOO LONG
163
+ Setting up 1 worker threads for Enlighten.
164
+ Memory Statistics:
165
+ [ALLOC_TEMP_TLS] TLS Allocator
166
+ StackAllocators :
167
+ [ALLOC_TEMP_MAIN]
168
+ Peak usage frame count: [8.0 KB-16.0 KB]: 4756 frames, [2.0 MB-4.0 MB]: 1 frames
169
+ Initial Block Size 4.0 MB
170
+ Current Block Size 4.0 MB
171
+ Peak Allocated Bytes 2.1 MB
172
+ Overflow Count 0
173
+ [ALLOC_TEMP_Loading.AsyncRead]
174
+ Initial Block Size 64.0 KB
175
+ Current Block Size 64.0 KB
176
+ Peak Allocated Bytes 128 B
177
+ Overflow Count 0
178
+ [ALLOC_TEMP_Loading.PreloadManager]
179
+ Initial Block Size 256.0 KB
180
+ Current Block Size 300.0 KB
181
+ Peak Allocated Bytes 249.6 KB
182
+ Overflow Count 4
183
+ [ALLOC_TEMP_Background Job.Worker 8]
184
+ Initial Block Size 32.0 KB
185
+ Current Block Size 32.0 KB
186
+ Peak Allocated Bytes 0 B
187
+ Overflow Count 0
188
+ [ALLOC_TEMP_Background Job.Worker 9]
189
+ Initial Block Size 32.0 KB
190
+ Current Block Size 32.0 KB
191
+ Peak Allocated Bytes 0 B
192
+ Overflow Count 0
193
+ [ALLOC_TEMP_Job.Worker 0]
194
+ Initial Block Size 256.0 KB
195
+ Current Block Size 256.0 KB
196
+ Peak Allocated Bytes 0.7 KB
197
+ Overflow Count 0
198
+ [ALLOC_TEMP_Background Job.Worker 10]
199
+ Initial Block Size 32.0 KB
200
+ Current Block Size 32.0 KB
201
+ Peak Allocated Bytes 0 B
202
+ Overflow Count 0
203
+ [ALLOC_TEMP_Background Job.Worker 14]
204
+ Initial Block Size 32.0 KB
205
+ Current Block Size 32.0 KB
206
+ Peak Allocated Bytes 0 B
207
+ Overflow Count 0
208
+ [ALLOC_TEMP_Background Job.Worker 6]
209
+ Initial Block Size 32.0 KB
210
+ Current Block Size 32.0 KB
211
+ Peak Allocated Bytes 0 B
212
+ Overflow Count 0
213
+ [ALLOC_TEMP_Background Job.Worker 12]
214
+ Initial Block Size 32.0 KB
215
+ Current Block Size 32.0 KB
216
+ Peak Allocated Bytes 0 B
217
+ Overflow Count 0
218
+ [ALLOC_TEMP_EnlightenWorker]
219
+ Initial Block Size 64.0 KB
220
+ Current Block Size 64.0 KB
221
+ Peak Allocated Bytes 0 B
222
+ Overflow Count 0
223
+ [ALLOC_TEMP_Background Job.Worker 15]
224
+ Initial Block Size 32.0 KB
225
+ Current Block Size 32.0 KB
226
+ Peak Allocated Bytes 0 B
227
+ Overflow Count 0
228
+ [ALLOC_TEMP_Background Job.Worker 1]
229
+ Initial Block Size 32.0 KB
230
+ Current Block Size 32.0 KB
231
+ Peak Allocated Bytes 0 B
232
+ Overflow Count 0
233
+ [ALLOC_TEMP_Background Job.Worker 2]
234
+ Initial Block Size 32.0 KB
235
+ Current Block Size 32.0 KB
236
+ Peak Allocated Bytes 0 B
237
+ Overflow Count 0
238
+ [ALLOC_TEMP_Background Job.Worker 7]
239
+ Initial Block Size 32.0 KB
240
+ Current Block Size 32.0 KB
241
+ Peak Allocated Bytes 0 B
242
+ Overflow Count 0
243
+ [ALLOC_TEMP_AssetGarbageCollectorHelper]
244
+ Initial Block Size 64.0 KB
245
+ Current Block Size 64.0 KB
246
+ Peak Allocated Bytes 0 B
247
+ Overflow Count 0
248
+ [ALLOC_TEMP_Background Job.Worker 5]
249
+ Initial Block Size 32.0 KB
250
+ Current Block Size 32.0 KB
251
+ Peak Allocated Bytes 0 B
252
+ Overflow Count 0
253
+ [ALLOC_TEMP_Background Job.Worker 13]
254
+ Initial Block Size 32.0 KB
255
+ Current Block Size 32.0 KB
256
+ Peak Allocated Bytes 0 B
257
+ Overflow Count 0
258
+ [ALLOC_TEMP_Background Job.Worker 11]
259
+ Initial Block Size 32.0 KB
260
+ Current Block Size 32.0 KB
261
+ Peak Allocated Bytes 0 B
262
+ Overflow Count 0
263
+ [ALLOC_TEMP_Background Job.Worker 3]
264
+ Initial Block Size 32.0 KB
265
+ Current Block Size 32.0 KB
266
+ Peak Allocated Bytes 0 B
267
+ Overflow Count 0
268
+ [ALLOC_TEMP_Background Job.Worker 0]
269
+ Initial Block Size 32.0 KB
270
+ Current Block Size 32.0 KB
271
+ Peak Allocated Bytes 0 B
272
+ Overflow Count 0
273
+ [ALLOC_TEMP_Background Job.Worker 4]
274
+ Initial Block Size 32.0 KB
275
+ Current Block Size 32.0 KB
276
+ Peak Allocated Bytes 0 B
277
+ Overflow Count 0
278
+ [ALLOC_TEMP_BatchDeleteObjects]
279
+ Initial Block Size 64.0 KB
280
+ Current Block Size 64.0 KB
281
+ Peak Allocated Bytes 0 B
282
+ Overflow Count 0
283
+ [ALLOC_DEFAULT] Dual Thread Allocator
284
+ Peak main deferred allocation count 2
285
+ [ALLOC_BUCKET]
286
+ Large Block size 4.0 MB
287
+ Used Block count 1
288
+ Peak Allocated bytes 1.0 MB
289
+ [ALLOC_DEFAULT_MAIN]
290
+ Peak usage frame count: [4.0 MB-8.0 MB]: 4757 frames
291
+ Requested Block Size 16.0 MB
292
+ Peak Block count 1
293
+ Peak Allocated memory 4.6 MB
294
+ Peak Large allocation bytes 0 B
295
+ [ALLOC_DEFAULT_THREAD]
296
+ Peak usage frame count: [16.0 MB-32.0 MB]: 4757 frames
297
+ Requested Block Size 16.0 MB
298
+ Peak Block count 1
299
+ Peak Allocated memory 17.6 MB
300
+ Peak Large allocation bytes 16.0 MB
301
+ [ALLOC_TEMP_JOB_1_FRAME]
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_2_FRAMES]
307
+ Initial Block Size 2.0 MB
308
+ Used Block Count 1
309
+ Overflow Count (too large) 0
310
+ Overflow Count (full) 0
311
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
312
+ Initial Block Size 2.0 MB
313
+ Used Block Count 2
314
+ Overflow Count (too large) 0
315
+ Overflow Count (full) 0
316
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
317
+ Initial Block Size 1.0 MB
318
+ Used Block Count 3
319
+ Overflow Count (too large) 0
320
+ Overflow Count (full) 0
321
+ [ALLOC_GFX] Dual Thread Allocator
322
+ Peak main deferred allocation count 0
323
+ [ALLOC_BUCKET]
324
+ Large Block size 4.0 MB
325
+ Used Block count 1
326
+ Peak Allocated bytes 1.0 MB
327
+ [ALLOC_GFX_MAIN]
328
+ Peak usage frame count: [32.0 KB-64.0 KB]: 4756 frames, [64.0 KB-128.0 KB]: 1 frames
329
+ Requested Block Size 16.0 MB
330
+ Peak Block count 1
331
+ Peak Allocated memory 65.6 KB
332
+ Peak Large allocation bytes 0 B
333
+ [ALLOC_GFX_THREAD]
334
+ Peak usage frame count: [128.0 KB-256.0 KB]: 4757 frames
335
+ Requested Block Size 16.0 MB
336
+ Peak Block count 1
337
+ Peak Allocated memory 173.5 KB
338
+ Peak Large allocation bytes 0 B
339
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
340
+ Peak main deferred allocation count 0
341
+ [ALLOC_BUCKET]
342
+ Large Block size 4.0 MB
343
+ Used Block count 1
344
+ Peak Allocated bytes 1.0 MB
345
+ [ALLOC_CACHEOBJECTS_MAIN]
346
+ Peak usage frame count: [0.5 MB-1.0 MB]: 4757 frames
347
+ Requested Block Size 4.0 MB
348
+ Peak Block count 1
349
+ Peak Allocated memory 0.6 MB
350
+ Peak Large allocation bytes 0 B
351
+ [ALLOC_CACHEOBJECTS_THREAD]
352
+ Peak usage frame count: [0.5 MB-1.0 MB]: 4756 frames, [4.0 MB-8.0 MB]: 1 frames
353
+ Requested Block Size 4.0 MB
354
+ Peak Block count 2
355
+ Peak Allocated memory 4.5 MB
356
+ Peak Large allocation bytes 0 B
357
+ [ALLOC_TYPETREE] Dual Thread Allocator
358
+ Peak main deferred allocation count 0
359
+ [ALLOC_BUCKET]
360
+ Large Block size 4.0 MB
361
+ Used Block count 1
362
+ Peak Allocated bytes 1.0 MB
363
+ [ALLOC_TYPETREE_MAIN]
364
+ Peak usage frame count: [0-1.0 KB]: 4757 frames
365
+ Requested Block Size 2.0 MB
366
+ Peak Block count 1
367
+ Peak Allocated memory 1.0 KB
368
+ Peak Large allocation bytes 0 B
369
+ [ALLOC_TYPETREE_THREAD]
370
+ Peak usage frame count: [1.0 KB-2.0 KB]: 4756 frames, [2.0 KB-4.0 KB]: 1 frames
371
+ Requested Block Size 2.0 MB
372
+ Peak Block count 1
373
+ Peak Allocated memory 2.2 KB
374
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,417 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "SoccerTwos.Policy.Entropy.mean": {
5
+ "value": 3.2356741428375244,
6
+ "min": 3.2356741428375244,
7
+ "max": 3.2957539558410645,
8
+ "count": 24
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 70822.4375,
12
+ "min": 13165.1484375,
13
+ "max": 106859.71875,
14
+ "count": 24
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 725.625,
18
+ "min": 430.0,
19
+ "max": 999.0,
20
+ "count": 24
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 23220.0,
24
+ "min": 12752.0,
25
+ "max": 29344.0,
26
+ "count": 24
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1200.328350025257,
30
+ "min": 1196.084934587261,
31
+ "max": 1200.328350025257,
32
+ "count": 22
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 9602.626800202055,
36
+ "min": 2396.017105905693,
37
+ "max": 19158.17786114626,
38
+ "count": 22
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 239652.0,
42
+ "min": 9702.0,
43
+ "max": 239652.0,
44
+ "count": 24
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 239652.0,
48
+ "min": 9702.0,
49
+ "max": 239652.0,
50
+ "count": 24
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": -0.010748249478638172,
54
+ "min": -0.015848787501454353,
55
+ "max": 0.0049892268143594265,
56
+ "count": 24
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": -0.16122373938560486,
60
+ "min": -0.3018549680709839,
61
+ "max": 0.05574318766593933,
62
+ "count": 24
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": -0.00980287604033947,
66
+ "min": -0.01843317598104477,
67
+ "max": 0.00641221646219492,
68
+ "count": 24
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": -0.1470431387424469,
72
+ "min": -0.38591599464416504,
73
+ "max": 0.06412216275930405,
74
+ "count": 24
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 24
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 24
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": 0.2916266699632009,
90
+ "min": -0.4049333333969116,
91
+ "max": 0.2916266699632009,
92
+ "count": 24
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": 4.374400049448013,
96
+ "min": -6.074000000953674,
97
+ "max": 4.374400049448013,
98
+ "count": 24
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": 0.2916266699632009,
102
+ "min": -0.4049333333969116,
103
+ "max": 0.2916266699632009,
104
+ "count": 24
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": 4.374400049448013,
108
+ "min": -6.074000000953674,
109
+ "max": 4.374400049448013,
110
+ "count": 24
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 24
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 24
123
+ },
124
+ "SoccerTwos.Losses.PolicyLoss.mean": {
125
+ "value": 0.013738706193786735,
126
+ "min": 0.011652058274679196,
127
+ "max": 0.018887079992176346,
128
+ "count": 10
129
+ },
130
+ "SoccerTwos.Losses.PolicyLoss.sum": {
131
+ "value": 0.013738706193786735,
132
+ "min": 0.011652058274679196,
133
+ "max": 0.018887079992176346,
134
+ "count": 10
135
+ },
136
+ "SoccerTwos.Losses.ValueLoss.mean": {
137
+ "value": 0.004847104948324462,
138
+ "min": 0.001309396008340021,
139
+ "max": 0.004847104948324462,
140
+ "count": 10
141
+ },
142
+ "SoccerTwos.Losses.ValueLoss.sum": {
143
+ "value": 0.004847104948324462,
144
+ "min": 0.001309396008340021,
145
+ "max": 0.004847104948324462,
146
+ "count": 10
147
+ },
148
+ "SoccerTwos.Losses.BaselineLoss.mean": {
149
+ "value": 0.004941717876742284,
150
+ "min": 0.0013768509263172746,
151
+ "max": 0.004941717876742284,
152
+ "count": 10
153
+ },
154
+ "SoccerTwos.Losses.BaselineLoss.sum": {
155
+ "value": 0.004941717876742284,
156
+ "min": 0.0013768509263172746,
157
+ "max": 0.004941717876742284,
158
+ "count": 10
159
+ },
160
+ "SoccerTwos.Policy.LearningRate.mean": {
161
+ "value": 0.0003,
162
+ "min": 0.0003,
163
+ "max": 0.0003,
164
+ "count": 10
165
+ },
166
+ "SoccerTwos.Policy.LearningRate.sum": {
167
+ "value": 0.0003,
168
+ "min": 0.0003,
169
+ "max": 0.0003,
170
+ "count": 10
171
+ },
172
+ "SoccerTwos.Policy.Epsilon.mean": {
173
+ "value": 0.20000000000000007,
174
+ "min": 0.20000000000000004,
175
+ "max": 0.20000000000000007,
176
+ "count": 10
177
+ },
178
+ "SoccerTwos.Policy.Epsilon.sum": {
179
+ "value": 0.20000000000000007,
180
+ "min": 0.20000000000000004,
181
+ "max": 0.20000000000000007,
182
+ "count": 10
183
+ },
184
+ "SoccerTwos.Policy.Beta.mean": {
185
+ "value": 0.005000000000000001,
186
+ "min": 0.005000000000000001,
187
+ "max": 0.005000000000000001,
188
+ "count": 10
189
+ },
190
+ "SoccerTwos.Policy.Beta.sum": {
191
+ "value": 0.005000000000000001,
192
+ "min": 0.005000000000000001,
193
+ "max": 0.005000000000000001,
194
+ "count": 10
195
+ }
196
+ },
197
+ "metadata": {
198
+ "timer_format_version": "0.1.0",
199
+ "start_time_seconds": "1717155158",
200
+ "python_version": "3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]",
201
+ "command_line_arguments": "/usr/local/bin/mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos.x86_64 --run-id=SmartJenglot --no-graphics",
202
+ "mlagents_version": "1.1.0.dev0",
203
+ "mlagents_envs_version": "1.1.0.dev0",
204
+ "communication_protocol_version": "1.5.0",
205
+ "pytorch_version": "2.3.0+cu121",
206
+ "numpy_version": "1.23.5",
207
+ "end_time_seconds": "1717156520"
208
+ },
209
+ "total": 1361.6774423420002,
210
+ "count": 1,
211
+ "self": 0.14953070800038404,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.07977151099976254,
215
+ "count": 1,
216
+ "self": 0.07977151099976254
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 1361.448140123,
220
+ "count": 1,
221
+ "self": 0.6261698330126819,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 3.9106206610003937,
225
+ "count": 2,
226
+ "self": 3.9106206610003937
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 1356.237072997987,
230
+ "count": 15954,
231
+ "self": 0.742367473016202,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 572.6961661059881,
235
+ "count": 15954,
236
+ "self": 462.2354413899702,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 110.06870883000738,
240
+ "count": 15954,
241
+ "self": 4.007063854014177,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 106.0616449759932,
245
+ "count": 31708,
246
+ "self": 106.0616449759932
247
+ }
248
+ }
249
+ },
250
+ "workers": {
251
+ "total": 0.39201588601054027,
252
+ "count": 15954,
253
+ "self": 0.0,
254
+ "children": {
255
+ "worker_root": {
256
+ "total": 1358.2675042019996,
257
+ "count": 15954,
258
+ "is_parallel": true,
259
+ "self": 977.8814039430013,
260
+ "children": {
261
+ "run_training.setup": {
262
+ "total": 0.0,
263
+ "count": 0,
264
+ "is_parallel": true,
265
+ "self": 0.0,
266
+ "children": {
267
+ "steps_from_proto": {
268
+ "total": 0.009716647999994166,
269
+ "count": 2,
270
+ "is_parallel": true,
271
+ "self": 0.006128322001131892,
272
+ "children": {
273
+ "_process_rank_one_or_two_observation": {
274
+ "total": 0.003588325998862274,
275
+ "count": 8,
276
+ "is_parallel": true,
277
+ "self": 0.003588325998862274
278
+ }
279
+ }
280
+ },
281
+ "UnityEnvironment.step": {
282
+ "total": 0.04824683600008939,
283
+ "count": 1,
284
+ "is_parallel": true,
285
+ "self": 0.00151112900039152,
286
+ "children": {
287
+ "UnityEnvironment._generate_step_input": {
288
+ "total": 0.0009825110000747372,
289
+ "count": 1,
290
+ "is_parallel": true,
291
+ "self": 0.0009825110000747372
292
+ },
293
+ "communicator.exchange": {
294
+ "total": 0.04112590599970645,
295
+ "count": 1,
296
+ "is_parallel": true,
297
+ "self": 0.04112590599970645
298
+ },
299
+ "steps_from_proto": {
300
+ "total": 0.004627289999916684,
301
+ "count": 2,
302
+ "is_parallel": true,
303
+ "self": 0.0009523969997644599,
304
+ "children": {
305
+ "_process_rank_one_or_two_observation": {
306
+ "total": 0.003674893000152224,
307
+ "count": 8,
308
+ "is_parallel": true,
309
+ "self": 0.003674893000152224
310
+ }
311
+ }
312
+ }
313
+ }
314
+ }
315
+ }
316
+ },
317
+ "UnityEnvironment.step": {
318
+ "total": 380.38357752999855,
319
+ "count": 15953,
320
+ "is_parallel": true,
321
+ "self": 23.837662855981307,
322
+ "children": {
323
+ "UnityEnvironment._generate_step_input": {
324
+ "total": 15.915127958002358,
325
+ "count": 15953,
326
+ "is_parallel": true,
327
+ "self": 15.915127958002358
328
+ },
329
+ "communicator.exchange": {
330
+ "total": 268.7250908339988,
331
+ "count": 15953,
332
+ "is_parallel": true,
333
+ "self": 268.7250908339988
334
+ },
335
+ "steps_from_proto": {
336
+ "total": 71.90569588201606,
337
+ "count": 31906,
338
+ "is_parallel": true,
339
+ "self": 12.54011092004157,
340
+ "children": {
341
+ "_process_rank_one_or_two_observation": {
342
+ "total": 59.36558496197449,
343
+ "count": 127624,
344
+ "is_parallel": true,
345
+ "self": 59.36558496197449
346
+ }
347
+ }
348
+ }
349
+ }
350
+ },
351
+ "steps_from_proto": {
352
+ "total": 0.0025227289997928892,
353
+ "count": 2,
354
+ "is_parallel": true,
355
+ "self": 0.0005233449992374517,
356
+ "children": {
357
+ "_process_rank_one_or_two_observation": {
358
+ "total": 0.0019993840005554375,
359
+ "count": 8,
360
+ "is_parallel": true,
361
+ "self": 0.0019993840005554375
362
+ }
363
+ }
364
+ }
365
+ }
366
+ }
367
+ }
368
+ }
369
+ }
370
+ },
371
+ "trainer_advance": {
372
+ "total": 782.7985394189827,
373
+ "count": 15954,
374
+ "self": 4.602201102013623,
375
+ "children": {
376
+ "process_trajectory": {
377
+ "total": 99.18953993096966,
378
+ "count": 15954,
379
+ "self": 99.18953993096966
380
+ },
381
+ "_update_policy": {
382
+ "total": 679.0067983859994,
383
+ "count": 11,
384
+ "self": 52.32679753599405,
385
+ "children": {
386
+ "TorchPOCAOptimizer.update": {
387
+ "total": 626.6800008500054,
388
+ "count": 336,
389
+ "self": 626.6800008500054
390
+ }
391
+ }
392
+ }
393
+ }
394
+ }
395
+ }
396
+ },
397
+ "trainer_threads": {
398
+ "total": 1.717000031931093e-06,
399
+ "count": 1,
400
+ "self": 1.717000031931093e-06
401
+ },
402
+ "TrainerController._save_models": {
403
+ "total": 0.6742749139998523,
404
+ "count": 1,
405
+ "self": 0.0035950709998360253,
406
+ "children": {
407
+ "RLTrainer._checkpoint": {
408
+ "total": 0.6706798430000163,
409
+ "count": 1,
410
+ "self": 0.6706798430000163
411
+ }
412
+ }
413
+ }
414
+ }
415
+ }
416
+ }
417
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1200.182211539108,
4
+ "checkpoints": [
5
+ {
6
+ "steps": 244050,
7
+ "file_path": "results/SmartJenglot/SoccerTwos/SoccerTwos-244050.onnx",
8
+ "reward": 0.0,
9
+ "creation_time": 1717156520.4558742,
10
+ "auxillary_file_paths": [
11
+ "results/SmartJenglot/SoccerTwos/SoccerTwos-244050.pt"
12
+ ]
13
+ }
14
+ ],
15
+ "final_checkpoint": {
16
+ "steps": 244050,
17
+ "file_path": "results/SmartJenglot/SoccerTwos.onnx",
18
+ "reward": 0.0,
19
+ "creation_time": 1717156520.4558742,
20
+ "auxillary_file_paths": [
21
+ "results/SmartJenglot/SoccerTwos/SoccerTwos-244050.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.0+cu121"
29
+ }
30
+ }