nikxtaco commited on
Commit
ee0b15f
·
1 Parent(s): 5e00428

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: nikxtaco/ppo-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:9a6ac3d8b57c13258e47e0f2c2966159588c6465f9aecb74c5e36241bd4ff5a3
3
+ size 1768747
SoccerTwos/SoccerTwos-0.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6e085554ba521636bcf6ea64da1596029077ff7b77d23699a47cdf408d5b5101
3
+ size 1766874
SoccerTwos/SoccerTwos-0.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed13be3789b3dadcf67f9a49e88213b9854bf5030241efce00b1e2c1414903e6
3
+ size 9479282
SoccerTwos/SoccerTwos-50216.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a6ac3d8b57c13258e47e0f2c2966159588c6465f9aecb74c5e36241bd4ff5a3
3
+ size 1768747
SoccerTwos/SoccerTwos-50216.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:42795b8a596a2e9374cb80a547d02a815c524112490ef40d9f5300aa88dcd48b
3
+ size 28430110
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:daae02f95aef88d1154cd696e1494bc837f1cfa9bf96f98315cff610be27322d
3
+ size 28429366
SoccerTwos/events.out.tfevents.1699862561.135cd06775b2.6898.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:040f7d195c360b50b32c146fb44aad769fd1f351151937d1d7300b078d4401d8
3
+ size 1238
SoccerTwos/events.out.tfevents.1699862603.135cd06775b2.7117.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b9c0d3fcf0bc4f5beb97cdc2b925e7a3cc6caeeb47ba88ed9715379b00dd5c37
3
+ size 47295
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": 50000, "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/SoccerTwos/SoccerTwos", "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}, "environment_parameters": null, "checkpoint_settings": {"run_id": "SoccerTwos2", "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,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: 50000
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/SoccerTwos/SoccerTwos
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
+ environment_parameters: null
72
+ checkpoint_settings:
73
+ run_id: SoccerTwos2
74
+ initialize_from: null
75
+ load_model: false
76
+ resume: true
77
+ force: false
78
+ train_model: false
79
+ inference: false
80
+ results_dir: results
81
+ torch_settings:
82
+ device: null
83
+ debug: false
run_logs/Player-0.log ADDED
@@ -0,0 +1,291 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/content/ml-agents/training-envs-executables/linux/SoccerTwos/SoccerTwos/SoccerTwos_Data/Managed'
2
+ Mono config path = '/content/ml-agents/training-envs-executables/linux/SoccerTwos/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/linux/SoccerTwos/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.104 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.834650 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
+ TOO LONG
78
+ TOO LONG
79
+ TOO LONG
80
+ Setting up 1 worker threads for Enlighten.
81
+ Memory Statistics:
82
+ [ALLOC_TEMP_TLS] TLS Allocator
83
+ StackAllocators :
84
+ [ALLOC_TEMP_MAIN]
85
+ Peak usage frame count: [8.0 KB-16.0 KB]: 1095 frames, [2.0 MB-4.0 MB]: 1 frames
86
+ Initial Block Size 4.0 MB
87
+ Current Block Size 4.0 MB
88
+ Peak Allocated Bytes 2.1 MB
89
+ Overflow Count 0
90
+ [ALLOC_TEMP_Loading.AsyncRead]
91
+ Initial Block Size 64.0 KB
92
+ Current Block Size 64.0 KB
93
+ Peak Allocated Bytes 128 B
94
+ Overflow Count 0
95
+ [ALLOC_TEMP_Loading.PreloadManager]
96
+ Initial Block Size 256.0 KB
97
+ Current Block Size 300.0 KB
98
+ Peak Allocated Bytes 249.6 KB
99
+ Overflow Count 4
100
+ [ALLOC_TEMP_Background Job.Worker 8]
101
+ Initial Block Size 32.0 KB
102
+ Current Block Size 32.0 KB
103
+ Peak Allocated Bytes 0 B
104
+ Overflow Count 0
105
+ [ALLOC_TEMP_Background Job.Worker 9]
106
+ Initial Block Size 32.0 KB
107
+ Current Block Size 32.0 KB
108
+ Peak Allocated Bytes 0 B
109
+ Overflow Count 0
110
+ [ALLOC_TEMP_Job.Worker 0]
111
+ Initial Block Size 256.0 KB
112
+ Current Block Size 256.0 KB
113
+ Peak Allocated Bytes 0.7 KB
114
+ Overflow Count 0
115
+ [ALLOC_TEMP_Background Job.Worker 10]
116
+ Initial Block Size 32.0 KB
117
+ Current Block Size 32.0 KB
118
+ Peak Allocated Bytes 0 B
119
+ Overflow Count 0
120
+ [ALLOC_TEMP_Background Job.Worker 14]
121
+ Initial Block Size 32.0 KB
122
+ Current Block Size 32.0 KB
123
+ Peak Allocated Bytes 0 B
124
+ Overflow Count 0
125
+ [ALLOC_TEMP_Background Job.Worker 6]
126
+ Initial Block Size 32.0 KB
127
+ Current Block Size 32.0 KB
128
+ Peak Allocated Bytes 0 B
129
+ Overflow Count 0
130
+ [ALLOC_TEMP_Background Job.Worker 12]
131
+ Initial Block Size 32.0 KB
132
+ Current Block Size 32.0 KB
133
+ Peak Allocated Bytes 0 B
134
+ Overflow Count 0
135
+ [ALLOC_TEMP_EnlightenWorker]
136
+ Initial Block Size 64.0 KB
137
+ Current Block Size 64.0 KB
138
+ Peak Allocated Bytes 0 B
139
+ Overflow Count 0
140
+ [ALLOC_TEMP_Background Job.Worker 15]
141
+ Initial Block Size 32.0 KB
142
+ Current Block Size 32.0 KB
143
+ Peak Allocated Bytes 0 B
144
+ Overflow Count 0
145
+ [ALLOC_TEMP_Background Job.Worker 1]
146
+ Initial Block Size 32.0 KB
147
+ Current Block Size 32.0 KB
148
+ Peak Allocated Bytes 0 B
149
+ Overflow Count 0
150
+ [ALLOC_TEMP_Background Job.Worker 2]
151
+ Initial Block Size 32.0 KB
152
+ Current Block Size 32.0 KB
153
+ Peak Allocated Bytes 0 B
154
+ Overflow Count 0
155
+ [ALLOC_TEMP_Background Job.Worker 7]
156
+ Initial Block Size 32.0 KB
157
+ Current Block Size 32.0 KB
158
+ Peak Allocated Bytes 0 B
159
+ Overflow Count 0
160
+ [ALLOC_TEMP_AssetGarbageCollectorHelper]
161
+ Initial Block Size 64.0 KB
162
+ Current Block Size 64.0 KB
163
+ Peak Allocated Bytes 0 B
164
+ Overflow Count 0
165
+ [ALLOC_TEMP_Background Job.Worker 5]
166
+ Initial Block Size 32.0 KB
167
+ Current Block Size 32.0 KB
168
+ Peak Allocated Bytes 0 B
169
+ Overflow Count 0
170
+ [ALLOC_TEMP_Background Job.Worker 13]
171
+ Initial Block Size 32.0 KB
172
+ Current Block Size 32.0 KB
173
+ Peak Allocated Bytes 0 B
174
+ Overflow Count 0
175
+ [ALLOC_TEMP_Background Job.Worker 11]
176
+ Initial Block Size 32.0 KB
177
+ Current Block Size 32.0 KB
178
+ Peak Allocated Bytes 0 B
179
+ Overflow Count 0
180
+ [ALLOC_TEMP_Background Job.Worker 3]
181
+ Initial Block Size 32.0 KB
182
+ Current Block Size 32.0 KB
183
+ Peak Allocated Bytes 0 B
184
+ Overflow Count 0
185
+ [ALLOC_TEMP_Background Job.Worker 0]
186
+ Initial Block Size 32.0 KB
187
+ Current Block Size 32.0 KB
188
+ Peak Allocated Bytes 0 B
189
+ Overflow Count 0
190
+ [ALLOC_TEMP_Background Job.Worker 4]
191
+ Initial Block Size 32.0 KB
192
+ Current Block Size 32.0 KB
193
+ Peak Allocated Bytes 0 B
194
+ Overflow Count 0
195
+ [ALLOC_TEMP_BatchDeleteObjects]
196
+ Initial Block Size 64.0 KB
197
+ Current Block Size 64.0 KB
198
+ Peak Allocated Bytes 0 B
199
+ Overflow Count 0
200
+ [ALLOC_DEFAULT] Dual Thread Allocator
201
+ Peak main deferred allocation count 4
202
+ [ALLOC_BUCKET]
203
+ Large Block size 4.0 MB
204
+ Used Block count 1
205
+ Peak Allocated bytes 1.0 MB
206
+ [ALLOC_DEFAULT_MAIN]
207
+ Peak usage frame count: [4.0 MB-8.0 MB]: 1096 frames
208
+ Requested Block Size 16.0 MB
209
+ Peak Block count 1
210
+ Peak Allocated memory 4.6 MB
211
+ Peak Large allocation bytes 0 B
212
+ [ALLOC_DEFAULT_THREAD]
213
+ Peak usage frame count: [16.0 MB-32.0 MB]: 1096 frames
214
+ Requested Block Size 16.0 MB
215
+ Peak Block count 1
216
+ Peak Allocated memory 17.6 MB
217
+ Peak Large allocation bytes 16.0 MB
218
+ [ALLOC_TEMP_JOB_1_FRAME]
219
+ Initial Block Size 2.0 MB
220
+ Used Block Count 1
221
+ Overflow Count (too large) 0
222
+ Overflow Count (full) 0
223
+ [ALLOC_TEMP_JOB_2_FRAMES]
224
+ Initial Block Size 2.0 MB
225
+ Used Block Count 1
226
+ Overflow Count (too large) 0
227
+ Overflow Count (full) 0
228
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
229
+ Initial Block Size 2.0 MB
230
+ Used Block Count 2
231
+ Overflow Count (too large) 0
232
+ Overflow Count (full) 0
233
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
234
+ Initial Block Size 1.0 MB
235
+ Used Block Count 3
236
+ Overflow Count (too large) 0
237
+ Overflow Count (full) 0
238
+ [ALLOC_GFX] Dual Thread Allocator
239
+ Peak main deferred allocation count 0
240
+ [ALLOC_BUCKET]
241
+ Large Block size 4.0 MB
242
+ Used Block count 1
243
+ Peak Allocated bytes 1.0 MB
244
+ [ALLOC_GFX_MAIN]
245
+ Peak usage frame count: [32.0 KB-64.0 KB]: 1095 frames, [64.0 KB-128.0 KB]: 1 frames
246
+ Requested Block Size 16.0 MB
247
+ Peak Block count 1
248
+ Peak Allocated memory 65.6 KB
249
+ Peak Large allocation bytes 0 B
250
+ [ALLOC_GFX_THREAD]
251
+ Peak usage frame count: [128.0 KB-256.0 KB]: 1096 frames
252
+ Requested Block Size 16.0 MB
253
+ Peak Block count 1
254
+ Peak Allocated memory 173.5 KB
255
+ Peak Large allocation bytes 0 B
256
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
257
+ Peak main deferred allocation count 0
258
+ [ALLOC_BUCKET]
259
+ Large Block size 4.0 MB
260
+ Used Block count 1
261
+ Peak Allocated bytes 1.0 MB
262
+ [ALLOC_CACHEOBJECTS_MAIN]
263
+ Peak usage frame count: [0.5 MB-1.0 MB]: 1096 frames
264
+ Requested Block Size 4.0 MB
265
+ Peak Block count 1
266
+ Peak Allocated memory 0.6 MB
267
+ Peak Large allocation bytes 0 B
268
+ [ALLOC_CACHEOBJECTS_THREAD]
269
+ Peak usage frame count: [0.5 MB-1.0 MB]: 1095 frames, [4.0 MB-8.0 MB]: 1 frames
270
+ Requested Block Size 4.0 MB
271
+ Peak Block count 2
272
+ Peak Allocated memory 4.4 MB
273
+ Peak Large allocation bytes 0 B
274
+ [ALLOC_TYPETREE] Dual Thread Allocator
275
+ Peak main deferred allocation count 0
276
+ [ALLOC_BUCKET]
277
+ Large Block size 4.0 MB
278
+ Used Block count 1
279
+ Peak Allocated bytes 1.0 MB
280
+ [ALLOC_TYPETREE_MAIN]
281
+ Peak usage frame count: [0-1.0 KB]: 1096 frames
282
+ Requested Block Size 2.0 MB
283
+ Peak Block count 1
284
+ Peak Allocated memory 1.0 KB
285
+ Peak Large allocation bytes 0 B
286
+ [ALLOC_TYPETREE_THREAD]
287
+ Peak usage frame count: [1.0 KB-2.0 KB]: 1095 frames, [2.0 KB-4.0 KB]: 1 frames
288
+ Requested Block Size 2.0 MB
289
+ Peak Block count 1
290
+ Peak Allocated memory 2.2 KB
291
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,403 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "SoccerTwos.Policy.Entropy.mean": {
5
+ "value": 3.2812230587005615,
6
+ "min": 3.2812230587005615,
7
+ "max": 3.295708656311035,
8
+ "count": 5
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 70559.421875,
12
+ "min": 15777.21875,
13
+ "max": 105462.6796875,
14
+ "count": 5
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 717.4285714285714,
18
+ "min": 623.5714285714286,
19
+ "max": 995.0,
20
+ "count": 5
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 20088.0,
24
+ "min": 14204.0,
25
+ "max": 28652.0,
26
+ "count": 5
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1200.105955145682,
30
+ "min": 1198.9373468557678,
31
+ "max": 1200.9769858473817,
32
+ "count": 5
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 7200.635730874092,
36
+ "min": 2400.056872686747,
37
+ "max": 12009.769858473817,
38
+ "count": 5
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 49822.0,
42
+ "min": 9342.0,
43
+ "max": 49822.0,
44
+ "count": 5
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 49822.0,
48
+ "min": 9342.0,
49
+ "max": 49822.0,
50
+ "count": 5
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": -0.07366155833005905,
54
+ "min": -0.1015477403998375,
55
+ "max": -0.07366155833005905,
56
+ "count": 5
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": -0.9576002955436707,
60
+ "min": -1.3201180696487427,
61
+ "max": -0.8542187809944153,
62
+ "count": 5
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": -0.07048321515321732,
66
+ "min": -0.10155700147151947,
67
+ "max": -0.07048321515321732,
68
+ "count": 5
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": -0.9162818193435669,
72
+ "min": -1.3202409744262695,
73
+ "max": -0.8557853102684021,
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.05258461145254282,
90
+ "min": -0.3301090896129608,
91
+ "max": -0.05258461145254282,
92
+ "count": 5
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": -0.6835999488830566,
96
+ "min": -3.631199985742569,
97
+ "max": -0.6835999488830566,
98
+ "count": 5
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": -0.05258461145254282,
102
+ "min": -0.3301090896129608,
103
+ "max": -0.05258461145254282,
104
+ "count": 5
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": -0.6835999488830566,
108
+ "min": -3.631199985742569,
109
+ "max": -0.6835999488830566,
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.01506708687520586,
126
+ "min": 0.01506708687520586,
127
+ "max": 0.01566864464257378,
128
+ "count": 2
129
+ },
130
+ "SoccerTwos.Losses.PolicyLoss.sum": {
131
+ "value": 0.01506708687520586,
132
+ "min": 0.01506708687520586,
133
+ "max": 0.01566864464257378,
134
+ "count": 2
135
+ },
136
+ "SoccerTwos.Losses.ValueLoss.mean": {
137
+ "value": 0.0036884615282443437,
138
+ "min": 0.003062593149176488,
139
+ "max": 0.0036884615282443437,
140
+ "count": 2
141
+ },
142
+ "SoccerTwos.Losses.ValueLoss.sum": {
143
+ "value": 0.0036884615282443437,
144
+ "min": 0.003062593149176488,
145
+ "max": 0.0036884615282443437,
146
+ "count": 2
147
+ },
148
+ "SoccerTwos.Losses.BaselineLoss.mean": {
149
+ "value": 0.003729660508476875,
150
+ "min": 0.0026367754287396866,
151
+ "max": 0.003729660508476875,
152
+ "count": 2
153
+ },
154
+ "SoccerTwos.Losses.BaselineLoss.sum": {
155
+ "value": 0.003729660508476875,
156
+ "min": 0.0026367754287396866,
157
+ "max": 0.003729660508476875,
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.2,
174
+ "min": 0.2,
175
+ "max": 0.20000000000000007,
176
+ "count": 2
177
+ },
178
+ "SoccerTwos.Policy.Epsilon.sum": {
179
+ "value": 0.2,
180
+ "min": 0.2,
181
+ "max": 0.20000000000000007,
182
+ "count": 2
183
+ },
184
+ "SoccerTwos.Policy.Beta.mean": {
185
+ "value": 0.005,
186
+ "min": 0.005,
187
+ "max": 0.005000000000000001,
188
+ "count": 2
189
+ },
190
+ "SoccerTwos.Policy.Beta.sum": {
191
+ "value": 0.005,
192
+ "min": 0.005,
193
+ "max": 0.005000000000000001,
194
+ "count": 2
195
+ }
196
+ },
197
+ "metadata": {
198
+ "timer_format_version": "0.1.0",
199
+ "start_time_seconds": "1699862602",
200
+ "python_version": "3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0]",
201
+ "command_line_arguments": "/usr/local/bin/mlagents-learn ./config/poca/SoccerTwos.yaml --resume --env=./training-envs-executables/linux/SoccerTwos/SoccerTwos/SoccerTwos --run-id=SoccerTwos2 --no-graphics",
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.1.0+cu118",
206
+ "numpy_version": "1.23.5",
207
+ "end_time_seconds": "1699862869"
208
+ },
209
+ "total": 266.84529422700007,
210
+ "count": 1,
211
+ "self": 0.47672217900026226,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.05492019099983736,
215
+ "count": 1,
216
+ "self": 0.05492019099983736
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 266.31365185699997,
220
+ "count": 1,
221
+ "self": 0.13312792999431622,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 1.3484470980001788,
225
+ "count": 1,
226
+ "self": 1.3484470980001788
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 264.6316215560055,
230
+ "count": 3670,
231
+ "self": 0.16579634501886176,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 123.00177471899633,
235
+ "count": 3670,
236
+ "self": 100.1245651079953,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 22.792715752999584,
240
+ "count": 3670,
241
+ "self": 0.8397715250212059,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 21.952944227978378,
245
+ "count": 7304,
246
+ "self": 21.952944227978378
247
+ }
248
+ }
249
+ },
250
+ "workers": {
251
+ "total": 0.08449385800145137,
252
+ "count": 3670,
253
+ "self": 0.0,
254
+ "children": {
255
+ "worker_root": {
256
+ "total": 265.61760057600327,
257
+ "count": 3670,
258
+ "is_parallel": true,
259
+ "self": 182.17596656100454,
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.003117426999779127,
269
+ "count": 2,
270
+ "is_parallel": true,
271
+ "self": 0.0008162530002664425,
272
+ "children": {
273
+ "_process_rank_one_or_two_observation": {
274
+ "total": 0.0023011739995126845,
275
+ "count": 8,
276
+ "is_parallel": true,
277
+ "self": 0.0023011739995126845
278
+ }
279
+ }
280
+ },
281
+ "UnityEnvironment.step": {
282
+ "total": 0.04634818399995311,
283
+ "count": 1,
284
+ "is_parallel": true,
285
+ "self": 0.0013344429996777762,
286
+ "children": {
287
+ "UnityEnvironment._generate_step_input": {
288
+ "total": 0.0009126159998231742,
289
+ "count": 1,
290
+ "is_parallel": true,
291
+ "self": 0.0009126159998231742
292
+ },
293
+ "communicator.exchange": {
294
+ "total": 0.04008600200018009,
295
+ "count": 1,
296
+ "is_parallel": true,
297
+ "self": 0.04008600200018009
298
+ },
299
+ "steps_from_proto": {
300
+ "total": 0.0040151230002720695,
301
+ "count": 2,
302
+ "is_parallel": true,
303
+ "self": 0.0007105310005499632,
304
+ "children": {
305
+ "_process_rank_one_or_two_observation": {
306
+ "total": 0.0033045919997221063,
307
+ "count": 8,
308
+ "is_parallel": true,
309
+ "self": 0.0033045919997221063
310
+ }
311
+ }
312
+ }
313
+ }
314
+ }
315
+ }
316
+ },
317
+ "UnityEnvironment.step": {
318
+ "total": 83.44163401499873,
319
+ "count": 3669,
320
+ "is_parallel": true,
321
+ "self": 5.154427128979933,
322
+ "children": {
323
+ "UnityEnvironment._generate_step_input": {
324
+ "total": 3.0319108860080632,
325
+ "count": 3669,
326
+ "is_parallel": true,
327
+ "self": 3.0319108860080632
328
+ },
329
+ "communicator.exchange": {
330
+ "total": 59.40444901599835,
331
+ "count": 3669,
332
+ "is_parallel": true,
333
+ "self": 59.40444901599835
334
+ },
335
+ "steps_from_proto": {
336
+ "total": 15.850846984012378,
337
+ "count": 7338,
338
+ "is_parallel": true,
339
+ "self": 2.7187540600293687,
340
+ "children": {
341
+ "_process_rank_one_or_two_observation": {
342
+ "total": 13.13209292398301,
343
+ "count": 29352,
344
+ "is_parallel": true,
345
+ "self": 13.13209292398301
346
+ }
347
+ }
348
+ }
349
+ }
350
+ }
351
+ }
352
+ }
353
+ }
354
+ }
355
+ }
356
+ },
357
+ "trainer_advance": {
358
+ "total": 141.4640504919903,
359
+ "count": 3670,
360
+ "self": 1.07506253899669,
361
+ "children": {
362
+ "process_trajectory": {
363
+ "total": 20.72282923399348,
364
+ "count": 3670,
365
+ "self": 20.72282923399348
366
+ },
367
+ "_update_policy": {
368
+ "total": 119.66615871900012,
369
+ "count": 2,
370
+ "self": 9.33598303000008,
371
+ "children": {
372
+ "TorchPOCAOptimizer.update": {
373
+ "total": 110.33017568900004,
374
+ "count": 63,
375
+ "self": 110.33017568900004
376
+ }
377
+ }
378
+ }
379
+ }
380
+ }
381
+ }
382
+ },
383
+ "trainer_threads": {
384
+ "total": 1.0399999155197293e-06,
385
+ "count": 1,
386
+ "self": 1.0399999155197293e-06
387
+ },
388
+ "TrainerController._save_models": {
389
+ "total": 0.20045423300007315,
390
+ "count": 1,
391
+ "self": 0.0028815390001000196,
392
+ "children": {
393
+ "RLTrainer._checkpoint": {
394
+ "total": 0.19757269399997313,
395
+ "count": 1,
396
+ "self": 0.19757269399997313
397
+ }
398
+ }
399
+ }
400
+ }
401
+ }
402
+ }
403
+ }
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.1.0+cu118"
6
+ },
7
+ "SoccerTwos": {
8
+ "elo": 1200.02237050593,
9
+ "checkpoints": [
10
+ {
11
+ "steps": 0,
12
+ "file_path": "results/SoccerTwos2/SoccerTwos/SoccerTwos-0.onnx",
13
+ "reward": null,
14
+ "creation_time": 1699862562.700575,
15
+ "auxillary_file_paths": [
16
+ "results/SoccerTwos2/SoccerTwos/SoccerTwos-0.pt"
17
+ ]
18
+ },
19
+ {
20
+ "steps": 50216,
21
+ "file_path": "results/SoccerTwos2/SoccerTwos/SoccerTwos-50216.onnx",
22
+ "reward": 0.0,
23
+ "creation_time": 1699862869.048925,
24
+ "auxillary_file_paths": [
25
+ "results/SoccerTwos2/SoccerTwos/SoccerTwos-50216.pt"
26
+ ]
27
+ }
28
+ ],
29
+ "final_checkpoint": {
30
+ "steps": 50216,
31
+ "file_path": "results/SoccerTwos2/SoccerTwos.onnx",
32
+ "reward": 0.0,
33
+ "creation_time": 1699862869.048925,
34
+ "auxillary_file_paths": [
35
+ "results/SoccerTwos2/SoccerTwos/SoccerTwos-50216.pt"
36
+ ]
37
+ }
38
+ }
39
+ }