Haru4me commited on
Commit
f6f6949
1 Parent(s): 64e09f1

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: Haru4me/poca-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:b6c18dfc54a6509da94392984fb1af6f220dede00bf9ed2893de9ac407b480f6
3
+ size 1766876
SoccerTwos/SoccerTwos-0.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b6c18dfc54a6509da94392984fb1af6f220dede00bf9ed2893de9ac407b480f6
3
+ size 1766876
SoccerTwos/SoccerTwos-0.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a54cd71f87a36dca81f762b5bdd5baea7773410ff6e6dfd5e7327ef3c5a8d4a
3
+ size 9479282
SoccerTwos/SoccerTwos-14514.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b6c18dfc54a6509da94392984fb1af6f220dede00bf9ed2893de9ac407b480f6
3
+ size 1766876
SoccerTwos/SoccerTwos-14514.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fac5bdee86e6ad36a1c0f60515032d9605b27c69281e0e9ea0657abab32fb124
3
+ size 9479442
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5bfc62067b918910ffd24bd7874e1984cf3e0eff4d1dc02b2983150a14272572
3
+ size 9479202
SoccerTwos/events.out.tfevents.1717443426.8b2d0e145a3a.32461.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:11eb3aab77cacd3fa6ad8c92082cec757cc081f3f1007e981f4776a32dbf7a7a
3
+ size 1241
SoccerTwos/events.out.tfevents.1717443524.8b2d0e145a3a.32913.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fb1d1717f01b6a46a264acf041508fd19a631c580c2f408be4b6fca3fb07e0fe
3
+ size 11171
config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"default_settings": null, "behaviors": {"SoccerTwos": {"trainer_type": "poca", "hyperparameters": {"batch_size": 2048, "buffer_size": 20480, "learning_rate": 0.0003, "beta": 0.005, "epsilon": 0.2, "lambd": 0.95, "num_epoch": 3, "learning_rate_schedule": "constant", "beta_schedule": "constant", "epsilon_schedule": "constant"}, "checkpoint_interval": 500000, "network_settings": {"normalize": false, "hidden_units": 512, "num_layers": 2, "vis_encode_type": "simple", "memory": null, "goal_conditioning_type": "hyper", "deterministic": false}, "reward_signals": {"extrinsic": {"gamma": 0.99, "strength": 1.0, "network_settings": {"normalize": false, "hidden_units": 128, "num_layers": 2, "vis_encode_type": "simple", "memory": null, "goal_conditioning_type": "hyper", "deterministic": false}}}, "init_path": null, "keep_checkpoints": 5, "even_checkpoints": false, "max_steps": 50000000, "time_horizon": 1000, "summary_freq": 10000, "threaded": false, "self_play": {"save_steps": 50000, "team_change": 200000, "swap_steps": 2000, "window": 10, "play_against_latest_model_ratio": 0.5, "initial_elo": 1200.0}, "behavioral_cloning": null}}, "env_settings": {"env_path": "./training-envs-executables/SoccerTwos/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: 50000000
41
+ time_horizon: 1000
42
+ summary_freq: 10000
43
+ threaded: false
44
+ self_play:
45
+ save_steps: 50000
46
+ team_change: 200000
47
+ swap_steps: 2000
48
+ window: 10
49
+ play_against_latest_model_ratio: 0.5
50
+ initial_elo: 1200.0
51
+ behavioral_cloning: null
52
+ env_settings:
53
+ env_path: ./training-envs-executables/SoccerTwos/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,280 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ Initialize engine version: 2021.3.14f1 (eee1884e7226)
6
+ [Subsystems] Discovering subsystems at path /content/ml-agents/training-envs-executables/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: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.097 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.872174 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
+ Setting up 1 worker threads for Enlighten.
70
+ Memory Statistics:
71
+ [ALLOC_TEMP_TLS] TLS Allocator
72
+ StackAllocators :
73
+ [ALLOC_TEMP_MAIN]
74
+ Peak usage frame count: [8.0 KB-16.0 KB]: 429 frames, [2.0 MB-4.0 MB]: 1 frames
75
+ Initial Block Size 4.0 MB
76
+ Current Block Size 4.0 MB
77
+ Peak Allocated Bytes 2.1 MB
78
+ Overflow Count 0
79
+ [ALLOC_TEMP_Loading.AsyncRead]
80
+ Initial Block Size 64.0 KB
81
+ Current Block Size 64.0 KB
82
+ Peak Allocated Bytes 128 B
83
+ Overflow Count 0
84
+ [ALLOC_TEMP_Loading.PreloadManager]
85
+ Initial Block Size 256.0 KB
86
+ Current Block Size 300.0 KB
87
+ Peak Allocated Bytes 249.6 KB
88
+ Overflow Count 4
89
+ [ALLOC_TEMP_Background Job.Worker 8]
90
+ Initial Block Size 32.0 KB
91
+ Current Block Size 32.0 KB
92
+ Peak Allocated Bytes 0 B
93
+ Overflow Count 0
94
+ [ALLOC_TEMP_Background Job.Worker 9]
95
+ Initial Block Size 32.0 KB
96
+ Current Block Size 32.0 KB
97
+ Peak Allocated Bytes 0 B
98
+ Overflow Count 0
99
+ [ALLOC_TEMP_Job.Worker 0]
100
+ Initial Block Size 256.0 KB
101
+ Current Block Size 256.0 KB
102
+ Peak Allocated Bytes 0.7 KB
103
+ Overflow Count 0
104
+ [ALLOC_TEMP_Background Job.Worker 10]
105
+ Initial Block Size 32.0 KB
106
+ Current Block Size 32.0 KB
107
+ Peak Allocated Bytes 0 B
108
+ Overflow Count 0
109
+ [ALLOC_TEMP_Background Job.Worker 14]
110
+ Initial Block Size 32.0 KB
111
+ Current Block Size 32.0 KB
112
+ Peak Allocated Bytes 0 B
113
+ Overflow Count 0
114
+ [ALLOC_TEMP_Background Job.Worker 6]
115
+ Initial Block Size 32.0 KB
116
+ Current Block Size 32.0 KB
117
+ Peak Allocated Bytes 0 B
118
+ Overflow Count 0
119
+ [ALLOC_TEMP_Background Job.Worker 12]
120
+ Initial Block Size 32.0 KB
121
+ Current Block Size 32.0 KB
122
+ Peak Allocated Bytes 0 B
123
+ Overflow Count 0
124
+ [ALLOC_TEMP_EnlightenWorker]
125
+ Initial Block Size 64.0 KB
126
+ Current Block Size 64.0 KB
127
+ Peak Allocated Bytes 0 B
128
+ Overflow Count 0
129
+ [ALLOC_TEMP_Background Job.Worker 15]
130
+ Initial Block Size 32.0 KB
131
+ Current Block Size 32.0 KB
132
+ Peak Allocated Bytes 0 B
133
+ Overflow Count 0
134
+ [ALLOC_TEMP_Background Job.Worker 1]
135
+ Initial Block Size 32.0 KB
136
+ Current Block Size 32.0 KB
137
+ Peak Allocated Bytes 0 B
138
+ Overflow Count 0
139
+ [ALLOC_TEMP_Background Job.Worker 2]
140
+ Initial Block Size 32.0 KB
141
+ Current Block Size 32.0 KB
142
+ Peak Allocated Bytes 0 B
143
+ Overflow Count 0
144
+ [ALLOC_TEMP_Background Job.Worker 7]
145
+ Initial Block Size 32.0 KB
146
+ Current Block Size 32.0 KB
147
+ Peak Allocated Bytes 0 B
148
+ Overflow Count 0
149
+ [ALLOC_TEMP_AssetGarbageCollectorHelper]
150
+ Initial Block Size 64.0 KB
151
+ Current Block Size 64.0 KB
152
+ Peak Allocated Bytes 0 B
153
+ Overflow Count 0
154
+ [ALLOC_TEMP_Background Job.Worker 5]
155
+ Initial Block Size 32.0 KB
156
+ Current Block Size 32.0 KB
157
+ Peak Allocated Bytes 0 B
158
+ Overflow Count 0
159
+ [ALLOC_TEMP_Background Job.Worker 13]
160
+ Initial Block Size 32.0 KB
161
+ Current Block Size 32.0 KB
162
+ Peak Allocated Bytes 0 B
163
+ Overflow Count 0
164
+ [ALLOC_TEMP_Background Job.Worker 11]
165
+ Initial Block Size 32.0 KB
166
+ Current Block Size 32.0 KB
167
+ Peak Allocated Bytes 0 B
168
+ Overflow Count 0
169
+ [ALLOC_TEMP_Background Job.Worker 3]
170
+ Initial Block Size 32.0 KB
171
+ Current Block Size 32.0 KB
172
+ Peak Allocated Bytes 0 B
173
+ Overflow Count 0
174
+ [ALLOC_TEMP_Background Job.Worker 0]
175
+ Initial Block Size 32.0 KB
176
+ Current Block Size 32.0 KB
177
+ Peak Allocated Bytes 0 B
178
+ Overflow Count 0
179
+ [ALLOC_TEMP_Background Job.Worker 4]
180
+ Initial Block Size 32.0 KB
181
+ Current Block Size 32.0 KB
182
+ Peak Allocated Bytes 0 B
183
+ Overflow Count 0
184
+ [ALLOC_TEMP_BatchDeleteObjects]
185
+ Initial Block Size 64.0 KB
186
+ Current Block Size 64.0 KB
187
+ Peak Allocated Bytes 0 B
188
+ Overflow Count 0
189
+ [ALLOC_DEFAULT] Dual Thread Allocator
190
+ Peak main deferred allocation count 2
191
+ [ALLOC_BUCKET]
192
+ Large Block size 4.0 MB
193
+ Used Block count 1
194
+ Peak Allocated bytes 1.0 MB
195
+ [ALLOC_DEFAULT_MAIN]
196
+ Peak usage frame count: [4.0 MB-8.0 MB]: 430 frames
197
+ Requested Block Size 16.0 MB
198
+ Peak Block count 1
199
+ Peak Allocated memory 5.0 MB
200
+ Peak Large allocation bytes 0 B
201
+ [ALLOC_DEFAULT_THREAD]
202
+ Peak usage frame count: [16.0 MB-32.0 MB]: 430 frames
203
+ Requested Block Size 16.0 MB
204
+ Peak Block count 1
205
+ Peak Allocated memory 17.2 MB
206
+ Peak Large allocation bytes 16.0 MB
207
+ [ALLOC_TEMP_JOB_1_FRAME]
208
+ Initial Block Size 2.0 MB
209
+ Used Block Count 1
210
+ Overflow Count (too large) 0
211
+ Overflow Count (full) 0
212
+ [ALLOC_TEMP_JOB_2_FRAMES]
213
+ Initial Block Size 2.0 MB
214
+ Used Block Count 1
215
+ Overflow Count (too large) 0
216
+ Overflow Count (full) 0
217
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
218
+ Initial Block Size 2.0 MB
219
+ Used Block Count 2
220
+ Overflow Count (too large) 0
221
+ Overflow Count (full) 0
222
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
223
+ Initial Block Size 1.0 MB
224
+ Used Block Count 3
225
+ Overflow Count (too large) 0
226
+ Overflow Count (full) 0
227
+ [ALLOC_GFX] Dual Thread Allocator
228
+ Peak main deferred allocation count 0
229
+ [ALLOC_BUCKET]
230
+ Large Block size 4.0 MB
231
+ Used Block count 1
232
+ Peak Allocated bytes 1.0 MB
233
+ [ALLOC_GFX_MAIN]
234
+ Peak usage frame count: [32.0 KB-64.0 KB]: 429 frames, [64.0 KB-128.0 KB]: 1 frames
235
+ Requested Block Size 16.0 MB
236
+ Peak Block count 1
237
+ Peak Allocated memory 65.6 KB
238
+ Peak Large allocation bytes 0 B
239
+ [ALLOC_GFX_THREAD]
240
+ Peak usage frame count: [128.0 KB-256.0 KB]: 430 frames
241
+ Requested Block Size 16.0 MB
242
+ Peak Block count 1
243
+ Peak Allocated memory 173.5 KB
244
+ Peak Large allocation bytes 0 B
245
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
246
+ Peak main deferred allocation count 0
247
+ [ALLOC_BUCKET]
248
+ Large Block size 4.0 MB
249
+ Used Block count 1
250
+ Peak Allocated bytes 1.0 MB
251
+ [ALLOC_CACHEOBJECTS_MAIN]
252
+ Peak usage frame count: [0.5 MB-1.0 MB]: 430 frames
253
+ Requested Block Size 4.0 MB
254
+ Peak Block count 1
255
+ Peak Allocated memory 0.6 MB
256
+ Peak Large allocation bytes 0 B
257
+ [ALLOC_CACHEOBJECTS_THREAD]
258
+ Peak usage frame count: [0.5 MB-1.0 MB]: 429 frames, [4.0 MB-8.0 MB]: 1 frames
259
+ Requested Block Size 4.0 MB
260
+ Peak Block count 2
261
+ Peak Allocated memory 4.5 MB
262
+ Peak Large allocation bytes 0 B
263
+ [ALLOC_TYPETREE] Dual Thread Allocator
264
+ Peak main deferred allocation count 0
265
+ [ALLOC_BUCKET]
266
+ Large Block size 4.0 MB
267
+ Used Block count 1
268
+ Peak Allocated bytes 1.0 MB
269
+ [ALLOC_TYPETREE_MAIN]
270
+ Peak usage frame count: [0-1.0 KB]: 430 frames
271
+ Requested Block Size 2.0 MB
272
+ Peak Block count 1
273
+ Peak Allocated memory 1.0 KB
274
+ Peak Large allocation bytes 0 B
275
+ [ALLOC_TYPETREE_THREAD]
276
+ Peak usage frame count: [1.0 KB-2.0 KB]: 429 frames, [2.0 KB-4.0 KB]: 1 frames
277
+ Requested Block Size 2.0 MB
278
+ Peak Block count 1
279
+ Peak Allocated memory 2.2 KB
280
+ 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.295706033706665,
6
+ "min": 3.295706033706665,
7
+ "max": 3.295706033706665,
8
+ "count": 1
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 105462.59375,
12
+ "min": 105462.59375,
13
+ "max": 105462.59375,
14
+ "count": 1
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 903.125,
18
+ "min": 903.125,
19
+ "max": 903.125,
20
+ "count": 1
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 28900.0,
24
+ "min": 28900.0,
25
+ "max": 28900.0,
26
+ "count": 1
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1199.5028730369677,
30
+ "min": 1199.5028730369677,
31
+ "max": 1199.5028730369677,
32
+ "count": 1
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 4798.011492147871,
36
+ "min": 4798.011492147871,
37
+ "max": 4798.011492147871,
38
+ "count": 1
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 9466.0,
42
+ "min": 9466.0,
43
+ "max": 9466.0,
44
+ "count": 1
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 9466.0,
48
+ "min": 9466.0,
49
+ "max": 9466.0,
50
+ "count": 1
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": -0.047759201377630234,
54
+ "min": -0.047759201377630234,
55
+ "max": -0.047759201377630234,
56
+ "count": 1
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": -0.5253512263298035,
60
+ "min": -0.5253512263298035,
61
+ "max": -0.5253512263298035,
62
+ "count": 1
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": -0.04784667119383812,
66
+ "min": -0.04784667119383812,
67
+ "max": -0.04784667119383812,
68
+ "count": 1
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": -0.5263133645057678,
72
+ "min": -0.5263133645057678,
73
+ "max": -0.5263133645057678,
74
+ "count": 1
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 1
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 1
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": -0.11301818219098178,
90
+ "min": -0.11301818219098178,
91
+ "max": -0.11301818219098178,
92
+ "count": 1
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": -1.2432000041007996,
96
+ "min": -1.2432000041007996,
97
+ "max": -1.2432000041007996,
98
+ "count": 1
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": -0.11301818219098178,
102
+ "min": -0.11301818219098178,
103
+ "max": -0.11301818219098178,
104
+ "count": 1
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": -1.2432000041007996,
108
+ "min": -1.2432000041007996,
109
+ "max": -1.2432000041007996,
110
+ "count": 1
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 1
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 1
123
+ }
124
+ },
125
+ "metadata": {
126
+ "timer_format_version": "0.1.0",
127
+ "start_time_seconds": "1717443523",
128
+ "python_version": "3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]",
129
+ "command_line_arguments": "/usr/local/bin/mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos/SoccerTwos.x86_64 --run-id=SoccerTwos --no-graphics --resume",
130
+ "mlagents_version": "1.1.0.dev0",
131
+ "mlagents_envs_version": "1.1.0.dev0",
132
+ "communication_protocol_version": "1.5.0",
133
+ "pytorch_version": "2.3.0+cu121",
134
+ "numpy_version": "1.23.5",
135
+ "end_time_seconds": "1717443587"
136
+ },
137
+ "total": 64.21133328399992,
138
+ "count": 1,
139
+ "self": 0.5516142229998877,
140
+ "children": {
141
+ "run_training.setup": {
142
+ "total": 0.06310416500036808,
143
+ "count": 1,
144
+ "self": 0.06310416500036808
145
+ },
146
+ "TrainerController.start_learning": {
147
+ "total": 63.596614895999664,
148
+ "count": 1,
149
+ "self": 0.05325654003081581,
150
+ "children": {
151
+ "TrainerController._reset_env": {
152
+ "total": 2.7070007149995945,
153
+ "count": 1,
154
+ "self": 2.7070007149995945
155
+ },
156
+ "TrainerController.advance": {
157
+ "total": 60.40818108296935,
158
+ "count": 1436,
159
+ "self": 0.06476932890655007,
160
+ "children": {
161
+ "env_step": {
162
+ "total": 52.98964267799602,
163
+ "count": 1436,
164
+ "self": 41.84813476599902,
165
+ "children": {
166
+ "SubprocessEnvManager._take_step": {
167
+ "total": 11.108089952010232,
168
+ "count": 1436,
169
+ "self": 0.373252119999961,
170
+ "children": {
171
+ "TorchPolicy.evaluate": {
172
+ "total": 10.734837832010271,
173
+ "count": 2866,
174
+ "self": 10.734837832010271
175
+ }
176
+ }
177
+ },
178
+ "workers": {
179
+ "total": 0.03341795998676389,
180
+ "count": 1435,
181
+ "self": 0.0,
182
+ "children": {
183
+ "worker_root": {
184
+ "total": 62.96056682598555,
185
+ "count": 1435,
186
+ "is_parallel": true,
187
+ "self": 27.874067102949994,
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.003653198999927554,
197
+ "count": 2,
198
+ "is_parallel": true,
199
+ "self": 0.000934217001486104,
200
+ "children": {
201
+ "_process_rank_one_or_two_observation": {
202
+ "total": 0.00271898199844145,
203
+ "count": 8,
204
+ "is_parallel": true,
205
+ "self": 0.00271898199844145
206
+ }
207
+ }
208
+ },
209
+ "UnityEnvironment.step": {
210
+ "total": 0.08616995200009114,
211
+ "count": 1,
212
+ "is_parallel": true,
213
+ "self": 0.0014097530001890846,
214
+ "children": {
215
+ "UnityEnvironment._generate_step_input": {
216
+ "total": 0.0011597909997362876,
217
+ "count": 1,
218
+ "is_parallel": true,
219
+ "self": 0.0011597909997362876
220
+ },
221
+ "communicator.exchange": {
222
+ "total": 0.07950372300001618,
223
+ "count": 1,
224
+ "is_parallel": true,
225
+ "self": 0.07950372300001618
226
+ },
227
+ "steps_from_proto": {
228
+ "total": 0.004096685000149591,
229
+ "count": 2,
230
+ "is_parallel": true,
231
+ "self": 0.0007614760006617871,
232
+ "children": {
233
+ "_process_rank_one_or_two_observation": {
234
+ "total": 0.0033352089994878042,
235
+ "count": 8,
236
+ "is_parallel": true,
237
+ "self": 0.0033352089994878042
238
+ }
239
+ }
240
+ }
241
+ }
242
+ }
243
+ }
244
+ },
245
+ "UnityEnvironment.step": {
246
+ "total": 35.08649972303556,
247
+ "count": 1434,
248
+ "is_parallel": true,
249
+ "self": 2.151404883988107,
250
+ "children": {
251
+ "UnityEnvironment._generate_step_input": {
252
+ "total": 1.3782029600115493,
253
+ "count": 1434,
254
+ "is_parallel": true,
255
+ "self": 1.3782029600115493
256
+ },
257
+ "communicator.exchange": {
258
+ "total": 25.177231989041502,
259
+ "count": 1434,
260
+ "is_parallel": true,
261
+ "self": 25.177231989041502
262
+ },
263
+ "steps_from_proto": {
264
+ "total": 6.3796598899944,
265
+ "count": 2868,
266
+ "is_parallel": true,
267
+ "self": 1.100776476014289,
268
+ "children": {
269
+ "_process_rank_one_or_two_observation": {
270
+ "total": 5.278883413980111,
271
+ "count": 11472,
272
+ "is_parallel": true,
273
+ "self": 5.278883413980111
274
+ }
275
+ }
276
+ }
277
+ }
278
+ }
279
+ }
280
+ }
281
+ }
282
+ }
283
+ }
284
+ },
285
+ "trainer_advance": {
286
+ "total": 7.353769076066783,
287
+ "count": 1435,
288
+ "self": 0.23119741805021476,
289
+ "children": {
290
+ "process_trajectory": {
291
+ "total": 7.122571658016568,
292
+ "count": 1435,
293
+ "self": 7.122571658016568
294
+ }
295
+ }
296
+ }
297
+ }
298
+ },
299
+ "trainer_threads": {
300
+ "total": 1.775000782799907e-06,
301
+ "count": 1,
302
+ "self": 1.775000782799907e-06
303
+ },
304
+ "TrainerController._save_models": {
305
+ "total": 0.4281747829991218,
306
+ "count": 1,
307
+ "self": 0.006684137999400264,
308
+ "children": {
309
+ "RLTrainer._checkpoint": {
310
+ "total": 0.42149064499972155,
311
+ "count": 1,
312
+ "self": 0.42149064499972155
313
+ }
314
+ }
315
+ }
316
+ }
317
+ }
318
+ }
319
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "stats_format_version": "0.3.0",
4
+ "mlagents_version": "1.1.0.dev0",
5
+ "torch_version": "2.3.0+cu121"
6
+ },
7
+ "SoccerTwos": {
8
+ "elo": 1200.0057398668364,
9
+ "checkpoints": [
10
+ {
11
+ "steps": 0,
12
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-0.onnx",
13
+ "reward": null,
14
+ "creation_time": 1717443430.2795331,
15
+ "auxillary_file_paths": [
16
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-0.pt"
17
+ ]
18
+ },
19
+ {
20
+ "steps": 14514,
21
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-14514.onnx",
22
+ "reward": 0.0,
23
+ "creation_time": 1717443587.420714,
24
+ "auxillary_file_paths": [
25
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-14514.pt"
26
+ ]
27
+ }
28
+ ],
29
+ "final_checkpoint": {
30
+ "steps": 14514,
31
+ "file_path": "results/SoccerTwos/SoccerTwos.onnx",
32
+ "reward": 0.0,
33
+ "creation_time": 1717443587.420714,
34
+ "auxillary_file_paths": [
35
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-14514.pt"
36
+ ]
37
+ }
38
+ }
39
+ }