britojr commited on
Commit
a1e9d53
·
1 Parent(s): 9253fcc

First Push

Browse files
README.md ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ tags:
4
+ - unity-ml-agents
5
+ - ml-agents
6
+ - deep-reinforcement-learning
7
+ - reinforcement-learning
8
+ - ML-Agents-SoccerTwos
9
+ library_name: ml-agents
10
+ ---
11
+
12
+ # **poca** Agent playing **SoccerTwos**
13
+ This is a trained model of a **poca** agent playing **SoccerTwos** using the [Unity ML-Agents Library](https://github.com/Unity-Technologies/ml-agents).
14
+
15
+ ## Usage (with ML-Agents)
16
+ The Documentation: https://github.com/huggingface/ml-agents#get-started
17
+ We wrote a complete tutorial to learn to train your first agent using ML-Agents and publish it to the Hub:
18
+
19
+
20
+ ### Resume the training
21
+ ```
22
+ mlagents-learn <your_configuration_file_path.yaml> --run-id=<run_id> --resume
23
+ ```
24
+ ### Watch your Agent play
25
+ You can watch your agent **playing directly in your browser:**.
26
+
27
+ 1. Go to https://huggingface.co/spaces/unity/ML-Agents-SoccerTwos
28
+ 2. Step 1: Write your model_id: britojr/poca-SoccerTwos
29
+ 3. Step 2: Select your *.nn /*.onnx file
30
+ 4. Click on Watch the agent play 👀
31
+
SoccerTwos.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:74f43acd3fc342201bbaa5221e8701906153153d35d74c166e7387896c53544f
3
+ size 1764633
SoccerTwos/SoccerTwos-29760.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:74f43acd3fc342201bbaa5221e8701906153153d35d74c166e7387896c53544f
3
+ size 1764633
SoccerTwos/SoccerTwos-29760.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:83ed519f585d8771a77edd2bb72a609d978637271dafcf41e211d3dd778a70b3
3
+ size 28421137
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:83ed519f585d8771a77edd2bb72a609d978637271dafcf41e211d3dd778a70b3
3
+ size 28421137
SoccerTwos/events.out.tfevents.1679310564.c3d3e302177e.10580.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:630efba9ad459dc17606727ceb7d09d6790751fb75f289cbd69ce95493a7028d
3
+ size 12053
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": "./mlagents/training-envs-executables/SoccerTwos.x86_64", "env_args": null, "base_port": 5005, "num_envs": 1, "num_areas": 1, "seed": -1, "max_lifetime_restarts": 10, "restarts_rate_limit_n": 1, "restarts_rate_limit_period_s": 60}, "engine_settings": {"width": 84, "height": 84, "quality_level": 5, "time_scale": 20, "target_frame_rate": -1, "capture_frame_rate": 60, "no_graphics": true}, "environment_parameters": null, "checkpoint_settings": {"run_id": "SoccerTwos", "initialize_from": null, "load_model": false, "resume": false, "force": true, "train_model": false, "inference": false, "results_dir": "results"}, "torch_settings": {"device": null}, "debug": false}
configuration.yaml ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ default_settings: null
2
+ behaviors:
3
+ SoccerTwos:
4
+ trainer_type: poca
5
+ hyperparameters:
6
+ batch_size: 2048
7
+ buffer_size: 20480
8
+ learning_rate: 0.0003
9
+ beta: 0.005
10
+ epsilon: 0.2
11
+ lambd: 0.95
12
+ num_epoch: 3
13
+ learning_rate_schedule: constant
14
+ beta_schedule: constant
15
+ epsilon_schedule: constant
16
+ checkpoint_interval: 500000
17
+ network_settings:
18
+ normalize: false
19
+ hidden_units: 512
20
+ num_layers: 2
21
+ vis_encode_type: simple
22
+ memory: null
23
+ goal_conditioning_type: hyper
24
+ deterministic: false
25
+ reward_signals:
26
+ extrinsic:
27
+ gamma: 0.99
28
+ strength: 1.0
29
+ network_settings:
30
+ normalize: false
31
+ hidden_units: 128
32
+ num_layers: 2
33
+ vis_encode_type: simple
34
+ memory: null
35
+ goal_conditioning_type: hyper
36
+ deterministic: false
37
+ init_path: null
38
+ keep_checkpoints: 5
39
+ even_checkpoints: false
40
+ max_steps: 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: ./mlagents/training-envs-executables/SoccerTwos.x86_64
54
+ env_args: null
55
+ base_port: 5005
56
+ num_envs: 1
57
+ num_areas: 1
58
+ seed: -1
59
+ max_lifetime_restarts: 10
60
+ restarts_rate_limit_n: 1
61
+ restarts_rate_limit_period_s: 60
62
+ engine_settings:
63
+ width: 84
64
+ height: 84
65
+ quality_level: 5
66
+ time_scale: 20
67
+ target_frame_rate: -1
68
+ capture_frame_rate: 60
69
+ no_graphics: true
70
+ environment_parameters: null
71
+ checkpoint_settings:
72
+ run_id: SoccerTwos
73
+ initialize_from: null
74
+ load_model: false
75
+ resume: false
76
+ force: true
77
+ train_model: false
78
+ inference: false
79
+ results_dir: results
80
+ torch_settings:
81
+ device: null
82
+ debug: false
run_logs/Player-0.log ADDED
@@ -0,0 +1,290 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/content/ml-agents/mlagents/training-envs-executables/SoccerTwos_Data/Managed'
2
+ Mono config path = '/content/ml-agents/mlagents/training-envs-executables/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/mlagents/training-envs-executables/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:767:(parse_card) cannot find card '0'
17
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
18
+ ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
19
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
20
+ ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
21
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
22
+ ALSA lib conf.c:5220:(snd_config_expand) Evaluate error: No such file or directory
23
+ ALSA lib pcm.c:2642:(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:767:(parse_card) cannot find card '0'
27
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
28
+ ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
29
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
30
+ ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
31
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
32
+ ALSA lib conf.c:5220:(snd_config_expand) Evaluate error: No such file or directory
33
+ ALSA lib pcm.c:2642:(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.092 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.695651 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
+ 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
+ Setting up 1 worker threads for Enlighten.
80
+ Memory Statistics:
81
+ [ALLOC_TEMP_TLS] TLS Allocator
82
+ StackAllocators :
83
+ [ALLOC_TEMP_MAIN]
84
+ Peak usage frame count: [8.0 KB-16.0 KB]: 599 frames, [2.0 MB-4.0 MB]: 1 frames
85
+ Initial Block Size 4.0 MB
86
+ Current Block Size 4.0 MB
87
+ Peak Allocated Bytes 2.1 MB
88
+ Overflow Count 0
89
+ [ALLOC_TEMP_Loading.AsyncRead]
90
+ Initial Block Size 64.0 KB
91
+ Current Block Size 64.0 KB
92
+ Peak Allocated Bytes 128 B
93
+ Overflow Count 0
94
+ [ALLOC_TEMP_Loading.PreloadManager]
95
+ Initial Block Size 256.0 KB
96
+ Current Block Size 300.0 KB
97
+ Peak Allocated Bytes 249.6 KB
98
+ Overflow Count 4
99
+ [ALLOC_TEMP_Background Job.Worker 8]
100
+ Initial Block Size 32.0 KB
101
+ Current Block Size 32.0 KB
102
+ Peak Allocated Bytes 0 B
103
+ Overflow Count 0
104
+ [ALLOC_TEMP_Background Job.Worker 9]
105
+ Initial Block Size 32.0 KB
106
+ Current Block Size 32.0 KB
107
+ Peak Allocated Bytes 0 B
108
+ Overflow Count 0
109
+ [ALLOC_TEMP_Job.Worker 0]
110
+ Initial Block Size 256.0 KB
111
+ Current Block Size 256.0 KB
112
+ Peak Allocated Bytes 0.7 KB
113
+ Overflow Count 0
114
+ [ALLOC_TEMP_Background Job.Worker 10]
115
+ Initial Block Size 32.0 KB
116
+ Current Block Size 32.0 KB
117
+ Peak Allocated Bytes 0 B
118
+ Overflow Count 0
119
+ [ALLOC_TEMP_Background Job.Worker 14]
120
+ Initial Block Size 32.0 KB
121
+ Current Block Size 32.0 KB
122
+ Peak Allocated Bytes 0 B
123
+ Overflow Count 0
124
+ [ALLOC_TEMP_Background Job.Worker 6]
125
+ Initial Block Size 32.0 KB
126
+ Current Block Size 32.0 KB
127
+ Peak Allocated Bytes 0 B
128
+ Overflow Count 0
129
+ [ALLOC_TEMP_Background Job.Worker 12]
130
+ Initial Block Size 32.0 KB
131
+ Current Block Size 32.0 KB
132
+ Peak Allocated Bytes 0 B
133
+ Overflow Count 0
134
+ [ALLOC_TEMP_EnlightenWorker]
135
+ Initial Block Size 64.0 KB
136
+ Current Block Size 64.0 KB
137
+ Peak Allocated Bytes 0 B
138
+ Overflow Count 0
139
+ [ALLOC_TEMP_Background Job.Worker 15]
140
+ Initial Block Size 32.0 KB
141
+ Current Block Size 32.0 KB
142
+ Peak Allocated Bytes 0 B
143
+ Overflow Count 0
144
+ [ALLOC_TEMP_Background Job.Worker 1]
145
+ Initial Block Size 32.0 KB
146
+ Current Block Size 32.0 KB
147
+ Peak Allocated Bytes 0 B
148
+ Overflow Count 0
149
+ [ALLOC_TEMP_Background Job.Worker 2]
150
+ Initial Block Size 32.0 KB
151
+ Current Block Size 32.0 KB
152
+ Peak Allocated Bytes 0 B
153
+ Overflow Count 0
154
+ [ALLOC_TEMP_Background Job.Worker 7]
155
+ Initial Block Size 32.0 KB
156
+ Current Block Size 32.0 KB
157
+ Peak Allocated Bytes 0 B
158
+ Overflow Count 0
159
+ [ALLOC_TEMP_AssetGarbageCollectorHelper]
160
+ Initial Block Size 64.0 KB
161
+ Current Block Size 64.0 KB
162
+ Peak Allocated Bytes 0 B
163
+ Overflow Count 0
164
+ [ALLOC_TEMP_Background Job.Worker 5]
165
+ Initial Block Size 32.0 KB
166
+ Current Block Size 32.0 KB
167
+ Peak Allocated Bytes 0 B
168
+ Overflow Count 0
169
+ [ALLOC_TEMP_Background Job.Worker 13]
170
+ Initial Block Size 32.0 KB
171
+ Current Block Size 32.0 KB
172
+ Peak Allocated Bytes 0 B
173
+ Overflow Count 0
174
+ [ALLOC_TEMP_Background Job.Worker 11]
175
+ Initial Block Size 32.0 KB
176
+ Current Block Size 32.0 KB
177
+ Peak Allocated Bytes 0 B
178
+ Overflow Count 0
179
+ [ALLOC_TEMP_Background Job.Worker 3]
180
+ Initial Block Size 32.0 KB
181
+ Current Block Size 32.0 KB
182
+ Peak Allocated Bytes 0 B
183
+ Overflow Count 0
184
+ [ALLOC_TEMP_Background Job.Worker 0]
185
+ Initial Block Size 32.0 KB
186
+ Current Block Size 32.0 KB
187
+ Peak Allocated Bytes 0 B
188
+ Overflow Count 0
189
+ [ALLOC_TEMP_Background Job.Worker 4]
190
+ Initial Block Size 32.0 KB
191
+ Current Block Size 32.0 KB
192
+ Peak Allocated Bytes 0 B
193
+ Overflow Count 0
194
+ [ALLOC_TEMP_BatchDeleteObjects]
195
+ Initial Block Size 64.0 KB
196
+ Current Block Size 64.0 KB
197
+ Peak Allocated Bytes 0 B
198
+ Overflow Count 0
199
+ [ALLOC_DEFAULT] Dual Thread Allocator
200
+ Peak main deferred allocation count 3
201
+ [ALLOC_BUCKET]
202
+ Large Block size 4.0 MB
203
+ Used Block count 1
204
+ Peak Allocated bytes 1.0 MB
205
+ [ALLOC_DEFAULT_MAIN]
206
+ Peak usage frame count: [4.0 MB-8.0 MB]: 600 frames
207
+ Requested Block Size 16.0 MB
208
+ Peak Block count 1
209
+ Peak Allocated memory 5.0 MB
210
+ Peak Large allocation bytes 0 B
211
+ [ALLOC_DEFAULT_THREAD]
212
+ Peak usage frame count: [16.0 MB-32.0 MB]: 600 frames
213
+ Requested Block Size 16.0 MB
214
+ Peak Block count 1
215
+ Peak Allocated memory 17.2 MB
216
+ Peak Large allocation bytes 16.0 MB
217
+ [ALLOC_TEMP_JOB_1_FRAME]
218
+ Initial Block Size 2.0 MB
219
+ Used Block Count 1
220
+ Overflow Count (too large) 0
221
+ Overflow Count (full) 0
222
+ [ALLOC_TEMP_JOB_2_FRAMES]
223
+ Initial Block Size 2.0 MB
224
+ Used Block Count 1
225
+ Overflow Count (too large) 0
226
+ Overflow Count (full) 0
227
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
228
+ Initial Block Size 2.0 MB
229
+ Used Block Count 2
230
+ Overflow Count (too large) 0
231
+ Overflow Count (full) 0
232
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
233
+ Initial Block Size 1.0 MB
234
+ Used Block Count 3
235
+ Overflow Count (too large) 0
236
+ Overflow Count (full) 0
237
+ [ALLOC_GFX] Dual Thread Allocator
238
+ Peak main deferred allocation count 0
239
+ [ALLOC_BUCKET]
240
+ Large Block size 4.0 MB
241
+ Used Block count 1
242
+ Peak Allocated bytes 1.0 MB
243
+ [ALLOC_GFX_MAIN]
244
+ Peak usage frame count: [32.0 KB-64.0 KB]: 599 frames, [64.0 KB-128.0 KB]: 1 frames
245
+ Requested Block Size 16.0 MB
246
+ Peak Block count 1
247
+ Peak Allocated memory 65.6 KB
248
+ Peak Large allocation bytes 0 B
249
+ [ALLOC_GFX_THREAD]
250
+ Peak usage frame count: [128.0 KB-256.0 KB]: 600 frames
251
+ Requested Block Size 16.0 MB
252
+ Peak Block count 1
253
+ Peak Allocated memory 173.5 KB
254
+ Peak Large allocation bytes 0 B
255
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
256
+ Peak main deferred allocation count 0
257
+ [ALLOC_BUCKET]
258
+ Large Block size 4.0 MB
259
+ Used Block count 1
260
+ Peak Allocated bytes 1.0 MB
261
+ [ALLOC_CACHEOBJECTS_MAIN]
262
+ Peak usage frame count: [0.5 MB-1.0 MB]: 600 frames
263
+ Requested Block Size 4.0 MB
264
+ Peak Block count 1
265
+ Peak Allocated memory 0.6 MB
266
+ Peak Large allocation bytes 0 B
267
+ [ALLOC_CACHEOBJECTS_THREAD]
268
+ Peak usage frame count: [0.5 MB-1.0 MB]: 599 frames, [4.0 MB-8.0 MB]: 1 frames
269
+ Requested Block Size 4.0 MB
270
+ Peak Block count 2
271
+ Peak Allocated memory 4.5 MB
272
+ Peak Large allocation bytes 0 B
273
+ [ALLOC_TYPETREE] Dual Thread Allocator
274
+ Peak main deferred allocation count 0
275
+ [ALLOC_BUCKET]
276
+ Large Block size 4.0 MB
277
+ Used Block count 1
278
+ Peak Allocated bytes 1.0 MB
279
+ [ALLOC_TYPETREE_MAIN]
280
+ Peak usage frame count: [0-1.0 KB]: 600 frames
281
+ Requested Block Size 2.0 MB
282
+ Peak Block count 1
283
+ Peak Allocated memory 1.0 KB
284
+ Peak Large allocation bytes 0 B
285
+ [ALLOC_TYPETREE_THREAD]
286
+ Peak usage frame count: [1.0 KB-2.0 KB]: 599 frames, [2.0 KB-4.0 KB]: 1 frames
287
+ Requested Block Size 2.0 MB
288
+ Peak Block count 1
289
+ Peak Allocated memory 2.2 KB
290
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,331 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "SoccerTwos.Policy.Entropy.mean": {
5
+ "value": 3.2957091331481934,
6
+ "min": 3.2957088947296143,
7
+ "max": 3.2957091331481934,
8
+ "count": 2
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 105462.6953125,
12
+ "min": 105462.6875,
13
+ "max": 105462.6953125,
14
+ "count": 2
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 820.5555555555555,
18
+ "min": 747.6,
19
+ "max": 820.5555555555555,
20
+ "count": 2
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 29540.0,
24
+ "min": 29540.0,
25
+ "max": 29904.0,
26
+ "count": 2
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1204.3260408183755,
30
+ "min": 1202.234955112457,
31
+ "max": 1204.3260408183755,
32
+ "count": 2
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 4817.304163273502,
36
+ "min": 4817.304163273502,
37
+ "max": 9617.879640899657,
38
+ "count": 2
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 19760.0,
42
+ "min": 9972.0,
43
+ "max": 19760.0,
44
+ "count": 2
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 19760.0,
48
+ "min": 9972.0,
49
+ "max": 19760.0,
50
+ "count": 2
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": 0.05389903113245964,
54
+ "min": 0.053897786885499954,
55
+ "max": 0.05389903113245964,
56
+ "count": 2
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": 0.7006874084472656,
60
+ "min": 0.7006874084472656,
61
+ "max": 0.8084667921066284,
62
+ "count": 2
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": 0.053914885967969894,
66
+ "min": 0.053908221423625946,
67
+ "max": 0.053914885967969894,
68
+ "count": 2
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": 0.7008935213088989,
72
+ "min": 0.7008935213088989,
73
+ "max": 0.8086233139038086,
74
+ "count": 2
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 2
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 2
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": 0.24713846353384164,
90
+ "min": 0.24713846353384164,
91
+ "max": 0.3353066682815552,
92
+ "count": 2
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": 3.2128000259399414,
96
+ "min": 3.2128000259399414,
97
+ "max": 5.029600024223328,
98
+ "count": 2
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": 0.24713846353384164,
102
+ "min": 0.24713846353384164,
103
+ "max": 0.3353066682815552,
104
+ "count": 2
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": 3.2128000259399414,
108
+ "min": 3.2128000259399414,
109
+ "max": 5.029600024223328,
110
+ "count": 2
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 2
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 2
123
+ }
124
+ },
125
+ "metadata": {
126
+ "timer_format_version": "0.1.0",
127
+ "start_time_seconds": "1679310557",
128
+ "python_version": "3.9.16 (main, Dec 7 2022, 01:11:51) \n[GCC 9.4.0]",
129
+ "command_line_arguments": "/usr/local/bin/mlagents-learn ./config/poca/SoccerTwos.yaml --env=./mlagents/training-envs-executables/SoccerTwos.x86_64 --run-id=SoccerTwos --no-graphics --force",
130
+ "mlagents_version": "0.31.0.dev0",
131
+ "mlagents_envs_version": "0.31.0.dev0",
132
+ "communication_protocol_version": "1.5.0",
133
+ "pytorch_version": "1.11.0+cu102",
134
+ "numpy_version": "1.21.2",
135
+ "end_time_seconds": "1679310771"
136
+ },
137
+ "total": 213.63438585899985,
138
+ "count": 1,
139
+ "self": 0.004880209000020841,
140
+ "children": {
141
+ "run_training.setup": {
142
+ "total": 0.10676537499966798,
143
+ "count": 1,
144
+ "self": 0.10676537499966798
145
+ },
146
+ "TrainerController.start_learning": {
147
+ "total": 213.52274027500016,
148
+ "count": 1,
149
+ "self": 0.06978656700766805,
150
+ "children": {
151
+ "TrainerController._reset_env": {
152
+ "total": 6.874114396000095,
153
+ "count": 1,
154
+ "self": 6.874114396000095
155
+ },
156
+ "TrainerController.advance": {
157
+ "total": 206.3656459959925,
158
+ "count": 2007,
159
+ "self": 0.056377601015810797,
160
+ "children": {
161
+ "env_step": {
162
+ "total": 49.52503003998436,
163
+ "count": 2007,
164
+ "self": 39.26393838098193,
165
+ "children": {
166
+ "SubprocessEnvManager._take_step": {
167
+ "total": 10.225431635991754,
168
+ "count": 2007,
169
+ "self": 0.293289149984048,
170
+ "children": {
171
+ "TorchPolicy.evaluate": {
172
+ "total": 9.932142486007706,
173
+ "count": 4000,
174
+ "self": 9.932142486007706
175
+ }
176
+ }
177
+ },
178
+ "workers": {
179
+ "total": 0.03566002301067783,
180
+ "count": 2007,
181
+ "self": 0.0,
182
+ "children": {
183
+ "worker_root": {
184
+ "total": 70.43364111999199,
185
+ "count": 2007,
186
+ "is_parallel": true,
187
+ "self": 37.895469893981044,
188
+ "children": {
189
+ "run_training.setup": {
190
+ "total": 0.0,
191
+ "count": 0,
192
+ "is_parallel": true,
193
+ "self": 0.0,
194
+ "children": {
195
+ "steps_from_proto": {
196
+ "total": 0.008032550000280025,
197
+ "count": 2,
198
+ "is_parallel": true,
199
+ "self": 0.005440920000637561,
200
+ "children": {
201
+ "_process_rank_one_or_two_observation": {
202
+ "total": 0.002591629999642464,
203
+ "count": 8,
204
+ "is_parallel": true,
205
+ "self": 0.002591629999642464
206
+ }
207
+ }
208
+ },
209
+ "UnityEnvironment.step": {
210
+ "total": 0.03891077799971754,
211
+ "count": 1,
212
+ "is_parallel": true,
213
+ "self": 0.0009908909996738657,
214
+ "children": {
215
+ "UnityEnvironment._generate_step_input": {
216
+ "total": 0.0008593200000177603,
217
+ "count": 1,
218
+ "is_parallel": true,
219
+ "self": 0.0008593200000177603
220
+ },
221
+ "communicator.exchange": {
222
+ "total": 0.03214213799992649,
223
+ "count": 1,
224
+ "is_parallel": true,
225
+ "self": 0.03214213799992649
226
+ },
227
+ "steps_from_proto": {
228
+ "total": 0.004918429000099422,
229
+ "count": 2,
230
+ "is_parallel": true,
231
+ "self": 0.0006280000006881892,
232
+ "children": {
233
+ "_process_rank_one_or_two_observation": {
234
+ "total": 0.004290428999411233,
235
+ "count": 8,
236
+ "is_parallel": true,
237
+ "self": 0.004290428999411233
238
+ }
239
+ }
240
+ }
241
+ }
242
+ }
243
+ }
244
+ },
245
+ "UnityEnvironment.step": {
246
+ "total": 32.538171226010945,
247
+ "count": 2006,
248
+ "is_parallel": true,
249
+ "self": 1.9469291459959095,
250
+ "children": {
251
+ "UnityEnvironment._generate_step_input": {
252
+ "total": 1.1429492400129675,
253
+ "count": 2006,
254
+ "is_parallel": true,
255
+ "self": 1.1429492400129675
256
+ },
257
+ "communicator.exchange": {
258
+ "total": 23.64912555699766,
259
+ "count": 2006,
260
+ "is_parallel": true,
261
+ "self": 23.64912555699766
262
+ },
263
+ "steps_from_proto": {
264
+ "total": 5.799167283004408,
265
+ "count": 4012,
266
+ "is_parallel": true,
267
+ "self": 1.0706966910133815,
268
+ "children": {
269
+ "_process_rank_one_or_two_observation": {
270
+ "total": 4.728470591991027,
271
+ "count": 16048,
272
+ "is_parallel": true,
273
+ "self": 4.728470591991027
274
+ }
275
+ }
276
+ }
277
+ }
278
+ }
279
+ }
280
+ }
281
+ }
282
+ }
283
+ }
284
+ },
285
+ "trainer_advance": {
286
+ "total": 156.78423835499234,
287
+ "count": 2007,
288
+ "self": 0.3064260689839102,
289
+ "children": {
290
+ "process_trajectory": {
291
+ "total": 20.03202570000849,
292
+ "count": 2007,
293
+ "self": 20.03202570000849
294
+ },
295
+ "_update_policy": {
296
+ "total": 136.44578658599994,
297
+ "count": 1,
298
+ "self": 4.7922829409999395,
299
+ "children": {
300
+ "TorchPOCAOptimizer.update": {
301
+ "total": 131.653503645,
302
+ "count": 37,
303
+ "self": 131.653503645
304
+ }
305
+ }
306
+ }
307
+ }
308
+ }
309
+ }
310
+ },
311
+ "trainer_threads": {
312
+ "total": 9.890000001178123e-07,
313
+ "count": 1,
314
+ "self": 9.890000001178123e-07
315
+ },
316
+ "TrainerController._save_models": {
317
+ "total": 0.21319232699988788,
318
+ "count": 1,
319
+ "self": 0.0014776899997741566,
320
+ "children": {
321
+ "RLTrainer._checkpoint": {
322
+ "total": 0.21171463700011373,
323
+ "count": 1,
324
+ "self": 0.21171463700011373
325
+ }
326
+ }
327
+ }
328
+ }
329
+ }
330
+ }
331
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1204.9357421409707,
4
+ "checkpoints": [
5
+ {
6
+ "steps": 29760,
7
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-29760.onnx",
8
+ "reward": null,
9
+ "creation_time": 1679310771.307725,
10
+ "auxillary_file_paths": [
11
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-29760.pt"
12
+ ]
13
+ }
14
+ ],
15
+ "final_checkpoint": {
16
+ "steps": 29760,
17
+ "file_path": "results/SoccerTwos/SoccerTwos.onnx",
18
+ "reward": null,
19
+ "creation_time": 1679310771.307725,
20
+ "auxillary_file_paths": [
21
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-29760.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
+ }