manuu01 commited on
Commit
4e011ac
1 Parent(s): e352a6c

First Push

Browse files
README.md ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: ml-agents
3
+ tags:
4
+ - SoccerTwos
5
+ - deep-reinforcement-learning
6
+ - reinforcement-learning
7
+ - ML-Agents-SoccerTwos
8
+ ---
9
+
10
+ # **poca** Agent playing **SoccerTwos**
11
+ This is a trained model of a **poca** agent playing **SoccerTwos**
12
+ using the [Unity ML-Agents Library](https://github.com/Unity-Technologies/ml-agents).
13
+
14
+ ## Usage (with ML-Agents)
15
+ The Documentation: https://unity-technologies.github.io/ml-agents/ML-Agents-Toolkit-Documentation/
16
+
17
+ We wrote a complete tutorial to learn to train your first agent using ML-Agents and publish it to the Hub:
18
+ - A *short tutorial* where you teach Huggy the Dog 🐶 to fetch the stick and then play with him directly in your
19
+ browser: https://huggingface.co/learn/deep-rl-course/unitbonus1/introduction
20
+ - A *longer tutorial* to understand how works ML-Agents:
21
+ https://huggingface.co/learn/deep-rl-course/unit5/introduction
22
+
23
+ ### Resume the training
24
+ ```bash
25
+ mlagents-learn <your_configuration_file_path.yaml> --run-id=<run_id> --resume
26
+ ```
27
+
28
+ ### Watch your Agent play
29
+ You can watch your agent **playing directly in your browser**
30
+
31
+ 1. If the environment is part of ML-Agents official environments, go to https://huggingface.co/unity
32
+ 2. Step 1: Find your model_id: manuu01/SoccerTwos
33
+ 3. Step 2: Select your *.nn /*.onnx file
34
+ 4. Click on Watch the agent play 👀
35
+
SoccerTwos.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a75d49116971c6120957d8d69dd2895dcebddf770578569091ae6725b2bb7fda
3
+ size 1764633
SoccerTwos/SoccerTwos-0.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:249eb0fc83fa9d2fbba2291639ea0c6440f8b86bbcb22c68d75b99cfffcfd51d
3
+ size 1764633
SoccerTwos/SoccerTwos-0.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ff3c1ff061693f5dd54016c5fa8d7726c57544823ca03df49a526f00998ba746
3
+ size 9478265
SoccerTwos/SoccerTwos-201906.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a75d49116971c6120957d8d69dd2895dcebddf770578569091ae6725b2bb7fda
3
+ size 1764633
SoccerTwos/SoccerTwos-201906.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:560e0fe4789a0ebba1d29760fabbc1e6803a0c46415c6a93b79f5e4e6c009b92
3
+ size 28421201
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:560e0fe4789a0ebba1d29760fabbc1e6803a0c46415c6a93b79f5e4e6c009b92
3
+ size 28421201
SoccerTwos/events.out.tfevents.1690756234.5de238aea122.11381.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4183cb46c8da25302559ef90383317dc7969f5cf8001a1757ad3c7eba694c89b
3
+ size 156532
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": 200000, "time_horizon": 1000, "summary_freq": 10000, "threaded": false, "self_play": {"save_steps": 50000, "team_change": 200000, "swap_steps": 2000, "window": 10, "play_against_latest_model_ratio": 0.5, "initial_elo": 1200.0}, "behavioral_cloning": null}}, "env_settings": {"env_path": "./training-envs-executables/SoccerTwos.x86_64", "env_args": null, "base_port": 5005, "num_envs": 1, "num_areas": 1, "seed": -1, "max_lifetime_restarts": 10, "restarts_rate_limit_n": 1, "restarts_rate_limit_period_s": 60}, "engine_settings": {"width": 84, "height": 84, "quality_level": 5, "time_scale": 20, "target_frame_rate": -1, "capture_frame_rate": 60, "no_graphics": true}, "environment_parameters": null, "checkpoint_settings": {"run_id": "SoccerTwos", "initialize_from": null, "load_model": false, "resume": false, "force": true, "train_model": false, "inference": false, "results_dir": "results"}, "torch_settings": {"device": null}, "debug": false}
configuration.yaml ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ default_settings: null
2
+ behaviors:
3
+ SoccerTwos:
4
+ trainer_type: poca
5
+ hyperparameters:
6
+ batch_size: 2048
7
+ buffer_size: 20480
8
+ learning_rate: 0.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: 200000
41
+ time_horizon: 1000
42
+ summary_freq: 10000
43
+ threaded: false
44
+ self_play:
45
+ save_steps: 50000
46
+ team_change: 200000
47
+ swap_steps: 2000
48
+ window: 10
49
+ play_against_latest_model_ratio: 0.5
50
+ initial_elo: 1200.0
51
+ behavioral_cloning: null
52
+ env_settings:
53
+ env_path: ./training-envs-executables/SoccerTwos.x86_64
54
+ env_args: null
55
+ base_port: 5005
56
+ num_envs: 1
57
+ num_areas: 1
58
+ seed: -1
59
+ max_lifetime_restarts: 10
60
+ restarts_rate_limit_n: 1
61
+ restarts_rate_limit_period_s: 60
62
+ engine_settings:
63
+ width: 84
64
+ height: 84
65
+ quality_level: 5
66
+ time_scale: 20
67
+ target_frame_rate: -1
68
+ capture_frame_rate: 60
69
+ no_graphics: true
70
+ environment_parameters: null
71
+ checkpoint_settings:
72
+ run_id: SoccerTwos
73
+ initialize_from: null
74
+ load_model: false
75
+ resume: false
76
+ force: true
77
+ train_model: false
78
+ inference: false
79
+ results_dir: results
80
+ torch_settings:
81
+ device: null
82
+ debug: false
run_logs/Player-0.log ADDED
@@ -0,0 +1,352 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ Initialize engine version: 2021.3.14f1 (eee1884e7226)
6
+ [Subsystems] Discovering subsystems at path /content/ml-agents/training-envs-executables/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:855:(parse_card) cannot find card '0'
14
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
15
+ ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
16
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
17
+ ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name
18
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
19
+ ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory
20
+ ALSA lib pcm.c:2664:(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:855:(parse_card) cannot find card '0'
24
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
25
+ ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
26
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
27
+ ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name
28
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
29
+ ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory
30
+ ALSA lib pcm.c:2664:(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.089 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.883129 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
+ TOO LONG
125
+ TOO LONG
126
+ TOO LONG
127
+ TOO LONG
128
+ TOO LONG
129
+ TOO LONG
130
+ TOO LONG
131
+ TOO LONG
132
+ TOO LONG
133
+ TOO LONG
134
+ TOO LONG
135
+ TOO LONG
136
+ TOO LONG
137
+ TOO LONG
138
+ TOO LONG
139
+ TOO LONG
140
+ TOO LONG
141
+ Setting up 1 worker threads for Enlighten.
142
+ Memory Statistics:
143
+ [ALLOC_TEMP_TLS] TLS Allocator
144
+ StackAllocators :
145
+ [ALLOC_TEMP_MAIN]
146
+ Peak usage frame count: [8.0 KB-16.0 KB]: 3870 frames, [2.0 MB-4.0 MB]: 1 frames
147
+ Initial Block Size 4.0 MB
148
+ Current Block Size 4.0 MB
149
+ Peak Allocated Bytes 2.1 MB
150
+ Overflow Count 0
151
+ [ALLOC_TEMP_Loading.AsyncRead]
152
+ Initial Block Size 64.0 KB
153
+ Current Block Size 64.0 KB
154
+ Peak Allocated Bytes 128 B
155
+ Overflow Count 0
156
+ [ALLOC_TEMP_Loading.PreloadManager]
157
+ Initial Block Size 256.0 KB
158
+ Current Block Size 300.0 KB
159
+ Peak Allocated Bytes 249.6 KB
160
+ Overflow Count 4
161
+ [ALLOC_TEMP_Background Job.Worker 8]
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_Background Job.Worker 9]
167
+ Initial Block Size 32.0 KB
168
+ Current Block Size 32.0 KB
169
+ Peak Allocated Bytes 0 B
170
+ Overflow Count 0
171
+ [ALLOC_TEMP_Job.Worker 0]
172
+ Initial Block Size 256.0 KB
173
+ Current Block Size 256.0 KB
174
+ Peak Allocated Bytes 0.7 KB
175
+ Overflow Count 0
176
+ [ALLOC_TEMP_Background Job.Worker 10]
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 14]
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 6]
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 12]
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_EnlightenWorker]
197
+ Initial Block Size 64.0 KB
198
+ Current Block Size 64.0 KB
199
+ Peak Allocated Bytes 0 B
200
+ Overflow Count 0
201
+ [ALLOC_TEMP_Background Job.Worker 15]
202
+ Initial Block Size 32.0 KB
203
+ Current Block Size 32.0 KB
204
+ Peak Allocated Bytes 0 B
205
+ Overflow Count 0
206
+ [ALLOC_TEMP_Background Job.Worker 1]
207
+ Initial Block Size 32.0 KB
208
+ Current Block Size 32.0 KB
209
+ Peak Allocated Bytes 0 B
210
+ Overflow Count 0
211
+ [ALLOC_TEMP_Background Job.Worker 2]
212
+ Initial Block Size 32.0 KB
213
+ Current Block Size 32.0 KB
214
+ Peak Allocated Bytes 0 B
215
+ Overflow Count 0
216
+ [ALLOC_TEMP_Background Job.Worker 7]
217
+ Initial Block Size 32.0 KB
218
+ Current Block Size 32.0 KB
219
+ Peak Allocated Bytes 0 B
220
+ Overflow Count 0
221
+ [ALLOC_TEMP_AssetGarbageCollectorHelper]
222
+ Initial Block Size 64.0 KB
223
+ Current Block Size 64.0 KB
224
+ Peak Allocated Bytes 0 B
225
+ Overflow Count 0
226
+ [ALLOC_TEMP_Background Job.Worker 5]
227
+ Initial Block Size 32.0 KB
228
+ Current Block Size 32.0 KB
229
+ Peak Allocated Bytes 0 B
230
+ Overflow Count 0
231
+ [ALLOC_TEMP_Background Job.Worker 13]
232
+ Initial Block Size 32.0 KB
233
+ Current Block Size 32.0 KB
234
+ Peak Allocated Bytes 0 B
235
+ Overflow Count 0
236
+ [ALLOC_TEMP_Background Job.Worker 11]
237
+ Initial Block Size 32.0 KB
238
+ Current Block Size 32.0 KB
239
+ Peak Allocated Bytes 0 B
240
+ Overflow Count 0
241
+ [ALLOC_TEMP_Background Job.Worker 3]
242
+ Initial Block Size 32.0 KB
243
+ Current Block Size 32.0 KB
244
+ Peak Allocated Bytes 0 B
245
+ Overflow Count 0
246
+ [ALLOC_TEMP_Background Job.Worker 0]
247
+ Initial Block Size 32.0 KB
248
+ Current Block Size 32.0 KB
249
+ Peak Allocated Bytes 0 B
250
+ Overflow Count 0
251
+ [ALLOC_TEMP_Background Job.Worker 4]
252
+ Initial Block Size 32.0 KB
253
+ Current Block Size 32.0 KB
254
+ Peak Allocated Bytes 0 B
255
+ Overflow Count 0
256
+ [ALLOC_TEMP_BatchDeleteObjects]
257
+ Initial Block Size 64.0 KB
258
+ Current Block Size 64.0 KB
259
+ Peak Allocated Bytes 0 B
260
+ Overflow Count 0
261
+ [ALLOC_DEFAULT] Dual Thread Allocator
262
+ Peak main deferred allocation count 4
263
+ [ALLOC_BUCKET]
264
+ Large Block size 4.0 MB
265
+ Used Block count 1
266
+ Peak Allocated bytes 1.0 MB
267
+ [ALLOC_DEFAULT_MAIN]
268
+ Peak usage frame count: [4.0 MB-8.0 MB]: 3871 frames
269
+ Requested Block Size 16.0 MB
270
+ Peak Block count 1
271
+ Peak Allocated memory 4.6 MB
272
+ Peak Large allocation bytes 0 B
273
+ [ALLOC_DEFAULT_THREAD]
274
+ Peak usage frame count: [16.0 MB-32.0 MB]: 3871 frames
275
+ Requested Block Size 16.0 MB
276
+ Peak Block count 1
277
+ Peak Allocated memory 17.6 MB
278
+ Peak Large allocation bytes 16.0 MB
279
+ [ALLOC_TEMP_JOB_1_FRAME]
280
+ Initial Block Size 2.0 MB
281
+ Used Block Count 1
282
+ Overflow Count (too large) 0
283
+ Overflow Count (full) 0
284
+ [ALLOC_TEMP_JOB_2_FRAMES]
285
+ Initial Block Size 2.0 MB
286
+ Used Block Count 1
287
+ Overflow Count (too large) 0
288
+ Overflow Count (full) 0
289
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
290
+ Initial Block Size 2.0 MB
291
+ Used Block Count 2
292
+ Overflow Count (too large) 0
293
+ Overflow Count (full) 0
294
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
295
+ Initial Block Size 1.0 MB
296
+ Used Block Count 3
297
+ Overflow Count (too large) 0
298
+ Overflow Count (full) 0
299
+ [ALLOC_GFX] Dual Thread Allocator
300
+ Peak main deferred allocation count 0
301
+ [ALLOC_BUCKET]
302
+ Large Block size 4.0 MB
303
+ Used Block count 1
304
+ Peak Allocated bytes 1.0 MB
305
+ [ALLOC_GFX_MAIN]
306
+ Peak usage frame count: [32.0 KB-64.0 KB]: 3870 frames, [64.0 KB-128.0 KB]: 1 frames
307
+ Requested Block Size 16.0 MB
308
+ Peak Block count 1
309
+ Peak Allocated memory 65.6 KB
310
+ Peak Large allocation bytes 0 B
311
+ [ALLOC_GFX_THREAD]
312
+ Peak usage frame count: [128.0 KB-256.0 KB]: 3871 frames
313
+ Requested Block Size 16.0 MB
314
+ Peak Block count 1
315
+ Peak Allocated memory 173.5 KB
316
+ Peak Large allocation bytes 0 B
317
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
318
+ Peak main deferred allocation count 0
319
+ [ALLOC_BUCKET]
320
+ Large Block size 4.0 MB
321
+ Used Block count 1
322
+ Peak Allocated bytes 1.0 MB
323
+ [ALLOC_CACHEOBJECTS_MAIN]
324
+ Peak usage frame count: [0.5 MB-1.0 MB]: 3871 frames
325
+ Requested Block Size 4.0 MB
326
+ Peak Block count 1
327
+ Peak Allocated memory 0.6 MB
328
+ Peak Large allocation bytes 0 B
329
+ [ALLOC_CACHEOBJECTS_THREAD]
330
+ Peak usage frame count: [0.5 MB-1.0 MB]: 3870 frames, [4.0 MB-8.0 MB]: 1 frames
331
+ Requested Block Size 4.0 MB
332
+ Peak Block count 2
333
+ Peak Allocated memory 4.4 MB
334
+ Peak Large allocation bytes 0 B
335
+ [ALLOC_TYPETREE] Dual Thread Allocator
336
+ Peak main deferred allocation count 0
337
+ [ALLOC_BUCKET]
338
+ Large Block size 4.0 MB
339
+ Used Block count 1
340
+ Peak Allocated bytes 1.0 MB
341
+ [ALLOC_TYPETREE_MAIN]
342
+ Peak usage frame count: [0-1.0 KB]: 3871 frames
343
+ Requested Block Size 2.0 MB
344
+ Peak Block count 1
345
+ Peak Allocated memory 1.0 KB
346
+ Peak Large allocation bytes 0 B
347
+ [ALLOC_TYPETREE_THREAD]
348
+ Peak usage frame count: [1.0 KB-2.0 KB]: 3870 frames, [2.0 KB-4.0 KB]: 1 frames
349
+ Requested Block Size 2.0 MB
350
+ Peak Block count 1
351
+ Peak Allocated memory 2.2 KB
352
+ 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.225499391555786,
6
+ "min": 3.225499391555786,
7
+ "max": 3.295750141143799,
8
+ "count": 20
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 50059.75,
12
+ "min": 39080.6796875,
13
+ "max": 105463.953125,
14
+ "count": 20
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 711.125,
18
+ "min": 480.6,
19
+ "max": 999.0,
20
+ "count": 20
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 22756.0,
24
+ "min": 9612.0,
25
+ "max": 31968.0,
26
+ "count": 20
27
+ },
28
+ "SoccerTwos.Step.mean": {
29
+ "value": 199906.0,
30
+ "min": 9000.0,
31
+ "max": 199906.0,
32
+ "count": 20
33
+ },
34
+ "SoccerTwos.Step.sum": {
35
+ "value": 199906.0,
36
+ "min": 9000.0,
37
+ "max": 199906.0,
38
+ "count": 20
39
+ },
40
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
41
+ "value": 0.006868079304695129,
42
+ "min": 0.0025794401299208403,
43
+ "max": 0.05935068428516388,
44
+ "count": 20
45
+ },
46
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
47
+ "value": 0.10302118957042694,
48
+ "min": 0.02579440176486969,
49
+ "max": 0.8902602791786194,
50
+ "count": 20
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
53
+ "value": 0.005543396808207035,
54
+ "min": 0.003897703718394041,
55
+ "max": 0.05932831019163132,
56
+ "count": 20
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
59
+ "value": 0.0831509530544281,
60
+ "min": 0.038977038115262985,
61
+ "max": 0.8898614645004272,
62
+ "count": 20
63
+ },
64
+ "SoccerTwos.Environment.CumulativeReward.mean": {
65
+ "value": 0.0,
66
+ "min": 0.0,
67
+ "max": 0.0,
68
+ "count": 20
69
+ },
70
+ "SoccerTwos.Environment.CumulativeReward.sum": {
71
+ "value": 0.0,
72
+ "min": 0.0,
73
+ "max": 0.0,
74
+ "count": 20
75
+ },
76
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
77
+ "value": -0.3805066665013631,
78
+ "min": -0.4716333324710528,
79
+ "max": 0.15730908783999356,
80
+ "count": 20
81
+ },
82
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
83
+ "value": -5.707599997520447,
84
+ "min": -5.953600000590086,
85
+ "max": 1.866799920797348,
86
+ "count": 20
87
+ },
88
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
89
+ "value": -0.3805066665013631,
90
+ "min": -0.4716333324710528,
91
+ "max": 0.15730908783999356,
92
+ "count": 20
93
+ },
94
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
95
+ "value": -5.707599997520447,
96
+ "min": -5.953600000590086,
97
+ "max": 1.866799920797348,
98
+ "count": 20
99
+ },
100
+ "SoccerTwos.IsTraining.mean": {
101
+ "value": 1.0,
102
+ "min": 1.0,
103
+ "max": 1.0,
104
+ "count": 20
105
+ },
106
+ "SoccerTwos.IsTraining.sum": {
107
+ "value": 1.0,
108
+ "min": 1.0,
109
+ "max": 1.0,
110
+ "count": 20
111
+ },
112
+ "SoccerTwos.Self-play.ELO.mean": {
113
+ "value": 1201.9106226384604,
114
+ "min": 1199.5773275140164,
115
+ "max": 1202.724322432375,
116
+ "count": 17
117
+ },
118
+ "SoccerTwos.Self-play.ELO.sum": {
119
+ "value": 9615.284981107683,
120
+ "min": 2400.3573839874066,
121
+ "max": 14394.927930168196,
122
+ "count": 17
123
+ },
124
+ "SoccerTwos.Losses.PolicyLoss.mean": {
125
+ "value": 0.01857729412149638,
126
+ "min": 0.014567442450061207,
127
+ "max": 0.020088891692770023,
128
+ "count": 9
129
+ },
130
+ "SoccerTwos.Losses.PolicyLoss.sum": {
131
+ "value": 0.01857729412149638,
132
+ "min": 0.014567442450061207,
133
+ "max": 0.020088891692770023,
134
+ "count": 9
135
+ },
136
+ "SoccerTwos.Losses.ValueLoss.mean": {
137
+ "value": 0.002594919844220082,
138
+ "min": 0.0013332608408139397,
139
+ "max": 0.0058968229762588935,
140
+ "count": 9
141
+ },
142
+ "SoccerTwos.Losses.ValueLoss.sum": {
143
+ "value": 0.002594919844220082,
144
+ "min": 0.0013332608408139397,
145
+ "max": 0.0058968229762588935,
146
+ "count": 9
147
+ },
148
+ "SoccerTwos.Losses.BaselineLoss.mean": {
149
+ "value": 0.002838954865001142,
150
+ "min": 0.0013385032245423645,
151
+ "max": 0.005983704778676231,
152
+ "count": 9
153
+ },
154
+ "SoccerTwos.Losses.BaselineLoss.sum": {
155
+ "value": 0.002838954865001142,
156
+ "min": 0.0013385032245423645,
157
+ "max": 0.005983704778676231,
158
+ "count": 9
159
+ },
160
+ "SoccerTwos.Policy.LearningRate.mean": {
161
+ "value": 0.0003,
162
+ "min": 0.0003,
163
+ "max": 0.0003,
164
+ "count": 9
165
+ },
166
+ "SoccerTwos.Policy.LearningRate.sum": {
167
+ "value": 0.0003,
168
+ "min": 0.0003,
169
+ "max": 0.0003,
170
+ "count": 9
171
+ },
172
+ "SoccerTwos.Policy.Epsilon.mean": {
173
+ "value": 0.20000000000000007,
174
+ "min": 0.20000000000000007,
175
+ "max": 0.20000000000000007,
176
+ "count": 9
177
+ },
178
+ "SoccerTwos.Policy.Epsilon.sum": {
179
+ "value": 0.20000000000000007,
180
+ "min": 0.20000000000000007,
181
+ "max": 0.20000000000000007,
182
+ "count": 9
183
+ },
184
+ "SoccerTwos.Policy.Beta.mean": {
185
+ "value": 0.005000000000000001,
186
+ "min": 0.005000000000000001,
187
+ "max": 0.005000000000000001,
188
+ "count": 9
189
+ },
190
+ "SoccerTwos.Policy.Beta.sum": {
191
+ "value": 0.005000000000000001,
192
+ "min": 0.005000000000000001,
193
+ "max": 0.005000000000000001,
194
+ "count": 9
195
+ }
196
+ },
197
+ "metadata": {
198
+ "timer_format_version": "0.1.0",
199
+ "start_time_seconds": "1690756233",
200
+ "python_version": "3.10.6 (main, May 29 2023, 11:10:38) [GCC 11.3.0]",
201
+ "command_line_arguments": "/usr/local/bin/mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos.x86_64 --run-id=SoccerTwos --no-graphics --force",
202
+ "mlagents_version": "0.31.0.dev0",
203
+ "mlagents_envs_version": "0.31.0.dev0",
204
+ "communication_protocol_version": "1.5.0",
205
+ "pytorch_version": "1.11.0+cu102",
206
+ "numpy_version": "1.21.2",
207
+ "end_time_seconds": "1690757353"
208
+ },
209
+ "total": 1120.0687148419997,
210
+ "count": 1,
211
+ "self": 0.47720929899969633,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.051612099000067246,
215
+ "count": 1,
216
+ "self": 0.051612099000067246
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 1119.539893444,
220
+ "count": 1,
221
+ "self": 0.5211385340030574,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 1.3276582359999338,
225
+ "count": 2,
226
+ "self": 1.3276582359999338
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 1117.310266320997,
230
+ "count": 13004,
231
+ "self": 0.5846488979882452,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 463.09313726402934,
235
+ "count": 13004,
236
+ "self": 385.1266148120558,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 77.64545934097714,
240
+ "count": 13004,
241
+ "self": 3.2261185269453563,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 74.41934081403178,
245
+ "count": 25804,
246
+ "self": 74.41934081403178
247
+ }
248
+ }
249
+ },
250
+ "workers": {
251
+ "total": 0.3210631109964197,
252
+ "count": 13004,
253
+ "self": 0.0,
254
+ "children": {
255
+ "worker_root": {
256
+ "total": 1113.3584529080376,
257
+ "count": 13004,
258
+ "is_parallel": true,
259
+ "self": 795.2097868370365,
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.003293229000064457,
269
+ "count": 2,
270
+ "is_parallel": true,
271
+ "self": 0.0008891030001905165,
272
+ "children": {
273
+ "_process_rank_one_or_two_observation": {
274
+ "total": 0.0024041259998739406,
275
+ "count": 8,
276
+ "is_parallel": true,
277
+ "self": 0.0024041259998739406
278
+ }
279
+ }
280
+ },
281
+ "UnityEnvironment.step": {
282
+ "total": 0.04919334899977912,
283
+ "count": 1,
284
+ "is_parallel": true,
285
+ "self": 0.00137288299993088,
286
+ "children": {
287
+ "UnityEnvironment._generate_step_input": {
288
+ "total": 0.0010131489998457255,
289
+ "count": 1,
290
+ "is_parallel": true,
291
+ "self": 0.0010131489998457255
292
+ },
293
+ "communicator.exchange": {
294
+ "total": 0.042369884999970964,
295
+ "count": 1,
296
+ "is_parallel": true,
297
+ "self": 0.042369884999970964
298
+ },
299
+ "steps_from_proto": {
300
+ "total": 0.004437432000031549,
301
+ "count": 2,
302
+ "is_parallel": true,
303
+ "self": 0.000773127999764256,
304
+ "children": {
305
+ "_process_rank_one_or_two_observation": {
306
+ "total": 0.0036643040002672933,
307
+ "count": 8,
308
+ "is_parallel": true,
309
+ "self": 0.0036643040002672933
310
+ }
311
+ }
312
+ }
313
+ }
314
+ }
315
+ }
316
+ },
317
+ "UnityEnvironment.step": {
318
+ "total": 318.1486660710011,
319
+ "count": 13003,
320
+ "is_parallel": true,
321
+ "self": 19.211716871955105,
322
+ "children": {
323
+ "UnityEnvironment._generate_step_input": {
324
+ "total": 10.209771232014646,
325
+ "count": 13003,
326
+ "is_parallel": true,
327
+ "self": 10.209771232014646
328
+ },
329
+ "communicator.exchange": {
330
+ "total": 227.49514436899062,
331
+ "count": 13003,
332
+ "is_parallel": true,
333
+ "self": 227.49514436899062
334
+ },
335
+ "steps_from_proto": {
336
+ "total": 61.23203359804074,
337
+ "count": 26006,
338
+ "is_parallel": true,
339
+ "self": 11.028131147965269,
340
+ "children": {
341
+ "_process_rank_one_or_two_observation": {
342
+ "total": 50.203902450075475,
343
+ "count": 104024,
344
+ "is_parallel": true,
345
+ "self": 50.203902450075475
346
+ }
347
+ }
348
+ }
349
+ }
350
+ }
351
+ }
352
+ }
353
+ }
354
+ }
355
+ }
356
+ },
357
+ "trainer_advance": {
358
+ "total": 653.6324801589794,
359
+ "count": 13004,
360
+ "self": 3.9507516069775193,
361
+ "children": {
362
+ "process_trajectory": {
363
+ "total": 80.739217611002,
364
+ "count": 13004,
365
+ "self": 80.739217611002
366
+ },
367
+ "_update_policy": {
368
+ "total": 568.9425109409999,
369
+ "count": 9,
370
+ "self": 51.49464241700025,
371
+ "children": {
372
+ "TorchPOCAOptimizer.update": {
373
+ "total": 517.4478685239997,
374
+ "count": 270,
375
+ "self": 517.4478685239997
376
+ }
377
+ }
378
+ }
379
+ }
380
+ }
381
+ }
382
+ },
383
+ "trainer_threads": {
384
+ "total": 1.204999989568023e-06,
385
+ "count": 1,
386
+ "self": 1.204999989568023e-06
387
+ },
388
+ "TrainerController._save_models": {
389
+ "total": 0.38082914799997525,
390
+ "count": 1,
391
+ "self": 0.0028527250001388893,
392
+ "children": {
393
+ "RLTrainer._checkpoint": {
394
+ "total": 0.37797642299983636,
395
+ "count": 1,
396
+ "self": 0.37797642299983636
397
+ }
398
+ }
399
+ }
400
+ }
401
+ }
402
+ }
403
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1201.9106226384604,
4
+ "checkpoints": [
5
+ {
6
+ "steps": 201906,
7
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-201906.onnx",
8
+ "reward": 0.0,
9
+ "creation_time": 1690757353.340331,
10
+ "auxillary_file_paths": [
11
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-201906.pt"
12
+ ]
13
+ }
14
+ ],
15
+ "final_checkpoint": {
16
+ "steps": 201906,
17
+ "file_path": "results/SoccerTwos/SoccerTwos.onnx",
18
+ "reward": 0.0,
19
+ "creation_time": 1690757353.340331,
20
+ "auxillary_file_paths": [
21
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-201906.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
+ }