Cesar514 commited on
Commit
8879bfc
·
1 Parent(s): 032ca6e

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: Cesar514/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:3d21c6057e8bf92ebbe899e429beb7f8d8904476cc7acefa81865fcfd6d733ee
3
+ size 1763220
SoccerTwos/SoccerTwos-15756.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3d21c6057e8bf92ebbe899e429beb7f8d8904476cc7acefa81865fcfd6d733ee
3
+ size 1763220
SoccerTwos/SoccerTwos-15756.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a794e5866a38dce455ffa777a0790701da3e0233d13be8d30d3ed3f7bd418d56
3
+ size 9479923
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a794e5866a38dce455ffa777a0790701da3e0233d13be8d30d3ed3f7bd418d56
3
+ size 9479923
SoccerTwos/events.out.tfevents.1678539658.1f0dde6dfabc.5510.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:74448439a36a38e85fe0c9ec0e777dc5f97819327a368c628a4c1a50ccdb8029
3
+ size 6682
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": "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: 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,284 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.117 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.111606 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
+ Setting up 1 worker threads for Enlighten.
74
+ Memory Statistics:
75
+ [ALLOC_TEMP_TLS] TLS Allocator
76
+ StackAllocators :
77
+ [ALLOC_TEMP_MAIN]
78
+ Peak usage frame count: [8.0 KB-16.0 KB]: 385 frames, [2.0 MB-4.0 MB]: 1 frames
79
+ Initial Block Size 4.0 MB
80
+ Current Block Size 4.0 MB
81
+ Peak Allocated Bytes 2.1 MB
82
+ Overflow Count 0
83
+ [ALLOC_TEMP_Loading.AsyncRead]
84
+ Initial Block Size 64.0 KB
85
+ Current Block Size 64.0 KB
86
+ Peak Allocated Bytes 128 B
87
+ Overflow Count 0
88
+ [ALLOC_TEMP_Loading.PreloadManager]
89
+ Initial Block Size 256.0 KB
90
+ Current Block Size 300.0 KB
91
+ Peak Allocated Bytes 249.5 KB
92
+ Overflow Count 4
93
+ [ALLOC_TEMP_Background Job.Worker 8]
94
+ Initial Block Size 32.0 KB
95
+ Current Block Size 32.0 KB
96
+ Peak Allocated Bytes 0 B
97
+ Overflow Count 0
98
+ [ALLOC_TEMP_Background Job.Worker 9]
99
+ Initial Block Size 32.0 KB
100
+ Current Block Size 32.0 KB
101
+ Peak Allocated Bytes 0 B
102
+ Overflow Count 0
103
+ [ALLOC_TEMP_Job.Worker 0]
104
+ Initial Block Size 256.0 KB
105
+ Current Block Size 256.0 KB
106
+ Peak Allocated Bytes 0.7 KB
107
+ Overflow Count 0
108
+ [ALLOC_TEMP_Background Job.Worker 10]
109
+ Initial Block Size 32.0 KB
110
+ Current Block Size 32.0 KB
111
+ Peak Allocated Bytes 0 B
112
+ Overflow Count 0
113
+ [ALLOC_TEMP_Background Job.Worker 14]
114
+ Initial Block Size 32.0 KB
115
+ Current Block Size 32.0 KB
116
+ Peak Allocated Bytes 0 B
117
+ Overflow Count 0
118
+ [ALLOC_TEMP_Background Job.Worker 6]
119
+ Initial Block Size 32.0 KB
120
+ Current Block Size 32.0 KB
121
+ Peak Allocated Bytes 0 B
122
+ Overflow Count 0
123
+ [ALLOC_TEMP_Background Job.Worker 12]
124
+ Initial Block Size 32.0 KB
125
+ Current Block Size 32.0 KB
126
+ Peak Allocated Bytes 0 B
127
+ Overflow Count 0
128
+ [ALLOC_TEMP_EnlightenWorker]
129
+ Initial Block Size 64.0 KB
130
+ Current Block Size 64.0 KB
131
+ Peak Allocated Bytes 0 B
132
+ Overflow Count 0
133
+ [ALLOC_TEMP_Background Job.Worker 15]
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_Background Job.Worker 1]
139
+ Initial Block Size 32.0 KB
140
+ Current Block Size 32.0 KB
141
+ Peak Allocated Bytes 0 B
142
+ Overflow Count 0
143
+ [ALLOC_TEMP_Background Job.Worker 2]
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 7]
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_AssetGarbageCollectorHelper]
154
+ Initial Block Size 64.0 KB
155
+ Current Block Size 64.0 KB
156
+ Peak Allocated Bytes 0 B
157
+ Overflow Count 0
158
+ [ALLOC_TEMP_Background Job.Worker 5]
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 13]
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 11]
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 3]
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 0]
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 4]
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_BatchDeleteObjects]
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_DEFAULT] Dual Thread Allocator
194
+ Peak main deferred allocation count 3
195
+ [ALLOC_BUCKET]
196
+ Large Block size 4.0 MB
197
+ Used Block count 1
198
+ Peak Allocated bytes 1.0 MB
199
+ [ALLOC_DEFAULT_MAIN]
200
+ Peak usage frame count: [4.0 MB-8.0 MB]: 386 frames
201
+ Requested Block Size 16.0 MB
202
+ Peak Block count 1
203
+ Peak Allocated memory 4.6 MB
204
+ Peak Large allocation bytes 0 B
205
+ [ALLOC_DEFAULT_THREAD]
206
+ Peak usage frame count: [16.0 MB-32.0 MB]: 386 frames
207
+ Requested Block Size 16.0 MB
208
+ Peak Block count 1
209
+ Peak Allocated memory 17.6 MB
210
+ Peak Large allocation bytes 16.0 MB
211
+ [ALLOC_TEMP_JOB_1_FRAME]
212
+ Initial Block Size 2.0 MB
213
+ Used Block Count 1
214
+ Overflow Count (too large) 0
215
+ Overflow Count (full) 0
216
+ [ALLOC_TEMP_JOB_2_FRAMES]
217
+ Initial Block Size 2.0 MB
218
+ Used Block Count 1
219
+ Overflow Count (too large) 0
220
+ Overflow Count (full) 0
221
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
222
+ Initial Block Size 2.0 MB
223
+ Used Block Count 2
224
+ Overflow Count (too large) 0
225
+ Overflow Count (full) 0
226
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
227
+ Initial Block Size 1.0 MB
228
+ Used Block Count 3
229
+ Overflow Count (too large) 0
230
+ Overflow Count (full) 0
231
+ [ALLOC_GFX] Dual Thread Allocator
232
+ Peak main deferred allocation count 0
233
+ [ALLOC_BUCKET]
234
+ Large Block size 4.0 MB
235
+ Used Block count 1
236
+ Peak Allocated bytes 1.0 MB
237
+ [ALLOC_GFX_MAIN]
238
+ Peak usage frame count: [32.0 KB-64.0 KB]: 385 frames, [64.0 KB-128.0 KB]: 1 frames
239
+ Requested Block Size 16.0 MB
240
+ Peak Block count 1
241
+ Peak Allocated memory 65.6 KB
242
+ Peak Large allocation bytes 0 B
243
+ [ALLOC_GFX_THREAD]
244
+ Peak usage frame count: [128.0 KB-256.0 KB]: 386 frames
245
+ Requested Block Size 16.0 MB
246
+ Peak Block count 1
247
+ Peak Allocated memory 173.5 KB
248
+ Peak Large allocation bytes 0 B
249
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
250
+ Peak main deferred allocation count 0
251
+ [ALLOC_BUCKET]
252
+ Large Block size 4.0 MB
253
+ Used Block count 1
254
+ Peak Allocated bytes 1.0 MB
255
+ [ALLOC_CACHEOBJECTS_MAIN]
256
+ Peak usage frame count: [0.5 MB-1.0 MB]: 386 frames
257
+ Requested Block Size 4.0 MB
258
+ Peak Block count 1
259
+ Peak Allocated memory 0.6 MB
260
+ Peak Large allocation bytes 0 B
261
+ [ALLOC_CACHEOBJECTS_THREAD]
262
+ Peak usage frame count: [0.5 MB-1.0 MB]: 385 frames, [4.0 MB-8.0 MB]: 1 frames
263
+ Requested Block Size 4.0 MB
264
+ Peak Block count 2
265
+ Peak Allocated memory 4.5 MB
266
+ Peak Large allocation bytes 0 B
267
+ [ALLOC_TYPETREE] Dual Thread Allocator
268
+ Peak main deferred allocation count 0
269
+ [ALLOC_BUCKET]
270
+ Large Block size 4.0 MB
271
+ Used Block count 1
272
+ Peak Allocated bytes 1.0 MB
273
+ [ALLOC_TYPETREE_MAIN]
274
+ Peak usage frame count: [0-1.0 KB]: 386 frames
275
+ Requested Block Size 2.0 MB
276
+ Peak Block count 1
277
+ Peak Allocated memory 1.0 KB
278
+ Peak Large allocation bytes 0 B
279
+ [ALLOC_TYPETREE_THREAD]
280
+ Peak usage frame count: [1.0 KB-2.0 KB]: 385 frames, [2.0 KB-4.0 KB]: 1 frames
281
+ Requested Block Size 2.0 MB
282
+ Peak Block count 1
283
+ Peak Allocated memory 2.2 KB
284
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,319 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "SoccerTwos.Policy.Entropy.mean": {
5
+ "value": 3.295713424682617,
6
+ "min": 3.295713424682617,
7
+ "max": 3.295713424682617,
8
+ "count": 1
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 105462.828125,
12
+ "min": 105462.828125,
13
+ "max": 105462.828125,
14
+ "count": 1
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 813.75,
18
+ "min": 813.75,
19
+ "max": 813.75,
20
+ "count": 1
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 26040.0,
24
+ "min": 26040.0,
25
+ "max": 26040.0,
26
+ "count": 1
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1198.7535925691843,
30
+ "min": 1198.7535925691843,
31
+ "max": 1198.7535925691843,
32
+ "count": 1
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 4795.014370276737,
36
+ "min": 4795.014370276737,
37
+ "max": 4795.014370276737,
38
+ "count": 1
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 9036.0,
42
+ "min": 9036.0,
43
+ "max": 9036.0,
44
+ "count": 1
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 9036.0,
48
+ "min": 9036.0,
49
+ "max": 9036.0,
50
+ "count": 1
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": 0.00960939098149538,
54
+ "min": 0.00960939098149538,
55
+ "max": 0.00960939098149538,
56
+ "count": 1
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": 0.11531269550323486,
60
+ "min": 0.11531269550323486,
61
+ "max": 0.11531269550323486,
62
+ "count": 1
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": 0.009659713134169579,
66
+ "min": 0.009659713134169579,
67
+ "max": 0.009659713134169579,
68
+ "count": 1
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": 0.11591655761003494,
72
+ "min": 0.11591655761003494,
73
+ "max": 0.11591655761003494,
74
+ "count": 1
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 1
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 1
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": -0.3333333333333333,
90
+ "min": -0.3333333333333333,
91
+ "max": -0.3333333333333333,
92
+ "count": 1
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": -4.0,
96
+ "min": -4.0,
97
+ "max": -4.0,
98
+ "count": 1
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": -0.3333333333333333,
102
+ "min": -0.3333333333333333,
103
+ "max": -0.3333333333333333,
104
+ "count": 1
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": -4.0,
108
+ "min": -4.0,
109
+ "max": -4.0,
110
+ "count": 1
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 1
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 1
123
+ }
124
+ },
125
+ "metadata": {
126
+ "timer_format_version": "0.1.0",
127
+ "start_time_seconds": "1678539657",
128
+ "python_version": "3.8.15 | packaged by conda-forge | (default, Nov 22 2022, 08:49:35) \n[GCC 10.4.0]",
129
+ "command_line_arguments": "/usr/local/bin/mlagents-learn /content/ml-agents/config/poca/SoccerTwos.yaml --env SoccerTwos/SoccerTwos.x86_64 --run-id=resnet --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.8.1+cu102",
134
+ "numpy_version": "1.21.2",
135
+ "end_time_seconds": "1678540010"
136
+ },
137
+ "total": 353.1799644749999,
138
+ "count": 1,
139
+ "self": 0.12604077799983315,
140
+ "children": {
141
+ "run_training.setup": {
142
+ "total": 0.018172665000065535,
143
+ "count": 1,
144
+ "self": 0.018172665000065535
145
+ },
146
+ "TrainerController.start_learning": {
147
+ "total": 353.035751032,
148
+ "count": 1,
149
+ "self": 0.042806756000800306,
150
+ "children": {
151
+ "TrainerController._reset_env": {
152
+ "total": 6.453261300000122,
153
+ "count": 1,
154
+ "self": 6.453261300000122
155
+ },
156
+ "TrainerController.advance": {
157
+ "total": 346.1203866719991,
158
+ "count": 1290,
159
+ "self": 0.05802623799650064,
160
+ "children": {
161
+ "env_step": {
162
+ "total": 344.395085984002,
163
+ "count": 1290,
164
+ "self": 334.59857148100104,
165
+ "children": {
166
+ "SubprocessEnvManager._take_step": {
167
+ "total": 9.77177613200115,
168
+ "count": 1290,
169
+ "self": 0.25897248700607634,
170
+ "children": {
171
+ "TorchPolicy.evaluate": {
172
+ "total": 9.512803644995074,
173
+ "count": 2572,
174
+ "self": 9.512803644995074
175
+ }
176
+ }
177
+ },
178
+ "workers": {
179
+ "total": 0.02473837099978482,
180
+ "count": 1289,
181
+ "self": 0.0,
182
+ "children": {
183
+ "worker_root": {
184
+ "total": 351.42346287399914,
185
+ "count": 1289,
186
+ "is_parallel": true,
187
+ "self": 23.868627930997036,
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.006513422000352875,
197
+ "count": 2,
198
+ "is_parallel": true,
199
+ "self": 0.0012219550001191237,
200
+ "children": {
201
+ "_process_rank_one_or_two_observation": {
202
+ "total": 0.005291467000233752,
203
+ "count": 8,
204
+ "is_parallel": true,
205
+ "self": 0.005291467000233752
206
+ }
207
+ }
208
+ },
209
+ "UnityEnvironment.step": {
210
+ "total": 0.26735649200008993,
211
+ "count": 1,
212
+ "is_parallel": true,
213
+ "self": 0.000399861999994755,
214
+ "children": {
215
+ "UnityEnvironment._generate_step_input": {
216
+ "total": 0.003385022999964349,
217
+ "count": 1,
218
+ "is_parallel": true,
219
+ "self": 0.003385022999964349
220
+ },
221
+ "communicator.exchange": {
222
+ "total": 0.2576666350000778,
223
+ "count": 1,
224
+ "is_parallel": true,
225
+ "self": 0.2576666350000778
226
+ },
227
+ "steps_from_proto": {
228
+ "total": 0.0059049720000530215,
229
+ "count": 2,
230
+ "is_parallel": true,
231
+ "self": 0.0008193559999654099,
232
+ "children": {
233
+ "_process_rank_one_or_two_observation": {
234
+ "total": 0.005085616000087612,
235
+ "count": 8,
236
+ "is_parallel": true,
237
+ "self": 0.005085616000087612
238
+ }
239
+ }
240
+ }
241
+ }
242
+ }
243
+ }
244
+ },
245
+ "UnityEnvironment.step": {
246
+ "total": 327.5548349430021,
247
+ "count": 1288,
248
+ "is_parallel": true,
249
+ "self": 0.788826259009511,
250
+ "children": {
251
+ "UnityEnvironment._generate_step_input": {
252
+ "total": 5.20508418599411,
253
+ "count": 1288,
254
+ "is_parallel": true,
255
+ "self": 5.20508418599411
256
+ },
257
+ "communicator.exchange": {
258
+ "total": 309.87507620100064,
259
+ "count": 1288,
260
+ "is_parallel": true,
261
+ "self": 309.87507620100064
262
+ },
263
+ "steps_from_proto": {
264
+ "total": 11.685848296997847,
265
+ "count": 2576,
266
+ "is_parallel": true,
267
+ "self": 1.6302400249883249,
268
+ "children": {
269
+ "_process_rank_one_or_two_observation": {
270
+ "total": 10.055608272009522,
271
+ "count": 10304,
272
+ "is_parallel": true,
273
+ "self": 10.055608272009522
274
+ }
275
+ }
276
+ }
277
+ }
278
+ }
279
+ }
280
+ }
281
+ }
282
+ }
283
+ }
284
+ },
285
+ "trainer_advance": {
286
+ "total": 1.6672744500006047,
287
+ "count": 1289,
288
+ "self": 0.20376839899790866,
289
+ "children": {
290
+ "process_trajectory": {
291
+ "total": 1.463506051002696,
292
+ "count": 1289,
293
+ "self": 1.463506051002696
294
+ }
295
+ }
296
+ }
297
+ }
298
+ },
299
+ "trainer_threads": {
300
+ "total": 2.0309998944867402e-06,
301
+ "count": 1,
302
+ "self": 2.0309998944867402e-06
303
+ },
304
+ "TrainerController._save_models": {
305
+ "total": 0.419294273000105,
306
+ "count": 1,
307
+ "self": 0.002587797999922259,
308
+ "children": {
309
+ "RLTrainer._checkpoint": {
310
+ "total": 0.41670647500018276,
311
+ "count": 1,
312
+ "self": 0.41670647500018276
313
+ }
314
+ }
315
+ }
316
+ }
317
+ }
318
+ }
319
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1197.0215031921136,
4
+ "checkpoints": [
5
+ {
6
+ "steps": 15756,
7
+ "file_path": "results/resnet/SoccerTwos/SoccerTwos-15756.onnx",
8
+ "reward": 0.0,
9
+ "creation_time": 1678540010.6367705,
10
+ "auxillary_file_paths": [
11
+ "results/resnet/SoccerTwos/SoccerTwos-15756.pt"
12
+ ]
13
+ }
14
+ ],
15
+ "final_checkpoint": {
16
+ "steps": 15756,
17
+ "file_path": "results/resnet/SoccerTwos.onnx",
18
+ "reward": 0.0,
19
+ "creation_time": 1678540010.6367705,
20
+ "auxillary_file_paths": [
21
+ "results/resnet/SoccerTwos/SoccerTwos-15756.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
+ }