taohoang commited on
Commit
ac402b4
1 Parent(s): 3c23fb5

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: taohoang/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:1887613b9fae69600f9744c4898db7656721eac4ef1d50ef45391cd2156ed221
3
+ size 1764633
SoccerTwos/SoccerTwos-100470.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1887613b9fae69600f9744c4898db7656721eac4ef1d50ef45391cd2156ed221
3
+ size 1764633
SoccerTwos/SoccerTwos-100470.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:454fc2b4eb126f68971356620609600b1bb894861fbfd836d3b437bf47dccfba
3
+ size 28421137
SoccerTwos/SoccerTwos-34944.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9565db4d50e0dbef463f52b139b5a5974a8da3ef61c0c825f71958641df9c393
3
+ size 241
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:454fc2b4eb126f68971356620609600b1bb894861fbfd836d3b437bf47dccfba
3
+ size 28421137
SoccerTwos/events.out.tfevents.1679183305.55925996e0c5.4750.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c46191443e07a97412f7a880c01256be38ff11b850dd37461c6776d91e026dc0
3
+ size 84364
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": 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/linux/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.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: 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/linux/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,313 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.150 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: 1.195044 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
+ Setting up 1 worker threads for Enlighten.
103
+ Memory Statistics:
104
+ [ALLOC_TEMP_TLS] TLS Allocator
105
+ StackAllocators :
106
+ [ALLOC_TEMP_MAIN]
107
+ Peak usage frame count: [8.0 KB-16.0 KB]: 1999 frames, [2.0 MB-4.0 MB]: 1 frames
108
+ Initial Block Size 4.0 MB
109
+ Current Block Size 4.0 MB
110
+ Peak Allocated Bytes 2.1 MB
111
+ Overflow Count 0
112
+ [ALLOC_TEMP_Loading.AsyncRead]
113
+ Initial Block Size 64.0 KB
114
+ Current Block Size 64.0 KB
115
+ Peak Allocated Bytes 128 B
116
+ Overflow Count 0
117
+ [ALLOC_TEMP_Loading.PreloadManager]
118
+ Initial Block Size 256.0 KB
119
+ Current Block Size 300.0 KB
120
+ Peak Allocated Bytes 249.6 KB
121
+ Overflow Count 4
122
+ [ALLOC_TEMP_Background Job.Worker 8]
123
+ Initial Block Size 32.0 KB
124
+ Current Block Size 32.0 KB
125
+ Peak Allocated Bytes 0 B
126
+ Overflow Count 0
127
+ [ALLOC_TEMP_Background Job.Worker 9]
128
+ Initial Block Size 32.0 KB
129
+ Current Block Size 32.0 KB
130
+ Peak Allocated Bytes 0 B
131
+ Overflow Count 0
132
+ [ALLOC_TEMP_Job.Worker 0]
133
+ Initial Block Size 256.0 KB
134
+ Current Block Size 256.0 KB
135
+ Peak Allocated Bytes 0.7 KB
136
+ Overflow Count 0
137
+ [ALLOC_TEMP_Background Job.Worker 10]
138
+ Initial Block Size 32.0 KB
139
+ Current Block Size 32.0 KB
140
+ Peak Allocated Bytes 0 B
141
+ Overflow Count 0
142
+ [ALLOC_TEMP_Background Job.Worker 14]
143
+ Initial Block Size 32.0 KB
144
+ Current Block Size 32.0 KB
145
+ Peak Allocated Bytes 0 B
146
+ Overflow Count 0
147
+ [ALLOC_TEMP_Background Job.Worker 6]
148
+ Initial Block Size 32.0 KB
149
+ Current Block Size 32.0 KB
150
+ Peak Allocated Bytes 0 B
151
+ Overflow Count 0
152
+ [ALLOC_TEMP_Background Job.Worker 12]
153
+ Initial Block Size 32.0 KB
154
+ Current Block Size 32.0 KB
155
+ Peak Allocated Bytes 0 B
156
+ Overflow Count 0
157
+ [ALLOC_TEMP_EnlightenWorker]
158
+ Initial Block Size 64.0 KB
159
+ Current Block Size 64.0 KB
160
+ Peak Allocated Bytes 0 B
161
+ Overflow Count 0
162
+ [ALLOC_TEMP_Background Job.Worker 15]
163
+ Initial Block Size 32.0 KB
164
+ Current Block Size 32.0 KB
165
+ Peak Allocated Bytes 0 B
166
+ Overflow Count 0
167
+ [ALLOC_TEMP_Background Job.Worker 1]
168
+ Initial Block Size 32.0 KB
169
+ Current Block Size 32.0 KB
170
+ Peak Allocated Bytes 0 B
171
+ Overflow Count 0
172
+ [ALLOC_TEMP_Background Job.Worker 2]
173
+ Initial Block Size 32.0 KB
174
+ Current Block Size 32.0 KB
175
+ Peak Allocated Bytes 0 B
176
+ Overflow Count 0
177
+ [ALLOC_TEMP_Background Job.Worker 7]
178
+ Initial Block Size 32.0 KB
179
+ Current Block Size 32.0 KB
180
+ Peak Allocated Bytes 0 B
181
+ Overflow Count 0
182
+ [ALLOC_TEMP_AssetGarbageCollectorHelper]
183
+ Initial Block Size 64.0 KB
184
+ Current Block Size 64.0 KB
185
+ Peak Allocated Bytes 0 B
186
+ Overflow Count 0
187
+ [ALLOC_TEMP_Background Job.Worker 5]
188
+ Initial Block Size 32.0 KB
189
+ Current Block Size 32.0 KB
190
+ Peak Allocated Bytes 0 B
191
+ Overflow Count 0
192
+ [ALLOC_TEMP_Background Job.Worker 13]
193
+ Initial Block Size 32.0 KB
194
+ Current Block Size 32.0 KB
195
+ Peak Allocated Bytes 0 B
196
+ Overflow Count 0
197
+ [ALLOC_TEMP_Background Job.Worker 11]
198
+ Initial Block Size 32.0 KB
199
+ Current Block Size 32.0 KB
200
+ Peak Allocated Bytes 0 B
201
+ Overflow Count 0
202
+ [ALLOC_TEMP_Background Job.Worker 3]
203
+ Initial Block Size 32.0 KB
204
+ Current Block Size 32.0 KB
205
+ Peak Allocated Bytes 0 B
206
+ Overflow Count 0
207
+ [ALLOC_TEMP_Background Job.Worker 0]
208
+ Initial Block Size 32.0 KB
209
+ Current Block Size 32.0 KB
210
+ Peak Allocated Bytes 0 B
211
+ Overflow Count 0
212
+ [ALLOC_TEMP_Background Job.Worker 4]
213
+ Initial Block Size 32.0 KB
214
+ Current Block Size 32.0 KB
215
+ Peak Allocated Bytes 0 B
216
+ Overflow Count 0
217
+ [ALLOC_TEMP_BatchDeleteObjects]
218
+ Initial Block Size 64.0 KB
219
+ Current Block Size 64.0 KB
220
+ Peak Allocated Bytes 0 B
221
+ Overflow Count 0
222
+ [ALLOC_DEFAULT] Dual Thread Allocator
223
+ Peak main deferred allocation count 3
224
+ [ALLOC_BUCKET]
225
+ Large Block size 4.0 MB
226
+ Used Block count 1
227
+ Peak Allocated bytes 1.0 MB
228
+ [ALLOC_DEFAULT_MAIN]
229
+ Peak usage frame count: [4.0 MB-8.0 MB]: 2000 frames
230
+ Requested Block Size 16.0 MB
231
+ Peak Block count 1
232
+ Peak Allocated memory 4.6 MB
233
+ Peak Large allocation bytes 0 B
234
+ [ALLOC_DEFAULT_THREAD]
235
+ Peak usage frame count: [16.0 MB-32.0 MB]: 2000 frames
236
+ Requested Block Size 16.0 MB
237
+ Peak Block count 1
238
+ Peak Allocated memory 17.6 MB
239
+ Peak Large allocation bytes 16.0 MB
240
+ [ALLOC_TEMP_JOB_1_FRAME]
241
+ Initial Block Size 2.0 MB
242
+ Used Block Count 1
243
+ Overflow Count (too large) 0
244
+ Overflow Count (full) 0
245
+ [ALLOC_TEMP_JOB_2_FRAMES]
246
+ Initial Block Size 2.0 MB
247
+ Used Block Count 1
248
+ Overflow Count (too large) 0
249
+ Overflow Count (full) 0
250
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
251
+ Initial Block Size 2.0 MB
252
+ Used Block Count 2
253
+ Overflow Count (too large) 0
254
+ Overflow Count (full) 0
255
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
256
+ Initial Block Size 1.0 MB
257
+ Used Block Count 3
258
+ Overflow Count (too large) 0
259
+ Overflow Count (full) 0
260
+ [ALLOC_GFX] Dual Thread Allocator
261
+ Peak main deferred allocation count 0
262
+ [ALLOC_BUCKET]
263
+ Large Block size 4.0 MB
264
+ Used Block count 1
265
+ Peak Allocated bytes 1.0 MB
266
+ [ALLOC_GFX_MAIN]
267
+ Peak usage frame count: [32.0 KB-64.0 KB]: 1999 frames, [64.0 KB-128.0 KB]: 1 frames
268
+ Requested Block Size 16.0 MB
269
+ Peak Block count 1
270
+ Peak Allocated memory 65.6 KB
271
+ Peak Large allocation bytes 0 B
272
+ [ALLOC_GFX_THREAD]
273
+ Peak usage frame count: [128.0 KB-256.0 KB]: 2000 frames
274
+ Requested Block Size 16.0 MB
275
+ Peak Block count 1
276
+ Peak Allocated memory 173.5 KB
277
+ Peak Large allocation bytes 0 B
278
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
279
+ Peak main deferred allocation count 0
280
+ [ALLOC_BUCKET]
281
+ Large Block size 4.0 MB
282
+ Used Block count 1
283
+ Peak Allocated bytes 1.0 MB
284
+ [ALLOC_CACHEOBJECTS_MAIN]
285
+ Peak usage frame count: [0.5 MB-1.0 MB]: 2000 frames
286
+ Requested Block Size 4.0 MB
287
+ Peak Block count 1
288
+ Peak Allocated memory 0.6 MB
289
+ Peak Large allocation bytes 0 B
290
+ [ALLOC_CACHEOBJECTS_THREAD]
291
+ Peak usage frame count: [0.5 MB-1.0 MB]: 1999 frames, [4.0 MB-8.0 MB]: 1 frames
292
+ Requested Block Size 4.0 MB
293
+ Peak Block count 2
294
+ Peak Allocated memory 4.1 MB
295
+ Peak Large allocation bytes 0 B
296
+ [ALLOC_TYPETREE] Dual Thread Allocator
297
+ Peak main deferred allocation count 0
298
+ [ALLOC_BUCKET]
299
+ Large Block size 4.0 MB
300
+ Used Block count 1
301
+ Peak Allocated bytes 1.0 MB
302
+ [ALLOC_TYPETREE_MAIN]
303
+ Peak usage frame count: [0-1.0 KB]: 2000 frames
304
+ Requested Block Size 2.0 MB
305
+ Peak Block count 1
306
+ Peak Allocated memory 1.0 KB
307
+ Peak Large allocation bytes 0 B
308
+ [ALLOC_TYPETREE_THREAD]
309
+ Peak usage frame count: [1.0 KB-2.0 KB]: 1999 frames, [2.0 KB-4.0 KB]: 1 frames
310
+ Requested Block Size 2.0 MB
311
+ Peak Block count 1
312
+ Peak Allocated memory 2.2 KB
313
+ 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.2742669582366943,
6
+ "min": 3.2742669582366943,
7
+ "max": 3.2957334518432617,
8
+ "count": 10
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 70724.1640625,
12
+ "min": 31687.91015625,
13
+ "max": 105463.46875,
14
+ "count": 10
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 769.0,
18
+ "min": 511.2857142857143,
19
+ "max": 999.0,
20
+ "count": 10
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 18456.0,
24
+ "min": 13296.0,
25
+ "max": 26752.0,
26
+ "count": 10
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1196.1531254110819,
30
+ "min": 1194.8489699455254,
31
+ "max": 1198.7535925691843,
32
+ "count": 9
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 4784.6125016443275,
36
+ "min": 2390.1285157180587,
37
+ "max": 14353.995970830434,
38
+ "count": 9
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 99470.0,
42
+ "min": 9392.0,
43
+ "max": 99470.0,
44
+ "count": 10
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 99470.0,
48
+ "min": 9392.0,
49
+ "max": 99470.0,
50
+ "count": 10
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": 0.02711886540055275,
54
+ "min": 0.026341447606682777,
55
+ "max": 0.07637666165828705,
56
+ "count": 10
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": 0.35254526138305664,
60
+ "min": 0.3221576511859894,
61
+ "max": 1.2220265865325928,
62
+ "count": 10
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": 0.028054507449269295,
66
+ "min": 0.024852896109223366,
67
+ "max": 0.07641187310218811,
68
+ "count": 10
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": 0.3647086024284363,
72
+ "min": 0.3166077733039856,
73
+ "max": 1.2225899696350098,
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.07027692061204177,
90
+ "min": -0.3333333333333333,
91
+ "max": 0.10254545645280318,
92
+ "count": 10
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": -0.913599967956543,
96
+ "min": -4.0,
97
+ "max": 1.128000020980835,
98
+ "count": 10
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": -0.07027692061204177,
102
+ "min": -0.3333333333333333,
103
+ "max": 0.10254545645280318,
104
+ "count": 10
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": -0.913599967956543,
108
+ "min": -4.0,
109
+ "max": 1.128000020980835,
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.018664041239147385,
126
+ "min": 0.01638758342790728,
127
+ "max": 0.019611839847074763,
128
+ "count": 4
129
+ },
130
+ "SoccerTwos.Losses.PolicyLoss.sum": {
131
+ "value": 0.018664041239147385,
132
+ "min": 0.01638758342790728,
133
+ "max": 0.019611839847074763,
134
+ "count": 4
135
+ },
136
+ "SoccerTwos.Losses.ValueLoss.mean": {
137
+ "value": 0.0016870414430741221,
138
+ "min": 0.0003547371425983411,
139
+ "max": 0.006974872729430596,
140
+ "count": 4
141
+ },
142
+ "SoccerTwos.Losses.ValueLoss.sum": {
143
+ "value": 0.0016870414430741221,
144
+ "min": 0.0003547371425983411,
145
+ "max": 0.006974872729430596,
146
+ "count": 4
147
+ },
148
+ "SoccerTwos.Losses.BaselineLoss.mean": {
149
+ "value": 0.0017082204828814914,
150
+ "min": 0.0003368156564344342,
151
+ "max": 0.006454419515406092,
152
+ "count": 4
153
+ },
154
+ "SoccerTwos.Losses.BaselineLoss.sum": {
155
+ "value": 0.0017082204828814914,
156
+ "min": 0.0003368156564344342,
157
+ "max": 0.006454419515406092,
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": "1679183301",
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.x86_64 --force --run-id=SoccerTwos --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": "1679183878"
208
+ },
209
+ "total": 577.3796814949999,
210
+ "count": 1,
211
+ "self": 0.5908887079999658,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.23541098400005467,
215
+ "count": 1,
216
+ "self": 0.23541098400005467
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 576.5533818029999,
220
+ "count": 1,
221
+ "self": 0.2583465830093701,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 4.048359729999902,
225
+ "count": 1,
226
+ "self": 4.048359729999902
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 571.9471983179906,
230
+ "count": 6698,
231
+ "self": 0.3294751819823887,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 237.9910622950017,
235
+ "count": 6698,
236
+ "self": 194.1527566540069,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 43.66683541899806,
240
+ "count": 6698,
241
+ "self": 2.1031760379812567,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 41.563659381016805,
245
+ "count": 13330,
246
+ "self": 41.563659381016805
247
+ }
248
+ }
249
+ },
250
+ "workers": {
251
+ "total": 0.1714702219967421,
252
+ "count": 6698,
253
+ "self": 0.0,
254
+ "children": {
255
+ "worker_root": {
256
+ "total": 574.9202399819994,
257
+ "count": 6698,
258
+ "is_parallel": true,
259
+ "self": 413.53883929999733,
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.003467670999953043,
269
+ "count": 2,
270
+ "is_parallel": true,
271
+ "self": 0.0009530439999707596,
272
+ "children": {
273
+ "_process_rank_one_or_two_observation": {
274
+ "total": 0.0025146269999822835,
275
+ "count": 8,
276
+ "is_parallel": true,
277
+ "self": 0.0025146269999822835
278
+ }
279
+ }
280
+ },
281
+ "UnityEnvironment.step": {
282
+ "total": 0.048476614000037443,
283
+ "count": 1,
284
+ "is_parallel": true,
285
+ "self": 0.001243397000052937,
286
+ "children": {
287
+ "UnityEnvironment._generate_step_input": {
288
+ "total": 0.000938368999868544,
289
+ "count": 1,
290
+ "is_parallel": true,
291
+ "self": 0.000938368999868544
292
+ },
293
+ "communicator.exchange": {
294
+ "total": 0.0423584480001864,
295
+ "count": 1,
296
+ "is_parallel": true,
297
+ "self": 0.0423584480001864
298
+ },
299
+ "steps_from_proto": {
300
+ "total": 0.003936399999929563,
301
+ "count": 2,
302
+ "is_parallel": true,
303
+ "self": 0.0007509889996981656,
304
+ "children": {
305
+ "_process_rank_one_or_two_observation": {
306
+ "total": 0.0031854110002313973,
307
+ "count": 8,
308
+ "is_parallel": true,
309
+ "self": 0.0031854110002313973
310
+ }
311
+ }
312
+ }
313
+ }
314
+ }
315
+ }
316
+ },
317
+ "UnityEnvironment.step": {
318
+ "total": 161.3814006820021,
319
+ "count": 6697,
320
+ "is_parallel": true,
321
+ "self": 8.919849462980665,
322
+ "children": {
323
+ "UnityEnvironment._generate_step_input": {
324
+ "total": 5.479749618011738,
325
+ "count": 6697,
326
+ "is_parallel": true,
327
+ "self": 5.479749618011738
328
+ },
329
+ "communicator.exchange": {
330
+ "total": 118.77992843600305,
331
+ "count": 6697,
332
+ "is_parallel": true,
333
+ "self": 118.77992843600305
334
+ },
335
+ "steps_from_proto": {
336
+ "total": 28.201873165006646,
337
+ "count": 13394,
338
+ "is_parallel": true,
339
+ "self": 5.430200891993991,
340
+ "children": {
341
+ "_process_rank_one_or_two_observation": {
342
+ "total": 22.771672273012655,
343
+ "count": 53576,
344
+ "is_parallel": true,
345
+ "self": 22.771672273012655
346
+ }
347
+ }
348
+ }
349
+ }
350
+ }
351
+ }
352
+ }
353
+ }
354
+ }
355
+ }
356
+ },
357
+ "trainer_advance": {
358
+ "total": 333.62666084100647,
359
+ "count": 6698,
360
+ "self": 2.1063119210039076,
361
+ "children": {
362
+ "process_trajectory": {
363
+ "total": 43.91635050900254,
364
+ "count": 6698,
365
+ "self": 43.91635050900254
366
+ },
367
+ "_update_policy": {
368
+ "total": 287.603998411,
369
+ "count": 4,
370
+ "self": 21.843839609997985,
371
+ "children": {
372
+ "TorchPOCAOptimizer.update": {
373
+ "total": 265.76015880100204,
374
+ "count": 123,
375
+ "self": 265.76015880100204
376
+ }
377
+ }
378
+ }
379
+ }
380
+ }
381
+ }
382
+ },
383
+ "trainer_threads": {
384
+ "total": 1.76799994733301e-06,
385
+ "count": 1,
386
+ "self": 1.76799994733301e-06
387
+ },
388
+ "TrainerController._save_models": {
389
+ "total": 0.2994754040000771,
390
+ "count": 1,
391
+ "self": 0.0025718780000261177,
392
+ "children": {
393
+ "RLTrainer._checkpoint": {
394
+ "total": 0.296903526000051,
395
+ "count": 1,
396
+ "self": 0.296903526000051
397
+ }
398
+ }
399
+ }
400
+ }
401
+ }
402
+ }
403
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1196.1531254110819,
4
+ "checkpoints": [
5
+ {
6
+ "steps": 100470,
7
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-100470.onnx",
8
+ "reward": 0.0,
9
+ "creation_time": 1679183878.311996,
10
+ "auxillary_file_paths": [
11
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-100470.pt"
12
+ ]
13
+ }
14
+ ],
15
+ "final_checkpoint": {
16
+ "steps": 100470,
17
+ "file_path": "results/SoccerTwos/SoccerTwos.onnx",
18
+ "reward": 0.0,
19
+ "creation_time": 1679183878.311996,
20
+ "auxillary_file_paths": [
21
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-100470.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
+ }