geoartop commited on
Commit
758c243
1 Parent(s): c8602e7

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: geoartop/ppo-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:b737099254942e51937cada53c65bac03ba887d5e6a8069dfbd1e4b842a164ac
3
+ size 1766876
SoccerTwos/SoccerTwos-5916.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b737099254942e51937cada53c65bac03ba887d5e6a8069dfbd1e4b842a164ac
3
+ size 1766876
SoccerTwos/SoccerTwos-5916.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f350fb26c8e114e0a5bf4ada855450755d460cb55ecaf63c2c4024529de0a44f
3
+ size 9479914
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7e6b37166a170d927d48816e04636ef5263dcefb0ad7ee000cc46b7d2178ce7b
3
+ size 9479714
SoccerTwos/events.out.tfevents.1711495868.3ca1f46e0be2.736.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dbc483ebedc4a49dc88ba5bcd3f3be613c1d4a9d3ae5c676834e8caccbd34842
3
+ size 1241
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": 50000000, "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", "env_args": null, "base_port": 5005, "num_envs": 1, "num_areas": 1, "timeout_wait": 60, "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, "no_graphics_monitor": false}, "environment_parameters": null, "checkpoint_settings": {"run_id": "SoccerTwos2", "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,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: 50000000
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
54
+ env_args: null
55
+ base_port: 5005
56
+ num_envs: 1
57
+ num_areas: 1
58
+ timeout_wait: 60
59
+ seed: -1
60
+ max_lifetime_restarts: 10
61
+ restarts_rate_limit_n: 1
62
+ restarts_rate_limit_period_s: 60
63
+ engine_settings:
64
+ width: 84
65
+ height: 84
66
+ quality_level: 5
67
+ time_scale: 20
68
+ target_frame_rate: -1
69
+ capture_frame_rate: 60
70
+ no_graphics: true
71
+ no_graphics_monitor: false
72
+ environment_parameters: null
73
+ checkpoint_settings:
74
+ run_id: SoccerTwos2
75
+ initialize_from: null
76
+ load_model: false
77
+ resume: false
78
+ force: false
79
+ train_model: false
80
+ inference: false
81
+ results_dir: results
82
+ torch_settings:
83
+ device: null
84
+ debug: false
run_logs/Player-0.log ADDED
@@ -0,0 +1,347 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ PlayerPrefs - Creating folder: /root/.config/unity3d/Unity Technologies
6
+ PlayerPrefs - Creating folder: /root/.config/unity3d/Unity Technologies/SoccerTwos
7
+ Unable to load player prefs
8
+ Initialize engine version: 2021.3.14f1 (eee1884e7226)
9
+ [Subsystems] Discovering subsystems at path /content/ml-agents/training-envs-executables/linux/SoccerTwos_Data/UnitySubsystems
10
+ Forcing GfxDevice: Null
11
+ GfxDevice: creating device client; threaded=0; jobified=0
12
+ NullGfxDevice:
13
+ Version: NULL 1.0 [1.0]
14
+ Renderer: Null Device
15
+ Vendor: Unity Technologies
16
+ ALSA lib confmisc.c:855:(parse_card) cannot find card '0'
17
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
18
+ ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
19
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
20
+ ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name
21
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
22
+ ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory
23
+ ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM default
24
+ FMOD failed to initialize the output device.: "Error initializing output device. " (60)
25
+ Forced to initialize FMOD to to the device driver's system output rate 48000, this may impact performance and/or give inconsistent experiences compared to selected sample rate 48000
26
+ ALSA lib confmisc.c:855:(parse_card) cannot find card '0'
27
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
28
+ ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
29
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
30
+ ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name
31
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
32
+ ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory
33
+ ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM default
34
+ FMOD failed to initialize the output device.: "Error initializing output device. " (60)
35
+ FMOD initialized on nosound output
36
+ Begin MonoManager ReloadAssembly
37
+ - Completed reload, in 0.043 seconds
38
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
39
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
40
+ ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
41
+ WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
42
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
43
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
44
+ ERROR: Shader Standard (Specular setup) shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
45
+ WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
46
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
47
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
48
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
49
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
50
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
51
+ ERROR: Shader Autodesk Interactive shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
52
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
53
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
54
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
55
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
56
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
57
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
58
+ ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
59
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
60
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
61
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
62
+ UnloadTime: 0.373701 ms
63
+ Registered Communicator in Agent.
64
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
65
+ requesting resize 84 x 84
66
+ Setting up 8 worker threads for Enlighten.
67
+ Memory Statistics:
68
+ [ALLOC_TEMP_TLS] TLS Allocator
69
+ StackAllocators :
70
+ [ALLOC_TEMP_MAIN]
71
+ Peak usage frame count: [8.0 KB-16.0 KB]: 277 frames, [2.0 MB-4.0 MB]: 1 frames
72
+ Initial Block Size 4.0 MB
73
+ Current Block Size 4.0 MB
74
+ Peak Allocated Bytes 2.1 MB
75
+ Overflow Count 0
76
+ [ALLOC_TEMP_Loading.AsyncRead]
77
+ Initial Block Size 64.0 KB
78
+ Current Block Size 64.0 KB
79
+ Peak Allocated Bytes 128 B
80
+ Overflow Count 0
81
+ [ALLOC_TEMP_Loading.PreloadManager]
82
+ Initial Block Size 256.0 KB
83
+ Current Block Size 300.0 KB
84
+ Peak Allocated Bytes 249.6 KB
85
+ Overflow Count 4
86
+ [ALLOC_TEMP_Background Job.Worker 8]
87
+ Initial Block Size 32.0 KB
88
+ Current Block Size 32.0 KB
89
+ Peak Allocated Bytes 0 B
90
+ Overflow Count 0
91
+ [ALLOC_TEMP_Job.Worker 6]
92
+ Initial Block Size 256.0 KB
93
+ Current Block Size 256.0 KB
94
+ Peak Allocated Bytes 0.7 KB
95
+ Overflow Count 0
96
+ [ALLOC_TEMP_Job.Worker 0]
97
+ Initial Block Size 256.0 KB
98
+ Current Block Size 256.0 KB
99
+ Peak Allocated Bytes 0 B
100
+ Overflow Count 0
101
+ [ALLOC_TEMP_Background Job.Worker 10]
102
+ Initial Block Size 32.0 KB
103
+ Current Block Size 32.0 KB
104
+ Peak Allocated Bytes 0 B
105
+ Overflow Count 0
106
+ [ALLOC_TEMP_Background Job.Worker 9]
107
+ Initial Block Size 32.0 KB
108
+ Current Block Size 32.0 KB
109
+ Peak Allocated Bytes 0 B
110
+ Overflow Count 0
111
+ [ALLOC_TEMP_Job.Worker 5]
112
+ Initial Block Size 256.0 KB
113
+ Current Block Size 256.0 KB
114
+ Peak Allocated Bytes 0 B
115
+ Overflow Count 0
116
+ [ALLOC_TEMP_Background Job.Worker 14]
117
+ Initial Block Size 32.0 KB
118
+ Current Block Size 32.0 KB
119
+ Peak Allocated Bytes 0 B
120
+ Overflow Count 0
121
+ [ALLOC_TEMP_Background Job.Worker 6]
122
+ Initial Block Size 32.0 KB
123
+ Current Block Size 32.0 KB
124
+ Peak Allocated Bytes 0 B
125
+ Overflow Count 0
126
+ [ALLOC_TEMP_Job.Worker 4]
127
+ Initial Block Size 256.0 KB
128
+ Current Block Size 256.0 KB
129
+ Peak Allocated Bytes 0 B
130
+ Overflow Count 0
131
+ [ALLOC_TEMP_Job.Worker 14]
132
+ Initial Block Size 256.0 KB
133
+ Current Block Size 256.0 KB
134
+ Peak Allocated Bytes 0 B
135
+ Overflow Count 0
136
+ [ALLOC_TEMP_Job.Worker 3]
137
+ Initial Block Size 256.0 KB
138
+ Current Block Size 256.0 KB
139
+ Peak Allocated Bytes 0 B
140
+ Overflow Count 0
141
+ [ALLOC_TEMP_Job.Worker 13]
142
+ Initial Block Size 256.0 KB
143
+ Current Block Size 256.0 KB
144
+ Peak Allocated Bytes 0 B
145
+ Overflow Count 0
146
+ [ALLOC_TEMP_Background Job.Worker 12]
147
+ Initial Block Size 32.0 KB
148
+ Current Block Size 32.0 KB
149
+ Peak Allocated Bytes 0 B
150
+ Overflow Count 0
151
+ [ALLOC_TEMP_EnlightenWorker] x 8
152
+ Initial Block Size 64.0 KB
153
+ Current Block Size 64.0 KB
154
+ Peak Allocated Bytes 0 B
155
+ Overflow Count 0
156
+ [ALLOC_TEMP_Background Job.Worker 15]
157
+ Initial Block Size 32.0 KB
158
+ Current Block Size 32.0 KB
159
+ Peak Allocated Bytes 0 B
160
+ Overflow Count 0
161
+ [ALLOC_TEMP_Background Job.Worker 1]
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 2]
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_Background Job.Worker 7]
172
+ Initial Block Size 32.0 KB
173
+ Current Block Size 32.0 KB
174
+ Peak Allocated Bytes 0 B
175
+ Overflow Count 0
176
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 15
177
+ Initial Block Size 64.0 KB
178
+ Current Block Size 64.0 KB
179
+ Peak Allocated Bytes 0 B
180
+ Overflow Count 0
181
+ [ALLOC_TEMP_Background Job.Worker 5]
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_Job.Worker 9]
187
+ Initial Block Size 256.0 KB
188
+ Current Block Size 256.0 KB
189
+ Peak Allocated Bytes 0 B
190
+ Overflow Count 0
191
+ [ALLOC_TEMP_Background Job.Worker 13]
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_Job.Worker 8]
197
+ Initial Block Size 256.0 KB
198
+ Current Block Size 256.0 KB
199
+ Peak Allocated Bytes 0 B
200
+ Overflow Count 0
201
+ [ALLOC_TEMP_Job.Worker 7]
202
+ Initial Block Size 256.0 KB
203
+ Current Block Size 256.0 KB
204
+ Peak Allocated Bytes 0 B
205
+ Overflow Count 0
206
+ [ALLOC_TEMP_Job.Worker 1]
207
+ Initial Block Size 256.0 KB
208
+ Current Block Size 256.0 KB
209
+ Peak Allocated Bytes 0 B
210
+ Overflow Count 0
211
+ [ALLOC_TEMP_Job.Worker 2]
212
+ Initial Block Size 256.0 KB
213
+ Current Block Size 256.0 KB
214
+ Peak Allocated Bytes 0 B
215
+ Overflow Count 0
216
+ [ALLOC_TEMP_Background Job.Worker 3]
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_Background Job.Worker 11]
222
+ Initial Block Size 32.0 KB
223
+ Current Block Size 32.0 KB
224
+ Peak Allocated Bytes 0 B
225
+ Overflow Count 0
226
+ [ALLOC_TEMP_Job.Worker 10]
227
+ Initial Block Size 256.0 KB
228
+ Current Block Size 256.0 KB
229
+ Peak Allocated Bytes 0 B
230
+ Overflow Count 0
231
+ [ALLOC_TEMP_Background Job.Worker 0]
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_Job.Worker 11]
237
+ Initial Block Size 256.0 KB
238
+ Current Block Size 256.0 KB
239
+ Peak Allocated Bytes 0 B
240
+ Overflow Count 0
241
+ [ALLOC_TEMP_Job.Worker 12]
242
+ Initial Block Size 256.0 KB
243
+ Current Block Size 256.0 KB
244
+ Peak Allocated Bytes 0 B
245
+ Overflow Count 0
246
+ [ALLOC_TEMP_Background Job.Worker 4]
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_BatchDeleteObjects]
252
+ Initial Block Size 64.0 KB
253
+ Current Block Size 64.0 KB
254
+ Peak Allocated Bytes 0 B
255
+ Overflow Count 0
256
+ [ALLOC_DEFAULT] Dual Thread Allocator
257
+ Peak main deferred allocation count 3
258
+ [ALLOC_BUCKET]
259
+ Large Block size 4.0 MB
260
+ Used Block count 1
261
+ Peak Allocated bytes 1.0 MB
262
+ [ALLOC_DEFAULT_MAIN]
263
+ Peak usage frame count: [4.0 MB-8.0 MB]: 278 frames
264
+ Requested Block Size 16.0 MB
265
+ Peak Block count 1
266
+ Peak Allocated memory 5.0 MB
267
+ Peak Large allocation bytes 0 B
268
+ [ALLOC_DEFAULT_THREAD]
269
+ Peak usage frame count: [16.0 MB-32.0 MB]: 278 frames
270
+ Requested Block Size 16.0 MB
271
+ Peak Block count 1
272
+ Peak Allocated memory 17.2 MB
273
+ Peak Large allocation bytes 16.0 MB
274
+ [ALLOC_TEMP_JOB_1_FRAME]
275
+ Initial Block Size 2.0 MB
276
+ Used Block Count 1
277
+ Overflow Count (too large) 0
278
+ Overflow Count (full) 0
279
+ [ALLOC_TEMP_JOB_2_FRAMES]
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_4_FRAMES (JobTemp)]
285
+ Initial Block Size 2.0 MB
286
+ Used Block Count 2
287
+ Overflow Count (too large) 0
288
+ Overflow Count (full) 0
289
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
290
+ Initial Block Size 1.0 MB
291
+ Used Block Count 3
292
+ Overflow Count (too large) 0
293
+ Overflow Count (full) 0
294
+ [ALLOC_GFX] Dual Thread Allocator
295
+ Peak main deferred allocation count 0
296
+ [ALLOC_BUCKET]
297
+ Large Block size 4.0 MB
298
+ Used Block count 1
299
+ Peak Allocated bytes 1.0 MB
300
+ [ALLOC_GFX_MAIN]
301
+ Peak usage frame count: [32.0 KB-64.0 KB]: 277 frames, [64.0 KB-128.0 KB]: 1 frames
302
+ Requested Block Size 16.0 MB
303
+ Peak Block count 1
304
+ Peak Allocated memory 65.6 KB
305
+ Peak Large allocation bytes 0 B
306
+ [ALLOC_GFX_THREAD]
307
+ Peak usage frame count: [128.0 KB-256.0 KB]: 278 frames
308
+ Requested Block Size 16.0 MB
309
+ Peak Block count 1
310
+ Peak Allocated memory 173.5 KB
311
+ Peak Large allocation bytes 0 B
312
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
313
+ Peak main deferred allocation count 0
314
+ [ALLOC_BUCKET]
315
+ Large Block size 4.0 MB
316
+ Used Block count 1
317
+ Peak Allocated bytes 1.0 MB
318
+ [ALLOC_CACHEOBJECTS_MAIN]
319
+ Peak usage frame count: [0.5 MB-1.0 MB]: 278 frames
320
+ Requested Block Size 4.0 MB
321
+ Peak Block count 1
322
+ Peak Allocated memory 0.6 MB
323
+ Peak Large allocation bytes 0 B
324
+ [ALLOC_CACHEOBJECTS_THREAD]
325
+ Peak usage frame count: [0.5 MB-1.0 MB]: 277 frames, [4.0 MB-8.0 MB]: 1 frames
326
+ Requested Block Size 4.0 MB
327
+ Peak Block count 2
328
+ Peak Allocated memory 4.5 MB
329
+ Peak Large allocation bytes 0 B
330
+ [ALLOC_TYPETREE] Dual Thread Allocator
331
+ Peak main deferred allocation count 0
332
+ [ALLOC_BUCKET]
333
+ Large Block size 4.0 MB
334
+ Used Block count 1
335
+ Peak Allocated bytes 1.0 MB
336
+ [ALLOC_TYPETREE_MAIN]
337
+ Peak usage frame count: [0-1.0 KB]: 278 frames
338
+ Requested Block Size 2.0 MB
339
+ Peak Block count 1
340
+ Peak Allocated memory 1.0 KB
341
+ Peak Large allocation bytes 0 B
342
+ [ALLOC_TYPETREE_THREAD]
343
+ Peak usage frame count: [1.0 KB-2.0 KB]: 277 frames, [2.0 KB-4.0 KB]: 1 frames
344
+ Requested Block Size 2.0 MB
345
+ Peak Block count 1
346
+ Peak Allocated memory 2.2 KB
347
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,192 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "metadata": {
4
+ "timer_format_version": "0.1.0",
5
+ "start_time_seconds": "1711495867",
6
+ "python_version": "3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]",
7
+ "command_line_arguments": "/usr/local/bin/mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/linux/SoccerTwos --run-id=SoccerTwos2 --no-graphics",
8
+ "mlagents_version": "1.1.0.dev0",
9
+ "mlagents_envs_version": "1.1.0.dev0",
10
+ "communication_protocol_version": "1.5.0",
11
+ "pytorch_version": "2.2.1+cu121",
12
+ "numpy_version": "1.23.5",
13
+ "end_time_seconds": "1711495887"
14
+ },
15
+ "total": 19.114269636000017,
16
+ "count": 1,
17
+ "self": 0.06619592100003047,
18
+ "children": {
19
+ "run_training.setup": {
20
+ "total": 0.023897077000015088,
21
+ "count": 1,
22
+ "self": 0.023897077000015088
23
+ },
24
+ "TrainerController.start_learning": {
25
+ "total": 19.02417663799997,
26
+ "count": 1,
27
+ "self": 0.013424943999439165,
28
+ "children": {
29
+ "TrainerController._reset_env": {
30
+ "total": 1.4225169509999205,
31
+ "count": 1,
32
+ "self": 1.4225169509999205
33
+ },
34
+ "TrainerController.advance": {
35
+ "total": 17.48663833400053,
36
+ "count": 928,
37
+ "self": 0.013466052002627293,
38
+ "children": {
39
+ "env_step": {
40
+ "total": 16.701668388000257,
41
+ "count": 928,
42
+ "self": 10.177783156994224,
43
+ "children": {
44
+ "SubprocessEnvManager._take_step": {
45
+ "total": 6.514041848002535,
46
+ "count": 928,
47
+ "self": 0.08279477600081009,
48
+ "children": {
49
+ "TorchPolicy.evaluate": {
50
+ "total": 6.4312470720017245,
51
+ "count": 1848,
52
+ "self": 6.4312470720017245
53
+ }
54
+ }
55
+ },
56
+ "workers": {
57
+ "total": 0.009843383003499184,
58
+ "count": 927,
59
+ "self": 0.0,
60
+ "children": {
61
+ "worker_root": {
62
+ "total": 18.903049531998136,
63
+ "count": 927,
64
+ "is_parallel": true,
65
+ "self": 10.359526935998247,
66
+ "children": {
67
+ "run_training.setup": {
68
+ "total": 0.0,
69
+ "count": 0,
70
+ "is_parallel": true,
71
+ "self": 0.0,
72
+ "children": {
73
+ "steps_from_proto": {
74
+ "total": 0.0021337540000558874,
75
+ "count": 2,
76
+ "is_parallel": true,
77
+ "self": 0.0009614780001356849,
78
+ "children": {
79
+ "_process_rank_one_or_two_observation": {
80
+ "total": 0.0011722759999202026,
81
+ "count": 8,
82
+ "is_parallel": true,
83
+ "self": 0.0011722759999202026
84
+ }
85
+ }
86
+ },
87
+ "UnityEnvironment.step": {
88
+ "total": 0.01708067500010202,
89
+ "count": 1,
90
+ "is_parallel": true,
91
+ "self": 0.0003500650002479233,
92
+ "children": {
93
+ "UnityEnvironment._generate_step_input": {
94
+ "total": 0.00029444999995575927,
95
+ "count": 1,
96
+ "is_parallel": true,
97
+ "self": 0.00029444999995575927
98
+ },
99
+ "communicator.exchange": {
100
+ "total": 0.015432379000003493,
101
+ "count": 1,
102
+ "is_parallel": true,
103
+ "self": 0.015432379000003493
104
+ },
105
+ "steps_from_proto": {
106
+ "total": 0.0010037809998948433,
107
+ "count": 2,
108
+ "is_parallel": true,
109
+ "self": 0.00021882899977754278,
110
+ "children": {
111
+ "_process_rank_one_or_two_observation": {
112
+ "total": 0.0007849520001173005,
113
+ "count": 8,
114
+ "is_parallel": true,
115
+ "self": 0.0007849520001173005
116
+ }
117
+ }
118
+ }
119
+ }
120
+ }
121
+ }
122
+ },
123
+ "UnityEnvironment.step": {
124
+ "total": 8.543522595999889,
125
+ "count": 926,
126
+ "is_parallel": true,
127
+ "self": 0.3139618570004359,
128
+ "children": {
129
+ "UnityEnvironment._generate_step_input": {
130
+ "total": 0.2088875439999356,
131
+ "count": 926,
132
+ "is_parallel": true,
133
+ "self": 0.2088875439999356
134
+ },
135
+ "communicator.exchange": {
136
+ "total": 7.0698595259995045,
137
+ "count": 926,
138
+ "is_parallel": true,
139
+ "self": 7.0698595259995045
140
+ },
141
+ "steps_from_proto": {
142
+ "total": 0.9508136690000129,
143
+ "count": 1852,
144
+ "is_parallel": true,
145
+ "self": 0.19660575000807512,
146
+ "children": {
147
+ "_process_rank_one_or_two_observation": {
148
+ "total": 0.7542079189919377,
149
+ "count": 7408,
150
+ "is_parallel": true,
151
+ "self": 0.7542079189919377
152
+ }
153
+ }
154
+ }
155
+ }
156
+ }
157
+ }
158
+ }
159
+ }
160
+ }
161
+ }
162
+ },
163
+ "trainer_advance": {
164
+ "total": 0.7715038939976466,
165
+ "count": 927,
166
+ "self": 0.06364215399833029,
167
+ "children": {
168
+ "process_trajectory": {
169
+ "total": 0.7078617399993163,
170
+ "count": 927,
171
+ "self": 0.7078617399993163
172
+ }
173
+ }
174
+ }
175
+ }
176
+ },
177
+ "TrainerController._save_models": {
178
+ "total": 0.10159640900008071,
179
+ "count": 1,
180
+ "self": 0.0008290629999692101,
181
+ "children": {
182
+ "RLTrainer._checkpoint": {
183
+ "total": 0.1007673460001115,
184
+ "count": 1,
185
+ "self": 0.1007673460001115
186
+ }
187
+ }
188
+ }
189
+ }
190
+ }
191
+ }
192
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1199.0522111485755,
4
+ "checkpoints": [
5
+ {
6
+ "steps": 5916,
7
+ "file_path": "results/SoccerTwos2/SoccerTwos/SoccerTwos-5916.onnx",
8
+ "reward": 0.0,
9
+ "creation_time": 1711495887.0249543,
10
+ "auxillary_file_paths": [
11
+ "results/SoccerTwos2/SoccerTwos/SoccerTwos-5916.pt"
12
+ ]
13
+ }
14
+ ],
15
+ "final_checkpoint": {
16
+ "steps": 5916,
17
+ "file_path": "results/SoccerTwos2/SoccerTwos.onnx",
18
+ "reward": 0.0,
19
+ "creation_time": 1711495887.0249543,
20
+ "auxillary_file_paths": [
21
+ "results/SoccerTwos2/SoccerTwos/SoccerTwos-5916.pt"
22
+ ]
23
+ }
24
+ },
25
+ "metadata": {
26
+ "stats_format_version": "0.3.0",
27
+ "mlagents_version": "1.1.0.dev0",
28
+ "torch_version": "2.2.1+cu121"
29
+ }
30
+ }