vxst2 commited on
Commit
f189365
1 Parent(s): 13f67f1

First Push

Browse files
README.md ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: ml-agents
3
+ tags:
4
+ - SoccerTwos
5
+ - deep-reinforcement-learning
6
+ - reinforcement-learning
7
+ - ML-Agents-SoccerTwos
8
+ ---
9
+
10
+ # **poca** Agent playing **SoccerTwos**
11
+ This is a trained model of a **poca** agent playing **SoccerTwos**
12
+ using the [Unity ML-Agents Library](https://github.com/Unity-Technologies/ml-agents).
13
+
14
+ ## Usage (with ML-Agents)
15
+ The Documentation: https://unity-technologies.github.io/ml-agents/ML-Agents-Toolkit-Documentation/
16
+
17
+ We wrote a complete tutorial to learn to train your first agent using ML-Agents and publish it to the Hub:
18
+ - A *short tutorial* where you teach Huggy the Dog 🐶 to fetch the stick and then play with him directly in your
19
+ browser: https://huggingface.co/learn/deep-rl-course/unitbonus1/introduction
20
+ - A *longer tutorial* to understand how works ML-Agents:
21
+ https://huggingface.co/learn/deep-rl-course/unit5/introduction
22
+
23
+ ### Resume the training
24
+ ```bash
25
+ mlagents-learn <your_configuration_file_path.yaml> --run-id=<run_id> --resume
26
+ ```
27
+
28
+ ### Watch your Agent play
29
+ You can watch your agent **playing directly in your browser**
30
+
31
+ 1. If the environment is part of ML-Agents official environments, go to https://huggingface.co/unity
32
+ 2. Step 1: Find your model_id: vxst2/multi-SoccerTwos
33
+ 3. Step 2: Select your *.nn /*.onnx file
34
+ 4. Click on Watch the agent play 👀
35
+
SoccerTwos.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:92a355cb6a2d1025071935a8337efe69859de9eeed3215120b602598647aec3e
3
+ size 1768747
SoccerTwos/SoccerTwos-499520.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a1150666480da18506af73527764af56ed436fc0bc3ce4583cfc6146d560151
3
+ size 1768747
SoccerTwos/SoccerTwos-499520.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d7538afc72220250557cf297ad796dbf7bf40d0b5202fd5a95fb9a948e5eba8e
3
+ size 28431898
SoccerTwos/SoccerTwos-551606.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2b33e7672760910551728a3312b96b1e708e99809e4f1fac0b5edb3579b2b590
3
+ size 1768747
SoccerTwos/SoccerTwos-551606.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9ea9883e5fa7d23970d3c511e5e34eabaf21a8849054db4b791f212afcb798aa
3
+ size 28431898
SoccerTwos/SoccerTwos-600676.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:92a355cb6a2d1025071935a8337efe69859de9eeed3215120b602598647aec3e
3
+ size 1768747
SoccerTwos/SoccerTwos-600676.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1cebee8462b62634d2055cd9e854507ee98d0ef032e2628a253e4d4211705835
3
+ size 28431898
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8b4d62a7bc9ac09c312e367e24a7a2e5a337212b25cb0a85df583c57450c14ea
3
+ size 28431030
SoccerTwos/events.out.tfevents.1718824599.47a25499ef0d.4295.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b947cef3d221c24b1d5a722a3799c50e6beda66fbea952ac1f5b66f1dda72e5b
3
+ size 350953
SoccerTwos/events.out.tfevents.1718825818.47a25499ef0d.9349.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:df8320322f45601879b031fc44811e603fb484deeee41cefc1ee07c472a9f22e
3
+ size 47146
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": 600000, "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.x86_64", "env_args": null, "base_port": 5005, "num_envs": 1, "num_areas": 1, "timeout_wait": 60, "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, "no_graphics_monitor": false}, "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,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: 600000
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/SoccerTwos.x86_64
54
+ env_args: null
55
+ base_port: 5005
56
+ num_envs: 1
57
+ num_areas: 1
58
+ timeout_wait: 60
59
+ seed: -1
60
+ max_lifetime_restarts: 10
61
+ restarts_rate_limit_n: 1
62
+ restarts_rate_limit_period_s: 60
63
+ engine_settings:
64
+ width: 84
65
+ height: 84
66
+ quality_level: 5
67
+ time_scale: 20
68
+ target_frame_rate: -1
69
+ capture_frame_rate: 60
70
+ no_graphics: true
71
+ no_graphics_monitor: false
72
+ environment_parameters: null
73
+ checkpoint_settings:
74
+ run_id: SoccerTwos
75
+ initialize_from: null
76
+ load_model: false
77
+ resume: true
78
+ force: false
79
+ train_model: false
80
+ inference: false
81
+ results_dir: results
82
+ torch_settings:
83
+ device: null
84
+ debug: false
run_logs/Player-0.log ADDED
@@ -0,0 +1,288 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/content/ml-agents/training-envs-executables/SoccerTwos_Data/Managed'
2
+ Mono config path = '/content/ml-agents/training-envs-executables/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/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:855:(parse_card) cannot find card '0'
14
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
15
+ ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
16
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
17
+ ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name
18
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
19
+ ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory
20
+ ALSA lib pcm.c:2664:(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:855:(parse_card) cannot find card '0'
24
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
25
+ ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
26
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
27
+ ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name
28
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
29
+ ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory
30
+ ALSA lib pcm.c:2664:(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.118 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.910598 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
+ TOO LONG
69
+ TOO LONG
70
+ TOO LONG
71
+ TOO LONG
72
+ TOO LONG
73
+ TOO LONG
74
+ TOO LONG
75
+ TOO LONG
76
+ TOO LONG
77
+ Setting up 1 worker threads for Enlighten.
78
+ Memory Statistics:
79
+ [ALLOC_TEMP_TLS] TLS Allocator
80
+ StackAllocators :
81
+ [ALLOC_TEMP_MAIN]
82
+ Peak usage frame count: [8.0 KB-16.0 KB]: 1029 frames, [2.0 MB-4.0 MB]: 1 frames
83
+ Initial Block Size 4.0 MB
84
+ Current Block Size 4.0 MB
85
+ Peak Allocated Bytes 2.1 MB
86
+ Overflow Count 0
87
+ [ALLOC_TEMP_Loading.AsyncRead]
88
+ Initial Block Size 64.0 KB
89
+ Current Block Size 64.0 KB
90
+ Peak Allocated Bytes 128 B
91
+ Overflow Count 0
92
+ [ALLOC_TEMP_Loading.PreloadManager]
93
+ Initial Block Size 256.0 KB
94
+ Current Block Size 300.0 KB
95
+ Peak Allocated Bytes 249.6 KB
96
+ Overflow Count 4
97
+ [ALLOC_TEMP_Background Job.Worker 8]
98
+ Initial Block Size 32.0 KB
99
+ Current Block Size 32.0 KB
100
+ Peak Allocated Bytes 0 B
101
+ Overflow Count 0
102
+ [ALLOC_TEMP_Background Job.Worker 9]
103
+ Initial Block Size 32.0 KB
104
+ Current Block Size 32.0 KB
105
+ Peak Allocated Bytes 0 B
106
+ Overflow Count 0
107
+ [ALLOC_TEMP_Job.Worker 0]
108
+ Initial Block Size 256.0 KB
109
+ Current Block Size 256.0 KB
110
+ Peak Allocated Bytes 0.7 KB
111
+ Overflow Count 0
112
+ [ALLOC_TEMP_Background Job.Worker 10]
113
+ Initial Block Size 32.0 KB
114
+ Current Block Size 32.0 KB
115
+ Peak Allocated Bytes 0 B
116
+ Overflow Count 0
117
+ [ALLOC_TEMP_Background Job.Worker 14]
118
+ Initial Block Size 32.0 KB
119
+ Current Block Size 32.0 KB
120
+ Peak Allocated Bytes 0 B
121
+ Overflow Count 0
122
+ [ALLOC_TEMP_Background Job.Worker 6]
123
+ Initial Block Size 32.0 KB
124
+ Current Block Size 32.0 KB
125
+ Peak Allocated Bytes 0 B
126
+ Overflow Count 0
127
+ [ALLOC_TEMP_Background Job.Worker 12]
128
+ Initial Block Size 32.0 KB
129
+ Current Block Size 32.0 KB
130
+ Peak Allocated Bytes 0 B
131
+ Overflow Count 0
132
+ [ALLOC_TEMP_EnlightenWorker]
133
+ Initial Block Size 64.0 KB
134
+ Current Block Size 64.0 KB
135
+ Peak Allocated Bytes 0 B
136
+ Overflow Count 0
137
+ [ALLOC_TEMP_Background Job.Worker 15]
138
+ Initial Block Size 32.0 KB
139
+ Current Block Size 32.0 KB
140
+ Peak Allocated Bytes 0 B
141
+ Overflow Count 0
142
+ [ALLOC_TEMP_Background Job.Worker 1]
143
+ Initial Block Size 32.0 KB
144
+ Current Block Size 32.0 KB
145
+ Peak Allocated Bytes 0 B
146
+ Overflow Count 0
147
+ [ALLOC_TEMP_Background Job.Worker 2]
148
+ Initial Block Size 32.0 KB
149
+ Current Block Size 32.0 KB
150
+ Peak Allocated Bytes 0 B
151
+ Overflow Count 0
152
+ [ALLOC_TEMP_Background Job.Worker 7]
153
+ Initial Block Size 32.0 KB
154
+ Current Block Size 32.0 KB
155
+ Peak Allocated Bytes 0 B
156
+ Overflow Count 0
157
+ [ALLOC_TEMP_AssetGarbageCollectorHelper]
158
+ Initial Block Size 64.0 KB
159
+ Current Block Size 64.0 KB
160
+ Peak Allocated Bytes 0 B
161
+ Overflow Count 0
162
+ [ALLOC_TEMP_Background Job.Worker 5]
163
+ Initial Block Size 32.0 KB
164
+ Current Block Size 32.0 KB
165
+ Peak Allocated Bytes 0 B
166
+ Overflow Count 0
167
+ [ALLOC_TEMP_Background Job.Worker 13]
168
+ Initial Block Size 32.0 KB
169
+ Current Block Size 32.0 KB
170
+ Peak Allocated Bytes 0 B
171
+ Overflow Count 0
172
+ [ALLOC_TEMP_Background Job.Worker 11]
173
+ Initial Block Size 32.0 KB
174
+ Current Block Size 32.0 KB
175
+ Peak Allocated Bytes 0 B
176
+ Overflow Count 0
177
+ [ALLOC_TEMP_Background Job.Worker 3]
178
+ Initial Block Size 32.0 KB
179
+ Current Block Size 32.0 KB
180
+ Peak Allocated Bytes 0 B
181
+ Overflow Count 0
182
+ [ALLOC_TEMP_Background Job.Worker 0]
183
+ Initial Block Size 32.0 KB
184
+ Current Block Size 32.0 KB
185
+ Peak Allocated Bytes 0 B
186
+ Overflow Count 0
187
+ [ALLOC_TEMP_Background Job.Worker 4]
188
+ Initial Block Size 32.0 KB
189
+ Current Block Size 32.0 KB
190
+ Peak Allocated Bytes 0 B
191
+ Overflow Count 0
192
+ [ALLOC_TEMP_BatchDeleteObjects]
193
+ Initial Block Size 64.0 KB
194
+ Current Block Size 64.0 KB
195
+ Peak Allocated Bytes 0 B
196
+ Overflow Count 0
197
+ [ALLOC_DEFAULT] Dual Thread Allocator
198
+ Peak main deferred allocation count 3
199
+ [ALLOC_BUCKET]
200
+ Large Block size 4.0 MB
201
+ Used Block count 1
202
+ Peak Allocated bytes 1.0 MB
203
+ [ALLOC_DEFAULT_MAIN]
204
+ Peak usage frame count: [4.0 MB-8.0 MB]: 1030 frames
205
+ Requested Block Size 16.0 MB
206
+ Peak Block count 1
207
+ Peak Allocated memory 4.7 MB
208
+ Peak Large allocation bytes 0 B
209
+ [ALLOC_DEFAULT_THREAD]
210
+ Peak usage frame count: [16.0 MB-32.0 MB]: 1030 frames
211
+ Requested Block Size 16.0 MB
212
+ Peak Block count 1
213
+ Peak Allocated memory 17.5 MB
214
+ Peak Large allocation bytes 16.0 MB
215
+ [ALLOC_TEMP_JOB_1_FRAME]
216
+ Initial Block Size 2.0 MB
217
+ Used Block Count 1
218
+ Overflow Count (too large) 0
219
+ Overflow Count (full) 0
220
+ [ALLOC_TEMP_JOB_2_FRAMES]
221
+ Initial Block Size 2.0 MB
222
+ Used Block Count 1
223
+ Overflow Count (too large) 0
224
+ Overflow Count (full) 0
225
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
226
+ Initial Block Size 2.0 MB
227
+ Used Block Count 2
228
+ Overflow Count (too large) 0
229
+ Overflow Count (full) 0
230
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
231
+ Initial Block Size 1.0 MB
232
+ Used Block Count 3
233
+ Overflow Count (too large) 0
234
+ Overflow Count (full) 0
235
+ [ALLOC_GFX] Dual Thread Allocator
236
+ Peak main deferred allocation count 0
237
+ [ALLOC_BUCKET]
238
+ Large Block size 4.0 MB
239
+ Used Block count 1
240
+ Peak Allocated bytes 1.0 MB
241
+ [ALLOC_GFX_MAIN]
242
+ Peak usage frame count: [32.0 KB-64.0 KB]: 1029 frames, [64.0 KB-128.0 KB]: 1 frames
243
+ Requested Block Size 16.0 MB
244
+ Peak Block count 1
245
+ Peak Allocated memory 65.6 KB
246
+ Peak Large allocation bytes 0 B
247
+ [ALLOC_GFX_THREAD]
248
+ Peak usage frame count: [128.0 KB-256.0 KB]: 1030 frames
249
+ Requested Block Size 16.0 MB
250
+ Peak Block count 1
251
+ Peak Allocated memory 173.5 KB
252
+ Peak Large allocation bytes 0 B
253
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
254
+ Peak main deferred allocation count 0
255
+ [ALLOC_BUCKET]
256
+ Large Block size 4.0 MB
257
+ Used Block count 1
258
+ Peak Allocated bytes 1.0 MB
259
+ [ALLOC_CACHEOBJECTS_MAIN]
260
+ Peak usage frame count: [0.5 MB-1.0 MB]: 1030 frames
261
+ Requested Block Size 4.0 MB
262
+ Peak Block count 1
263
+ Peak Allocated memory 0.6 MB
264
+ Peak Large allocation bytes 0 B
265
+ [ALLOC_CACHEOBJECTS_THREAD]
266
+ Peak usage frame count: [0.5 MB-1.0 MB]: 1029 frames, [4.0 MB-8.0 MB]: 1 frames
267
+ Requested Block Size 4.0 MB
268
+ Peak Block count 2
269
+ Peak Allocated memory 4.5 MB
270
+ Peak Large allocation bytes 0 B
271
+ [ALLOC_TYPETREE] Dual Thread Allocator
272
+ Peak main deferred allocation count 0
273
+ [ALLOC_BUCKET]
274
+ Large Block size 4.0 MB
275
+ Used Block count 1
276
+ Peak Allocated bytes 1.0 MB
277
+ [ALLOC_TYPETREE_MAIN]
278
+ Peak usage frame count: [0-1.0 KB]: 1030 frames
279
+ Requested Block Size 2.0 MB
280
+ Peak Block count 1
281
+ Peak Allocated memory 1.0 KB
282
+ Peak Large allocation bytes 0 B
283
+ [ALLOC_TYPETREE_THREAD]
284
+ Peak usage frame count: [1.0 KB-2.0 KB]: 1029 frames, [2.0 KB-4.0 KB]: 1 frames
285
+ Requested Block Size 2.0 MB
286
+ Peak Block count 1
287
+ Peak Allocated memory 2.2 KB
288
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,417 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "SoccerTwos.Policy.Entropy.mean": {
5
+ "value": 3.13089656829834,
6
+ "min": 3.13089656829834,
7
+ "max": 3.151585340499878,
8
+ "count": 5
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 75141.515625,
12
+ "min": 27924.60546875,
13
+ "max": 100850.734375,
14
+ "count": 5
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 662.375,
18
+ "min": 426.625,
19
+ "max": 924.2,
20
+ "count": 5
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 21196.0,
24
+ "min": 13652.0,
25
+ "max": 24844.0,
26
+ "count": 5
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1196.334176818747,
30
+ "min": 1196.2992538829644,
31
+ "max": 1197.4207923472334,
32
+ "count": 5
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 9570.673414549976,
36
+ "min": 4786.589945410005,
37
+ "max": 14369.0495081668,
38
+ "count": 5
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 599676.0,
42
+ "min": 559051.0,
43
+ "max": 599676.0,
44
+ "count": 5
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 599676.0,
48
+ "min": 559051.0,
49
+ "max": 599676.0,
50
+ "count": 5
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": -0.018645934760570526,
54
+ "min": -0.020072979852557182,
55
+ "max": -0.010313838720321655,
56
+ "count": 5
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": -0.2983349561691284,
60
+ "min": -0.2983349561691284,
61
+ "max": -0.17306485772132874,
62
+ "count": 5
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": -0.02081734873354435,
66
+ "min": -0.024195237085223198,
67
+ "max": -0.018880417570471764,
68
+ "count": 5
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": -0.3330775797367096,
72
+ "min": -0.35872793197631836,
73
+ "max": -0.2640330195426941,
74
+ "count": 5
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 5
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 5
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": -0.0879000024870038,
90
+ "min": -0.5927384610359485,
91
+ "max": 0.11727272786877373,
92
+ "count": 5
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": -1.4064000397920609,
96
+ "min": -7.705599993467331,
97
+ "max": 1.290000006556511,
98
+ "count": 5
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": -0.0879000024870038,
102
+ "min": -0.5927384610359485,
103
+ "max": 0.11727272786877373,
104
+ "count": 5
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": -1.4064000397920609,
108
+ "min": -7.705599993467331,
109
+ "max": 1.290000006556511,
110
+ "count": 5
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 5
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 5
123
+ },
124
+ "SoccerTwos.Losses.PolicyLoss.mean": {
125
+ "value": 0.017824632406700402,
126
+ "min": 0.012571493056990827,
127
+ "max": 0.017824632406700402,
128
+ "count": 2
129
+ },
130
+ "SoccerTwos.Losses.PolicyLoss.sum": {
131
+ "value": 0.017824632406700402,
132
+ "min": 0.012571493056990827,
133
+ "max": 0.017824632406700402,
134
+ "count": 2
135
+ },
136
+ "SoccerTwos.Losses.ValueLoss.mean": {
137
+ "value": 0.0025617227035885054,
138
+ "min": 0.0025617227035885054,
139
+ "max": 0.00809684682947894,
140
+ "count": 2
141
+ },
142
+ "SoccerTwos.Losses.ValueLoss.sum": {
143
+ "value": 0.0025617227035885054,
144
+ "min": 0.0025617227035885054,
145
+ "max": 0.00809684682947894,
146
+ "count": 2
147
+ },
148
+ "SoccerTwos.Losses.BaselineLoss.mean": {
149
+ "value": 0.00262952580039079,
150
+ "min": 0.00262952580039079,
151
+ "max": 0.008060800920551022,
152
+ "count": 2
153
+ },
154
+ "SoccerTwos.Losses.BaselineLoss.sum": {
155
+ "value": 0.00262952580039079,
156
+ "min": 0.00262952580039079,
157
+ "max": 0.008060800920551022,
158
+ "count": 2
159
+ },
160
+ "SoccerTwos.Policy.LearningRate.mean": {
161
+ "value": 0.0003,
162
+ "min": 0.0003,
163
+ "max": 0.0003,
164
+ "count": 2
165
+ },
166
+ "SoccerTwos.Policy.LearningRate.sum": {
167
+ "value": 0.0003,
168
+ "min": 0.0003,
169
+ "max": 0.0003,
170
+ "count": 2
171
+ },
172
+ "SoccerTwos.Policy.Epsilon.mean": {
173
+ "value": 0.20000000000000007,
174
+ "min": 0.20000000000000007,
175
+ "max": 0.20000000000000007,
176
+ "count": 2
177
+ },
178
+ "SoccerTwos.Policy.Epsilon.sum": {
179
+ "value": 0.20000000000000007,
180
+ "min": 0.20000000000000007,
181
+ "max": 0.20000000000000007,
182
+ "count": 2
183
+ },
184
+ "SoccerTwos.Policy.Beta.mean": {
185
+ "value": 0.005000000000000001,
186
+ "min": 0.005000000000000001,
187
+ "max": 0.005000000000000001,
188
+ "count": 2
189
+ },
190
+ "SoccerTwos.Policy.Beta.sum": {
191
+ "value": 0.005000000000000001,
192
+ "min": 0.005000000000000001,
193
+ "max": 0.005000000000000001,
194
+ "count": 2
195
+ }
196
+ },
197
+ "metadata": {
198
+ "timer_format_version": "0.1.0",
199
+ "start_time_seconds": "1718825817",
200
+ "python_version": "3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]",
201
+ "command_line_arguments": "/usr/local/bin/mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos.x86_64 --run-id=SoccerTwos --no-graphics --resume",
202
+ "mlagents_version": "1.1.0.dev0",
203
+ "mlagents_envs_version": "1.1.0.dev0",
204
+ "communication_protocol_version": "1.5.0",
205
+ "pytorch_version": "2.3.0+cu121",
206
+ "numpy_version": "1.23.5",
207
+ "end_time_seconds": "1718825930"
208
+ },
209
+ "total": 112.93022302100007,
210
+ "count": 1,
211
+ "self": 0.4340479590000541,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.08535991799999465,
215
+ "count": 1,
216
+ "self": 0.08535991799999465
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 112.41081514400003,
220
+ "count": 1,
221
+ "self": 0.07568648699270852,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 2.624534799999765,
225
+ "count": 2,
226
+ "self": 2.624534799999765
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 109.45053870500715,
230
+ "count": 3453,
231
+ "self": 0.08216692902124123,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 90.66438231600478,
235
+ "count": 3453,
236
+ "self": 69.19283895504668,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 21.425694644980013,
240
+ "count": 3453,
241
+ "self": 0.5367119369525426,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 20.88898270802747,
245
+ "count": 6862,
246
+ "self": 20.88898270802747
247
+ }
248
+ }
249
+ },
250
+ "workers": {
251
+ "total": 0.0458487159780816,
252
+ "count": 3453,
253
+ "self": 0.0,
254
+ "children": {
255
+ "worker_root": {
256
+ "total": 111.82617764100542,
257
+ "count": 3453,
258
+ "is_parallel": true,
259
+ "self": 54.050345446024494,
260
+ "children": {
261
+ "run_training.setup": {
262
+ "total": 0.0,
263
+ "count": 0,
264
+ "is_parallel": true,
265
+ "self": 0.0,
266
+ "children": {
267
+ "steps_from_proto": {
268
+ "total": 0.0032115050003085344,
269
+ "count": 2,
270
+ "is_parallel": true,
271
+ "self": 0.000869087000410218,
272
+ "children": {
273
+ "_process_rank_one_or_two_observation": {
274
+ "total": 0.0023424179998983163,
275
+ "count": 8,
276
+ "is_parallel": true,
277
+ "self": 0.0023424179998983163
278
+ }
279
+ }
280
+ },
281
+ "UnityEnvironment.step": {
282
+ "total": 0.03800560600029712,
283
+ "count": 1,
284
+ "is_parallel": true,
285
+ "self": 0.0011353880004207895,
286
+ "children": {
287
+ "UnityEnvironment._generate_step_input": {
288
+ "total": 0.0011964870000156225,
289
+ "count": 1,
290
+ "is_parallel": true,
291
+ "self": 0.0011964870000156225
292
+ },
293
+ "communicator.exchange": {
294
+ "total": 0.03233809099992868,
295
+ "count": 1,
296
+ "is_parallel": true,
297
+ "self": 0.03233809099992868
298
+ },
299
+ "steps_from_proto": {
300
+ "total": 0.0033356399999320274,
301
+ "count": 2,
302
+ "is_parallel": true,
303
+ "self": 0.0005897940000068047,
304
+ "children": {
305
+ "_process_rank_one_or_two_observation": {
306
+ "total": 0.0027458459999252227,
307
+ "count": 8,
308
+ "is_parallel": true,
309
+ "self": 0.0027458459999252227
310
+ }
311
+ }
312
+ }
313
+ }
314
+ }
315
+ }
316
+ },
317
+ "steps_from_proto": {
318
+ "total": 0.0019226939998588932,
319
+ "count": 2,
320
+ "is_parallel": true,
321
+ "self": 0.00040570900000602705,
322
+ "children": {
323
+ "_process_rank_one_or_two_observation": {
324
+ "total": 0.0015169849998528662,
325
+ "count": 8,
326
+ "is_parallel": true,
327
+ "self": 0.0015169849998528662
328
+ }
329
+ }
330
+ },
331
+ "UnityEnvironment.step": {
332
+ "total": 57.77390950098106,
333
+ "count": 3452,
334
+ "is_parallel": true,
335
+ "self": 3.594404999980725,
336
+ "children": {
337
+ "UnityEnvironment._generate_step_input": {
338
+ "total": 2.5842563200271798,
339
+ "count": 3452,
340
+ "is_parallel": true,
341
+ "self": 2.5842563200271798
342
+ },
343
+ "communicator.exchange": {
344
+ "total": 40.18668425298529,
345
+ "count": 3452,
346
+ "is_parallel": true,
347
+ "self": 40.18668425298529
348
+ },
349
+ "steps_from_proto": {
350
+ "total": 11.40856392798787,
351
+ "count": 6904,
352
+ "is_parallel": true,
353
+ "self": 1.870944040982522,
354
+ "children": {
355
+ "_process_rank_one_or_two_observation": {
356
+ "total": 9.537619887005349,
357
+ "count": 27616,
358
+ "is_parallel": true,
359
+ "self": 9.537619887005349
360
+ }
361
+ }
362
+ }
363
+ }
364
+ }
365
+ }
366
+ }
367
+ }
368
+ }
369
+ }
370
+ },
371
+ "trainer_advance": {
372
+ "total": 18.70398945998113,
373
+ "count": 3453,
374
+ "self": 0.598533009997027,
375
+ "children": {
376
+ "process_trajectory": {
377
+ "total": 5.248613882984046,
378
+ "count": 3453,
379
+ "self": 5.248613882984046
380
+ },
381
+ "_update_policy": {
382
+ "total": 12.856842567000058,
383
+ "count": 2,
384
+ "self": 7.492480968999189,
385
+ "children": {
386
+ "TorchPOCAOptimizer.update": {
387
+ "total": 5.364361598000869,
388
+ "count": 60,
389
+ "self": 5.364361598000869
390
+ }
391
+ }
392
+ }
393
+ }
394
+ }
395
+ }
396
+ },
397
+ "trainer_threads": {
398
+ "total": 9.270002010453027e-07,
399
+ "count": 1,
400
+ "self": 9.270002010453027e-07
401
+ },
402
+ "TrainerController._save_models": {
403
+ "total": 0.2600542250002036,
404
+ "count": 1,
405
+ "self": 0.0026652270003069134,
406
+ "children": {
407
+ "RLTrainer._checkpoint": {
408
+ "total": 0.2573889979998967,
409
+ "count": 1,
410
+ "self": 0.2573889979998967
411
+ }
412
+ }
413
+ }
414
+ }
415
+ }
416
+ }
417
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "checkpoints": [
4
+ {
5
+ "steps": 499520,
6
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-499520.onnx",
7
+ "reward": 0.0,
8
+ "creation_time": 1718825663.8755283,
9
+ "auxillary_file_paths": [
10
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-499520.pt"
11
+ ]
12
+ },
13
+ {
14
+ "steps": 551606,
15
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-551606.onnx",
16
+ "reward": 0.0,
17
+ "creation_time": 1718825769.300154,
18
+ "auxillary_file_paths": [
19
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-551606.pt"
20
+ ]
21
+ },
22
+ {
23
+ "steps": 600676,
24
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-600676.onnx",
25
+ "reward": 0.0,
26
+ "creation_time": 1718825929.7372284,
27
+ "auxillary_file_paths": [
28
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-600676.pt"
29
+ ]
30
+ }
31
+ ],
32
+ "elo": 1196.2716735234353,
33
+ "final_checkpoint": {
34
+ "steps": 600676,
35
+ "file_path": "results/SoccerTwos/SoccerTwos.onnx",
36
+ "reward": 0.0,
37
+ "creation_time": 1718825929.7372284,
38
+ "auxillary_file_paths": [
39
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-600676.pt"
40
+ ]
41
+ }
42
+ },
43
+ "metadata": {
44
+ "stats_format_version": "0.3.0",
45
+ "mlagents_version": "1.1.0.dev0",
46
+ "torch_version": "2.3.0+cu121"
47
+ }
48
+ }