Bodolaz commited on
Commit
27553ae
1 Parent(s): 70da54a

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: Bodolaz/Unit-7
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:e5597522c0eece74a9e9b69b900a060e829bc41e624057aa6638d5132c34692c
3
+ size 1764633
SoccerTwos/SoccerTwos-63306.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5597522c0eece74a9e9b69b900a060e829bc41e624057aa6638d5132c34692c
3
+ size 1764633
SoccerTwos/SoccerTwos-63306.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:755ac8dacfb0b712db320cef3afa83d51d0bc46bbf9b907b9056dfd8327d0998
3
+ size 28421137
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:755ac8dacfb0b712db320cef3afa83d51d0bc46bbf9b907b9056dfd8327d0998
3
+ size 28421137
SoccerTwos/events.out.tfevents.1687619016.1cc5199b32b5.18741.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29c1bb8a5ab617dbcdff1bcb6ca73d3149ce388a7c5c99e4e93461ede816d3fa
3
+ size 43068
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.001, "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": 500000, "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, "seed": -1, "max_lifetime_restarts": 10, "restarts_rate_limit_n": 1, "restarts_rate_limit_period_s": 60}, "engine_settings": {"width": 84, "height": 84, "quality_level": 5, "time_scale": 20, "target_frame_rate": -1, "capture_frame_rate": 60, "no_graphics": true}, "environment_parameters": null, "checkpoint_settings": {"run_id": "SoccerTwos", "initialize_from": null, "load_model": false, "resume": false, "force": true, "train_model": false, "inference": false, "results_dir": "results"}, "torch_settings": {"device": null}, "debug": false}
configuration.yaml ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ default_settings: null
2
+ behaviors:
3
+ SoccerTwos:
4
+ trainer_type: poca
5
+ hyperparameters:
6
+ batch_size: 2048
7
+ buffer_size: 20480
8
+ learning_rate: 0.001
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: 500000
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
+ seed: -1
59
+ max_lifetime_restarts: 10
60
+ restarts_rate_limit_n: 1
61
+ restarts_rate_limit_period_s: 60
62
+ engine_settings:
63
+ width: 84
64
+ height: 84
65
+ quality_level: 5
66
+ time_scale: 20
67
+ target_frame_rate: -1
68
+ capture_frame_rate: 60
69
+ no_graphics: true
70
+ environment_parameters: null
71
+ checkpoint_settings:
72
+ run_id: SoccerTwos
73
+ initialize_from: null
74
+ load_model: false
75
+ resume: false
76
+ force: true
77
+ train_model: false
78
+ inference: false
79
+ results_dir: results
80
+ torch_settings:
81
+ device: null
82
+ debug: false
run_logs/Player-0.log ADDED
@@ -0,0 +1,300 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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:767:(parse_card) cannot find card '0'
17
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
18
+ ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
19
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
20
+ ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
21
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
22
+ ALSA lib conf.c:5220:(snd_config_expand) Evaluate error: No such file or directory
23
+ ALSA lib pcm.c:2642:(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:767:(parse_card) cannot find card '0'
27
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
28
+ ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
29
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
30
+ ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
31
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
32
+ ALSA lib conf.c:5220:(snd_config_expand) Evaluate error: No such file or directory
33
+ ALSA lib pcm.c:2642:(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.177 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: 1.233846 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
+ Setting up 1 worker threads for Enlighten.
90
+ Memory Statistics:
91
+ [ALLOC_TEMP_TLS] TLS Allocator
92
+ StackAllocators :
93
+ [ALLOC_TEMP_MAIN]
94
+ Peak usage frame count: [8.0 KB-16.0 KB]: 1272 frames, [2.0 MB-4.0 MB]: 1 frames
95
+ Initial Block Size 4.0 MB
96
+ Current Block Size 4.0 MB
97
+ Peak Allocated Bytes 2.1 MB
98
+ Overflow Count 0
99
+ [ALLOC_TEMP_Loading.AsyncRead]
100
+ Initial Block Size 64.0 KB
101
+ Current Block Size 64.0 KB
102
+ Peak Allocated Bytes 128 B
103
+ Overflow Count 0
104
+ [ALLOC_TEMP_Loading.PreloadManager]
105
+ Initial Block Size 256.0 KB
106
+ Current Block Size 300.0 KB
107
+ Peak Allocated Bytes 249.6 KB
108
+ Overflow Count 4
109
+ [ALLOC_TEMP_Background Job.Worker 8]
110
+ Initial Block Size 32.0 KB
111
+ Current Block Size 32.0 KB
112
+ Peak Allocated Bytes 0 B
113
+ Overflow Count 0
114
+ [ALLOC_TEMP_Background Job.Worker 9]
115
+ Initial Block Size 32.0 KB
116
+ Current Block Size 32.0 KB
117
+ Peak Allocated Bytes 0 B
118
+ Overflow Count 0
119
+ [ALLOC_TEMP_Job.Worker 0]
120
+ Initial Block Size 256.0 KB
121
+ Current Block Size 256.0 KB
122
+ Peak Allocated Bytes 0.7 KB
123
+ Overflow Count 0
124
+ [ALLOC_TEMP_Background Job.Worker 10]
125
+ Initial Block Size 32.0 KB
126
+ Current Block Size 32.0 KB
127
+ Peak Allocated Bytes 0 B
128
+ Overflow Count 0
129
+ [ALLOC_TEMP_Background Job.Worker 14]
130
+ Initial Block Size 32.0 KB
131
+ Current Block Size 32.0 KB
132
+ Peak Allocated Bytes 0 B
133
+ Overflow Count 0
134
+ [ALLOC_TEMP_Background Job.Worker 6]
135
+ Initial Block Size 32.0 KB
136
+ Current Block Size 32.0 KB
137
+ Peak Allocated Bytes 0 B
138
+ Overflow Count 0
139
+ [ALLOC_TEMP_Background Job.Worker 12]
140
+ Initial Block Size 32.0 KB
141
+ Current Block Size 32.0 KB
142
+ Peak Allocated Bytes 0 B
143
+ Overflow Count 0
144
+ [ALLOC_TEMP_EnlightenWorker]
145
+ Initial Block Size 64.0 KB
146
+ Current Block Size 64.0 KB
147
+ Peak Allocated Bytes 0 B
148
+ Overflow Count 0
149
+ [ALLOC_TEMP_Background Job.Worker 15]
150
+ Initial Block Size 32.0 KB
151
+ Current Block Size 32.0 KB
152
+ Peak Allocated Bytes 0 B
153
+ Overflow Count 0
154
+ [ALLOC_TEMP_Background Job.Worker 1]
155
+ Initial Block Size 32.0 KB
156
+ Current Block Size 32.0 KB
157
+ Peak Allocated Bytes 0 B
158
+ Overflow Count 0
159
+ [ALLOC_TEMP_Background Job.Worker 2]
160
+ Initial Block Size 32.0 KB
161
+ Current Block Size 32.0 KB
162
+ Peak Allocated Bytes 0 B
163
+ Overflow Count 0
164
+ [ALLOC_TEMP_Background Job.Worker 7]
165
+ Initial Block Size 32.0 KB
166
+ Current Block Size 32.0 KB
167
+ Peak Allocated Bytes 0 B
168
+ Overflow Count 0
169
+ [ALLOC_TEMP_AssetGarbageCollectorHelper]
170
+ Initial Block Size 64.0 KB
171
+ Current Block Size 64.0 KB
172
+ Peak Allocated Bytes 0 B
173
+ Overflow Count 0
174
+ [ALLOC_TEMP_Background Job.Worker 5]
175
+ Initial Block Size 32.0 KB
176
+ Current Block Size 32.0 KB
177
+ Peak Allocated Bytes 0 B
178
+ Overflow Count 0
179
+ [ALLOC_TEMP_Background Job.Worker 13]
180
+ Initial Block Size 32.0 KB
181
+ Current Block Size 32.0 KB
182
+ Peak Allocated Bytes 0 B
183
+ Overflow Count 0
184
+ [ALLOC_TEMP_Background Job.Worker 11]
185
+ Initial Block Size 32.0 KB
186
+ Current Block Size 32.0 KB
187
+ Peak Allocated Bytes 0 B
188
+ Overflow Count 0
189
+ [ALLOC_TEMP_Background Job.Worker 3]
190
+ Initial Block Size 32.0 KB
191
+ Current Block Size 32.0 KB
192
+ Peak Allocated Bytes 0 B
193
+ Overflow Count 0
194
+ [ALLOC_TEMP_Background Job.Worker 0]
195
+ Initial Block Size 32.0 KB
196
+ Current Block Size 32.0 KB
197
+ Peak Allocated Bytes 0 B
198
+ Overflow Count 0
199
+ [ALLOC_TEMP_Background Job.Worker 4]
200
+ Initial Block Size 32.0 KB
201
+ Current Block Size 32.0 KB
202
+ Peak Allocated Bytes 0 B
203
+ Overflow Count 0
204
+ [ALLOC_TEMP_BatchDeleteObjects]
205
+ Initial Block Size 64.0 KB
206
+ Current Block Size 64.0 KB
207
+ Peak Allocated Bytes 0 B
208
+ Overflow Count 0
209
+ [ALLOC_DEFAULT] Dual Thread Allocator
210
+ Peak main deferred allocation count 3
211
+ [ALLOC_BUCKET]
212
+ Large Block size 4.0 MB
213
+ Used Block count 1
214
+ Peak Allocated bytes 1.0 MB
215
+ [ALLOC_DEFAULT_MAIN]
216
+ Peak usage frame count: [4.0 MB-8.0 MB]: 1273 frames
217
+ Requested Block Size 16.0 MB
218
+ Peak Block count 1
219
+ Peak Allocated memory 4.6 MB
220
+ Peak Large allocation bytes 0 B
221
+ [ALLOC_DEFAULT_THREAD]
222
+ Peak usage frame count: [16.0 MB-32.0 MB]: 1273 frames
223
+ Requested Block Size 16.0 MB
224
+ Peak Block count 1
225
+ Peak Allocated memory 17.6 MB
226
+ Peak Large allocation bytes 16.0 MB
227
+ [ALLOC_TEMP_JOB_1_FRAME]
228
+ Initial Block Size 2.0 MB
229
+ Used Block Count 1
230
+ Overflow Count (too large) 0
231
+ Overflow Count (full) 0
232
+ [ALLOC_TEMP_JOB_2_FRAMES]
233
+ Initial Block Size 2.0 MB
234
+ Used Block Count 1
235
+ Overflow Count (too large) 0
236
+ Overflow Count (full) 0
237
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
238
+ Initial Block Size 2.0 MB
239
+ Used Block Count 2
240
+ Overflow Count (too large) 0
241
+ Overflow Count (full) 0
242
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
243
+ Initial Block Size 1.0 MB
244
+ Used Block Count 3
245
+ Overflow Count (too large) 0
246
+ Overflow Count (full) 0
247
+ [ALLOC_GFX] Dual Thread Allocator
248
+ Peak main deferred allocation count 0
249
+ [ALLOC_BUCKET]
250
+ Large Block size 4.0 MB
251
+ Used Block count 1
252
+ Peak Allocated bytes 1.0 MB
253
+ [ALLOC_GFX_MAIN]
254
+ Peak usage frame count: [32.0 KB-64.0 KB]: 1272 frames, [64.0 KB-128.0 KB]: 1 frames
255
+ Requested Block Size 16.0 MB
256
+ Peak Block count 1
257
+ Peak Allocated memory 65.6 KB
258
+ Peak Large allocation bytes 0 B
259
+ [ALLOC_GFX_THREAD]
260
+ Peak usage frame count: [128.0 KB-256.0 KB]: 1273 frames
261
+ Requested Block Size 16.0 MB
262
+ Peak Block count 1
263
+ Peak Allocated memory 173.5 KB
264
+ Peak Large allocation bytes 0 B
265
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
266
+ Peak main deferred allocation count 0
267
+ [ALLOC_BUCKET]
268
+ Large Block size 4.0 MB
269
+ Used Block count 1
270
+ Peak Allocated bytes 1.0 MB
271
+ [ALLOC_CACHEOBJECTS_MAIN]
272
+ Peak usage frame count: [0.5 MB-1.0 MB]: 1273 frames
273
+ Requested Block Size 4.0 MB
274
+ Peak Block count 1
275
+ Peak Allocated memory 0.6 MB
276
+ Peak Large allocation bytes 0 B
277
+ [ALLOC_CACHEOBJECTS_THREAD]
278
+ Peak usage frame count: [0.5 MB-1.0 MB]: 1272 frames, [4.0 MB-8.0 MB]: 1 frames
279
+ Requested Block Size 4.0 MB
280
+ Peak Block count 2
281
+ Peak Allocated memory 4.0 MB
282
+ Peak Large allocation bytes 0 B
283
+ [ALLOC_TYPETREE] Dual Thread Allocator
284
+ Peak main deferred allocation count 0
285
+ [ALLOC_BUCKET]
286
+ Large Block size 4.0 MB
287
+ Used Block count 1
288
+ Peak Allocated bytes 1.0 MB
289
+ [ALLOC_TYPETREE_MAIN]
290
+ Peak usage frame count: [0-1.0 KB]: 1273 frames
291
+ Requested Block Size 2.0 MB
292
+ Peak Block count 1
293
+ Peak Allocated memory 1.0 KB
294
+ Peak Large allocation bytes 0 B
295
+ [ALLOC_TYPETREE_THREAD]
296
+ Peak usage frame count: [1.0 KB-2.0 KB]: 1272 frames, [2.0 KB-4.0 KB]: 1 frames
297
+ Requested Block Size 2.0 MB
298
+ Peak Block count 1
299
+ Peak Allocated memory 2.2 KB
300
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,403 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "SoccerTwos.Policy.Entropy.mean": {
5
+ "value": 3.2758185863494873,
6
+ "min": 3.273653268814087,
7
+ "max": 3.2957606315612793,
8
+ "count": 6
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 56501.3203125,
12
+ "min": 33496.95703125,
13
+ "max": 105464.265625,
14
+ "count": 6
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 837.8333333333334,
18
+ "min": 720.0,
19
+ "max": 999.0,
20
+ "count": 6
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 20108.0,
24
+ "min": 14400.0,
25
+ "max": 28084.0,
26
+ "count": 6
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1200.970418087186,
30
+ "min": 1200.3463957600693,
31
+ "max": 1201.2421091626256,
32
+ "count": 5
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 2401.940836174372,
36
+ "min": 2401.940836174372,
37
+ "max": 9606.343970681504,
38
+ "count": 5
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 59306.0,
42
+ "min": 9058.0,
43
+ "max": 59306.0,
44
+ "count": 6
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 59306.0,
48
+ "min": 9058.0,
49
+ "max": 59306.0,
50
+ "count": 6
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": 0.05247111618518829,
54
+ "min": 0.05247111618518829,
55
+ "max": 0.10548456013202667,
56
+ "count": 6
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": 0.6296533942222595,
60
+ "min": 0.6296533942222595,
61
+ "max": 1.0729753971099854,
62
+ "count": 6
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": 0.0441579669713974,
66
+ "min": 0.0441579669713974,
67
+ "max": 0.06287874281406403,
68
+ "count": 6
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": 0.5298956036567688,
72
+ "min": 0.5298956036567688,
73
+ "max": 0.817385733127594,
74
+ "count": 6
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 6
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 6
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": 0.18616666396458945,
90
+ "min": -0.34632727232846344,
91
+ "max": 0.18616666396458945,
92
+ "count": 6
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": 2.2339999675750732,
96
+ "min": -3.809599995613098,
97
+ "max": 2.2339999675750732,
98
+ "count": 6
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": 0.18616666396458945,
102
+ "min": -0.34632727232846344,
103
+ "max": 0.18616666396458945,
104
+ "count": 6
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": 2.2339999675750732,
108
+ "min": -3.809599995613098,
109
+ "max": 2.2339999675750732,
110
+ "count": 6
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 6
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 6
123
+ },
124
+ "SoccerTwos.Losses.PolicyLoss.mean": {
125
+ "value": 0.015314620580223466,
126
+ "min": 0.015118701877751543,
127
+ "max": 0.015314620580223466,
128
+ "count": 2
129
+ },
130
+ "SoccerTwos.Losses.PolicyLoss.sum": {
131
+ "value": 0.015314620580223466,
132
+ "min": 0.015118701877751543,
133
+ "max": 0.015314620580223466,
134
+ "count": 2
135
+ },
136
+ "SoccerTwos.Losses.ValueLoss.mean": {
137
+ "value": 0.0014895137952407821,
138
+ "min": 0.0014895137952407821,
139
+ "max": 0.04832433110568672,
140
+ "count": 2
141
+ },
142
+ "SoccerTwos.Losses.ValueLoss.sum": {
143
+ "value": 0.0014895137952407821,
144
+ "min": 0.0014895137952407821,
145
+ "max": 0.04832433110568672,
146
+ "count": 2
147
+ },
148
+ "SoccerTwos.Losses.BaselineLoss.mean": {
149
+ "value": 0.0017837476402443523,
150
+ "min": 0.0017837476402443523,
151
+ "max": 0.03310977824342747,
152
+ "count": 2
153
+ },
154
+ "SoccerTwos.Losses.BaselineLoss.sum": {
155
+ "value": 0.0017837476402443523,
156
+ "min": 0.0017837476402443523,
157
+ "max": 0.03310977824342747,
158
+ "count": 2
159
+ },
160
+ "SoccerTwos.Policy.LearningRate.mean": {
161
+ "value": 0.0010000000000000002,
162
+ "min": 0.0010000000000000002,
163
+ "max": 0.0010000000000000002,
164
+ "count": 2
165
+ },
166
+ "SoccerTwos.Policy.LearningRate.sum": {
167
+ "value": 0.0010000000000000002,
168
+ "min": 0.0010000000000000002,
169
+ "max": 0.0010000000000000002,
170
+ "count": 2
171
+ },
172
+ "SoccerTwos.Policy.Epsilon.mean": {
173
+ "value": 0.20000000000000007,
174
+ "min": 0.20000000000000007,
175
+ "max": 0.20000000000000007,
176
+ "count": 2
177
+ },
178
+ "SoccerTwos.Policy.Epsilon.sum": {
179
+ "value": 0.20000000000000007,
180
+ "min": 0.20000000000000007,
181
+ "max": 0.20000000000000007,
182
+ "count": 2
183
+ },
184
+ "SoccerTwos.Policy.Beta.mean": {
185
+ "value": 0.005000000000000001,
186
+ "min": 0.005000000000000001,
187
+ "max": 0.005000000000000001,
188
+ "count": 2
189
+ },
190
+ "SoccerTwos.Policy.Beta.sum": {
191
+ "value": 0.005000000000000001,
192
+ "min": 0.005000000000000001,
193
+ "max": 0.005000000000000001,
194
+ "count": 2
195
+ }
196
+ },
197
+ "metadata": {
198
+ "timer_format_version": "0.1.0",
199
+ "start_time_seconds": "1687619014",
200
+ "python_version": "3.10.10 | packaged by conda-forge | (main, Mar 24 2023, 20:08:06) [GCC 11.3.0]",
201
+ "command_line_arguments": "/usr/local/bin/mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos.x86_64 --run-id=SoccerTwos --no-graphics --force",
202
+ "mlagents_version": "0.31.0.dev0",
203
+ "mlagents_envs_version": "0.31.0.dev0",
204
+ "communication_protocol_version": "1.5.0",
205
+ "pytorch_version": "1.11.0+cu102",
206
+ "numpy_version": "1.21.2",
207
+ "end_time_seconds": "1687619376"
208
+ },
209
+ "total": 361.4386399209998,
210
+ "count": 1,
211
+ "self": 0.006794630999138462,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.027845077000165475,
215
+ "count": 1,
216
+ "self": 0.027845077000165475
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 361.4040002130005,
220
+ "count": 1,
221
+ "self": 0.19443533102366928,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 1.6044772260001992,
225
+ "count": 1,
226
+ "self": 1.6044772260001992
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 359.3161118259768,
230
+ "count": 4264,
231
+ "self": 0.19566270298400923,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 160.83705588901375,
235
+ "count": 4264,
236
+ "self": 132.81142681304573,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 27.920666818979953,
240
+ "count": 4264,
241
+ "self": 1.2140916279568046,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 26.70657519102315,
245
+ "count": 8482,
246
+ "self": 26.70657519102315
247
+ }
248
+ }
249
+ },
250
+ "workers": {
251
+ "total": 0.10496225698807393,
252
+ "count": 4264,
253
+ "self": 0.0,
254
+ "children": {
255
+ "worker_root": {
256
+ "total": 332.1995521339868,
257
+ "count": 4264,
258
+ "is_parallel": true,
259
+ "self": 222.28195962599693,
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.010179573001551034,
269
+ "count": 2,
270
+ "is_parallel": true,
271
+ "self": 0.005134082000950002,
272
+ "children": {
273
+ "_process_rank_one_or_two_observation": {
274
+ "total": 0.005045491000601032,
275
+ "count": 8,
276
+ "is_parallel": true,
277
+ "self": 0.005045491000601032
278
+ }
279
+ }
280
+ },
281
+ "UnityEnvironment.step": {
282
+ "total": 0.09950809500060132,
283
+ "count": 1,
284
+ "is_parallel": true,
285
+ "self": 0.0014315160005935468,
286
+ "children": {
287
+ "UnityEnvironment._generate_step_input": {
288
+ "total": 0.0008355190002475865,
289
+ "count": 1,
290
+ "is_parallel": true,
291
+ "self": 0.0008355190002475865
292
+ },
293
+ "communicator.exchange": {
294
+ "total": 0.0833020519994534,
295
+ "count": 1,
296
+ "is_parallel": true,
297
+ "self": 0.0833020519994534
298
+ },
299
+ "steps_from_proto": {
300
+ "total": 0.013939008000306785,
301
+ "count": 2,
302
+ "is_parallel": true,
303
+ "self": 0.006018803998813382,
304
+ "children": {
305
+ "_process_rank_one_or_two_observation": {
306
+ "total": 0.007920204001493403,
307
+ "count": 8,
308
+ "is_parallel": true,
309
+ "self": 0.007920204001493403
310
+ }
311
+ }
312
+ }
313
+ }
314
+ }
315
+ }
316
+ },
317
+ "UnityEnvironment.step": {
318
+ "total": 109.91759250798987,
319
+ "count": 4263,
320
+ "is_parallel": true,
321
+ "self": 6.159174291911768,
322
+ "children": {
323
+ "UnityEnvironment._generate_step_input": {
324
+ "total": 3.37915113701456,
325
+ "count": 4263,
326
+ "is_parallel": true,
327
+ "self": 3.37915113701456
328
+ },
329
+ "communicator.exchange": {
330
+ "total": 80.7350587789997,
331
+ "count": 4263,
332
+ "is_parallel": true,
333
+ "self": 80.7350587789997
334
+ },
335
+ "steps_from_proto": {
336
+ "total": 19.644208300063838,
337
+ "count": 8526,
338
+ "is_parallel": true,
339
+ "self": 3.5033778640390665,
340
+ "children": {
341
+ "_process_rank_one_or_two_observation": {
342
+ "total": 16.14083043602477,
343
+ "count": 34104,
344
+ "is_parallel": true,
345
+ "self": 16.14083043602477
346
+ }
347
+ }
348
+ }
349
+ }
350
+ }
351
+ }
352
+ }
353
+ }
354
+ }
355
+ }
356
+ },
357
+ "trainer_advance": {
358
+ "total": 198.28339323397904,
359
+ "count": 4264,
360
+ "self": 1.1564656979808206,
361
+ "children": {
362
+ "process_trajectory": {
363
+ "total": 29.758132814999044,
364
+ "count": 4264,
365
+ "self": 29.758132814999044
366
+ },
367
+ "_update_policy": {
368
+ "total": 167.36879472099918,
369
+ "count": 3,
370
+ "self": 15.231152315996042,
371
+ "children": {
372
+ "TorchPOCAOptimizer.update": {
373
+ "total": 152.13764240500313,
374
+ "count": 71,
375
+ "self": 152.13764240500313
376
+ }
377
+ }
378
+ }
379
+ }
380
+ }
381
+ }
382
+ },
383
+ "trainer_threads": {
384
+ "total": 1.3669996405951679e-06,
385
+ "count": 1,
386
+ "self": 1.3669996405951679e-06
387
+ },
388
+ "TrainerController._save_models": {
389
+ "total": 0.2889744630001587,
390
+ "count": 1,
391
+ "self": 0.0025971180002670735,
392
+ "children": {
393
+ "RLTrainer._checkpoint": {
394
+ "total": 0.28637734499989165,
395
+ "count": 1,
396
+ "self": 0.28637734499989165
397
+ }
398
+ }
399
+ }
400
+ }
401
+ }
402
+ }
403
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1200.970418087186,
4
+ "checkpoints": [
5
+ {
6
+ "steps": 63306,
7
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-63306.onnx",
8
+ "reward": null,
9
+ "creation_time": 1687619376.3460348,
10
+ "auxillary_file_paths": [
11
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-63306.pt"
12
+ ]
13
+ }
14
+ ],
15
+ "final_checkpoint": {
16
+ "steps": 63306,
17
+ "file_path": "results/SoccerTwos/SoccerTwos.onnx",
18
+ "reward": null,
19
+ "creation_time": 1687619376.3460348,
20
+ "auxillary_file_paths": [
21
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-63306.pt"
22
+ ]
23
+ }
24
+ },
25
+ "metadata": {
26
+ "stats_format_version": "0.3.0",
27
+ "mlagents_version": "0.31.0.dev0",
28
+ "torch_version": "1.11.0+cu102"
29
+ }
30
+ }