khaled5321 commited on
Commit
ed4cfa3
1 Parent(s): f5ead94

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: khaled5321/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:b4255974ed0514e0917accd91c94ed2477cbaf1269a4227db2ed7dd5a4088699
3
+ size 1763220
SoccerTwos/SoccerTwos-1472.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b4255974ed0514e0917accd91c94ed2477cbaf1269a4227db2ed7dd5a4088699
3
+ size 1763220
SoccerTwos/SoccerTwos-1472.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:784114bdb971caa6511fe450d1ae6beeeb032280ace75a5fa46ea541d0b1e2a3
3
+ size 9479103
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:784114bdb971caa6511fe450d1ae6beeeb032280ace75a5fa46ea541d0b1e2a3
3
+ size 9479103
SoccerTwos/events.out.tfevents.1676221883.e6d8365fd521.1999.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:089247ee4f01f88c3fc7effdb780397c1da57ba91485f54c59ceae1e3ad22b51
3
+ size 1163
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"}, "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, "checkpoint_interval": 500000, "max_steps": 500, "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/SoccerTwos/SoccerTwos.exe", "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": "poca-SoccerTwos", "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,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ network_settings:
17
+ normalize: false
18
+ hidden_units: 512
19
+ num_layers: 2
20
+ vis_encode_type: simple
21
+ memory: null
22
+ goal_conditioning_type: hyper
23
+ deterministic: false
24
+ reward_signals:
25
+ extrinsic:
26
+ gamma: 0.99
27
+ strength: 1.0
28
+ network_settings:
29
+ normalize: false
30
+ hidden_units: 128
31
+ num_layers: 2
32
+ vis_encode_type: simple
33
+ memory: null
34
+ goal_conditioning_type: hyper
35
+ deterministic: false
36
+ init_path: null
37
+ keep_checkpoints: 5
38
+ checkpoint_interval: 500000
39
+ max_steps: 500
40
+ time_horizon: 1000
41
+ summary_freq: 10000
42
+ threaded: false
43
+ self_play:
44
+ save_steps: 50000
45
+ team_change: 200000
46
+ swap_steps: 2000
47
+ window: 10
48
+ play_against_latest_model_ratio: 0.5
49
+ initial_elo: 1200.0
50
+ behavioral_cloning: null
51
+ env_settings:
52
+ env_path: ./training-envs-executables/SoccerTwos/SoccerTwos.exe
53
+ env_args: null
54
+ base_port: 5005
55
+ num_envs: 1
56
+ num_areas: 1
57
+ seed: -1
58
+ max_lifetime_restarts: 10
59
+ restarts_rate_limit_n: 1
60
+ restarts_rate_limit_period_s: 60
61
+ engine_settings:
62
+ width: 84
63
+ height: 84
64
+ quality_level: 5
65
+ time_scale: 20
66
+ target_frame_rate: -1
67
+ capture_frame_rate: 60
68
+ no_graphics: true
69
+ environment_parameters: null
70
+ checkpoint_settings:
71
+ run_id: poca-SoccerTwos
72
+ initialize_from: null
73
+ load_model: false
74
+ resume: false
75
+ force: false
76
+ train_model: false
77
+ inference: false
78
+ results_dir: results
79
+ torch_settings:
80
+ device: null
81
+ debug: false
run_logs/Player-0.log ADDED
@@ -0,0 +1,277 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/content/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos_Data/Managed'
2
+ Mono config path = '/content/ml-agents/training-envs-executables/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/ml-agents/training-envs-executables/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.063 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.668001 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 1 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]: 220 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_Background Job.Worker 9]
92
+ Initial Block Size 32.0 KB
93
+ Current Block Size 32.0 KB
94
+ Peak Allocated Bytes 0 B
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.7 KB
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 14]
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_Background Job.Worker 6]
112
+ Initial Block Size 32.0 KB
113
+ Current Block Size 32.0 KB
114
+ Peak Allocated Bytes 0 B
115
+ Overflow Count 0
116
+ [ALLOC_TEMP_Background Job.Worker 12]
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_EnlightenWorker]
122
+ Initial Block Size 64.0 KB
123
+ Current Block Size 64.0 KB
124
+ Peak Allocated Bytes 0 B
125
+ Overflow Count 0
126
+ [ALLOC_TEMP_Background Job.Worker 15]
127
+ Initial Block Size 32.0 KB
128
+ Current Block Size 32.0 KB
129
+ Peak Allocated Bytes 0 B
130
+ Overflow Count 0
131
+ [ALLOC_TEMP_Background Job.Worker 1]
132
+ Initial Block Size 32.0 KB
133
+ Current Block Size 32.0 KB
134
+ Peak Allocated Bytes 0 B
135
+ Overflow Count 0
136
+ [ALLOC_TEMP_Background Job.Worker 2]
137
+ Initial Block Size 32.0 KB
138
+ Current Block Size 32.0 KB
139
+ Peak Allocated Bytes 0 B
140
+ Overflow Count 0
141
+ [ALLOC_TEMP_Background Job.Worker 7]
142
+ Initial Block Size 32.0 KB
143
+ Current Block Size 32.0 KB
144
+ Peak Allocated Bytes 0 B
145
+ Overflow Count 0
146
+ [ALLOC_TEMP_AssetGarbageCollectorHelper]
147
+ Initial Block Size 64.0 KB
148
+ Current Block Size 64.0 KB
149
+ Peak Allocated Bytes 0 B
150
+ Overflow Count 0
151
+ [ALLOC_TEMP_Background Job.Worker 5]
152
+ Initial Block Size 32.0 KB
153
+ Current Block Size 32.0 KB
154
+ Peak Allocated Bytes 0 B
155
+ Overflow Count 0
156
+ [ALLOC_TEMP_Background Job.Worker 13]
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 11]
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 3]
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 0]
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_Background Job.Worker 4]
177
+ Initial Block Size 32.0 KB
178
+ Current Block Size 32.0 KB
179
+ Peak Allocated Bytes 0 B
180
+ Overflow Count 0
181
+ [ALLOC_TEMP_BatchDeleteObjects]
182
+ Initial Block Size 64.0 KB
183
+ Current Block Size 64.0 KB
184
+ Peak Allocated Bytes 0 B
185
+ Overflow Count 0
186
+ [ALLOC_DEFAULT] Dual Thread Allocator
187
+ Peak main deferred allocation count 3
188
+ [ALLOC_BUCKET]
189
+ Large Block size 4.0 MB
190
+ Used Block count 1
191
+ Peak Allocated bytes 1.0 MB
192
+ [ALLOC_DEFAULT_MAIN]
193
+ Peak usage frame count: [4.0 MB-8.0 MB]: 221 frames
194
+ Requested Block Size 16.0 MB
195
+ Peak Block count 1
196
+ Peak Allocated memory 4.7 MB
197
+ Peak Large allocation bytes 0 B
198
+ [ALLOC_DEFAULT_THREAD]
199
+ Peak usage frame count: [16.0 MB-32.0 MB]: 221 frames
200
+ Requested Block Size 16.0 MB
201
+ Peak Block count 1
202
+ Peak Allocated memory 17.5 MB
203
+ Peak Large allocation bytes 16.0 MB
204
+ [ALLOC_TEMP_JOB_1_FRAME]
205
+ Initial Block Size 2.0 MB
206
+ Used Block Count 1
207
+ Overflow Count (too large) 0
208
+ Overflow Count (full) 0
209
+ [ALLOC_TEMP_JOB_2_FRAMES]
210
+ Initial Block Size 2.0 MB
211
+ Used Block Count 1
212
+ Overflow Count (too large) 0
213
+ Overflow Count (full) 0
214
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
215
+ Initial Block Size 2.0 MB
216
+ Used Block Count 2
217
+ Overflow Count (too large) 0
218
+ Overflow Count (full) 0
219
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
220
+ Initial Block Size 1.0 MB
221
+ Used Block Count 3
222
+ Overflow Count (too large) 0
223
+ Overflow Count (full) 0
224
+ [ALLOC_GFX] Dual Thread Allocator
225
+ Peak main deferred allocation count 0
226
+ [ALLOC_BUCKET]
227
+ Large Block size 4.0 MB
228
+ Used Block count 1
229
+ Peak Allocated bytes 1.0 MB
230
+ [ALLOC_GFX_MAIN]
231
+ Peak usage frame count: [32.0 KB-64.0 KB]: 220 frames, [64.0 KB-128.0 KB]: 1 frames
232
+ Requested Block Size 16.0 MB
233
+ Peak Block count 1
234
+ Peak Allocated memory 65.6 KB
235
+ Peak Large allocation bytes 0 B
236
+ [ALLOC_GFX_THREAD]
237
+ Peak usage frame count: [128.0 KB-256.0 KB]: 221 frames
238
+ Requested Block Size 16.0 MB
239
+ Peak Block count 1
240
+ Peak Allocated memory 173.5 KB
241
+ Peak Large allocation bytes 0 B
242
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
243
+ Peak main deferred allocation count 0
244
+ [ALLOC_BUCKET]
245
+ Large Block size 4.0 MB
246
+ Used Block count 1
247
+ Peak Allocated bytes 1.0 MB
248
+ [ALLOC_CACHEOBJECTS_MAIN]
249
+ Peak usage frame count: [0.5 MB-1.0 MB]: 221 frames
250
+ Requested Block Size 4.0 MB
251
+ Peak Block count 1
252
+ Peak Allocated memory 0.6 MB
253
+ Peak Large allocation bytes 0 B
254
+ [ALLOC_CACHEOBJECTS_THREAD]
255
+ Peak usage frame count: [0.5 MB-1.0 MB]: 220 frames, [4.0 MB-8.0 MB]: 1 frames
256
+ Requested Block Size 4.0 MB
257
+ Peak Block count 2
258
+ Peak Allocated memory 4.5 MB
259
+ Peak Large allocation bytes 0 B
260
+ [ALLOC_TYPETREE] Dual Thread Allocator
261
+ Peak main deferred allocation count 0
262
+ [ALLOC_BUCKET]
263
+ Large Block size 4.0 MB
264
+ Used Block count 1
265
+ Peak Allocated bytes 1.0 MB
266
+ [ALLOC_TYPETREE_MAIN]
267
+ Peak usage frame count: [0-1.0 KB]: 221 frames
268
+ Requested Block Size 2.0 MB
269
+ Peak Block count 1
270
+ Peak Allocated memory 1.0 KB
271
+ Peak Large allocation bytes 0 B
272
+ [ALLOC_TYPETREE_THREAD]
273
+ Peak usage frame count: [1.0 KB-2.0 KB]: 220 frames, [2.0 KB-4.0 KB]: 1 frames
274
+ Requested Block Size 2.0 MB
275
+ Peak Block count 1
276
+ Peak Allocated memory 2.2 KB
277
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,204 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "metadata": {
4
+ "timer_format_version": "0.1.0",
5
+ "start_time_seconds": "1676221878",
6
+ "python_version": "3.8.10 (default, Nov 14 2022, 12:59:47) \n[GCC 9.4.0]",
7
+ "command_line_arguments": "/usr/local/bin/mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos/SoccerTwos.exe --run-id=poca-SoccerTwos --no-graphics",
8
+ "mlagents_version": "0.29.0.dev0",
9
+ "mlagents_envs_version": "0.29.0.dev0",
10
+ "communication_protocol_version": "1.5.0",
11
+ "pytorch_version": "1.8.1+cu102",
12
+ "numpy_version": "1.21.6",
13
+ "end_time_seconds": "1676221902"
14
+ },
15
+ "total": 24.036311694000005,
16
+ "count": 1,
17
+ "self": 0.38915876999999455,
18
+ "children": {
19
+ "run_training.setup": {
20
+ "total": 0.09782394400002659,
21
+ "count": 1,
22
+ "self": 0.09782394400002659
23
+ },
24
+ "TrainerController.start_learning": {
25
+ "total": 23.549328979999984,
26
+ "count": 1,
27
+ "self": 0.01804897800030858,
28
+ "children": {
29
+ "TrainerController._reset_env": {
30
+ "total": 5.360062363999987,
31
+ "count": 1,
32
+ "self": 5.360062363999987
33
+ },
34
+ "TrainerController.advance": {
35
+ "total": 18.061500519999697,
36
+ "count": 736,
37
+ "self": 0.01758089299983112,
38
+ "children": {
39
+ "env_step": {
40
+ "total": 17.153780455999822,
41
+ "count": 736,
42
+ "self": 13.771951089999732,
43
+ "children": {
44
+ "SubprocessEnvManager._take_step": {
45
+ "total": 3.37102193700008,
46
+ "count": 736,
47
+ "self": 0.08976122600222425,
48
+ "children": {
49
+ "TorchPolicy.evaluate": {
50
+ "total": 3.2812607109978558,
51
+ "count": 1472,
52
+ "self": 0.3578919429990606,
53
+ "children": {
54
+ "TorchPolicy.sample_actions": {
55
+ "total": 2.923368767998795,
56
+ "count": 1472,
57
+ "self": 2.923368767998795
58
+ }
59
+ }
60
+ }
61
+ }
62
+ },
63
+ "workers": {
64
+ "total": 0.010807429000010416,
65
+ "count": 736,
66
+ "self": 0.0,
67
+ "children": {
68
+ "worker_root": {
69
+ "total": 22.63356924999954,
70
+ "count": 736,
71
+ "is_parallel": true,
72
+ "self": 11.191107756999713,
73
+ "children": {
74
+ "run_training.setup": {
75
+ "total": 0.0,
76
+ "count": 0,
77
+ "is_parallel": true,
78
+ "self": 0.0,
79
+ "children": {
80
+ "steps_from_proto": {
81
+ "total": 0.0068168710000691135,
82
+ "count": 2,
83
+ "is_parallel": true,
84
+ "self": 0.004395590000001448,
85
+ "children": {
86
+ "_process_rank_one_or_two_observation": {
87
+ "total": 0.0024212810000676654,
88
+ "count": 8,
89
+ "is_parallel": true,
90
+ "self": 0.0024212810000676654
91
+ }
92
+ }
93
+ },
94
+ "UnityEnvironment.step": {
95
+ "total": 0.056200458000034814,
96
+ "count": 1,
97
+ "is_parallel": true,
98
+ "self": 0.000828628999954617,
99
+ "children": {
100
+ "UnityEnvironment._generate_step_input": {
101
+ "total": 0.0007256300000335614,
102
+ "count": 1,
103
+ "is_parallel": true,
104
+ "self": 0.0007256300000335614
105
+ },
106
+ "communicator.exchange": {
107
+ "total": 0.052136867999990955,
108
+ "count": 1,
109
+ "is_parallel": true,
110
+ "self": 0.052136867999990955
111
+ },
112
+ "steps_from_proto": {
113
+ "total": 0.002509331000055681,
114
+ "count": 2,
115
+ "is_parallel": true,
116
+ "self": 0.000506541000049765,
117
+ "children": {
118
+ "_process_rank_one_or_two_observation": {
119
+ "total": 0.0020027900000059162,
120
+ "count": 8,
121
+ "is_parallel": true,
122
+ "self": 0.0020027900000059162
123
+ }
124
+ }
125
+ }
126
+ }
127
+ }
128
+ }
129
+ },
130
+ "UnityEnvironment.step": {
131
+ "total": 11.442461492999826,
132
+ "count": 735,
133
+ "is_parallel": true,
134
+ "self": 0.7013282300007972,
135
+ "children": {
136
+ "UnityEnvironment._generate_step_input": {
137
+ "total": 0.39697592099975054,
138
+ "count": 735,
139
+ "is_parallel": true,
140
+ "self": 0.39697592099975054
141
+ },
142
+ "communicator.exchange": {
143
+ "total": 8.220639371999539,
144
+ "count": 735,
145
+ "is_parallel": true,
146
+ "self": 8.220639371999539
147
+ },
148
+ "steps_from_proto": {
149
+ "total": 2.123517969999739,
150
+ "count": 1470,
151
+ "is_parallel": true,
152
+ "self": 0.4442662799997379,
153
+ "children": {
154
+ "_process_rank_one_or_two_observation": {
155
+ "total": 1.679251690000001,
156
+ "count": 5880,
157
+ "is_parallel": true,
158
+ "self": 1.679251690000001
159
+ }
160
+ }
161
+ }
162
+ }
163
+ }
164
+ }
165
+ }
166
+ }
167
+ }
168
+ }
169
+ },
170
+ "trainer_advance": {
171
+ "total": 0.8901391710000439,
172
+ "count": 736,
173
+ "self": 0.04961544700086051,
174
+ "children": {
175
+ "process_trajectory": {
176
+ "total": 0.8405237239991834,
177
+ "count": 736,
178
+ "self": 0.8405237239991834
179
+ }
180
+ }
181
+ }
182
+ }
183
+ },
184
+ "trainer_threads": {
185
+ "total": 7.300000106624793e-07,
186
+ "count": 1,
187
+ "self": 7.300000106624793e-07
188
+ },
189
+ "TrainerController._save_models": {
190
+ "total": 0.10971638799998118,
191
+ "count": 1,
192
+ "self": 0.0011425199999735014,
193
+ "children": {
194
+ "RLTrainer._checkpoint": {
195
+ "total": 0.10857386800000768,
196
+ "count": 1,
197
+ "self": 0.10857386800000768
198
+ }
199
+ }
200
+ }
201
+ }
202
+ }
203
+ }
204
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1200.9985608882907,
4
+ "checkpoints": [
5
+ {
6
+ "steps": 1472,
7
+ "file_path": "results/poca-SoccerTwos/SoccerTwos/SoccerTwos-1472.onnx",
8
+ "reward": 0.0,
9
+ "creation_time": 1676221901.942154,
10
+ "auxillary_file_paths": [
11
+ "results/poca-SoccerTwos/SoccerTwos/SoccerTwos-1472.pt"
12
+ ]
13
+ }
14
+ ],
15
+ "final_checkpoint": {
16
+ "steps": 1472,
17
+ "file_path": "results/poca-SoccerTwos/SoccerTwos.onnx",
18
+ "reward": 0.0,
19
+ "creation_time": 1676221901.942154,
20
+ "auxillary_file_paths": [
21
+ "results/poca-SoccerTwos/SoccerTwos/SoccerTwos-1472.pt"
22
+ ]
23
+ }
24
+ },
25
+ "metadata": {
26
+ "stats_format_version": "0.3.0",
27
+ "mlagents_version": "0.29.0.dev0",
28
+ "torch_version": "1.8.1+cu102"
29
+ }
30
+ }