TokyoNights commited on
Commit
f77e20f
1 Parent(s): d9bb2aa

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: TokyoNights/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:4a92fcd16dd95c819e0fcaab9e0e4a0acc737e7059ab9fa4a5d5ce842a1139a6
3
+ size 1763220
SoccerTwos/SoccerTwos-197.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2ac17e7f8b250efcf106cb672642829bb547201b5a62ee32d8cf075c39304bf9
3
+ size 1763220
SoccerTwos/SoccerTwos-197.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed88138d910ed133aa492215813ac308dfcf9c03aafb3386f0a4b3c294bb6e97
3
+ size 9479475
SoccerTwos/SoccerTwos-9032.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4a92fcd16dd95c819e0fcaab9e0e4a0acc737e7059ab9fa4a5d5ce842a1139a6
3
+ size 1763220
SoccerTwos/SoccerTwos-9032.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70c4b3534ca496cc3522a7baa76c782e6aad22dc4fa35a73ed128363a0349abb
3
+ size 9479475
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70c4b3534ca496cc3522a7baa76c782e6aad22dc4fa35a73ed128363a0349abb
3
+ size 9479475
SoccerTwos/events.out.tfevents.1687231565.820f7b5d3e1e.42238.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9f4537d03befedff50507a155e154fd48227ffb6e2934825b2bcb4ac031daca9
3
+ size 1597
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": 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": "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,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: 50000000
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: /content/SoccerTwos/SoccerTwos.x86_64
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: SoccerTwos
72
+ initialize_from: null
73
+ load_model: false
74
+ resume: false
75
+ force: true
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,279 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ Initialize engine version: 2021.3.14f1 (eee1884e7226)
6
+ [Subsystems] Discovering subsystems at path /content/SoccerTwos/SoccerTwos_Data/UnitySubsystems
7
+ Forcing GfxDevice: Null
8
+ GfxDevice: creating device client; threaded=0; jobified=0
9
+ NullGfxDevice:
10
+ Version: NULL 1.0 [1.0]
11
+ Renderer: Null Device
12
+ Vendor: Unity Technologies
13
+ ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
14
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
15
+ ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
16
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
17
+ ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
18
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
19
+ ALSA lib conf.c:5220:(snd_config_expand) Evaluate error: No such file or directory
20
+ ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM default
21
+ FMOD failed to initialize the output device.: "Error initializing output device. " (60)
22
+ 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
23
+ ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
24
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
25
+ ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
26
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
27
+ ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
28
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
29
+ ALSA lib conf.c:5220:(snd_config_expand) Evaluate error: No such file or directory
30
+ ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM default
31
+ FMOD failed to initialize the output device.: "Error initializing output device. " (60)
32
+ FMOD initialized on nosound output
33
+ Begin MonoManager ReloadAssembly
34
+ - Completed reload, in 0.064 seconds
35
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
36
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
37
+ ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
38
+ WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
39
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
40
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
41
+ ERROR: Shader Standard (Specular setup) shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
42
+ WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
43
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
44
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
45
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - 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
+ ERROR: Shader Autodesk Interactive shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
49
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
50
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
51
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
52
+ WARNING: Shader Unsupported: 'Standard' - 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
+ ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
56
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
57
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
58
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
59
+ UnloadTime: 0.717520 ms
60
+ Registered Communicator in Agent.
61
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
62
+ requesting resize 84 x 84
63
+ TOO LONG
64
+ TOO LONG
65
+ TOO LONG
66
+ TOO LONG
67
+ TOO LONG
68
+ Setting up 1 worker threads for Enlighten.
69
+ Memory Statistics:
70
+ [ALLOC_TEMP_TLS] TLS Allocator
71
+ StackAllocators :
72
+ [ALLOC_TEMP_MAIN]
73
+ Peak usage frame count: [8.0 KB-16.0 KB]: 299 frames, [2.0 MB-4.0 MB]: 1 frames
74
+ Initial Block Size 4.0 MB
75
+ Current Block Size 4.0 MB
76
+ Peak Allocated Bytes 2.1 MB
77
+ Overflow Count 0
78
+ [ALLOC_TEMP_Loading.AsyncRead]
79
+ Initial Block Size 64.0 KB
80
+ Current Block Size 64.0 KB
81
+ Peak Allocated Bytes 128 B
82
+ Overflow Count 0
83
+ [ALLOC_TEMP_Loading.PreloadManager]
84
+ Initial Block Size 256.0 KB
85
+ Current Block Size 300.0 KB
86
+ Peak Allocated Bytes 249.5 KB
87
+ Overflow Count 4
88
+ [ALLOC_TEMP_Background Job.Worker 8]
89
+ Initial Block Size 32.0 KB
90
+ Current Block Size 32.0 KB
91
+ Peak Allocated Bytes 0 B
92
+ Overflow Count 0
93
+ [ALLOC_TEMP_Background Job.Worker 9]
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_Job.Worker 0]
99
+ Initial Block Size 256.0 KB
100
+ Current Block Size 256.0 KB
101
+ Peak Allocated Bytes 0.7 KB
102
+ Overflow Count 0
103
+ [ALLOC_TEMP_Background Job.Worker 10]
104
+ Initial Block Size 32.0 KB
105
+ Current Block Size 32.0 KB
106
+ Peak Allocated Bytes 0 B
107
+ Overflow Count 0
108
+ [ALLOC_TEMP_Background Job.Worker 14]
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 6]
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 12]
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_EnlightenWorker]
124
+ Initial Block Size 64.0 KB
125
+ Current Block Size 64.0 KB
126
+ Peak Allocated Bytes 0 B
127
+ Overflow Count 0
128
+ [ALLOC_TEMP_Background Job.Worker 15]
129
+ Initial Block Size 32.0 KB
130
+ Current Block Size 32.0 KB
131
+ Peak Allocated Bytes 0 B
132
+ Overflow Count 0
133
+ [ALLOC_TEMP_Background Job.Worker 1]
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 2]
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 7]
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_AssetGarbageCollectorHelper]
149
+ Initial Block Size 64.0 KB
150
+ Current Block Size 64.0 KB
151
+ Peak Allocated Bytes 0 B
152
+ Overflow Count 0
153
+ [ALLOC_TEMP_Background Job.Worker 5]
154
+ Initial Block Size 32.0 KB
155
+ Current Block Size 32.0 KB
156
+ Peak Allocated Bytes 0 B
157
+ Overflow Count 0
158
+ [ALLOC_TEMP_Background Job.Worker 13]
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 11]
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 3]
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 0]
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 4]
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_BatchDeleteObjects]
184
+ Initial Block Size 64.0 KB
185
+ Current Block Size 64.0 KB
186
+ Peak Allocated Bytes 0 B
187
+ Overflow Count 0
188
+ [ALLOC_DEFAULT] Dual Thread Allocator
189
+ Peak main deferred allocation count 3
190
+ [ALLOC_BUCKET]
191
+ Large Block size 4.0 MB
192
+ Used Block count 1
193
+ Peak Allocated bytes 1.0 MB
194
+ [ALLOC_DEFAULT_MAIN]
195
+ Peak usage frame count: [4.0 MB-8.0 MB]: 300 frames
196
+ Requested Block Size 16.0 MB
197
+ Peak Block count 1
198
+ Peak Allocated memory 5.0 MB
199
+ Peak Large allocation bytes 0 B
200
+ [ALLOC_DEFAULT_THREAD]
201
+ Peak usage frame count: [16.0 MB-32.0 MB]: 300 frames
202
+ Requested Block Size 16.0 MB
203
+ Peak Block count 1
204
+ Peak Allocated memory 17.2 MB
205
+ Peak Large allocation bytes 16.0 MB
206
+ [ALLOC_TEMP_JOB_1_FRAME]
207
+ Initial Block Size 2.0 MB
208
+ Used Block Count 1
209
+ Overflow Count (too large) 0
210
+ Overflow Count (full) 0
211
+ [ALLOC_TEMP_JOB_2_FRAMES]
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_4_FRAMES (JobTemp)]
217
+ Initial Block Size 2.0 MB
218
+ Used Block Count 2
219
+ Overflow Count (too large) 0
220
+ Overflow Count (full) 0
221
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
222
+ Initial Block Size 1.0 MB
223
+ Used Block Count 3
224
+ Overflow Count (too large) 0
225
+ Overflow Count (full) 0
226
+ [ALLOC_GFX] Dual Thread Allocator
227
+ Peak main deferred allocation count 0
228
+ [ALLOC_BUCKET]
229
+ Large Block size 4.0 MB
230
+ Used Block count 1
231
+ Peak Allocated bytes 1.0 MB
232
+ [ALLOC_GFX_MAIN]
233
+ Peak usage frame count: [32.0 KB-64.0 KB]: 299 frames, [64.0 KB-128.0 KB]: 1 frames
234
+ Requested Block Size 16.0 MB
235
+ Peak Block count 1
236
+ Peak Allocated memory 65.6 KB
237
+ Peak Large allocation bytes 0 B
238
+ [ALLOC_GFX_THREAD]
239
+ Peak usage frame count: [128.0 KB-256.0 KB]: 300 frames
240
+ Requested Block Size 16.0 MB
241
+ Peak Block count 1
242
+ Peak Allocated memory 173.5 KB
243
+ Peak Large allocation bytes 0 B
244
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
245
+ Peak main deferred allocation count 0
246
+ [ALLOC_BUCKET]
247
+ Large Block size 4.0 MB
248
+ Used Block count 1
249
+ Peak Allocated bytes 1.0 MB
250
+ [ALLOC_CACHEOBJECTS_MAIN]
251
+ Peak usage frame count: [0.5 MB-1.0 MB]: 300 frames
252
+ Requested Block Size 4.0 MB
253
+ Peak Block count 1
254
+ Peak Allocated memory 0.6 MB
255
+ Peak Large allocation bytes 0 B
256
+ [ALLOC_CACHEOBJECTS_THREAD]
257
+ Peak usage frame count: [0.5 MB-1.0 MB]: 299 frames, [4.0 MB-8.0 MB]: 1 frames
258
+ Requested Block Size 4.0 MB
259
+ Peak Block count 2
260
+ Peak Allocated memory 4.5 MB
261
+ Peak Large allocation bytes 0 B
262
+ [ALLOC_TYPETREE] Dual Thread Allocator
263
+ Peak main deferred allocation count 0
264
+ [ALLOC_BUCKET]
265
+ Large Block size 4.0 MB
266
+ Used Block count 1
267
+ Peak Allocated bytes 1.0 MB
268
+ [ALLOC_TYPETREE_MAIN]
269
+ Peak usage frame count: [0-1.0 KB]: 300 frames
270
+ Requested Block Size 2.0 MB
271
+ Peak Block count 1
272
+ Peak Allocated memory 1.0 KB
273
+ Peak Large allocation bytes 0 B
274
+ [ALLOC_TYPETREE_THREAD]
275
+ Peak usage frame count: [1.0 KB-2.0 KB]: 299 frames, [2.0 KB-4.0 KB]: 1 frames
276
+ Requested Block Size 2.0 MB
277
+ Peak Block count 1
278
+ Peak Allocated memory 2.2 KB
279
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,199 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "metadata": {
4
+ "timer_format_version": "0.1.0",
5
+ "start_time_seconds": "1687231564",
6
+ "python_version": "3.9.9 | packaged by conda-forge | (main, Dec 20 2021, 02:40:17) \n[GCC 9.4.0]",
7
+ "command_line_arguments": "/usr/local/envs/rl/bin/mlagents-learn /content/ml-agents/config/poca/SoccerTwos.yaml --env /content/SoccerTwos/SoccerTwos.x86_64 --run-id=SoccerTwos --no-graphics --force",
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.25.0",
13
+ "end_time_seconds": "1687231776"
14
+ },
15
+ "total": 212.18677716899947,
16
+ "count": 1,
17
+ "self": 0.43140471299921046,
18
+ "children": {
19
+ "run_training.setup": {
20
+ "total": 0.011194898999747238,
21
+ "count": 1,
22
+ "self": 0.011194898999747238
23
+ },
24
+ "TrainerController.start_learning": {
25
+ "total": 211.7441775570005,
26
+ "count": 1,
27
+ "self": 0.03916573097376386,
28
+ "children": {
29
+ "TrainerController._reset_env": {
30
+ "total": 0.6870738140005415,
31
+ "count": 1,
32
+ "self": 0.6870738140005415
33
+ },
34
+ "TrainerController.advance": {
35
+ "total": 210.8743525570262,
36
+ "count": 1002,
37
+ "self": 0.04056623506585311,
38
+ "children": {
39
+ "env_step": {
40
+ "total": 204.58324702301252,
41
+ "count": 1002,
42
+ "self": 198.42452825801593,
43
+ "children": {
44
+ "SubprocessEnvManager._take_step": {
45
+ "total": 6.136594015006267,
46
+ "count": 1002,
47
+ "self": 0.19507981199967617,
48
+ "children": {
49
+ "TorchPolicy.evaluate": {
50
+ "total": 5.941514203006591,
51
+ "count": 2000,
52
+ "self": 0.7865562399692863,
53
+ "children": {
54
+ "TorchPolicy.sample_actions": {
55
+ "total": 5.154957963037305,
56
+ "count": 2000,
57
+ "self": 5.154957963037305
58
+ }
59
+ }
60
+ }
61
+ }
62
+ },
63
+ "workers": {
64
+ "total": 0.022124749990325654,
65
+ "count": 1002,
66
+ "self": 0.0,
67
+ "children": {
68
+ "worker_root": {
69
+ "total": 206.43284457500704,
70
+ "count": 1002,
71
+ "is_parallel": true,
72
+ "self": 13.125588497021454,
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.0031136199977481738,
82
+ "count": 2,
83
+ "is_parallel": true,
84
+ "self": 0.0006030189961165888,
85
+ "children": {
86
+ "_process_rank_one_or_two_observation": {
87
+ "total": 0.002510601001631585,
88
+ "count": 8,
89
+ "is_parallel": true,
90
+ "self": 0.002510601001631585
91
+ }
92
+ }
93
+ },
94
+ "UnityEnvironment.step": {
95
+ "total": 0.15942472399910912,
96
+ "count": 1,
97
+ "is_parallel": true,
98
+ "self": 0.00042691999988164753,
99
+ "children": {
100
+ "UnityEnvironment._generate_step_input": {
101
+ "total": 0.006701660000544507,
102
+ "count": 1,
103
+ "is_parallel": true,
104
+ "self": 0.006701660000544507
105
+ },
106
+ "communicator.exchange": {
107
+ "total": 0.14787491399874853,
108
+ "count": 1,
109
+ "is_parallel": true,
110
+ "self": 0.14787491399874853
111
+ },
112
+ "steps_from_proto": {
113
+ "total": 0.0044212299999344395,
114
+ "count": 2,
115
+ "is_parallel": true,
116
+ "self": 0.0006566800020664232,
117
+ "children": {
118
+ "_process_rank_one_or_two_observation": {
119
+ "total": 0.0037645499978680164,
120
+ "count": 8,
121
+ "is_parallel": true,
122
+ "self": 0.0037645499978680164
123
+ }
124
+ }
125
+ }
126
+ }
127
+ }
128
+ }
129
+ },
130
+ "UnityEnvironment.step": {
131
+ "total": 193.30725607798558,
132
+ "count": 1001,
133
+ "is_parallel": true,
134
+ "self": 0.7461873029496928,
135
+ "children": {
136
+ "UnityEnvironment._generate_step_input": {
137
+ "total": 2.9095782159929513,
138
+ "count": 1001,
139
+ "is_parallel": true,
140
+ "self": 2.9095782159929513
141
+ },
142
+ "communicator.exchange": {
143
+ "total": 183.30539509798837,
144
+ "count": 1001,
145
+ "is_parallel": true,
146
+ "self": 183.30539509798837
147
+ },
148
+ "steps_from_proto": {
149
+ "total": 6.346095461054574,
150
+ "count": 2002,
151
+ "is_parallel": true,
152
+ "self": 1.0232664710292738,
153
+ "children": {
154
+ "_process_rank_one_or_two_observation": {
155
+ "total": 5.3228289900253,
156
+ "count": 8008,
157
+ "is_parallel": true,
158
+ "self": 5.3228289900253
159
+ }
160
+ }
161
+ }
162
+ }
163
+ }
164
+ }
165
+ }
166
+ }
167
+ }
168
+ }
169
+ },
170
+ "trainer_advance": {
171
+ "total": 6.250539298947842,
172
+ "count": 1002,
173
+ "self": 0.18069857492992014,
174
+ "children": {
175
+ "process_trajectory": {
176
+ "total": 6.069840724017922,
177
+ "count": 1002,
178
+ "self": 6.069840724017922
179
+ }
180
+ }
181
+ }
182
+ }
183
+ },
184
+ "TrainerController._save_models": {
185
+ "total": 0.1435854549999931,
186
+ "count": 1,
187
+ "self": 0.0030544210003426997,
188
+ "children": {
189
+ "RLTrainer._checkpoint": {
190
+ "total": 0.1405310339996504,
191
+ "count": 1,
192
+ "self": 0.1405310339996504
193
+ }
194
+ }
195
+ }
196
+ }
197
+ }
198
+ }
199
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1198.995732238514,
4
+ "checkpoints": [
5
+ {
6
+ "steps": 9032,
7
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-9032.onnx",
8
+ "reward": 0.0,
9
+ "creation_time": 1687231776.499909,
10
+ "auxillary_file_paths": [
11
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-9032.pt"
12
+ ]
13
+ }
14
+ ],
15
+ "final_checkpoint": {
16
+ "steps": 9032,
17
+ "file_path": "results/SoccerTwos/SoccerTwos.onnx",
18
+ "reward": 0.0,
19
+ "creation_time": 1687231776.499909,
20
+ "auxillary_file_paths": [
21
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-9032.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
+ }