D0k-tor commited on
Commit
3f821be
1 Parent(s): d40b3a2

First Push

Browse files
README.md ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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** using the [Unity ML-Agents Library](https://github.com/Unity-Technologies/ml-agents).
12
+
13
+ ## Usage (with ML-Agents)
14
+ The Documentation: https://github.com/huggingface/ml-agents#get-started
15
+ We wrote a complete tutorial to learn to train your first agent using ML-Agents and publish it to the Hub:
16
+
17
+
18
+ ### Resume the training
19
+ ```
20
+ mlagents-learn <your_configuration_file_path.yaml> --run-id=<run_id> --resume
21
+ ```
22
+ ### Watch your Agent play
23
+ You can watch your agent **playing directly in your browser:**.
24
+
25
+ 1. Go to https://huggingface.co/spaces/unity/ML-Agents-SoccerTwos
26
+ 2. Step 1: Find your model_id: D0k-tor/poca-SoccerTwos
27
+ 3. Step 2: Select your *.nn /*.onnx file
28
+ 4. Click on Watch the agent play 👀
29
+
SoccerTwos-100934.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:28da156d6a92060636fefdf04ca7504aa2688e3a575ecbb4e11ac1e8689aab1f
3
+ size 1764633
SoccerTwos-100934.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6fb61dea6db169ab5eb9946bf75f810a8a1320b72b249a225a9fd6ab69d128cb
3
+ size 28422417
SoccerTwos.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:28da156d6a92060636fefdf04ca7504aa2688e3a575ecbb4e11ac1e8689aab1f
3
+ size 1764633
SoccerTwos/SoccerTwos-100934.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:28da156d6a92060636fefdf04ca7504aa2688e3a575ecbb4e11ac1e8689aab1f
3
+ size 1764633
SoccerTwos/SoccerTwos-100934.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6fb61dea6db169ab5eb9946bf75f810a8a1320b72b249a225a9fd6ab69d128cb
3
+ size 28422417
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6fb61dea6db169ab5eb9946bf75f810a8a1320b72b249a225a9fd6ab69d128cb
3
+ size 28422417
SoccerTwos/events.out.tfevents.1679394998.96cac9475584.2874.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f29ec3a58ddb224a1cb3c5303556f69ffc8505cb81544518b3e63b08c9d5746e
3
+ size 84099
checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6fb61dea6db169ab5eb9946bf75f810a8a1320b72b249a225a9fd6ab69d128cb
3
+ size 28422417
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": 100000, "time_horizon": 1000, "summary_freq": 10000, "threaded": false, "self_play": {"save_steps": 50000, "team_change": 5000, "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/linux/SoccerTwos", "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": "SoccerTwos3", "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,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ default_settings: null
2
+ behaviors:
3
+ SoccerTwos:
4
+ trainer_type: poca
5
+ hyperparameters:
6
+ batch_size: 2048
7
+ buffer_size: 20480
8
+ learning_rate: 0.0003
9
+ beta: 0.005
10
+ epsilon: 0.2
11
+ lambd: 0.95
12
+ num_epoch: 3
13
+ learning_rate_schedule: constant
14
+ beta_schedule: constant
15
+ epsilon_schedule: constant
16
+ checkpoint_interval: 500000
17
+ network_settings:
18
+ normalize: false
19
+ hidden_units: 512
20
+ num_layers: 2
21
+ vis_encode_type: simple
22
+ memory: null
23
+ goal_conditioning_type: hyper
24
+ deterministic: false
25
+ reward_signals:
26
+ extrinsic:
27
+ gamma: 0.99
28
+ strength: 1.0
29
+ network_settings:
30
+ normalize: false
31
+ hidden_units: 128
32
+ num_layers: 2
33
+ vis_encode_type: simple
34
+ memory: null
35
+ goal_conditioning_type: hyper
36
+ deterministic: false
37
+ init_path: null
38
+ keep_checkpoints: 5
39
+ even_checkpoints: false
40
+ max_steps: 100000
41
+ time_horizon: 1000
42
+ summary_freq: 10000
43
+ threaded: false
44
+ self_play:
45
+ save_steps: 50000
46
+ team_change: 5000
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/linux/SoccerTwos
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: SoccerTwos3
73
+ initialize_from: null
74
+ load_model: false
75
+ resume: false
76
+ force: false
77
+ train_model: false
78
+ inference: false
79
+ results_dir: results
80
+ torch_settings:
81
+ device: null
82
+ debug: false
events.out.tfevents.1679394998.96cac9475584.2874.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f29ec3a58ddb224a1cb3c5303556f69ffc8505cb81544518b3e63b08c9d5746e
3
+ size 84099
run_logs/Player-0.log ADDED
@@ -0,0 +1,335 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/content/ml-agents/training-envs-executables/linux/SoccerTwos_Data/Managed'
2
+ Mono config path = '/content/ml-agents/training-envs-executables/linux/SoccerTwos_Data/MonoBleedingEdge/etc'
3
+ Preloaded 'lib_burst_generated.so'
4
+ Preloaded 'libgrpc_csharp_ext.x64.so'
5
+ Initialize engine version: 2021.3.14f1 (eee1884e7226)
6
+ [Subsystems] Discovering subsystems at path /content/ml-agents/training-envs-executables/linux/SoccerTwos_Data/UnitySubsystems
7
+ Forcing GfxDevice: Null
8
+ GfxDevice: creating device client; threaded=0; jobified=0
9
+ NullGfxDevice:
10
+ Version: NULL 1.0 [1.0]
11
+ Renderer: Null Device
12
+ Vendor: Unity Technologies
13
+ ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
14
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
15
+ ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
16
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
17
+ ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
18
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
19
+ ALSA lib conf.c:5220:(snd_config_expand) Evaluate error: No such file or directory
20
+ ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM default
21
+ FMOD failed to initialize the output device.: "Error initializing output device. " (60)
22
+ 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
23
+ ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
24
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
25
+ ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
26
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
27
+ ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
28
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
29
+ ALSA lib conf.c:5220:(snd_config_expand) Evaluate error: No such file or directory
30
+ ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM default
31
+ FMOD failed to initialize the output device.: "Error initializing output device. " (60)
32
+ FMOD initialized on nosound output
33
+ Begin MonoManager ReloadAssembly
34
+ - Completed reload, in 0.085 seconds
35
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
36
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
37
+ ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
38
+ WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
39
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
40
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
41
+ ERROR: Shader Standard (Specular setup) shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
42
+ WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
43
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
44
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
45
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - 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
+ ERROR: Shader Autodesk Interactive shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
49
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
50
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
51
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
52
+ WARNING: Shader Unsupported: 'Standard' - 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
+ ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
56
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
57
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
58
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
59
+ UnloadTime: 0.654619 ms
60
+ Registered Communicator in Agent.
61
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
62
+ requesting resize 84 x 84
63
+ TOO LONG
64
+ TOO LONG
65
+ TOO LONG
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
+ Setting up 1 worker threads for Enlighten.
125
+ Memory Statistics:
126
+ [ALLOC_TEMP_TLS] TLS Allocator
127
+ StackAllocators :
128
+ [ALLOC_TEMP_MAIN]
129
+ Peak usage frame count: [8.0 KB-16.0 KB]: 3123 frames, [2.0 MB-4.0 MB]: 1 frames
130
+ Initial Block Size 4.0 MB
131
+ Current Block Size 4.0 MB
132
+ Peak Allocated Bytes 2.1 MB
133
+ Overflow Count 0
134
+ [ALLOC_TEMP_Loading.AsyncRead]
135
+ Initial Block Size 64.0 KB
136
+ Current Block Size 64.0 KB
137
+ Peak Allocated Bytes 128 B
138
+ Overflow Count 0
139
+ [ALLOC_TEMP_Loading.PreloadManager]
140
+ Initial Block Size 256.0 KB
141
+ Current Block Size 300.0 KB
142
+ Peak Allocated Bytes 249.6 KB
143
+ Overflow Count 4
144
+ [ALLOC_TEMP_Background Job.Worker 8]
145
+ Initial Block Size 32.0 KB
146
+ Current Block Size 32.0 KB
147
+ Peak Allocated Bytes 0 B
148
+ Overflow Count 0
149
+ [ALLOC_TEMP_Background Job.Worker 9]
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_Job.Worker 0]
155
+ Initial Block Size 256.0 KB
156
+ Current Block Size 256.0 KB
157
+ Peak Allocated Bytes 0.7 KB
158
+ Overflow Count 0
159
+ [ALLOC_TEMP_Background Job.Worker 10]
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 14]
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_Background Job.Worker 6]
170
+ Initial Block Size 32.0 KB
171
+ Current Block Size 32.0 KB
172
+ Peak Allocated Bytes 0 B
173
+ Overflow Count 0
174
+ [ALLOC_TEMP_Background Job.Worker 12]
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_EnlightenWorker]
180
+ Initial Block Size 64.0 KB
181
+ Current Block Size 64.0 KB
182
+ Peak Allocated Bytes 0 B
183
+ Overflow Count 0
184
+ [ALLOC_TEMP_Background Job.Worker 15]
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 1]
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 2]
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 7]
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_AssetGarbageCollectorHelper]
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_TEMP_Background Job.Worker 5]
210
+ Initial Block Size 32.0 KB
211
+ Current Block Size 32.0 KB
212
+ Peak Allocated Bytes 0 B
213
+ Overflow Count 0
214
+ [ALLOC_TEMP_Background Job.Worker 13]
215
+ Initial Block Size 32.0 KB
216
+ Current Block Size 32.0 KB
217
+ Peak Allocated Bytes 0 B
218
+ Overflow Count 0
219
+ [ALLOC_TEMP_Background Job.Worker 11]
220
+ Initial Block Size 32.0 KB
221
+ Current Block Size 32.0 KB
222
+ Peak Allocated Bytes 0 B
223
+ Overflow Count 0
224
+ [ALLOC_TEMP_Background Job.Worker 3]
225
+ Initial Block Size 32.0 KB
226
+ Current Block Size 32.0 KB
227
+ Peak Allocated Bytes 0 B
228
+ Overflow Count 0
229
+ [ALLOC_TEMP_Background Job.Worker 0]
230
+ Initial Block Size 32.0 KB
231
+ Current Block Size 32.0 KB
232
+ Peak Allocated Bytes 0 B
233
+ Overflow Count 0
234
+ [ALLOC_TEMP_Background Job.Worker 4]
235
+ Initial Block Size 32.0 KB
236
+ Current Block Size 32.0 KB
237
+ Peak Allocated Bytes 0 B
238
+ Overflow Count 0
239
+ [ALLOC_TEMP_BatchDeleteObjects]
240
+ Initial Block Size 64.0 KB
241
+ Current Block Size 64.0 KB
242
+ Peak Allocated Bytes 0 B
243
+ Overflow Count 0
244
+ [ALLOC_DEFAULT] Dual Thread Allocator
245
+ Peak main deferred allocation count 3
246
+ [ALLOC_BUCKET]
247
+ Large Block size 4.0 MB
248
+ Used Block count 1
249
+ Peak Allocated bytes 1.0 MB
250
+ [ALLOC_DEFAULT_MAIN]
251
+ Peak usage frame count: [4.0 MB-8.0 MB]: 3124 frames
252
+ Requested Block Size 16.0 MB
253
+ Peak Block count 1
254
+ Peak Allocated memory 4.6 MB
255
+ Peak Large allocation bytes 0 B
256
+ [ALLOC_DEFAULT_THREAD]
257
+ Peak usage frame count: [16.0 MB-32.0 MB]: 3124 frames
258
+ Requested Block Size 16.0 MB
259
+ Peak Block count 1
260
+ Peak Allocated memory 17.6 MB
261
+ Peak Large allocation bytes 16.0 MB
262
+ [ALLOC_TEMP_JOB_1_FRAME]
263
+ Initial Block Size 2.0 MB
264
+ Used Block Count 1
265
+ Overflow Count (too large) 0
266
+ Overflow Count (full) 0
267
+ [ALLOC_TEMP_JOB_2_FRAMES]
268
+ Initial Block Size 2.0 MB
269
+ Used Block Count 1
270
+ Overflow Count (too large) 0
271
+ Overflow Count (full) 0
272
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
273
+ Initial Block Size 2.0 MB
274
+ Used Block Count 2
275
+ Overflow Count (too large) 0
276
+ Overflow Count (full) 0
277
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
278
+ Initial Block Size 1.0 MB
279
+ Used Block Count 3
280
+ Overflow Count (too large) 0
281
+ Overflow Count (full) 0
282
+ [ALLOC_GFX] Dual Thread Allocator
283
+ Peak main deferred allocation count 0
284
+ [ALLOC_BUCKET]
285
+ Large Block size 4.0 MB
286
+ Used Block count 1
287
+ Peak Allocated bytes 1.0 MB
288
+ [ALLOC_GFX_MAIN]
289
+ Peak usage frame count: [32.0 KB-64.0 KB]: 3123 frames, [64.0 KB-128.0 KB]: 1 frames
290
+ Requested Block Size 16.0 MB
291
+ Peak Block count 1
292
+ Peak Allocated memory 65.6 KB
293
+ Peak Large allocation bytes 0 B
294
+ [ALLOC_GFX_THREAD]
295
+ Peak usage frame count: [128.0 KB-256.0 KB]: 3124 frames
296
+ Requested Block Size 16.0 MB
297
+ Peak Block count 1
298
+ Peak Allocated memory 173.5 KB
299
+ Peak Large allocation bytes 0 B
300
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
301
+ Peak main deferred allocation count 0
302
+ [ALLOC_BUCKET]
303
+ Large Block size 4.0 MB
304
+ Used Block count 1
305
+ Peak Allocated bytes 1.0 MB
306
+ [ALLOC_CACHEOBJECTS_MAIN]
307
+ Peak usage frame count: [0.5 MB-1.0 MB]: 3124 frames
308
+ Requested Block Size 4.0 MB
309
+ Peak Block count 1
310
+ Peak Allocated memory 0.6 MB
311
+ Peak Large allocation bytes 0 B
312
+ [ALLOC_CACHEOBJECTS_THREAD]
313
+ Peak usage frame count: [0.5 MB-1.0 MB]: 3123 frames, [4.0 MB-8.0 MB]: 1 frames
314
+ Requested Block Size 4.0 MB
315
+ Peak Block count 2
316
+ Peak Allocated memory 4.5 MB
317
+ Peak Large allocation bytes 0 B
318
+ [ALLOC_TYPETREE] Dual Thread Allocator
319
+ Peak main deferred allocation count 0
320
+ [ALLOC_BUCKET]
321
+ Large Block size 4.0 MB
322
+ Used Block count 1
323
+ Peak Allocated bytes 1.0 MB
324
+ [ALLOC_TYPETREE_MAIN]
325
+ Peak usage frame count: [0-1.0 KB]: 3124 frames
326
+ Requested Block Size 2.0 MB
327
+ Peak Block count 1
328
+ Peak Allocated memory 1.0 KB
329
+ Peak Large allocation bytes 0 B
330
+ [ALLOC_TYPETREE_THREAD]
331
+ Peak usage frame count: [1.0 KB-2.0 KB]: 3123 frames, [2.0 KB-4.0 KB]: 1 frames
332
+ Requested Block Size 2.0 MB
333
+ Peak Block count 1
334
+ Peak Allocated memory 2.2 KB
335
+ 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.2344729900360107,
6
+ "min": 3.2344729900360107,
7
+ "max": 3.2957661151885986,
8
+ "count": 10
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 151735.59375,
12
+ "min": 60378.22265625,
13
+ "max": 158291.296875,
14
+ "count": 10
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 363.26666666666665,
18
+ "min": 329.8666666666667,
19
+ "max": 895.625,
20
+ "count": 10
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 21796.0,
24
+ "min": 4792.0,
25
+ "max": 28660.0,
26
+ "count": 10
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1195.6024056360725,
30
+ "min": 1195.6024056360725,
31
+ "max": 1199.2564346655363,
32
+ "count": 9
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 19129.63849017716,
36
+ "min": 2398.5014391117093,
37
+ "max": 19129.63849017716,
38
+ "count": 9
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 99542.0,
42
+ "min": 9346.0,
43
+ "max": 99542.0,
44
+ "count": 10
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 99542.0,
48
+ "min": 9346.0,
49
+ "max": 99542.0,
50
+ "count": 10
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": -0.04090900346636772,
54
+ "min": -0.05798440799117088,
55
+ "max": -0.03937044367194176,
56
+ "count": 10
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": -1.1863610744476318,
60
+ "min": -1.2228806018829346,
61
+ "max": -0.5959798693656921,
62
+ "count": 10
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": -0.043069079518318176,
66
+ "min": -0.05801362916827202,
67
+ "max": -0.04053540900349617,
68
+ "count": 10
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": -1.249003291130066,
72
+ "min": -1.3865522146224976,
73
+ "max": -0.5396899580955505,
74
+ "count": 10
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 10
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 10
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": -0.26675862073898315,
90
+ "min": -0.26675862073898315,
91
+ "max": 0.029986665646235148,
92
+ "count": 10
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": -7.7360000014305115,
96
+ "min": -7.7360000014305115,
97
+ "max": 0.8995999693870544,
98
+ "count": 10
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": -0.26675862073898315,
102
+ "min": -0.26675862073898315,
103
+ "max": 0.029986665646235148,
104
+ "count": 10
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": -7.7360000014305115,
108
+ "min": -7.7360000014305115,
109
+ "max": 0.8995999693870544,
110
+ "count": 10
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 10
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 10
123
+ },
124
+ "SoccerTwos.Losses.PolicyLoss.mean": {
125
+ "value": 0.014833445796345284,
126
+ "min": 0.012861402020048858,
127
+ "max": 0.019381542389358703,
128
+ "count": 4
129
+ },
130
+ "SoccerTwos.Losses.PolicyLoss.sum": {
131
+ "value": 0.014833445796345284,
132
+ "min": 0.012861402020048858,
133
+ "max": 0.019381542389358703,
134
+ "count": 4
135
+ },
136
+ "SoccerTwos.Losses.ValueLoss.mean": {
137
+ "value": 0.00659534935063372,
138
+ "min": 0.0015557377800260756,
139
+ "max": 0.00659534935063372,
140
+ "count": 4
141
+ },
142
+ "SoccerTwos.Losses.ValueLoss.sum": {
143
+ "value": 0.00659534935063372,
144
+ "min": 0.0015557377800260756,
145
+ "max": 0.00659534935063372,
146
+ "count": 4
147
+ },
148
+ "SoccerTwos.Losses.BaselineLoss.mean": {
149
+ "value": 0.006820990750566125,
150
+ "min": 0.0015717923383680031,
151
+ "max": 0.006820990750566125,
152
+ "count": 4
153
+ },
154
+ "SoccerTwos.Losses.BaselineLoss.sum": {
155
+ "value": 0.006820990750566125,
156
+ "min": 0.0015717923383680031,
157
+ "max": 0.006820990750566125,
158
+ "count": 4
159
+ },
160
+ "SoccerTwos.Policy.LearningRate.mean": {
161
+ "value": 0.0003,
162
+ "min": 0.0003,
163
+ "max": 0.0003,
164
+ "count": 4
165
+ },
166
+ "SoccerTwos.Policy.LearningRate.sum": {
167
+ "value": 0.0003,
168
+ "min": 0.0003,
169
+ "max": 0.0003,
170
+ "count": 4
171
+ },
172
+ "SoccerTwos.Policy.Epsilon.mean": {
173
+ "value": 0.20000000000000007,
174
+ "min": 0.2,
175
+ "max": 0.20000000000000007,
176
+ "count": 4
177
+ },
178
+ "SoccerTwos.Policy.Epsilon.sum": {
179
+ "value": 0.20000000000000007,
180
+ "min": 0.2,
181
+ "max": 0.20000000000000007,
182
+ "count": 4
183
+ },
184
+ "SoccerTwos.Policy.Beta.mean": {
185
+ "value": 0.005000000000000001,
186
+ "min": 0.005,
187
+ "max": 0.005000000000000001,
188
+ "count": 4
189
+ },
190
+ "SoccerTwos.Policy.Beta.sum": {
191
+ "value": 0.005000000000000001,
192
+ "min": 0.005,
193
+ "max": 0.005000000000000001,
194
+ "count": 4
195
+ }
196
+ },
197
+ "metadata": {
198
+ "timer_format_version": "0.1.0",
199
+ "start_time_seconds": "1679394995",
200
+ "python_version": "3.9.16 (main, Dec 7 2022, 01:11:51) \n[GCC 9.4.0]",
201
+ "command_line_arguments": "/usr/local/bin/mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/linux/SoccerTwos --run-id=SoccerTwos3 --no-graphics",
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": "1679395317"
208
+ },
209
+ "total": 322.04359596300003,
210
+ "count": 1,
211
+ "self": 0.4236347170000272,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.1050525480000033,
215
+ "count": 1,
216
+ "self": 0.1050525480000033
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 321.514908698,
220
+ "count": 1,
221
+ "self": 0.23220417100174018,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 6.6202211810000335,
225
+ "count": 12,
226
+ "self": 6.6202211810000335
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 314.40720407599815,
230
+ "count": 10462,
231
+ "self": 0.2622136099944328,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 273.2991440620042,
235
+ "count": 10462,
236
+ "self": 214.6150079820046,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 58.54542731499646,
240
+ "count": 10462,
241
+ "self": 1.691428533994781,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 56.85399878100168,
245
+ "count": 20824,
246
+ "self": 56.85399878100168
247
+ }
248
+ }
249
+ },
250
+ "workers": {
251
+ "total": 0.13870876500311624,
252
+ "count": 10462,
253
+ "self": 0.0,
254
+ "children": {
255
+ "worker_root": {
256
+ "total": 320.45137388200556,
257
+ "count": 10462,
258
+ "is_parallel": true,
259
+ "self": 138.2943823320029,
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.0029194840000172917,
269
+ "count": 2,
270
+ "is_parallel": true,
271
+ "self": 0.0008122610001919384,
272
+ "children": {
273
+ "_process_rank_one_or_two_observation": {
274
+ "total": 0.0021072229998253533,
275
+ "count": 8,
276
+ "is_parallel": true,
277
+ "self": 0.0021072229998253533
278
+ }
279
+ }
280
+ },
281
+ "UnityEnvironment.step": {
282
+ "total": 0.052168832999996084,
283
+ "count": 1,
284
+ "is_parallel": true,
285
+ "self": 0.001014316000009785,
286
+ "children": {
287
+ "UnityEnvironment._generate_step_input": {
288
+ "total": 0.0009191980000196054,
289
+ "count": 1,
290
+ "is_parallel": true,
291
+ "self": 0.0009191980000196054
292
+ },
293
+ "communicator.exchange": {
294
+ "total": 0.046675296999978855,
295
+ "count": 1,
296
+ "is_parallel": true,
297
+ "self": 0.046675296999978855
298
+ },
299
+ "steps_from_proto": {
300
+ "total": 0.003560021999987839,
301
+ "count": 2,
302
+ "is_parallel": true,
303
+ "self": 0.0007466429998430613,
304
+ "children": {
305
+ "_process_rank_one_or_two_observation": {
306
+ "total": 0.002813379000144778,
307
+ "count": 8,
308
+ "is_parallel": true,
309
+ "self": 0.002813379000144778
310
+ }
311
+ }
312
+ }
313
+ }
314
+ }
315
+ }
316
+ },
317
+ "UnityEnvironment.step": {
318
+ "total": 182.1302039660028,
319
+ "count": 10461,
320
+ "is_parallel": true,
321
+ "self": 10.527864316006003,
322
+ "children": {
323
+ "UnityEnvironment._generate_step_input": {
324
+ "total": 7.831517604999135,
325
+ "count": 10461,
326
+ "is_parallel": true,
327
+ "self": 7.831517604999135
328
+ },
329
+ "communicator.exchange": {
330
+ "total": 129.69640073199844,
331
+ "count": 10461,
332
+ "is_parallel": true,
333
+ "self": 129.69640073199844
334
+ },
335
+ "steps_from_proto": {
336
+ "total": 34.07442131299922,
337
+ "count": 20922,
338
+ "is_parallel": true,
339
+ "self": 6.393778295001198,
340
+ "children": {
341
+ "_process_rank_one_or_two_observation": {
342
+ "total": 27.680643017998023,
343
+ "count": 83688,
344
+ "is_parallel": true,
345
+ "self": 27.680643017998023
346
+ }
347
+ }
348
+ }
349
+ }
350
+ },
351
+ "steps_from_proto": {
352
+ "total": 0.026787583999862363,
353
+ "count": 22,
354
+ "is_parallel": true,
355
+ "self": 0.005495380999605004,
356
+ "children": {
357
+ "_process_rank_one_or_two_observation": {
358
+ "total": 0.02129220300025736,
359
+ "count": 88,
360
+ "is_parallel": true,
361
+ "self": 0.02129220300025736
362
+ }
363
+ }
364
+ }
365
+ }
366
+ }
367
+ }
368
+ }
369
+ }
370
+ },
371
+ "trainer_advance": {
372
+ "total": 40.84584640399953,
373
+ "count": 10462,
374
+ "self": 1.2549678220103715,
375
+ "children": {
376
+ "process_trajectory": {
377
+ "total": 11.086779976989192,
378
+ "count": 10462,
379
+ "self": 11.086779976989192
380
+ },
381
+ "_update_policy": {
382
+ "total": 28.504098604999967,
383
+ "count": 4,
384
+ "self": 17.846634004999828,
385
+ "children": {
386
+ "TorchPOCAOptimizer.update": {
387
+ "total": 10.65746460000014,
388
+ "count": 132,
389
+ "self": 10.65746460000014
390
+ }
391
+ }
392
+ }
393
+ }
394
+ }
395
+ }
396
+ },
397
+ "trainer_threads": {
398
+ "total": 9.620000582799548e-07,
399
+ "count": 1,
400
+ "self": 9.620000582799548e-07
401
+ },
402
+ "TrainerController._save_models": {
403
+ "total": 0.2552783080000154,
404
+ "count": 1,
405
+ "self": 0.0017122189999554394,
406
+ "children": {
407
+ "RLTrainer._checkpoint": {
408
+ "total": 0.25356608900005995,
409
+ "count": 1,
410
+ "self": 0.25356608900005995
411
+ }
412
+ }
413
+ }
414
+ }
415
+ }
416
+ }
417
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1194.1380557203213,
4
+ "checkpoints": [
5
+ {
6
+ "steps": 100934,
7
+ "file_path": "results/SoccerTwos3/SoccerTwos/SoccerTwos-100934.onnx",
8
+ "reward": 0.0,
9
+ "creation_time": 1679395317.0970736,
10
+ "auxillary_file_paths": [
11
+ "results/SoccerTwos3/SoccerTwos/SoccerTwos-100934.pt"
12
+ ]
13
+ }
14
+ ],
15
+ "final_checkpoint": {
16
+ "steps": 100934,
17
+ "file_path": "results/SoccerTwos3/SoccerTwos.onnx",
18
+ "reward": 0.0,
19
+ "creation_time": 1679395317.0970736,
20
+ "auxillary_file_paths": [
21
+ "results/SoccerTwos3/SoccerTwos/SoccerTwos-100934.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
+ }