apparition commited on
Commit
86ba694
1 Parent(s): ffe1fd4

First Push

Browse files
README.md ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ tags:
4
+ - unity-ml-agents
5
+ - ml-agents
6
+ - deep-reinforcement-learning
7
+ - reinforcement-learning
8
+ - ML-Agents-SoccerTwos
9
+ library_name: ml-agents
10
+ ---
11
+
12
+ # **poca** Agent playing **SoccerTwos**
13
+ This is a trained model of a **poca** agent playing **SoccerTwos** using the [Unity ML-Agents Library](https://github.com/Unity-Technologies/ml-agents).
14
+
15
+ ## Usage (with ML-Agents)
16
+ The Documentation: https://github.com/huggingface/ml-agents#get-started
17
+ We wrote a complete tutorial to learn to train your first agent using ML-Agents and publish it to the Hub:
18
+
19
+
20
+ ### Resume the training
21
+ ```
22
+ mlagents-learn <your_configuration_file_path.yaml> --run-id=<run_id> --resume
23
+ ```
24
+ ### Watch your Agent play
25
+ You can watch your agent **playing directly in your browser:**.
26
+
27
+ 1. Go to https://huggingface.co/spaces/unity/ML-Agents-SoccerTwos
28
+ 2. Step 1: Write your model_id: apparition/poca-SoccerTwos
29
+ 3. Step 2: Select your *.nn /*.onnx file
30
+ 4. Click on Watch the agent play 👀
31
+
SoccerTwos.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dce28696ab135c09b5e0afe2819abf17e845997f355f3ac6a145bd4d6429fa2f
3
+ size 1764633
SoccerTwos/SoccerTwos-51628.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dce28696ab135c09b5e0afe2819abf17e845997f355f3ac6a145bd4d6429fa2f
3
+ size 1764633
SoccerTwos/SoccerTwos-51628.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:006e0f881a1c1cf98976a4b412a5c9e56d6502d2c124c5df4ef3cfdc52131030
3
+ size 28421137
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:006e0f881a1c1cf98976a4b412a5c9e56d6502d2c124c5df4ef3cfdc52131030
3
+ size 28421137
SoccerTwos/events.out.tfevents.1679416969.409177e8ae80.8596.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70c1bf608ac9e2d1a9dc2b50b5f46779cfeacbedc659f47e0c471281c2ca6bd6
3
+ size 37869
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": 50000, "time_horizon": 1000, "summary_freq": 10000, "threaded": false, "self_play": {"save_steps": 50000, "team_change": 200000, "swap_steps": 2000, "window": 10, "play_against_latest_model_ratio": 0.5, "initial_elo": 1200.0}, "behavioral_cloning": null}}, "env_settings": {"env_path": "./training-envs-executables/SoccerTwos.exe", "env_args": null, "base_port": 5005, "num_envs": 1, "num_areas": 1, "seed": -1, "max_lifetime_restarts": 10, "restarts_rate_limit_n": 1, "restarts_rate_limit_period_s": 60}, "engine_settings": {"width": 84, "height": 84, "quality_level": 5, "time_scale": 20, "target_frame_rate": -1, "capture_frame_rate": 60, "no_graphics": true}, "environment_parameters": null, "checkpoint_settings": {"run_id": "SoccerTwos", "initialize_from": null, "load_model": false, "resume": 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.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: 50000
41
+ time_horizon: 1000
42
+ summary_freq: 10000
43
+ threaded: false
44
+ self_play:
45
+ save_steps: 50000
46
+ team_change: 200000
47
+ swap_steps: 2000
48
+ window: 10
49
+ play_against_latest_model_ratio: 0.5
50
+ initial_elo: 1200.0
51
+ behavioral_cloning: null
52
+ env_settings:
53
+ env_path: ./training-envs-executables/SoccerTwos.exe
54
+ env_args: null
55
+ base_port: 5005
56
+ num_envs: 1
57
+ num_areas: 1
58
+ seed: -1
59
+ max_lifetime_restarts: 10
60
+ restarts_rate_limit_n: 1
61
+ restarts_rate_limit_period_s: 60
62
+ engine_settings:
63
+ width: 84
64
+ height: 84
65
+ quality_level: 5
66
+ time_scale: 20
67
+ target_frame_rate: -1
68
+ capture_frame_rate: 60
69
+ no_graphics: true
70
+ environment_parameters: null
71
+ checkpoint_settings:
72
+ run_id: SoccerTwos
73
+ initialize_from: null
74
+ load_model: false
75
+ resume: 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,297 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.129 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.165120 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
+ Setting up 1 worker threads for Enlighten.
87
+ Memory Statistics:
88
+ [ALLOC_TEMP_TLS] TLS Allocator
89
+ StackAllocators :
90
+ [ALLOC_TEMP_MAIN]
91
+ Peak usage frame count: [8.0 KB-16.0 KB]: 1082 frames, [2.0 MB-4.0 MB]: 1 frames
92
+ Initial Block Size 4.0 MB
93
+ Current Block Size 4.0 MB
94
+ Peak Allocated Bytes 2.1 MB
95
+ Overflow Count 0
96
+ [ALLOC_TEMP_Loading.AsyncRead]
97
+ Initial Block Size 64.0 KB
98
+ Current Block Size 64.0 KB
99
+ Peak Allocated Bytes 128 B
100
+ Overflow Count 0
101
+ [ALLOC_TEMP_Loading.PreloadManager]
102
+ Initial Block Size 256.0 KB
103
+ Current Block Size 300.0 KB
104
+ Peak Allocated Bytes 249.6 KB
105
+ Overflow Count 4
106
+ [ALLOC_TEMP_Background Job.Worker 8]
107
+ Initial Block Size 32.0 KB
108
+ Current Block Size 32.0 KB
109
+ Peak Allocated Bytes 0 B
110
+ Overflow Count 0
111
+ [ALLOC_TEMP_Background Job.Worker 9]
112
+ Initial Block Size 32.0 KB
113
+ Current Block Size 32.0 KB
114
+ Peak Allocated Bytes 0 B
115
+ Overflow Count 0
116
+ [ALLOC_TEMP_Job.Worker 0]
117
+ Initial Block Size 256.0 KB
118
+ Current Block Size 256.0 KB
119
+ Peak Allocated Bytes 0.7 KB
120
+ Overflow Count 0
121
+ [ALLOC_TEMP_Background Job.Worker 10]
122
+ Initial Block Size 32.0 KB
123
+ Current Block Size 32.0 KB
124
+ Peak Allocated Bytes 0 B
125
+ Overflow Count 0
126
+ [ALLOC_TEMP_Background Job.Worker 14]
127
+ Initial Block Size 32.0 KB
128
+ Current Block Size 32.0 KB
129
+ Peak Allocated Bytes 0 B
130
+ Overflow Count 0
131
+ [ALLOC_TEMP_Background Job.Worker 6]
132
+ Initial Block Size 32.0 KB
133
+ Current Block Size 32.0 KB
134
+ Peak Allocated Bytes 0 B
135
+ Overflow Count 0
136
+ [ALLOC_TEMP_Background Job.Worker 12]
137
+ Initial Block Size 32.0 KB
138
+ Current Block Size 32.0 KB
139
+ Peak Allocated Bytes 0 B
140
+ Overflow Count 0
141
+ [ALLOC_TEMP_EnlightenWorker]
142
+ Initial Block Size 64.0 KB
143
+ Current Block Size 64.0 KB
144
+ Peak Allocated Bytes 0 B
145
+ Overflow Count 0
146
+ [ALLOC_TEMP_Background Job.Worker 15]
147
+ Initial Block Size 32.0 KB
148
+ Current Block Size 32.0 KB
149
+ Peak Allocated Bytes 0 B
150
+ Overflow Count 0
151
+ [ALLOC_TEMP_Background Job.Worker 1]
152
+ Initial Block Size 32.0 KB
153
+ Current Block Size 32.0 KB
154
+ Peak Allocated Bytes 0 B
155
+ Overflow Count 0
156
+ [ALLOC_TEMP_Background Job.Worker 2]
157
+ Initial Block Size 32.0 KB
158
+ Current Block Size 32.0 KB
159
+ Peak Allocated Bytes 0 B
160
+ Overflow Count 0
161
+ [ALLOC_TEMP_Background Job.Worker 7]
162
+ Initial Block Size 32.0 KB
163
+ Current Block Size 32.0 KB
164
+ Peak Allocated Bytes 0 B
165
+ Overflow Count 0
166
+ [ALLOC_TEMP_AssetGarbageCollectorHelper]
167
+ Initial Block Size 64.0 KB
168
+ Current Block Size 64.0 KB
169
+ Peak Allocated Bytes 0 B
170
+ Overflow Count 0
171
+ [ALLOC_TEMP_Background Job.Worker 5]
172
+ Initial Block Size 32.0 KB
173
+ Current Block Size 32.0 KB
174
+ Peak Allocated Bytes 0 B
175
+ Overflow Count 0
176
+ [ALLOC_TEMP_Background Job.Worker 13]
177
+ Initial Block Size 32.0 KB
178
+ Current Block Size 32.0 KB
179
+ Peak Allocated Bytes 0 B
180
+ Overflow Count 0
181
+ [ALLOC_TEMP_Background Job.Worker 11]
182
+ Initial Block Size 32.0 KB
183
+ Current Block Size 32.0 KB
184
+ Peak Allocated Bytes 0 B
185
+ Overflow Count 0
186
+ [ALLOC_TEMP_Background Job.Worker 3]
187
+ Initial Block Size 32.0 KB
188
+ Current Block Size 32.0 KB
189
+ Peak Allocated Bytes 0 B
190
+ Overflow Count 0
191
+ [ALLOC_TEMP_Background Job.Worker 0]
192
+ Initial Block Size 32.0 KB
193
+ Current Block Size 32.0 KB
194
+ Peak Allocated Bytes 0 B
195
+ Overflow Count 0
196
+ [ALLOC_TEMP_Background Job.Worker 4]
197
+ Initial Block Size 32.0 KB
198
+ Current Block Size 32.0 KB
199
+ Peak Allocated Bytes 0 B
200
+ Overflow Count 0
201
+ [ALLOC_TEMP_BatchDeleteObjects]
202
+ Initial Block Size 64.0 KB
203
+ Current Block Size 64.0 KB
204
+ Peak Allocated Bytes 0 B
205
+ Overflow Count 0
206
+ [ALLOC_DEFAULT] Dual Thread Allocator
207
+ Peak main deferred allocation count 4
208
+ [ALLOC_BUCKET]
209
+ Large Block size 4.0 MB
210
+ Used Block count 1
211
+ Peak Allocated bytes 1.0 MB
212
+ [ALLOC_DEFAULT_MAIN]
213
+ Peak usage frame count: [4.0 MB-8.0 MB]: 1083 frames
214
+ Requested Block Size 16.0 MB
215
+ Peak Block count 1
216
+ Peak Allocated memory 4.8 MB
217
+ Peak Large allocation bytes 0 B
218
+ [ALLOC_DEFAULT_THREAD]
219
+ Peak usage frame count: [16.0 MB-32.0 MB]: 1083 frames
220
+ Requested Block Size 16.0 MB
221
+ Peak Block count 1
222
+ Peak Allocated memory 17.4 MB
223
+ Peak Large allocation bytes 16.0 MB
224
+ [ALLOC_TEMP_JOB_1_FRAME]
225
+ Initial Block Size 2.0 MB
226
+ Used Block Count 1
227
+ Overflow Count (too large) 0
228
+ Overflow Count (full) 0
229
+ [ALLOC_TEMP_JOB_2_FRAMES]
230
+ Initial Block Size 2.0 MB
231
+ Used Block Count 1
232
+ Overflow Count (too large) 0
233
+ Overflow Count (full) 0
234
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
235
+ Initial Block Size 2.0 MB
236
+ Used Block Count 2
237
+ Overflow Count (too large) 0
238
+ Overflow Count (full) 0
239
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
240
+ Initial Block Size 1.0 MB
241
+ Used Block Count 3
242
+ Overflow Count (too large) 0
243
+ Overflow Count (full) 0
244
+ [ALLOC_GFX] Dual Thread Allocator
245
+ Peak main deferred allocation count 0
246
+ [ALLOC_BUCKET]
247
+ Large Block size 4.0 MB
248
+ Used Block count 1
249
+ Peak Allocated bytes 1.0 MB
250
+ [ALLOC_GFX_MAIN]
251
+ Peak usage frame count: [32.0 KB-64.0 KB]: 1082 frames, [64.0 KB-128.0 KB]: 1 frames
252
+ Requested Block Size 16.0 MB
253
+ Peak Block count 1
254
+ Peak Allocated memory 65.6 KB
255
+ Peak Large allocation bytes 0 B
256
+ [ALLOC_GFX_THREAD]
257
+ Peak usage frame count: [128.0 KB-256.0 KB]: 1083 frames
258
+ Requested Block Size 16.0 MB
259
+ Peak Block count 1
260
+ Peak Allocated memory 173.5 KB
261
+ Peak Large allocation bytes 0 B
262
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
263
+ Peak main deferred allocation count 0
264
+ [ALLOC_BUCKET]
265
+ Large Block size 4.0 MB
266
+ Used Block count 1
267
+ Peak Allocated bytes 1.0 MB
268
+ [ALLOC_CACHEOBJECTS_MAIN]
269
+ Peak usage frame count: [0.5 MB-1.0 MB]: 1083 frames
270
+ Requested Block Size 4.0 MB
271
+ Peak Block count 1
272
+ Peak Allocated memory 0.6 MB
273
+ Peak Large allocation bytes 0 B
274
+ [ALLOC_CACHEOBJECTS_THREAD]
275
+ Peak usage frame count: [0.5 MB-1.0 MB]: 1082 frames, [2.0 MB-4.0 MB]: 1 frames
276
+ Requested Block Size 4.0 MB
277
+ Peak Block count 1
278
+ Peak Allocated memory 4.0 MB
279
+ Peak Large allocation bytes 0 B
280
+ [ALLOC_TYPETREE] Dual Thread Allocator
281
+ Peak main deferred allocation count 0
282
+ [ALLOC_BUCKET]
283
+ Large Block size 4.0 MB
284
+ Used Block count 1
285
+ Peak Allocated bytes 1.0 MB
286
+ [ALLOC_TYPETREE_MAIN]
287
+ Peak usage frame count: [0-1.0 KB]: 1083 frames
288
+ Requested Block Size 2.0 MB
289
+ Peak Block count 1
290
+ Peak Allocated memory 1.0 KB
291
+ Peak Large allocation bytes 0 B
292
+ [ALLOC_TYPETREE_THREAD]
293
+ Peak usage frame count: [1.0 KB-2.0 KB]: 1082 frames, [2.0 KB-4.0 KB]: 1 frames
294
+ Requested Block Size 2.0 MB
295
+ Peak Block count 1
296
+ Peak Allocated memory 2.2 KB
297
+ 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.2867507934570312,
6
+ "min": 3.286717653274536,
7
+ "max": 3.2956528663635254,
8
+ "count": 5
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 64157.375,
12
+ "min": 63598.8203125,
13
+ "max": 105460.8359375,
14
+ "count": 5
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 845.5,
18
+ "min": 653.2,
19
+ "max": 972.6666666666666,
20
+ "count": 5
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 20292.0,
24
+ "min": 13924.0,
25
+ "max": 26128.0,
26
+ "count": 5
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1195.2911039792994,
30
+ "min": 1195.2911039792994,
31
+ "max": 1200.497099838728,
32
+ "count": 5
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 2390.5822079585987,
36
+ "min": 2390.5822079585987,
37
+ "max": 14405.965198064736,
38
+ "count": 5
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 49628.0,
42
+ "min": 9084.0,
43
+ "max": 49628.0,
44
+ "count": 5
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 49628.0,
48
+ "min": 9084.0,
49
+ "max": 49628.0,
50
+ "count": 5
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": 0.06615050137042999,
54
+ "min": 0.06615050137042999,
55
+ "max": 0.10133739560842514,
56
+ "count": 5
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": 0.7938060164451599,
60
+ "min": 0.7582424283027649,
61
+ "max": 1.6213983297348022,
62
+ "count": 5
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": 0.06496536731719971,
66
+ "min": 0.06496536731719971,
67
+ "max": 0.10128480195999146,
68
+ "count": 5
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": 0.7795844078063965,
72
+ "min": 0.7298100590705872,
73
+ "max": 1.6205568313598633,
74
+ "count": 5
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 5
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 5
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": -0.16666666666666666,
90
+ "min": -0.3076923076923077,
91
+ "max": -0.16666666666666666,
92
+ "count": 5
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": -2.0,
96
+ "min": -4.0,
97
+ "max": -1.8940000012516975,
98
+ "count": 5
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": -0.16666666666666666,
102
+ "min": -0.3076923076923077,
103
+ "max": -0.16666666666666666,
104
+ "count": 5
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": -2.0,
108
+ "min": -4.0,
109
+ "max": -1.8940000012516975,
110
+ "count": 5
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 5
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 5
123
+ },
124
+ "SoccerTwos.Losses.PolicyLoss.mean": {
125
+ "value": 0.015222550839340935,
126
+ "min": 0.01130231903322662,
127
+ "max": 0.015222550839340935,
128
+ "count": 2
129
+ },
130
+ "SoccerTwos.Losses.PolicyLoss.sum": {
131
+ "value": 0.015222550839340935,
132
+ "min": 0.01130231903322662,
133
+ "max": 0.015222550839340935,
134
+ "count": 2
135
+ },
136
+ "SoccerTwos.Losses.ValueLoss.mean": {
137
+ "value": 0.0017739237460773437,
138
+ "min": 0.0017739237460773437,
139
+ "max": 0.006430736517844101,
140
+ "count": 2
141
+ },
142
+ "SoccerTwos.Losses.ValueLoss.sum": {
143
+ "value": 0.0017739237460773437,
144
+ "min": 0.0017739237460773437,
145
+ "max": 0.006430736517844101,
146
+ "count": 2
147
+ },
148
+ "SoccerTwos.Losses.BaselineLoss.mean": {
149
+ "value": 0.0017728412485060593,
150
+ "min": 0.0017728412485060593,
151
+ "max": 0.005638662360919019,
152
+ "count": 2
153
+ },
154
+ "SoccerTwos.Losses.BaselineLoss.sum": {
155
+ "value": 0.0017728412485060593,
156
+ "min": 0.0017728412485060593,
157
+ "max": 0.005638662360919019,
158
+ "count": 2
159
+ },
160
+ "SoccerTwos.Policy.LearningRate.mean": {
161
+ "value": 0.0003,
162
+ "min": 0.0003,
163
+ "max": 0.0003,
164
+ "count": 2
165
+ },
166
+ "SoccerTwos.Policy.LearningRate.sum": {
167
+ "value": 0.0003,
168
+ "min": 0.0003,
169
+ "max": 0.0003,
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": "1679416958",
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/SoccerTwos.exe --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": "1679417279"
208
+ },
209
+ "total": 320.812294804,
210
+ "count": 1,
211
+ "self": 1.0449198539999998,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.1406077730000561,
215
+ "count": 1,
216
+ "self": 0.1406077730000561
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 319.6267671769999,
220
+ "count": 1,
221
+ "self": 0.15545836600017537,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 10.630838487999881,
225
+ "count": 1,
226
+ "self": 10.630838487999881
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 308.385234397,
230
+ "count": 3627,
231
+ "self": 0.19214212199835856,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 136.2689243730058,
235
+ "count": 3627,
236
+ "self": 111.91844336299846,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 24.24822809999887,
240
+ "count": 3627,
241
+ "self": 1.0706967819960482,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 23.17753131800282,
245
+ "count": 7220,
246
+ "self": 23.17753131800282
247
+ }
248
+ }
249
+ },
250
+ "workers": {
251
+ "total": 0.10225291000847392,
252
+ "count": 3627,
253
+ "self": 0.0,
254
+ "children": {
255
+ "worker_root": {
256
+ "total": 317.695632085994,
257
+ "count": 3627,
258
+ "is_parallel": true,
259
+ "self": 225.45025146798912,
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.00881127499997092,
269
+ "count": 2,
270
+ "is_parallel": true,
271
+ "self": 0.005338160000064818,
272
+ "children": {
273
+ "_process_rank_one_or_two_observation": {
274
+ "total": 0.0034731149999061017,
275
+ "count": 8,
276
+ "is_parallel": true,
277
+ "self": 0.0034731149999061017
278
+ }
279
+ }
280
+ },
281
+ "UnityEnvironment.step": {
282
+ "total": 0.08322841199992581,
283
+ "count": 1,
284
+ "is_parallel": true,
285
+ "self": 0.0015843449998556025,
286
+ "children": {
287
+ "UnityEnvironment._generate_step_input": {
288
+ "total": 0.0009076329999970767,
289
+ "count": 1,
290
+ "is_parallel": true,
291
+ "self": 0.0009076329999970767
292
+ },
293
+ "communicator.exchange": {
294
+ "total": 0.07629013099995063,
295
+ "count": 1,
296
+ "is_parallel": true,
297
+ "self": 0.07629013099995063
298
+ },
299
+ "steps_from_proto": {
300
+ "total": 0.004446303000122498,
301
+ "count": 2,
302
+ "is_parallel": true,
303
+ "self": 0.000992060999806199,
304
+ "children": {
305
+ "_process_rank_one_or_two_observation": {
306
+ "total": 0.003454242000316299,
307
+ "count": 8,
308
+ "is_parallel": true,
309
+ "self": 0.003454242000316299
310
+ }
311
+ }
312
+ }
313
+ }
314
+ }
315
+ }
316
+ },
317
+ "UnityEnvironment.step": {
318
+ "total": 92.2453806180049,
319
+ "count": 3626,
320
+ "is_parallel": true,
321
+ "self": 4.974470857020833,
322
+ "children": {
323
+ "UnityEnvironment._generate_step_input": {
324
+ "total": 3.1934302070012563,
325
+ "count": 3626,
326
+ "is_parallel": true,
327
+ "self": 3.1934302070012563
328
+ },
329
+ "communicator.exchange": {
330
+ "total": 68.39499235399194,
331
+ "count": 3626,
332
+ "is_parallel": true,
333
+ "self": 68.39499235399194
334
+ },
335
+ "steps_from_proto": {
336
+ "total": 15.682487199990874,
337
+ "count": 7252,
338
+ "is_parallel": true,
339
+ "self": 2.9972495250101474,
340
+ "children": {
341
+ "_process_rank_one_or_two_observation": {
342
+ "total": 12.685237674980726,
343
+ "count": 29008,
344
+ "is_parallel": true,
345
+ "self": 12.685237674980726
346
+ }
347
+ }
348
+ }
349
+ }
350
+ }
351
+ }
352
+ }
353
+ }
354
+ }
355
+ }
356
+ },
357
+ "trainer_advance": {
358
+ "total": 171.92416790199582,
359
+ "count": 3627,
360
+ "self": 1.1638402219962245,
361
+ "children": {
362
+ "process_trajectory": {
363
+ "total": 25.115763017999598,
364
+ "count": 3627,
365
+ "self": 25.115763017999598
366
+ },
367
+ "_update_policy": {
368
+ "total": 145.644564662,
369
+ "count": 2,
370
+ "self": 12.822151679998342,
371
+ "children": {
372
+ "TorchPOCAOptimizer.update": {
373
+ "total": 132.82241298200165,
374
+ "count": 60,
375
+ "self": 132.82241298200165
376
+ }
377
+ }
378
+ }
379
+ }
380
+ }
381
+ }
382
+ },
383
+ "trainer_threads": {
384
+ "total": 1.6199999208765803e-06,
385
+ "count": 1,
386
+ "self": 1.6199999208765803e-06
387
+ },
388
+ "TrainerController._save_models": {
389
+ "total": 0.4552343059999657,
390
+ "count": 1,
391
+ "self": 0.0032505839999430464,
392
+ "children": {
393
+ "RLTrainer._checkpoint": {
394
+ "total": 0.4519837220000227,
395
+ "count": 1,
396
+ "self": 0.4519837220000227
397
+ }
398
+ }
399
+ }
400
+ }
401
+ }
402
+ }
403
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1195.0475286774652,
4
+ "checkpoints": [
5
+ {
6
+ "steps": 51628,
7
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-51628.onnx",
8
+ "reward": 0.0,
9
+ "creation_time": 1679417278.4803798,
10
+ "auxillary_file_paths": [
11
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-51628.pt"
12
+ ]
13
+ }
14
+ ],
15
+ "final_checkpoint": {
16
+ "steps": 51628,
17
+ "file_path": "results/SoccerTwos/SoccerTwos.onnx",
18
+ "reward": 0.0,
19
+ "creation_time": 1679417278.4803798,
20
+ "auxillary_file_paths": [
21
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-51628.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
+ }