wooii commited on
Commit
38b61b1
1 Parent(s): 55f162f

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: wooii/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:7ef49469ed18d6548a6c83904295dde2b5e41b96e3d076723cf58fa5a0f23481
3
+ size 1764633
SoccerTwos/SoccerTwos-0.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3ed52ce51b7d1dd7e4833af0e48bc5bd356a9e2a24d0e3704c4d8467aca2bdf4
3
+ size 1764633
SoccerTwos/SoccerTwos-0.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bbabfb21f4c495ac330326d48d3acb84fa671848c22c39521692d88996b74997
3
+ size 9478713
SoccerTwos/SoccerTwos-113942.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7ef49469ed18d6548a6c83904295dde2b5e41b96e3d076723cf58fa5a0f23481
3
+ size 1764633
SoccerTwos/SoccerTwos-113942.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:04f8e0b5508256d7afd9eac6b0988ca9e1173d39e0bca02c7d57ac0d94189545
3
+ size 28422417
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:04f8e0b5508256d7afd9eac6b0988ca9e1173d39e0bca02c7d57ac0d94189545
3
+ size 28422417
SoccerTwos/events.out.tfevents.1696464408.956e92140979.10188.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:da56eaf18a5d59597446647bd9ff32ed273ae486d716dc56569e043ccd254024
3
+ size 1240
SoccerTwos/events.out.tfevents.1696464488.956e92140979.10583.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bd16c5ef3ff2924e972a9f97beb0333aa4259f9a02b566a2c9e6d21178171a2a
3
+ size 70697
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": 5000000, "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": true, "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: 5000000
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: true
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,319 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: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.138 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.912218 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
+ Setting up 1 worker threads for Enlighten.
109
+ Memory Statistics:
110
+ [ALLOC_TEMP_TLS] TLS Allocator
111
+ StackAllocators :
112
+ [ALLOC_TEMP_MAIN]
113
+ Peak usage frame count: [8.0 KB-16.0 KB]: 2284 frames, [2.0 MB-4.0 MB]: 1 frames
114
+ Initial Block Size 4.0 MB
115
+ Current Block Size 4.0 MB
116
+ Peak Allocated Bytes 2.1 MB
117
+ Overflow Count 0
118
+ [ALLOC_TEMP_Loading.AsyncRead]
119
+ Initial Block Size 64.0 KB
120
+ Current Block Size 64.0 KB
121
+ Peak Allocated Bytes 128 B
122
+ Overflow Count 0
123
+ [ALLOC_TEMP_Loading.PreloadManager]
124
+ Initial Block Size 256.0 KB
125
+ Current Block Size 300.0 KB
126
+ Peak Allocated Bytes 249.6 KB
127
+ Overflow Count 4
128
+ [ALLOC_TEMP_Background Job.Worker 8]
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 9]
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_Job.Worker 0]
139
+ Initial Block Size 256.0 KB
140
+ Current Block Size 256.0 KB
141
+ Peak Allocated Bytes 0.7 KB
142
+ Overflow Count 0
143
+ [ALLOC_TEMP_Background Job.Worker 10]
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 14]
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 6]
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 12]
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_EnlightenWorker]
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 15]
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 1]
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 2]
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 7]
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_AssetGarbageCollectorHelper]
189
+ Initial Block Size 64.0 KB
190
+ Current Block Size 64.0 KB
191
+ Peak Allocated Bytes 0 B
192
+ Overflow Count 0
193
+ [ALLOC_TEMP_Background Job.Worker 5]
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_Background Job.Worker 13]
199
+ Initial Block Size 32.0 KB
200
+ Current Block Size 32.0 KB
201
+ Peak Allocated Bytes 0 B
202
+ Overflow Count 0
203
+ [ALLOC_TEMP_Background Job.Worker 11]
204
+ Initial Block Size 32.0 KB
205
+ Current Block Size 32.0 KB
206
+ Peak Allocated Bytes 0 B
207
+ Overflow Count 0
208
+ [ALLOC_TEMP_Background Job.Worker 3]
209
+ Initial Block Size 32.0 KB
210
+ Current Block Size 32.0 KB
211
+ Peak Allocated Bytes 0 B
212
+ Overflow Count 0
213
+ [ALLOC_TEMP_Background Job.Worker 0]
214
+ Initial Block Size 32.0 KB
215
+ Current Block Size 32.0 KB
216
+ Peak Allocated Bytes 0 B
217
+ Overflow Count 0
218
+ [ALLOC_TEMP_Background Job.Worker 4]
219
+ Initial Block Size 32.0 KB
220
+ Current Block Size 32.0 KB
221
+ Peak Allocated Bytes 0 B
222
+ Overflow Count 0
223
+ [ALLOC_TEMP_BatchDeleteObjects]
224
+ Initial Block Size 64.0 KB
225
+ Current Block Size 64.0 KB
226
+ Peak Allocated Bytes 0 B
227
+ Overflow Count 0
228
+ [ALLOC_DEFAULT] Dual Thread Allocator
229
+ Peak main deferred allocation count 2
230
+ [ALLOC_BUCKET]
231
+ Large Block size 4.0 MB
232
+ Used Block count 1
233
+ Peak Allocated bytes 1.0 MB
234
+ [ALLOC_DEFAULT_MAIN]
235
+ Peak usage frame count: [4.0 MB-8.0 MB]: 2285 frames
236
+ Requested Block Size 16.0 MB
237
+ Peak Block count 1
238
+ Peak Allocated memory 4.6 MB
239
+ Peak Large allocation bytes 0 B
240
+ [ALLOC_DEFAULT_THREAD]
241
+ Peak usage frame count: [16.0 MB-32.0 MB]: 2285 frames
242
+ Requested Block Size 16.0 MB
243
+ Peak Block count 1
244
+ Peak Allocated memory 17.5 MB
245
+ Peak Large allocation bytes 16.0 MB
246
+ [ALLOC_TEMP_JOB_1_FRAME]
247
+ Initial Block Size 2.0 MB
248
+ Used Block Count 1
249
+ Overflow Count (too large) 0
250
+ Overflow Count (full) 0
251
+ [ALLOC_TEMP_JOB_2_FRAMES]
252
+ Initial Block Size 2.0 MB
253
+ Used Block Count 1
254
+ Overflow Count (too large) 0
255
+ Overflow Count (full) 0
256
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
257
+ Initial Block Size 2.0 MB
258
+ Used Block Count 2
259
+ Overflow Count (too large) 0
260
+ Overflow Count (full) 0
261
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
262
+ Initial Block Size 1.0 MB
263
+ Used Block Count 3
264
+ Overflow Count (too large) 0
265
+ Overflow Count (full) 0
266
+ [ALLOC_GFX] Dual Thread Allocator
267
+ Peak main deferred allocation count 0
268
+ [ALLOC_BUCKET]
269
+ Large Block size 4.0 MB
270
+ Used Block count 1
271
+ Peak Allocated bytes 1.0 MB
272
+ [ALLOC_GFX_MAIN]
273
+ Peak usage frame count: [32.0 KB-64.0 KB]: 2284 frames, [64.0 KB-128.0 KB]: 1 frames
274
+ Requested Block Size 16.0 MB
275
+ Peak Block count 1
276
+ Peak Allocated memory 65.6 KB
277
+ Peak Large allocation bytes 0 B
278
+ [ALLOC_GFX_THREAD]
279
+ Peak usage frame count: [128.0 KB-256.0 KB]: 2285 frames
280
+ Requested Block Size 16.0 MB
281
+ Peak Block count 1
282
+ Peak Allocated memory 173.5 KB
283
+ Peak Large allocation bytes 0 B
284
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
285
+ Peak main deferred allocation count 0
286
+ [ALLOC_BUCKET]
287
+ Large Block size 4.0 MB
288
+ Used Block count 1
289
+ Peak Allocated bytes 1.0 MB
290
+ [ALLOC_CACHEOBJECTS_MAIN]
291
+ Peak usage frame count: [0.5 MB-1.0 MB]: 2285 frames
292
+ Requested Block Size 4.0 MB
293
+ Peak Block count 1
294
+ Peak Allocated memory 0.6 MB
295
+ Peak Large allocation bytes 0 B
296
+ [ALLOC_CACHEOBJECTS_THREAD]
297
+ Peak usage frame count: [0.5 MB-1.0 MB]: 2284 frames, [4.0 MB-8.0 MB]: 1 frames
298
+ Requested Block Size 4.0 MB
299
+ Peak Block count 2
300
+ Peak Allocated memory 4.5 MB
301
+ Peak Large allocation bytes 0 B
302
+ [ALLOC_TYPETREE] Dual Thread Allocator
303
+ Peak main deferred allocation count 0
304
+ [ALLOC_BUCKET]
305
+ Large Block size 4.0 MB
306
+ Used Block count 1
307
+ Peak Allocated bytes 1.0 MB
308
+ [ALLOC_TYPETREE_MAIN]
309
+ Peak usage frame count: [0-1.0 KB]: 2285 frames
310
+ Requested Block Size 2.0 MB
311
+ Peak Block count 1
312
+ Peak Allocated memory 1.0 KB
313
+ Peak Large allocation bytes 0 B
314
+ [ALLOC_TYPETREE_THREAD]
315
+ Peak usage frame count: [1.0 KB-2.0 KB]: 2284 frames, [2.0 KB-4.0 KB]: 1 frames
316
+ Requested Block Size 2.0 MB
317
+ Peak Block count 1
318
+ Peak Allocated memory 2.2 KB
319
+ 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.262528419494629,
6
+ "min": 3.2605533599853516,
7
+ "max": 3.2957570552825928,
8
+ "count": 10
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 85713.1484375,
12
+ "min": 56525.40625,
13
+ "max": 105464.2265625,
14
+ "count": 10
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 955.1666666666666,
18
+ "min": 725.75,
19
+ "max": 999.0,
20
+ "count": 10
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 22924.0,
24
+ "min": 11612.0,
25
+ "max": 34420.0,
26
+ "count": 10
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1197.0072363675908,
30
+ "min": 1197.0072363675908,
31
+ "max": 1200.9985608882907,
32
+ "count": 9
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 2394.0144727351817,
36
+ "min": 2394.0144727351817,
37
+ "max": 12009.985608882907,
38
+ "count": 9
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 109942.0,
42
+ "min": 9362.0,
43
+ "max": 109942.0,
44
+ "count": 11
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 109942.0,
48
+ "min": 9362.0,
49
+ "max": 109942.0,
50
+ "count": 11
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": -0.04465598985552788,
54
+ "min": -0.09821174293756485,
55
+ "max": -0.04465598985552788,
56
+ "count": 11
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": -0.49121588468551636,
60
+ "min": -1.1457091569900513,
61
+ "max": -0.49121588468551636,
62
+ "count": 11
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": -0.04344077780842781,
66
+ "min": -0.09818785637617111,
67
+ "max": -0.04344077780842781,
68
+ "count": 11
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": -0.4778485596179962,
72
+ "min": -1.152965784072876,
73
+ "max": -0.4778485596179962,
74
+ "count": 11
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 11
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 11
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": -0.18181818181818182,
90
+ "min": -0.2047333319981893,
91
+ "max": 0.14905454895713113,
92
+ "count": 11
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": -2.0,
96
+ "min": -2.4567999839782715,
97
+ "max": 1.8715999722480774,
98
+ "count": 11
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": -0.18181818181818182,
102
+ "min": -0.2047333319981893,
103
+ "max": 0.14905454895713113,
104
+ "count": 11
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": -2.0,
108
+ "min": -2.4567999839782715,
109
+ "max": 1.8715999722480774,
110
+ "count": 11
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 11
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 11
123
+ },
124
+ "SoccerTwos.Losses.PolicyLoss.mean": {
125
+ "value": 0.01618911502882838,
126
+ "min": 0.015956137783359737,
127
+ "max": 0.01700695825404384,
128
+ "count": 4
129
+ },
130
+ "SoccerTwos.Losses.PolicyLoss.sum": {
131
+ "value": 0.01618911502882838,
132
+ "min": 0.015956137783359737,
133
+ "max": 0.01700695825404384,
134
+ "count": 4
135
+ },
136
+ "SoccerTwos.Losses.ValueLoss.mean": {
137
+ "value": 0.0004771188274996045,
138
+ "min": 0.0004771188274996045,
139
+ "max": 0.003473257824468116,
140
+ "count": 4
141
+ },
142
+ "SoccerTwos.Losses.ValueLoss.sum": {
143
+ "value": 0.0004771188274996045,
144
+ "min": 0.0004771188274996045,
145
+ "max": 0.003473257824468116,
146
+ "count": 4
147
+ },
148
+ "SoccerTwos.Losses.BaselineLoss.mean": {
149
+ "value": 0.00047773972764844077,
150
+ "min": 0.00047773972764844077,
151
+ "max": 0.0034753911197185515,
152
+ "count": 4
153
+ },
154
+ "SoccerTwos.Losses.BaselineLoss.sum": {
155
+ "value": 0.00047773972764844077,
156
+ "min": 0.00047773972764844077,
157
+ "max": 0.0034753911197185515,
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.19999999999999993,
175
+ "max": 0.20000000000000007,
176
+ "count": 4
177
+ },
178
+ "SoccerTwos.Policy.Epsilon.sum": {
179
+ "value": 0.20000000000000007,
180
+ "min": 0.19999999999999993,
181
+ "max": 0.20000000000000007,
182
+ "count": 4
183
+ },
184
+ "SoccerTwos.Policy.Beta.mean": {
185
+ "value": 0.005000000000000001,
186
+ "min": 0.005000000000000001,
187
+ "max": 0.005000000000000001,
188
+ "count": 4
189
+ },
190
+ "SoccerTwos.Policy.Beta.sum": {
191
+ "value": 0.005000000000000001,
192
+ "min": 0.005000000000000001,
193
+ "max": 0.005000000000000001,
194
+ "count": 4
195
+ }
196
+ },
197
+ "metadata": {
198
+ "timer_format_version": "0.1.0",
199
+ "start_time_seconds": "1696464487",
200
+ "python_version": "3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0]",
201
+ "command_line_arguments": "/usr/local/bin/mlagents-learn ./ppo.yaml --resume --env=./training-envs-executables/linux/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": "1696464766"
208
+ },
209
+ "total": 279.7562356379999,
210
+ "count": 1,
211
+ "self": 0.17424911099988094,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.0672450540000682,
215
+ "count": 1,
216
+ "self": 0.0672450540000682
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 279.51474147299996,
220
+ "count": 1,
221
+ "self": 0.23624716501217335,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 5.026472612999896,
225
+ "count": 1,
226
+ "self": 5.026472612999896
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 273.53839972798824,
230
+ "count": 7652,
231
+ "self": 0.24566746897471603,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 227.32022179001433,
235
+ "count": 7652,
236
+ "self": 179.44375428302374,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 47.734961142997236,
240
+ "count": 7652,
241
+ "self": 1.4340997809727014,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 46.300861362024534,
245
+ "count": 15232,
246
+ "self": 46.300861362024534
247
+ }
248
+ }
249
+ },
250
+ "workers": {
251
+ "total": 0.1415063639933578,
252
+ "count": 7651,
253
+ "self": 0.0,
254
+ "children": {
255
+ "worker_root": {
256
+ "total": 278.25230791799504,
257
+ "count": 7651,
258
+ "is_parallel": true,
259
+ "self": 126.9882649819915,
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.004462705999685568,
269
+ "count": 2,
270
+ "is_parallel": true,
271
+ "self": 0.000954309000462672,
272
+ "children": {
273
+ "_process_rank_one_or_two_observation": {
274
+ "total": 0.003508396999222896,
275
+ "count": 8,
276
+ "is_parallel": true,
277
+ "self": 0.003508396999222896
278
+ }
279
+ }
280
+ },
281
+ "UnityEnvironment.step": {
282
+ "total": 0.04259435499989195,
283
+ "count": 1,
284
+ "is_parallel": true,
285
+ "self": 0.0012122439998165646,
286
+ "children": {
287
+ "UnityEnvironment._generate_step_input": {
288
+ "total": 0.0008260990002781909,
289
+ "count": 1,
290
+ "is_parallel": true,
291
+ "self": 0.0008260990002781909
292
+ },
293
+ "communicator.exchange": {
294
+ "total": 0.036676729999726376,
295
+ "count": 1,
296
+ "is_parallel": true,
297
+ "self": 0.036676729999726376
298
+ },
299
+ "steps_from_proto": {
300
+ "total": 0.003879282000070816,
301
+ "count": 2,
302
+ "is_parallel": true,
303
+ "self": 0.0006931699990673224,
304
+ "children": {
305
+ "_process_rank_one_or_two_observation": {
306
+ "total": 0.003186112001003494,
307
+ "count": 8,
308
+ "is_parallel": true,
309
+ "self": 0.003186112001003494
310
+ }
311
+ }
312
+ }
313
+ }
314
+ }
315
+ }
316
+ },
317
+ "UnityEnvironment.step": {
318
+ "total": 151.26404293600353,
319
+ "count": 7650,
320
+ "is_parallel": true,
321
+ "self": 8.844087411977853,
322
+ "children": {
323
+ "UnityEnvironment._generate_step_input": {
324
+ "total": 5.568280823008081,
325
+ "count": 7650,
326
+ "is_parallel": true,
327
+ "self": 5.568280823008081
328
+ },
329
+ "communicator.exchange": {
330
+ "total": 107.61643607601081,
331
+ "count": 7650,
332
+ "is_parallel": true,
333
+ "self": 107.61643607601081
334
+ },
335
+ "steps_from_proto": {
336
+ "total": 29.235238625006787,
337
+ "count": 15300,
338
+ "is_parallel": true,
339
+ "self": 4.898562519054849,
340
+ "children": {
341
+ "_process_rank_one_or_two_observation": {
342
+ "total": 24.336676105951938,
343
+ "count": 61200,
344
+ "is_parallel": true,
345
+ "self": 24.336676105951938
346
+ }
347
+ }
348
+ }
349
+ }
350
+ }
351
+ }
352
+ }
353
+ }
354
+ }
355
+ }
356
+ },
357
+ "trainer_advance": {
358
+ "total": 45.97251046899919,
359
+ "count": 7651,
360
+ "self": 1.7324880770070195,
361
+ "children": {
362
+ "process_trajectory": {
363
+ "total": 12.417189603992028,
364
+ "count": 7651,
365
+ "self": 12.417189603992028
366
+ },
367
+ "_update_policy": {
368
+ "total": 31.82283278800014,
369
+ "count": 4,
370
+ "self": 20.65511437000214,
371
+ "children": {
372
+ "TorchPOCAOptimizer.update": {
373
+ "total": 11.167718417998003,
374
+ "count": 135,
375
+ "self": 11.167718417998003
376
+ }
377
+ }
378
+ }
379
+ }
380
+ }
381
+ }
382
+ },
383
+ "trainer_threads": {
384
+ "total": 1.6569997569604311e-06,
385
+ "count": 1,
386
+ "self": 1.6569997569604311e-06
387
+ },
388
+ "TrainerController._save_models": {
389
+ "total": 0.7136203099998966,
390
+ "count": 1,
391
+ "self": 0.0030165859998305677,
392
+ "children": {
393
+ "RLTrainer._checkpoint": {
394
+ "total": 0.710603724000066,
395
+ "count": 1,
396
+ "self": 0.710603724000066
397
+ }
398
+ }
399
+ }
400
+ }
401
+ }
402
+ }
403
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "stats_format_version": "0.3.0",
4
+ "mlagents_version": "0.31.0.dev0",
5
+ "torch_version": "1.11.0+cu102"
6
+ },
7
+ "SoccerTwos": {
8
+ "elo": 1197.0072363675908,
9
+ "checkpoints": [
10
+ {
11
+ "steps": 0,
12
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-0.onnx",
13
+ "reward": null,
14
+ "creation_time": 1696464411.6341615,
15
+ "auxillary_file_paths": [
16
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-0.pt"
17
+ ]
18
+ },
19
+ {
20
+ "steps": 113942,
21
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-113942.onnx",
22
+ "reward": 0.0,
23
+ "creation_time": 1696464766.7834334,
24
+ "auxillary_file_paths": [
25
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-113942.pt"
26
+ ]
27
+ }
28
+ ],
29
+ "final_checkpoint": {
30
+ "steps": 113942,
31
+ "file_path": "results/SoccerTwos/SoccerTwos.onnx",
32
+ "reward": 0.0,
33
+ "creation_time": 1696464766.7834334,
34
+ "auxillary_file_paths": [
35
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-113942.pt"
36
+ ]
37
+ }
38
+ }
39
+ }