aliakyurek commited on
Commit
6a6e0ed
·
1 Parent(s): 680ac70

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: aliakyurek/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:0a790b31ec147c80620abf9e2b2151c0b42ad2fc17690665357182ca4f252ddd
3
+ size 1764633
SoccerTwos/SoccerTwos-126040.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a790b31ec147c80620abf9e2b2151c0b42ad2fc17690665357182ca4f252ddd
3
+ size 1764633
SoccerTwos/SoccerTwos-126040.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2ee812b2773e04af5dd78d67cb3d8c309597296ac6a3b7f70961cccb842d2231
3
+ size 28421137
SoccerTwos/SoccerTwos-140334.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a790b31ec147c80620abf9e2b2151c0b42ad2fc17690665357182ca4f252ddd
3
+ size 1764633
SoccerTwos/SoccerTwos-140334.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3580f7571bd7c72ccbb3f447103a320cea026143c6d2c3beee229c7402b2f0ad
3
+ size 28421137
SoccerTwos/SoccerTwos-2642.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eeabd4f4661ba8584d3c42f9279a3fae355f92269f0c0828c118a3ab9c48effd
3
+ size 1764633
SoccerTwos/SoccerTwos-2642.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:097558a1444ef0d114db075038a3ba83cbc714185cc9d719c96bab77bac2a6ad
3
+ size 9478265
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3580f7571bd7c72ccbb3f447103a320cea026143c6d2c3beee229c7402b2f0ad
3
+ size 28421137
SoccerTwos/events.out.tfevents.1685002791.9e733193a0d1.6119.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aab357ba593ea7a34bb2caf25216e44c69a0f31bbbbbedc76263d01aaf4ba5bd
3
+ size 89950
SoccerTwos/events.out.tfevents.1685003623.9e733193a0d1.9503.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b65bd52aa4e59653c6dc306aef35d932e9d1ffacaa93a8b3d2b39f313239e04d
3
+ size 16497
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": 140000, "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/linux/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": true, "force": false, "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: 140000
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: ./training-envs-executables/linux/SoccerTwos.x86_64
54
+ env_args: null
55
+ base_port: 5005
56
+ num_envs: 1
57
+ num_areas: 1
58
+ seed: -1
59
+ max_lifetime_restarts: 10
60
+ restarts_rate_limit_n: 1
61
+ restarts_rate_limit_period_s: 60
62
+ engine_settings:
63
+ width: 84
64
+ height: 84
65
+ quality_level: 5
66
+ time_scale: 20
67
+ target_frame_rate: -1
68
+ capture_frame_rate: 60
69
+ no_graphics: true
70
+ environment_parameters: null
71
+ checkpoint_settings:
72
+ run_id: SoccerTwos
73
+ initialize_from: null
74
+ load_model: false
75
+ resume: true
76
+ force: false
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,279 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/content/ml-agents/training-envs-executables/linux/SoccerTwos_Data/Managed'
2
+ Mono config path = '/content/ml-agents/training-envs-executables/linux/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/ml-agents/training-envs-executables/linux/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.125 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: 1.001350 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.6 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 4
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 4.6 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.6 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,319 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "SoccerTwos.Policy.Entropy.mean": {
5
+ "value": 3.2717361450195312,
6
+ "min": 3.2717361450195312,
7
+ "max": 3.273512125015259,
8
+ "count": 2
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 2407.997802734375,
12
+ "min": 2407.997802734375,
13
+ "max": 102343.0859375,
14
+ "count": 2
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 999.0,
18
+ "min": 535.75,
19
+ "max": 999.0,
20
+ "count": 2
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 19980.0,
24
+ "min": 8572.0,
25
+ "max": 19980.0,
26
+ "count": 2
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1208.8161780689816,
30
+ "min": 1208.8161780689816,
31
+ "max": 1208.8161780689816,
32
+ "count": 1
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 9670.529424551853,
36
+ "min": 9670.529424551853,
37
+ "max": 9670.529424551853,
38
+ "count": 1
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 139334.0,
42
+ "min": 129707.0,
43
+ "max": 139334.0,
44
+ "count": 2
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 139334.0,
48
+ "min": 129707.0,
49
+ "max": 139334.0,
50
+ "count": 2
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": -0.011673575267195702,
54
+ "min": -0.011901408433914185,
55
+ "max": -0.011673575267195702,
56
+ "count": 2
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": -0.11673574894666672,
60
+ "min": -0.11673574894666672,
61
+ "max": -0.08330985903739929,
62
+ "count": 2
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": -0.012004703283309937,
66
+ "min": -0.012004703283309937,
67
+ "max": -0.01158186886459589,
68
+ "count": 2
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": -0.12004703283309937,
72
+ "min": -0.12004703283309937,
73
+ "max": -0.0810730829834938,
74
+ "count": 2
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 2
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 2
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": 0.03734000027179718,
90
+ "min": -0.007057138851710728,
91
+ "max": 0.03734000027179718,
92
+ "count": 2
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": 0.3734000027179718,
96
+ "min": -0.0493999719619751,
97
+ "max": 0.3734000027179718,
98
+ "count": 2
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": 0.03734000027179718,
102
+ "min": -0.007057138851710728,
103
+ "max": 0.03734000027179718,
104
+ "count": 2
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": 0.3734000027179718,
108
+ "min": -0.0493999719619751,
109
+ "max": 0.3734000027179718,
110
+ "count": 2
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 2
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 2
123
+ }
124
+ },
125
+ "metadata": {
126
+ "timer_format_version": "0.1.0",
127
+ "start_time_seconds": "1685003622",
128
+ "python_version": "3.9.16 (main, Dec 7 2022, 01:11:51) \n[GCC 9.4.0]",
129
+ "command_line_arguments": "/usr/local/bin/mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/linux/SoccerTwos.x86_64 --run-id=SoccerTwos --no-graphics --resume",
130
+ "mlagents_version": "0.31.0.dev0",
131
+ "mlagents_envs_version": "0.31.0.dev0",
132
+ "communication_protocol_version": "1.5.0",
133
+ "pytorch_version": "1.11.0+cu102",
134
+ "numpy_version": "1.21.2",
135
+ "end_time_seconds": "1685003670"
136
+ },
137
+ "total": 47.874304945000176,
138
+ "count": 1,
139
+ "self": 0.48808162500040453,
140
+ "children": {
141
+ "run_training.setup": {
142
+ "total": 0.09795338799995079,
143
+ "count": 1,
144
+ "self": 0.09795338799995079
145
+ },
146
+ "TrainerController.start_learning": {
147
+ "total": 47.28826993199982,
148
+ "count": 1,
149
+ "self": 0.044755642999916745,
150
+ "children": {
151
+ "TrainerController._reset_env": {
152
+ "total": 1.0187961730000552,
153
+ "count": 1,
154
+ "self": 1.0187961730000552
155
+ },
156
+ "TrainerController.advance": {
157
+ "total": 45.88130786999977,
158
+ "count": 1004,
159
+ "self": 0.05874242998652335,
160
+ "children": {
161
+ "env_step": {
162
+ "total": 37.716277498007,
163
+ "count": 1004,
164
+ "self": 31.662065072007636,
165
+ "children": {
166
+ "SubprocessEnvManager._take_step": {
167
+ "total": 6.028334267999298,
168
+ "count": 1004,
169
+ "self": 0.279041093002661,
170
+ "children": {
171
+ "TorchPolicy.evaluate": {
172
+ "total": 5.749293174996637,
173
+ "count": 2000,
174
+ "self": 5.749293174996637
175
+ }
176
+ }
177
+ },
178
+ "workers": {
179
+ "total": 0.025878158000068652,
180
+ "count": 1004,
181
+ "self": 0.0,
182
+ "children": {
183
+ "worker_root": {
184
+ "total": 40.78589655799692,
185
+ "count": 1004,
186
+ "is_parallel": true,
187
+ "self": 14.548154958996065,
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.003655492999996568,
197
+ "count": 2,
198
+ "is_parallel": true,
199
+ "self": 0.0009876700000859273,
200
+ "children": {
201
+ "_process_rank_one_or_two_observation": {
202
+ "total": 0.0026678229999106406,
203
+ "count": 8,
204
+ "is_parallel": true,
205
+ "self": 0.0026678229999106406
206
+ }
207
+ }
208
+ },
209
+ "UnityEnvironment.step": {
210
+ "total": 0.05165710499977649,
211
+ "count": 1,
212
+ "is_parallel": true,
213
+ "self": 0.0015324500000133412,
214
+ "children": {
215
+ "UnityEnvironment._generate_step_input": {
216
+ "total": 0.0007100729999365285,
217
+ "count": 1,
218
+ "is_parallel": true,
219
+ "self": 0.0007100729999365285
220
+ },
221
+ "communicator.exchange": {
222
+ "total": 0.04528051600004801,
223
+ "count": 1,
224
+ "is_parallel": true,
225
+ "self": 0.04528051600004801
226
+ },
227
+ "steps_from_proto": {
228
+ "total": 0.004134065999778613,
229
+ "count": 2,
230
+ "is_parallel": true,
231
+ "self": 0.0008548969999537803,
232
+ "children": {
233
+ "_process_rank_one_or_two_observation": {
234
+ "total": 0.003279168999824833,
235
+ "count": 8,
236
+ "is_parallel": true,
237
+ "self": 0.003279168999824833
238
+ }
239
+ }
240
+ }
241
+ }
242
+ }
243
+ }
244
+ },
245
+ "UnityEnvironment.step": {
246
+ "total": 26.237741599000856,
247
+ "count": 1003,
248
+ "is_parallel": true,
249
+ "self": 1.4497773960047198,
250
+ "children": {
251
+ "UnityEnvironment._generate_step_input": {
252
+ "total": 0.8638412769973911,
253
+ "count": 1003,
254
+ "is_parallel": true,
255
+ "self": 0.8638412769973911
256
+ },
257
+ "communicator.exchange": {
258
+ "total": 19.417869387002384,
259
+ "count": 1003,
260
+ "is_parallel": true,
261
+ "self": 19.417869387002384
262
+ },
263
+ "steps_from_proto": {
264
+ "total": 4.506253538996361,
265
+ "count": 2006,
266
+ "is_parallel": true,
267
+ "self": 0.8738607240081819,
268
+ "children": {
269
+ "_process_rank_one_or_two_observation": {
270
+ "total": 3.6323928149881795,
271
+ "count": 8024,
272
+ "is_parallel": true,
273
+ "self": 3.6323928149881795
274
+ }
275
+ }
276
+ }
277
+ }
278
+ }
279
+ }
280
+ }
281
+ }
282
+ }
283
+ }
284
+ },
285
+ "trainer_advance": {
286
+ "total": 8.106287942006247,
287
+ "count": 1004,
288
+ "self": 0.2753581940055483,
289
+ "children": {
290
+ "process_trajectory": {
291
+ "total": 7.830929748000699,
292
+ "count": 1004,
293
+ "self": 7.830929748000699
294
+ }
295
+ }
296
+ }
297
+ }
298
+ },
299
+ "trainer_threads": {
300
+ "total": 1.1509998785186326e-06,
301
+ "count": 1,
302
+ "self": 1.1509998785186326e-06
303
+ },
304
+ "TrainerController._save_models": {
305
+ "total": 0.34340909500019734,
306
+ "count": 1,
307
+ "self": 0.00436512100031905,
308
+ "children": {
309
+ "RLTrainer._checkpoint": {
310
+ "total": 0.3390439739998783,
311
+ "count": 1,
312
+ "self": 0.3390439739998783
313
+ }
314
+ }
315
+ }
316
+ }
317
+ }
318
+ }
319
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1209.6291934831552,
4
+ "checkpoints": [
5
+ {
6
+ "steps": 126040,
7
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-126040.onnx",
8
+ "reward": null,
9
+ "creation_time": 1685003582.7479706,
10
+ "auxillary_file_paths": [
11
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-126040.pt"
12
+ ]
13
+ },
14
+ {
15
+ "steps": 140334,
16
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-140334.onnx",
17
+ "reward": 0.0,
18
+ "creation_time": 1685003670.1626124,
19
+ "auxillary_file_paths": [
20
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-140334.pt"
21
+ ]
22
+ }
23
+ ],
24
+ "final_checkpoint": {
25
+ "steps": 140334,
26
+ "file_path": "results/SoccerTwos/SoccerTwos.onnx",
27
+ "reward": 0.0,
28
+ "creation_time": 1685003670.1626124,
29
+ "auxillary_file_paths": [
30
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-140334.pt"
31
+ ]
32
+ }
33
+ },
34
+ "metadata": {
35
+ "stats_format_version": "0.3.0",
36
+ "mlagents_version": "0.31.0.dev0",
37
+ "torch_version": "1.11.0+cu102"
38
+ }
39
+ }