happycoding commited on
Commit
e4fa51a
1 Parent(s): 81c0aa0

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: happycoding/ppo-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:67cca04f84cf23b786e0dc940b44c763cbd1bfecbf6030bfa3bd117d94aa9007
3
+ size 1763220
SoccerTwos/SoccerTwos-139054.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:67cca04f84cf23b786e0dc940b44c763cbd1bfecbf6030bfa3bd117d94aa9007
3
+ size 1763220
SoccerTwos/SoccerTwos-139054.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:35d189aab9d7860aea493805a8c7e89ba441bf1ec1c1f5f0421a2a602156245f
3
+ size 28423787
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:35d189aab9d7860aea493805a8c7e89ba441bf1ec1c1f5f0421a2a602156245f
3
+ size 28423787
SoccerTwos/events.out.tfevents.1677009060.2d1a174fb5fc.3201.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2673a77560aa581fc181360a5e80f1ddb211d74378df690f006b81a13fe8be68
3
+ size 96179
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": "/content/SoccerTwos/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": "resnet", "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: /content/SoccerTwos/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: resnet
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,334 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/content/SoccerTwos/SoccerTwos_Data/Managed'
2
+ Mono config path = '/content/SoccerTwos/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/SoccerTwos/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.138 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: 1.201537 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
+ TOO LONG
80
+ TOO LONG
81
+ TOO LONG
82
+ TOO LONG
83
+ TOO LONG
84
+ TOO LONG
85
+ TOO LONG
86
+ TOO LONG
87
+ TOO LONG
88
+ TOO LONG
89
+ TOO LONG
90
+ TOO LONG
91
+ TOO LONG
92
+ TOO LONG
93
+ TOO LONG
94
+ TOO LONG
95
+ TOO LONG
96
+ TOO LONG
97
+ TOO LONG
98
+ TOO LONG
99
+ TOO LONG
100
+ TOO LONG
101
+ TOO LONG
102
+ TOO LONG
103
+ TOO LONG
104
+ TOO LONG
105
+ TOO LONG
106
+ TOO LONG
107
+ TOO LONG
108
+ TOO LONG
109
+ TOO LONG
110
+ TOO LONG
111
+ TOO LONG
112
+ TOO LONG
113
+ TOO LONG
114
+ TOO LONG
115
+ TOO LONG
116
+ TOO LONG
117
+ TOO LONG
118
+ TOO LONG
119
+ TOO LONG
120
+ TOO LONG
121
+ TOO LONG
122
+ TOO LONG
123
+ Setting up 1 worker threads for Enlighten.
124
+ Memory Statistics:
125
+ [ALLOC_TEMP_TLS] TLS Allocator
126
+ StackAllocators :
127
+ [ALLOC_TEMP_MAIN]
128
+ Peak usage frame count: [8.0 KB-16.0 KB]: 2719 frames, [2.0 MB-4.0 MB]: 1 frames
129
+ Initial Block Size 4.0 MB
130
+ Current Block Size 4.0 MB
131
+ Peak Allocated Bytes 2.1 MB
132
+ Overflow Count 0
133
+ [ALLOC_TEMP_Loading.AsyncRead]
134
+ Initial Block Size 64.0 KB
135
+ Current Block Size 64.0 KB
136
+ Peak Allocated Bytes 128 B
137
+ Overflow Count 0
138
+ [ALLOC_TEMP_Loading.PreloadManager]
139
+ Initial Block Size 256.0 KB
140
+ Current Block Size 300.0 KB
141
+ Peak Allocated Bytes 249.5 KB
142
+ Overflow Count 4
143
+ [ALLOC_TEMP_Background Job.Worker 8]
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 9]
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_Job.Worker 0]
154
+ Initial Block Size 256.0 KB
155
+ Current Block Size 256.0 KB
156
+ Peak Allocated Bytes 0.7 KB
157
+ Overflow Count 0
158
+ [ALLOC_TEMP_Background Job.Worker 10]
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_Background Job.Worker 14]
164
+ Initial Block Size 32.0 KB
165
+ Current Block Size 32.0 KB
166
+ Peak Allocated Bytes 0 B
167
+ Overflow Count 0
168
+ [ALLOC_TEMP_Background Job.Worker 6]
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 12]
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_EnlightenWorker]
179
+ Initial Block Size 64.0 KB
180
+ Current Block Size 64.0 KB
181
+ Peak Allocated Bytes 0 B
182
+ Overflow Count 0
183
+ [ALLOC_TEMP_Background Job.Worker 15]
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 1]
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 2]
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 7]
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_AssetGarbageCollectorHelper]
204
+ Initial Block Size 64.0 KB
205
+ Current Block Size 64.0 KB
206
+ Peak Allocated Bytes 0 B
207
+ Overflow Count 0
208
+ [ALLOC_TEMP_Background Job.Worker 5]
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 13]
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 11]
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_Background Job.Worker 3]
224
+ Initial Block Size 32.0 KB
225
+ Current Block Size 32.0 KB
226
+ Peak Allocated Bytes 0 B
227
+ Overflow Count 0
228
+ [ALLOC_TEMP_Background Job.Worker 0]
229
+ Initial Block Size 32.0 KB
230
+ Current Block Size 32.0 KB
231
+ Peak Allocated Bytes 0 B
232
+ Overflow Count 0
233
+ [ALLOC_TEMP_Background Job.Worker 4]
234
+ Initial Block Size 32.0 KB
235
+ Current Block Size 32.0 KB
236
+ Peak Allocated Bytes 0 B
237
+ Overflow Count 0
238
+ [ALLOC_TEMP_BatchDeleteObjects]
239
+ Initial Block Size 64.0 KB
240
+ Current Block Size 64.0 KB
241
+ Peak Allocated Bytes 0 B
242
+ Overflow Count 0
243
+ [ALLOC_DEFAULT] Dual Thread Allocator
244
+ Peak main deferred allocation count 4
245
+ [ALLOC_BUCKET]
246
+ Large Block size 4.0 MB
247
+ Used Block count 1
248
+ Peak Allocated bytes 1.0 MB
249
+ [ALLOC_DEFAULT_MAIN]
250
+ Peak usage frame count: [4.0 MB-8.0 MB]: 2720 frames
251
+ Requested Block Size 16.0 MB
252
+ Peak Block count 1
253
+ Peak Allocated memory 4.6 MB
254
+ Peak Large allocation bytes 0 B
255
+ [ALLOC_DEFAULT_THREAD]
256
+ Peak usage frame count: [16.0 MB-32.0 MB]: 2720 frames
257
+ Requested Block Size 16.0 MB
258
+ Peak Block count 1
259
+ Peak Allocated memory 17.6 MB
260
+ Peak Large allocation bytes 16.0 MB
261
+ [ALLOC_TEMP_JOB_1_FRAME]
262
+ Initial Block Size 2.0 MB
263
+ Used Block Count 1
264
+ Overflow Count (too large) 0
265
+ Overflow Count (full) 0
266
+ [ALLOC_TEMP_JOB_2_FRAMES]
267
+ Initial Block Size 2.0 MB
268
+ Used Block Count 1
269
+ Overflow Count (too large) 0
270
+ Overflow Count (full) 0
271
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
272
+ Initial Block Size 2.0 MB
273
+ Used Block Count 2
274
+ Overflow Count (too large) 0
275
+ Overflow Count (full) 0
276
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
277
+ Initial Block Size 1.0 MB
278
+ Used Block Count 3
279
+ Overflow Count (too large) 0
280
+ Overflow Count (full) 0
281
+ [ALLOC_GFX] Dual Thread Allocator
282
+ Peak main deferred allocation count 0
283
+ [ALLOC_BUCKET]
284
+ Large Block size 4.0 MB
285
+ Used Block count 1
286
+ Peak Allocated bytes 1.0 MB
287
+ [ALLOC_GFX_MAIN]
288
+ Peak usage frame count: [32.0 KB-64.0 KB]: 2719 frames, [64.0 KB-128.0 KB]: 1 frames
289
+ Requested Block Size 16.0 MB
290
+ Peak Block count 1
291
+ Peak Allocated memory 65.6 KB
292
+ Peak Large allocation bytes 0 B
293
+ [ALLOC_GFX_THREAD]
294
+ Peak usage frame count: [128.0 KB-256.0 KB]: 2720 frames
295
+ Requested Block Size 16.0 MB
296
+ Peak Block count 1
297
+ Peak Allocated memory 173.5 KB
298
+ Peak Large allocation bytes 0 B
299
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
300
+ Peak main deferred allocation count 0
301
+ [ALLOC_BUCKET]
302
+ Large Block size 4.0 MB
303
+ Used Block count 1
304
+ Peak Allocated bytes 1.0 MB
305
+ [ALLOC_CACHEOBJECTS_MAIN]
306
+ Peak usage frame count: [0.5 MB-1.0 MB]: 2720 frames
307
+ Requested Block Size 4.0 MB
308
+ Peak Block count 1
309
+ Peak Allocated memory 0.6 MB
310
+ Peak Large allocation bytes 0 B
311
+ [ALLOC_CACHEOBJECTS_THREAD]
312
+ Peak usage frame count: [0.5 MB-1.0 MB]: 2719 frames, [4.0 MB-8.0 MB]: 1 frames
313
+ Requested Block Size 4.0 MB
314
+ Peak Block count 2
315
+ Peak Allocated memory 4.0 MB
316
+ Peak Large allocation bytes 0 B
317
+ [ALLOC_TYPETREE] Dual Thread Allocator
318
+ Peak main deferred allocation count 0
319
+ [ALLOC_BUCKET]
320
+ Large Block size 4.0 MB
321
+ Used Block count 1
322
+ Peak Allocated bytes 1.0 MB
323
+ [ALLOC_TYPETREE_MAIN]
324
+ Peak usage frame count: [0-1.0 KB]: 2720 frames
325
+ Requested Block Size 2.0 MB
326
+ Peak Block count 1
327
+ Peak Allocated memory 1.0 KB
328
+ Peak Large allocation bytes 0 B
329
+ [ALLOC_TYPETREE_THREAD]
330
+ Peak usage frame count: [1.0 KB-2.0 KB]: 2719 frames, [2.0 KB-4.0 KB]: 1 frames
331
+ Requested Block Size 2.0 MB
332
+ Peak Block count 1
333
+ Peak Allocated memory 2.2 KB
334
+ 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.2576279640197754,
6
+ "min": 3.2537851333618164,
7
+ "max": 3.295717716217041,
8
+ "count": 13
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 57542.73828125,
12
+ "min": 33861.296875,
13
+ "max": 105462.96875,
14
+ "count": 13
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 751.8333333333334,
18
+ "min": 185.5,
19
+ "max": 999.0,
20
+ "count": 13
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 18044.0,
24
+ "min": 1484.0,
25
+ "max": 31436.0,
26
+ "count": 13
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1204.9242137158324,
30
+ "min": 1199.3173316810933,
31
+ "max": 1204.9242137158324,
32
+ "count": 12
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 7229.545282294995,
36
+ "min": 2403.9479401854865,
37
+ "max": 9617.75730912673,
38
+ "count": 12
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 129982.0,
42
+ "min": 9738.0,
43
+ "max": 129982.0,
44
+ "count": 13
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 129982.0,
48
+ "min": 9738.0,
49
+ "max": 129982.0,
50
+ "count": 13
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": 0.014644455164670944,
54
+ "min": 0.014644455164670944,
55
+ "max": 0.032572291791439056,
56
+ "count": 13
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": 0.19037792086601257,
60
+ "min": 0.1794193983078003,
61
+ "max": 0.45596224069595337,
62
+ "count": 13
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": 0.017978785559535027,
66
+ "min": 0.01674814336001873,
67
+ "max": 0.032895006239414215,
68
+ "count": 13
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": 0.2337242215871811,
72
+ "min": 0.19487503170967102,
73
+ "max": 0.4557684063911438,
74
+ "count": 13
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 13
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 13
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": -0.38461538461538464,
90
+ "min": -0.38461538461538464,
91
+ "max": 0.19830769300460815,
92
+ "count": 13
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": -5.0,
96
+ "min": -5.0,
97
+ "max": 2.578000009059906,
98
+ "count": 13
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": -0.38461538461538464,
102
+ "min": -0.38461538461538464,
103
+ "max": 0.19830769300460815,
104
+ "count": 13
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": -5.0,
108
+ "min": -5.0,
109
+ "max": 2.578000009059906,
110
+ "count": 13
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 13
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 13
123
+ },
124
+ "SoccerTwos.Losses.PolicyLoss.mean": {
125
+ "value": 0.0156993512381329,
126
+ "min": 0.01255239952976505,
127
+ "max": 0.019423652351057776,
128
+ "count": 5
129
+ },
130
+ "SoccerTwos.Losses.PolicyLoss.sum": {
131
+ "value": 0.0156993512381329,
132
+ "min": 0.01255239952976505,
133
+ "max": 0.019423652351057776,
134
+ "count": 5
135
+ },
136
+ "SoccerTwos.Losses.ValueLoss.mean": {
137
+ "value": 0.0007048266459605656,
138
+ "min": 0.0007048266459605656,
139
+ "max": 0.0028398649961066742,
140
+ "count": 5
141
+ },
142
+ "SoccerTwos.Losses.ValueLoss.sum": {
143
+ "value": 0.0007048266459605656,
144
+ "min": 0.0007048266459605656,
145
+ "max": 0.0028398649961066742,
146
+ "count": 5
147
+ },
148
+ "SoccerTwos.Losses.BaselineLoss.mean": {
149
+ "value": 0.0007757227945451935,
150
+ "min": 0.0007757227945451935,
151
+ "max": 0.0029023472762977082,
152
+ "count": 5
153
+ },
154
+ "SoccerTwos.Losses.BaselineLoss.sum": {
155
+ "value": 0.0007757227945451935,
156
+ "min": 0.0007757227945451935,
157
+ "max": 0.0029023472762977082,
158
+ "count": 5
159
+ },
160
+ "SoccerTwos.Policy.LearningRate.mean": {
161
+ "value": 0.0003,
162
+ "min": 0.0003,
163
+ "max": 0.0003,
164
+ "count": 5
165
+ },
166
+ "SoccerTwos.Policy.LearningRate.sum": {
167
+ "value": 0.0003,
168
+ "min": 0.0003,
169
+ "max": 0.0003,
170
+ "count": 5
171
+ },
172
+ "SoccerTwos.Policy.Epsilon.mean": {
173
+ "value": 0.20000000000000007,
174
+ "min": 0.19999999999999996,
175
+ "max": 0.20000000000000007,
176
+ "count": 5
177
+ },
178
+ "SoccerTwos.Policy.Epsilon.sum": {
179
+ "value": 0.20000000000000007,
180
+ "min": 0.19999999999999996,
181
+ "max": 0.20000000000000007,
182
+ "count": 5
183
+ },
184
+ "SoccerTwos.Policy.Beta.mean": {
185
+ "value": 0.005000000000000001,
186
+ "min": 0.005,
187
+ "max": 0.005000000000000001,
188
+ "count": 5
189
+ },
190
+ "SoccerTwos.Policy.Beta.sum": {
191
+ "value": 0.005000000000000001,
192
+ "min": 0.005,
193
+ "max": 0.005000000000000001,
194
+ "count": 5
195
+ }
196
+ },
197
+ "metadata": {
198
+ "timer_format_version": "0.1.0",
199
+ "start_time_seconds": "1677009058",
200
+ "python_version": "3.8.15 | packaged by conda-forge | (default, Nov 22 2022, 08:49:35) \n[GCC 10.4.0]",
201
+ "command_line_arguments": "/usr/local/bin/mlagents-learn /content/ml-agents/config/poca/SoccerTwos.yaml --env /content/SoccerTwos/SoccerTwos.x86_64 --run-id=resnet --no-graphics --force",
202
+ "mlagents_version": "0.31.0.dev0",
203
+ "mlagents_envs_version": "0.31.0.dev0",
204
+ "communication_protocol_version": "1.5.0",
205
+ "pytorch_version": "1.8.1+cu102",
206
+ "numpy_version": "1.21.2",
207
+ "end_time_seconds": "1677012378"
208
+ },
209
+ "total": 3320.1723494049997,
210
+ "count": 1,
211
+ "self": 0.1126849209995271,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.023702585000023646,
215
+ "count": 1,
216
+ "self": 0.023702585000023646
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 3320.035961899,
220
+ "count": 1,
221
+ "self": 0.4331714710019696,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 2.1375977899999725,
225
+ "count": 1,
226
+ "self": 2.1375977899999725
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 3316.528596789998,
230
+ "count": 9113,
231
+ "self": 0.5762363189587631,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 2684.406460440016,
235
+ "count": 9113,
236
+ "self": 2614.6015797100313,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 69.52509770499569,
240
+ "count": 9113,
241
+ "self": 3.0549601939927697,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 66.47013751100292,
245
+ "count": 18130,
246
+ "self": 66.47013751100292
247
+ }
248
+ }
249
+ },
250
+ "workers": {
251
+ "total": 0.2797830249888875,
252
+ "count": 9112,
253
+ "self": 0.0,
254
+ "children": {
255
+ "worker_root": {
256
+ "total": 3313.468283388007,
257
+ "count": 9112,
258
+ "is_parallel": true,
259
+ "self": 760.2316764310358,
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.018969138999977986,
269
+ "count": 2,
270
+ "is_parallel": true,
271
+ "self": 0.012128357999813488,
272
+ "children": {
273
+ "_process_rank_one_or_two_observation": {
274
+ "total": 0.0068407810001644975,
275
+ "count": 8,
276
+ "is_parallel": true,
277
+ "self": 0.0068407810001644975
278
+ }
279
+ }
280
+ },
281
+ "UnityEnvironment.step": {
282
+ "total": 0.6232171149999886,
283
+ "count": 1,
284
+ "is_parallel": true,
285
+ "self": 0.002970763000007537,
286
+ "children": {
287
+ "UnityEnvironment._generate_step_input": {
288
+ "total": 0.004098444999954154,
289
+ "count": 1,
290
+ "is_parallel": true,
291
+ "self": 0.004098444999954154
292
+ },
293
+ "communicator.exchange": {
294
+ "total": 0.5888043070000322,
295
+ "count": 1,
296
+ "is_parallel": true,
297
+ "self": 0.5888043070000322
298
+ },
299
+ "steps_from_proto": {
300
+ "total": 0.027343599999994694,
301
+ "count": 2,
302
+ "is_parallel": true,
303
+ "self": 0.012229096999931244,
304
+ "children": {
305
+ "_process_rank_one_or_two_observation": {
306
+ "total": 0.01511450300006345,
307
+ "count": 8,
308
+ "is_parallel": true,
309
+ "self": 0.01511450300006345
310
+ }
311
+ }
312
+ }
313
+ }
314
+ }
315
+ }
316
+ },
317
+ "UnityEnvironment.step": {
318
+ "total": 2553.236606956971,
319
+ "count": 9111,
320
+ "is_parallel": true,
321
+ "self": 10.095866892022059,
322
+ "children": {
323
+ "UnityEnvironment._generate_step_input": {
324
+ "total": 50.37109838598758,
325
+ "count": 9111,
326
+ "is_parallel": true,
327
+ "self": 50.37109838598758
328
+ },
329
+ "communicator.exchange": {
330
+ "total": 2398.99589506199,
331
+ "count": 9111,
332
+ "is_parallel": true,
333
+ "self": 2398.99589506199
334
+ },
335
+ "steps_from_proto": {
336
+ "total": 93.77374661697161,
337
+ "count": 18222,
338
+ "is_parallel": true,
339
+ "self": 14.795739507032522,
340
+ "children": {
341
+ "_process_rank_one_or_two_observation": {
342
+ "total": 78.97800710993909,
343
+ "count": 72888,
344
+ "is_parallel": true,
345
+ "self": 78.97800710993909
346
+ }
347
+ }
348
+ }
349
+ }
350
+ }
351
+ }
352
+ }
353
+ }
354
+ }
355
+ }
356
+ },
357
+ "trainer_advance": {
358
+ "total": 631.5459000310234,
359
+ "count": 9112,
360
+ "self": 3.6506919360103893,
361
+ "children": {
362
+ "process_trajectory": {
363
+ "total": 74.31002424201347,
364
+ "count": 9112,
365
+ "self": 74.31002424201347
366
+ },
367
+ "_update_policy": {
368
+ "total": 553.5851838529995,
369
+ "count": 6,
370
+ "self": 42.30831541499742,
371
+ "children": {
372
+ "TorchPOCAOptimizer.update": {
373
+ "total": 511.2768684380021,
374
+ "count": 192,
375
+ "self": 511.2768684380021
376
+ }
377
+ }
378
+ }
379
+ }
380
+ }
381
+ }
382
+ },
383
+ "trainer_threads": {
384
+ "total": 2.159999894502107e-06,
385
+ "count": 1,
386
+ "self": 2.159999894502107e-06
387
+ },
388
+ "TrainerController._save_models": {
389
+ "total": 0.9365936880003574,
390
+ "count": 1,
391
+ "self": 0.005252573000234406,
392
+ "children": {
393
+ "RLTrainer._checkpoint": {
394
+ "total": 0.931341115000123,
395
+ "count": 1,
396
+ "self": 0.931341115000123
397
+ }
398
+ }
399
+ }
400
+ }
401
+ }
402
+ }
403
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1203.9228317496722,
4
+ "checkpoints": [
5
+ {
6
+ "steps": 139054,
7
+ "file_path": "results/resnet/SoccerTwos/SoccerTwos-139054.onnx",
8
+ "reward": 0.0,
9
+ "creation_time": 1677012378.7927482,
10
+ "auxillary_file_paths": [
11
+ "results/resnet/SoccerTwos/SoccerTwos-139054.pt"
12
+ ]
13
+ }
14
+ ],
15
+ "final_checkpoint": {
16
+ "steps": 139054,
17
+ "file_path": "results/resnet/SoccerTwos.onnx",
18
+ "reward": 0.0,
19
+ "creation_time": 1677012378.7927482,
20
+ "auxillary_file_paths": [
21
+ "results/resnet/SoccerTwos/SoccerTwos-139054.pt"
22
+ ]
23
+ }
24
+ },
25
+ "metadata": {
26
+ "stats_format_version": "0.3.0",
27
+ "mlagents_version": "0.31.0.dev0",
28
+ "torch_version": "1.8.1+cu102"
29
+ }
30
+ }