felixdae commited on
Commit
97eb276
1 Parent(s): d725663

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: felixdae/poca-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:a33abf63337f2ed65dd7e39237a8b2c4e25b2d5e182933577c9d174e30b9bf69
3
+ size 1764633
SoccerTwos/SoccerTwos-51926.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a33abf63337f2ed65dd7e39237a8b2c4e25b2d5e182933577c9d174e30b9bf69
3
+ size 1764633
SoccerTwos/SoccerTwos-51926.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a239fb80d7d4091d1581183ede1c9e245c99bd3a13abe3882dab5f8d6f9c91aa
3
+ size 28421137
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a239fb80d7d4091d1581183ede1c9e245c99bd3a13abe3882dab5f8d6f9c91aa
3
+ size 28421137
SoccerTwos/events.out.tfevents.1686748283.d37089838a3f.5113.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd41c4a5a4593e73246a2f315ea41138dc9cf341b7ced645846bb36070cd882d
3
+ size 47407
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.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": false, "train_model": false, "inference": false, "results_dir": "results"}, "torch_settings": {"device": null}, "debug": false}
configuration.yaml ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ default_settings: null
2
+ behaviors:
3
+ SoccerTwos:
4
+ trainer_type: poca
5
+ hyperparameters:
6
+ batch_size: 2048
7
+ buffer_size: 20480
8
+ learning_rate: 0.0003
9
+ beta: 0.005
10
+ epsilon: 0.2
11
+ lambd: 0.95
12
+ num_epoch: 3
13
+ learning_rate_schedule: constant
14
+ beta_schedule: constant
15
+ epsilon_schedule: constant
16
+ checkpoint_interval: 500000
17
+ network_settings:
18
+ normalize: false
19
+ hidden_units: 512
20
+ num_layers: 2
21
+ vis_encode_type: simple
22
+ memory: null
23
+ goal_conditioning_type: hyper
24
+ deterministic: false
25
+ reward_signals:
26
+ extrinsic:
27
+ gamma: 0.99
28
+ strength: 1.0
29
+ network_settings:
30
+ normalize: false
31
+ hidden_units: 128
32
+ num_layers: 2
33
+ vis_encode_type: simple
34
+ memory: null
35
+ goal_conditioning_type: hyper
36
+ deterministic: false
37
+ init_path: null
38
+ keep_checkpoints: 5
39
+ even_checkpoints: false
40
+ max_steps: 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.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: false
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,294 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/content/drive/MyDrive/ml-agents/training-envs-executables/SoccerTwos_Data/Managed'
2
+ Mono config path = '/content/drive/MyDrive/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/drive/MyDrive/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: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.719 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.110830 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
+ Setting up 1 worker threads for Enlighten.
84
+ Memory Statistics:
85
+ [ALLOC_TEMP_TLS] TLS Allocator
86
+ StackAllocators :
87
+ [ALLOC_TEMP_MAIN]
88
+ Peak usage frame count: [8.0 KB-16.0 KB]: 1153 frames, [2.0 MB-4.0 MB]: 1 frames
89
+ Initial Block Size 4.0 MB
90
+ Current Block Size 4.0 MB
91
+ Peak Allocated Bytes 2.1 MB
92
+ Overflow Count 0
93
+ [ALLOC_TEMP_Loading.AsyncRead]
94
+ Initial Block Size 64.0 KB
95
+ Current Block Size 64.0 KB
96
+ Peak Allocated Bytes 128 B
97
+ Overflow Count 0
98
+ [ALLOC_TEMP_Loading.PreloadManager]
99
+ Initial Block Size 256.0 KB
100
+ Current Block Size 300.0 KB
101
+ Peak Allocated Bytes 249.6 KB
102
+ Overflow Count 4
103
+ [ALLOC_TEMP_Background Job.Worker 8]
104
+ Initial Block Size 32.0 KB
105
+ Current Block Size 32.0 KB
106
+ Peak Allocated Bytes 0 B
107
+ Overflow Count 0
108
+ [ALLOC_TEMP_Background Job.Worker 9]
109
+ Initial Block Size 32.0 KB
110
+ Current Block Size 32.0 KB
111
+ Peak Allocated Bytes 0 B
112
+ Overflow Count 0
113
+ [ALLOC_TEMP_Job.Worker 0]
114
+ Initial Block Size 256.0 KB
115
+ Current Block Size 256.0 KB
116
+ Peak Allocated Bytes 0.7 KB
117
+ Overflow Count 0
118
+ [ALLOC_TEMP_Background Job.Worker 10]
119
+ Initial Block Size 32.0 KB
120
+ Current Block Size 32.0 KB
121
+ Peak Allocated Bytes 0 B
122
+ Overflow Count 0
123
+ [ALLOC_TEMP_Background Job.Worker 14]
124
+ Initial Block Size 32.0 KB
125
+ Current Block Size 32.0 KB
126
+ Peak Allocated Bytes 0 B
127
+ Overflow Count 0
128
+ [ALLOC_TEMP_Background Job.Worker 6]
129
+ Initial Block Size 32.0 KB
130
+ Current Block Size 32.0 KB
131
+ Peak Allocated Bytes 0 B
132
+ Overflow Count 0
133
+ [ALLOC_TEMP_Background Job.Worker 12]
134
+ Initial Block Size 32.0 KB
135
+ Current Block Size 32.0 KB
136
+ Peak Allocated Bytes 0 B
137
+ Overflow Count 0
138
+ [ALLOC_TEMP_EnlightenWorker]
139
+ Initial Block Size 64.0 KB
140
+ Current Block Size 64.0 KB
141
+ Peak Allocated Bytes 0 B
142
+ Overflow Count 0
143
+ [ALLOC_TEMP_Background Job.Worker 15]
144
+ Initial Block Size 32.0 KB
145
+ Current Block Size 32.0 KB
146
+ Peak Allocated Bytes 0 B
147
+ Overflow Count 0
148
+ [ALLOC_TEMP_Background Job.Worker 1]
149
+ Initial Block Size 32.0 KB
150
+ Current Block Size 32.0 KB
151
+ Peak Allocated Bytes 0 B
152
+ Overflow Count 0
153
+ [ALLOC_TEMP_Background Job.Worker 2]
154
+ Initial Block Size 32.0 KB
155
+ Current Block Size 32.0 KB
156
+ Peak Allocated Bytes 0 B
157
+ Overflow Count 0
158
+ [ALLOC_TEMP_Background Job.Worker 7]
159
+ Initial Block Size 32.0 KB
160
+ Current Block Size 32.0 KB
161
+ Peak Allocated Bytes 0 B
162
+ Overflow Count 0
163
+ [ALLOC_TEMP_AssetGarbageCollectorHelper]
164
+ Initial Block Size 64.0 KB
165
+ Current Block Size 64.0 KB
166
+ Peak Allocated Bytes 0 B
167
+ Overflow Count 0
168
+ [ALLOC_TEMP_Background Job.Worker 5]
169
+ Initial Block Size 32.0 KB
170
+ Current Block Size 32.0 KB
171
+ Peak Allocated Bytes 0 B
172
+ Overflow Count 0
173
+ [ALLOC_TEMP_Background Job.Worker 13]
174
+ Initial Block Size 32.0 KB
175
+ Current Block Size 32.0 KB
176
+ Peak Allocated Bytes 0 B
177
+ Overflow Count 0
178
+ [ALLOC_TEMP_Background Job.Worker 11]
179
+ Initial Block Size 32.0 KB
180
+ Current Block Size 32.0 KB
181
+ Peak Allocated Bytes 0 B
182
+ Overflow Count 0
183
+ [ALLOC_TEMP_Background Job.Worker 3]
184
+ Initial Block Size 32.0 KB
185
+ Current Block Size 32.0 KB
186
+ Peak Allocated Bytes 0 B
187
+ Overflow Count 0
188
+ [ALLOC_TEMP_Background Job.Worker 0]
189
+ Initial Block Size 32.0 KB
190
+ Current Block Size 32.0 KB
191
+ Peak Allocated Bytes 0 B
192
+ Overflow Count 0
193
+ [ALLOC_TEMP_Background Job.Worker 4]
194
+ Initial Block Size 32.0 KB
195
+ Current Block Size 32.0 KB
196
+ Peak Allocated Bytes 0 B
197
+ Overflow Count 0
198
+ [ALLOC_TEMP_BatchDeleteObjects]
199
+ Initial Block Size 64.0 KB
200
+ Current Block Size 64.0 KB
201
+ Peak Allocated Bytes 0 B
202
+ Overflow Count 0
203
+ [ALLOC_DEFAULT] Dual Thread Allocator
204
+ Peak main deferred allocation count 2
205
+ [ALLOC_BUCKET]
206
+ Large Block size 4.0 MB
207
+ Used Block count 1
208
+ Peak Allocated bytes 1.0 MB
209
+ [ALLOC_DEFAULT_MAIN]
210
+ Peak usage frame count: [4.0 MB-8.0 MB]: 1154 frames
211
+ Requested Block Size 16.0 MB
212
+ Peak Block count 1
213
+ Peak Allocated memory 4.7 MB
214
+ Peak Large allocation bytes 0 B
215
+ [ALLOC_DEFAULT_THREAD]
216
+ Peak usage frame count: [16.0 MB-32.0 MB]: 1154 frames
217
+ Requested Block Size 16.0 MB
218
+ Peak Block count 1
219
+ Peak Allocated memory 17.5 MB
220
+ Peak Large allocation bytes 16.0 MB
221
+ [ALLOC_TEMP_JOB_1_FRAME]
222
+ Initial Block Size 2.0 MB
223
+ Used Block Count 1
224
+ Overflow Count (too large) 0
225
+ Overflow Count (full) 0
226
+ [ALLOC_TEMP_JOB_2_FRAMES]
227
+ Initial Block Size 2.0 MB
228
+ Used Block Count 1
229
+ Overflow Count (too large) 0
230
+ Overflow Count (full) 0
231
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
232
+ Initial Block Size 2.0 MB
233
+ Used Block Count 2
234
+ Overflow Count (too large) 0
235
+ Overflow Count (full) 0
236
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
237
+ Initial Block Size 1.0 MB
238
+ Used Block Count 3
239
+ Overflow Count (too large) 0
240
+ Overflow Count (full) 0
241
+ [ALLOC_GFX] Dual Thread Allocator
242
+ Peak main deferred allocation count 0
243
+ [ALLOC_BUCKET]
244
+ Large Block size 4.0 MB
245
+ Used Block count 1
246
+ Peak Allocated bytes 1.0 MB
247
+ [ALLOC_GFX_MAIN]
248
+ Peak usage frame count: [32.0 KB-64.0 KB]: 1153 frames, [64.0 KB-128.0 KB]: 1 frames
249
+ Requested Block Size 16.0 MB
250
+ Peak Block count 1
251
+ Peak Allocated memory 65.6 KB
252
+ Peak Large allocation bytes 0 B
253
+ [ALLOC_GFX_THREAD]
254
+ Peak usage frame count: [128.0 KB-256.0 KB]: 1154 frames
255
+ Requested Block Size 16.0 MB
256
+ Peak Block count 1
257
+ Peak Allocated memory 173.5 KB
258
+ Peak Large allocation bytes 0 B
259
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
260
+ Peak main deferred allocation count 0
261
+ [ALLOC_BUCKET]
262
+ Large Block size 4.0 MB
263
+ Used Block count 1
264
+ Peak Allocated bytes 1.0 MB
265
+ [ALLOC_CACHEOBJECTS_MAIN]
266
+ Peak usage frame count: [0.5 MB-1.0 MB]: 1154 frames
267
+ Requested Block Size 4.0 MB
268
+ Peak Block count 1
269
+ Peak Allocated memory 0.6 MB
270
+ Peak Large allocation bytes 0 B
271
+ [ALLOC_CACHEOBJECTS_THREAD]
272
+ Peak usage frame count: [0.5 MB-1.0 MB]: 1153 frames, [2.0 MB-4.0 MB]: 1 frames
273
+ Requested Block Size 4.0 MB
274
+ Peak Block count 1
275
+ Peak Allocated memory 4.0 MB
276
+ Peak Large allocation bytes 0 B
277
+ [ALLOC_TYPETREE] Dual Thread Allocator
278
+ Peak main deferred allocation count 0
279
+ [ALLOC_BUCKET]
280
+ Large Block size 4.0 MB
281
+ Used Block count 1
282
+ Peak Allocated bytes 1.0 MB
283
+ [ALLOC_TYPETREE_MAIN]
284
+ Peak usage frame count: [0-1.0 KB]: 1154 frames
285
+ Requested Block Size 2.0 MB
286
+ Peak Block count 1
287
+ Peak Allocated memory 1.0 KB
288
+ Peak Large allocation bytes 0 B
289
+ [ALLOC_TYPETREE_THREAD]
290
+ Peak usage frame count: [1.0 KB-2.0 KB]: 1153 frames, [2.0 KB-4.0 KB]: 1 frames
291
+ Requested Block Size 2.0 MB
292
+ Peak Block count 1
293
+ Peak Allocated memory 2.2 KB
294
+ 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.28265643119812,
6
+ "min": 3.28265643119812,
7
+ "max": 3.295696258544922,
8
+ "count": 5
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 88763.03125,
12
+ "min": 29053.037109375,
13
+ "max": 105462.21875,
14
+ "count": 5
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 754.6666666666666,
18
+ "min": 668.3333333333334,
19
+ "max": 820.1666666666666,
20
+ "count": 5
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 18112.0,
24
+ "min": 16040.0,
25
+ "max": 25180.0,
26
+ "count": 5
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1198.3874877821277,
30
+ "min": 1198.0911687838272,
31
+ "max": 1201.004267761486,
32
+ "count": 5
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 4793.549951128511,
36
+ "min": 4793.549951128511,
37
+ "max": 9608.034142091888,
38
+ "count": 5
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 49926.0,
42
+ "min": 9608.0,
43
+ "max": 49926.0,
44
+ "count": 5
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 49926.0,
48
+ "min": 9608.0,
49
+ "max": 49926.0,
50
+ "count": 5
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": 0.06536506116390228,
54
+ "min": 0.06536506116390228,
55
+ "max": 0.10138500481843948,
56
+ "count": 5
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": 0.8497458100318909,
60
+ "min": 0.8497458100318909,
61
+ "max": 1.5207037925720215,
62
+ "count": 5
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": 0.06429646909236908,
66
+ "min": 0.06429646909236908,
67
+ "max": 0.10138337314128876,
68
+ "count": 5
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": 0.8358541131019592,
72
+ "min": 0.8358541131019592,
73
+ "max": 1.520679235458374,
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.04378461837768555,
90
+ "min": -0.25,
91
+ "max": -0.04378461837768555,
92
+ "count": 5
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": -0.5692000389099121,
96
+ "min": -3.0648000240325928,
97
+ "max": -0.5692000389099121,
98
+ "count": 5
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": -0.04378461837768555,
102
+ "min": -0.25,
103
+ "max": -0.04378461837768555,
104
+ "count": 5
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": -0.5692000389099121,
108
+ "min": -3.0648000240325928,
109
+ "max": -0.5692000389099121,
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.018575048559190083,
126
+ "min": 0.018208359370085723,
127
+ "max": 0.018575048559190083,
128
+ "count": 2
129
+ },
130
+ "SoccerTwos.Losses.PolicyLoss.sum": {
131
+ "value": 0.018575048559190083,
132
+ "min": 0.018208359370085723,
133
+ "max": 0.018575048559190083,
134
+ "count": 2
135
+ },
136
+ "SoccerTwos.Losses.ValueLoss.mean": {
137
+ "value": 0.004095277213491499,
138
+ "min": 0.004095277213491499,
139
+ "max": 0.005249080806970596,
140
+ "count": 2
141
+ },
142
+ "SoccerTwos.Losses.ValueLoss.sum": {
143
+ "value": 0.004095277213491499,
144
+ "min": 0.004095277213491499,
145
+ "max": 0.005249080806970596,
146
+ "count": 2
147
+ },
148
+ "SoccerTwos.Losses.BaselineLoss.mean": {
149
+ "value": 0.0041288621801262105,
150
+ "min": 0.0041288621801262105,
151
+ "max": 0.004664750932715833,
152
+ "count": 2
153
+ },
154
+ "SoccerTwos.Losses.BaselineLoss.sum": {
155
+ "value": 0.0041288621801262105,
156
+ "min": 0.0041288621801262105,
157
+ "max": 0.004664750932715833,
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": "1686748280",
200
+ "python_version": "3.10.12 (main, Jun 7 2023, 12:45:35) [GCC 9.4.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",
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": "1686748587"
208
+ },
209
+ "total": 306.415053358,
210
+ "count": 1,
211
+ "self": 1.121778402000018,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.0938294400000359,
215
+ "count": 1,
216
+ "self": 0.0938294400000359
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 305.19944551599997,
220
+ "count": 1,
221
+ "self": 0.15516480800101817,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 2.553870785000072,
225
+ "count": 1,
226
+ "self": 2.553870785000072
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 301.9086998829989,
230
+ "count": 3860,
231
+ "self": 0.16292576999762787,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 135.97904770200284,
235
+ "count": 3860,
236
+ "self": 111.68265270400366,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 24.206270759996187,
240
+ "count": 3860,
241
+ "self": 0.9830231650059886,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 23.223247594990198,
245
+ "count": 7690,
246
+ "self": 23.223247594990198
247
+ }
248
+ }
249
+ },
250
+ "workers": {
251
+ "total": 0.09012423800299985,
252
+ "count": 3860,
253
+ "self": 0.0,
254
+ "children": {
255
+ "worker_root": {
256
+ "total": 302.3054157560109,
257
+ "count": 3860,
258
+ "is_parallel": true,
259
+ "self": 209.07813883900644,
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.004979842000011558,
269
+ "count": 2,
270
+ "is_parallel": true,
271
+ "self": 0.001133596999807196,
272
+ "children": {
273
+ "_process_rank_one_or_two_observation": {
274
+ "total": 0.0038462450002043624,
275
+ "count": 8,
276
+ "is_parallel": true,
277
+ "self": 0.0038462450002043624
278
+ }
279
+ }
280
+ },
281
+ "UnityEnvironment.step": {
282
+ "total": 0.07906042300010085,
283
+ "count": 1,
284
+ "is_parallel": true,
285
+ "self": 0.0013764720001745445,
286
+ "children": {
287
+ "UnityEnvironment._generate_step_input": {
288
+ "total": 0.0010573090000889351,
289
+ "count": 1,
290
+ "is_parallel": true,
291
+ "self": 0.0010573090000889351
292
+ },
293
+ "communicator.exchange": {
294
+ "total": 0.07225851399994099,
295
+ "count": 1,
296
+ "is_parallel": true,
297
+ "self": 0.07225851399994099
298
+ },
299
+ "steps_from_proto": {
300
+ "total": 0.004368127999896387,
301
+ "count": 2,
302
+ "is_parallel": true,
303
+ "self": 0.0008362700000361656,
304
+ "children": {
305
+ "_process_rank_one_or_two_observation": {
306
+ "total": 0.0035318579998602218,
307
+ "count": 8,
308
+ "is_parallel": true,
309
+ "self": 0.0035318579998602218
310
+ }
311
+ }
312
+ }
313
+ }
314
+ }
315
+ }
316
+ },
317
+ "UnityEnvironment.step": {
318
+ "total": 93.22727691700447,
319
+ "count": 3859,
320
+ "is_parallel": true,
321
+ "self": 5.486070685996538,
322
+ "children": {
323
+ "UnityEnvironment._generate_step_input": {
324
+ "total": 2.933011493001686,
325
+ "count": 3859,
326
+ "is_parallel": true,
327
+ "self": 2.933011493001686
328
+ },
329
+ "communicator.exchange": {
330
+ "total": 67.80359328600025,
331
+ "count": 3859,
332
+ "is_parallel": true,
333
+ "self": 67.80359328600025
334
+ },
335
+ "steps_from_proto": {
336
+ "total": 17.004601452006,
337
+ "count": 7718,
338
+ "is_parallel": true,
339
+ "self": 3.028566120012556,
340
+ "children": {
341
+ "_process_rank_one_or_two_observation": {
342
+ "total": 13.976035331993444,
343
+ "count": 30872,
344
+ "is_parallel": true,
345
+ "self": 13.976035331993444
346
+ }
347
+ }
348
+ }
349
+ }
350
+ }
351
+ }
352
+ }
353
+ }
354
+ }
355
+ }
356
+ },
357
+ "trainer_advance": {
358
+ "total": 165.76672641099844,
359
+ "count": 3860,
360
+ "self": 0.9075624519957728,
361
+ "children": {
362
+ "process_trajectory": {
363
+ "total": 22.190596382002468,
364
+ "count": 3860,
365
+ "self": 22.190596382002468
366
+ },
367
+ "_update_policy": {
368
+ "total": 142.6685675770002,
369
+ "count": 2,
370
+ "self": 10.168901357000323,
371
+ "children": {
372
+ "TorchPOCAOptimizer.update": {
373
+ "total": 132.49966621999988,
374
+ "count": 60,
375
+ "self": 132.49966621999988
376
+ }
377
+ }
378
+ }
379
+ }
380
+ }
381
+ }
382
+ },
383
+ "trainer_threads": {
384
+ "total": 1.6999999843392288e-06,
385
+ "count": 1,
386
+ "self": 1.6999999843392288e-06
387
+ },
388
+ "TrainerController._save_models": {
389
+ "total": 0.5817083399999774,
390
+ "count": 1,
391
+ "self": 0.01770135299989306,
392
+ "children": {
393
+ "RLTrainer._checkpoint": {
394
+ "total": 0.5640069870000843,
395
+ "count": 1,
396
+ "self": 0.5640069870000843
397
+ }
398
+ }
399
+ }
400
+ }
401
+ }
402
+ }
403
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1199.0185606756888,
4
+ "checkpoints": [
5
+ {
6
+ "steps": 51926,
7
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-51926.onnx",
8
+ "reward": 0.0,
9
+ "creation_time": 1686748585.8895307,
10
+ "auxillary_file_paths": [
11
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-51926.pt"
12
+ ]
13
+ }
14
+ ],
15
+ "final_checkpoint": {
16
+ "steps": 51926,
17
+ "file_path": "results/SoccerTwos/SoccerTwos.onnx",
18
+ "reward": 0.0,
19
+ "creation_time": 1686748585.8895307,
20
+ "auxillary_file_paths": [
21
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-51926.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
+ }