beibeif commited on
Commit
83a3280
1 Parent(s): cc90e77

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: beibeif/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:1544df4c0ab42c22d2e400451e0f9d8a5166cff55cc93638213341e9183285ad
3
+ size 1766874
SoccerTwos/SoccerTwos-15344.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1544df4c0ab42c22d2e400451e0f9d8a5166cff55cc93638213341e9183285ad
3
+ size 1766874
SoccerTwos/SoccerTwos-15344.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6dca98bba7b32d0ae875bdd1a5560b3a8014a0f5220b4d991446ab7eb0903f60
3
+ size 9479954
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7410da926d40619f1543462de74406caa76e94b03f4edd4643d9c2cdf9cdd5b4
3
+ size 9479714
SoccerTwos/events.out.tfevents.1705756524.efc58042a5b0.175.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b03ddfa719b5ad44664d2b714c52a55097ad1078cad04ce3c4239979c0060cce
3
+ size 6407
config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"default_settings": null, "behaviors": {"SoccerTwos": {"trainer_type": "poca", "hyperparameters": {"batch_size": 4096, "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": 10000, "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": "./ml-agents/trained-envs-executables/linux/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, "no_graphics_monitor": false}, "environment_parameters": null, "checkpoint_settings": {"run_id": "Soccer", "initialize_from": null, "load_model": false, "resume": false, "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: 4096
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: 10000
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: ./ml-agents/trained-envs-executables/linux/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
+ no_graphics_monitor: false
72
+ environment_parameters: null
73
+ checkpoint_settings:
74
+ run_id: Soccer
75
+ initialize_from: null
76
+ load_model: false
77
+ resume: false
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,293 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/kaggle/working/ml-agents/trained-envs-executables/linux/SoccerTwos/SoccerTwos_Data/Managed'
2
+ Mono config path = '/kaggle/working/ml-agents/trained-envs-executables/linux/SoccerTwos/SoccerTwos_Data/MonoBleedingEdge/etc'
3
+ Preloaded 'lib_burst_generated.so'
4
+ Preloaded 'libgrpc_csharp_ext.x64.so'
5
+ PlayerPrefs - Creating folder: /root/.config/unity3d/Unity Technologies
6
+ PlayerPrefs - Creating folder: /root/.config/unity3d/Unity Technologies/SoccerTwos
7
+ Unable to load player prefs
8
+ Initialize engine version: 2021.3.14f1 (eee1884e7226)
9
+ [Subsystems] Discovering subsystems at path /kaggle/working/ml-agents/trained-envs-executables/linux/SoccerTwos/SoccerTwos_Data/UnitySubsystems
10
+ Forcing GfxDevice: Null
11
+ GfxDevice: creating device client; threaded=0; jobified=0
12
+ NullGfxDevice:
13
+ Version: NULL 1.0 [1.0]
14
+ Renderer: Null Device
15
+ Vendor: Unity Technologies
16
+ ALSA lib confmisc.c:855:(parse_card) cannot find card '0'
17
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
18
+ ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
19
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
20
+ ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name
21
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
22
+ ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory
23
+ ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM default
24
+ FMOD failed to initialize the output device.: "Error initializing output device. " (60)
25
+ 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
26
+ ALSA lib confmisc.c:855:(parse_card) cannot find card '0'
27
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
28
+ ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
29
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
30
+ ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name
31
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
32
+ ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory
33
+ ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM default
34
+ FMOD failed to initialize the output device.: "Error initializing output device. " (60)
35
+ FMOD initialized on nosound output
36
+ Begin MonoManager ReloadAssembly
37
+ - Completed reload, in 0.091 seconds
38
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
39
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
40
+ ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
41
+ WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
42
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
43
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
44
+ ERROR: Shader Standard (Specular setup) shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
45
+ WARNING: Shader Unsupported: 'Standard (Specular setup)' - 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
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
49
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
50
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
51
+ ERROR: Shader Autodesk Interactive shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
52
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - 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
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
56
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
57
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
58
+ ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
59
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
60
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
61
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
62
+ UnloadTime: 0.674795 ms
63
+ Registered Communicator in Agent.
64
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
65
+ requesting resize 84 x 84
66
+ TOO LONG
67
+ TOO LONG
68
+ TOO LONG
69
+ TOO LONG
70
+ TOO LONG
71
+ TOO LONG
72
+ Setting up 2 worker threads for Enlighten.
73
+ Memory Statistics:
74
+ [ALLOC_TEMP_TLS] TLS Allocator
75
+ StackAllocators :
76
+ [ALLOC_TEMP_MAIN]
77
+ Peak usage frame count: [8.0 KB-16.0 KB]: 299 frames, [2.0 MB-4.0 MB]: 1 frames
78
+ Initial Block Size 4.0 MB
79
+ Current Block Size 4.0 MB
80
+ Peak Allocated Bytes 2.1 MB
81
+ Overflow Count 0
82
+ [ALLOC_TEMP_Loading.AsyncRead]
83
+ Initial Block Size 64.0 KB
84
+ Current Block Size 64.0 KB
85
+ Peak Allocated Bytes 128 B
86
+ Overflow Count 0
87
+ [ALLOC_TEMP_Loading.PreloadManager]
88
+ Initial Block Size 256.0 KB
89
+ Current Block Size 300.0 KB
90
+ Peak Allocated Bytes 249.6 KB
91
+ Overflow Count 4
92
+ [ALLOC_TEMP_Background Job.Worker 8]
93
+ Initial Block Size 32.0 KB
94
+ Current Block Size 32.0 KB
95
+ Peak Allocated Bytes 0 B
96
+ Overflow Count 0
97
+ [ALLOC_TEMP_Background Job.Worker 9]
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_Job.Worker 0]
103
+ Initial Block Size 256.0 KB
104
+ Current Block Size 256.0 KB
105
+ Peak Allocated Bytes 0 B
106
+ Overflow Count 0
107
+ [ALLOC_TEMP_Background Job.Worker 10]
108
+ Initial Block Size 32.0 KB
109
+ Current Block Size 32.0 KB
110
+ Peak Allocated Bytes 0 B
111
+ Overflow Count 0
112
+ [ALLOC_TEMP_Background Job.Worker 14]
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 6]
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 12]
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_EnlightenWorker] x 2
128
+ Initial Block Size 64.0 KB
129
+ Current Block Size 64.0 KB
130
+ Peak Allocated Bytes 0 B
131
+ Overflow Count 0
132
+ [ALLOC_TEMP_Background Job.Worker 15]
133
+ Initial Block Size 32.0 KB
134
+ Current Block Size 32.0 KB
135
+ Peak Allocated Bytes 0 B
136
+ Overflow Count 0
137
+ [ALLOC_TEMP_Background Job.Worker 1]
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 2]
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 7]
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_AssetGarbageCollectorHelper] x 3
153
+ Initial Block Size 64.0 KB
154
+ Current Block Size 64.0 KB
155
+ Peak Allocated Bytes 0 B
156
+ Overflow Count 0
157
+ [ALLOC_TEMP_Background Job.Worker 5]
158
+ Initial Block Size 32.0 KB
159
+ Current Block Size 32.0 KB
160
+ Peak Allocated Bytes 0 B
161
+ Overflow Count 0
162
+ [ALLOC_TEMP_Background Job.Worker 13]
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_Job.Worker 1]
168
+ Initial Block Size 256.0 KB
169
+ Current Block Size 256.0 KB
170
+ Peak Allocated Bytes 0.7 KB
171
+ Overflow Count 0
172
+ [ALLOC_TEMP_Job.Worker 2]
173
+ Initial Block Size 256.0 KB
174
+ Current Block Size 256.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 11]
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 0]
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_Background Job.Worker 4]
193
+ Initial Block Size 32.0 KB
194
+ Current Block Size 32.0 KB
195
+ Peak Allocated Bytes 0 B
196
+ Overflow Count 0
197
+ [ALLOC_TEMP_BatchDeleteObjects]
198
+ Initial Block Size 64.0 KB
199
+ Current Block Size 64.0 KB
200
+ Peak Allocated Bytes 0 B
201
+ Overflow Count 0
202
+ [ALLOC_DEFAULT] Dual Thread Allocator
203
+ Peak main deferred allocation count 3
204
+ [ALLOC_BUCKET]
205
+ Large Block size 4.0 MB
206
+ Used Block count 1
207
+ Peak Allocated bytes 1.0 MB
208
+ [ALLOC_DEFAULT_MAIN]
209
+ Peak usage frame count: [4.0 MB-8.0 MB]: 300 frames
210
+ Requested Block Size 16.0 MB
211
+ Peak Block count 1
212
+ Peak Allocated memory 4.8 MB
213
+ Peak Large allocation bytes 0 B
214
+ [ALLOC_DEFAULT_THREAD]
215
+ Peak usage frame count: [16.0 MB-32.0 MB]: 300 frames
216
+ Requested Block Size 16.0 MB
217
+ Peak Block count 1
218
+ Peak Allocated memory 17.4 MB
219
+ Peak Large allocation bytes 16.0 MB
220
+ [ALLOC_TEMP_JOB_1_FRAME]
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_2_FRAMES]
226
+ Initial Block Size 2.0 MB
227
+ Used Block Count 1
228
+ Overflow Count (too large) 0
229
+ Overflow Count (full) 0
230
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
231
+ Initial Block Size 2.0 MB
232
+ Used Block Count 2
233
+ Overflow Count (too large) 0
234
+ Overflow Count (full) 0
235
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
236
+ Initial Block Size 1.0 MB
237
+ Used Block Count 3
238
+ Overflow Count (too large) 0
239
+ Overflow Count (full) 0
240
+ [ALLOC_GFX] Dual Thread Allocator
241
+ Peak main deferred allocation count 0
242
+ [ALLOC_BUCKET]
243
+ Large Block size 4.0 MB
244
+ Used Block count 1
245
+ Peak Allocated bytes 1.0 MB
246
+ [ALLOC_GFX_MAIN]
247
+ Peak usage frame count: [32.0 KB-64.0 KB]: 299 frames, [64.0 KB-128.0 KB]: 1 frames
248
+ Requested Block Size 16.0 MB
249
+ Peak Block count 1
250
+ Peak Allocated memory 65.6 KB
251
+ Peak Large allocation bytes 0 B
252
+ [ALLOC_GFX_THREAD]
253
+ Peak usage frame count: [128.0 KB-256.0 KB]: 300 frames
254
+ Requested Block Size 16.0 MB
255
+ Peak Block count 1
256
+ Peak Allocated memory 173.5 KB
257
+ Peak Large allocation bytes 0 B
258
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
259
+ Peak main deferred allocation count 0
260
+ [ALLOC_BUCKET]
261
+ Large Block size 4.0 MB
262
+ Used Block count 1
263
+ Peak Allocated bytes 1.0 MB
264
+ [ALLOC_CACHEOBJECTS_MAIN]
265
+ Peak usage frame count: [0.5 MB-1.0 MB]: 300 frames
266
+ Requested Block Size 4.0 MB
267
+ Peak Block count 1
268
+ Peak Allocated memory 0.6 MB
269
+ Peak Large allocation bytes 0 B
270
+ [ALLOC_CACHEOBJECTS_THREAD]
271
+ Peak usage frame count: [0.5 MB-1.0 MB]: 299 frames, [4.0 MB-8.0 MB]: 1 frames
272
+ Requested Block Size 4.0 MB
273
+ Peak Block count 2
274
+ Peak Allocated memory 4.4 MB
275
+ Peak Large allocation bytes 0 B
276
+ [ALLOC_TYPETREE] Dual Thread Allocator
277
+ Peak main deferred allocation count 0
278
+ [ALLOC_BUCKET]
279
+ Large Block size 4.0 MB
280
+ Used Block count 1
281
+ Peak Allocated bytes 1.0 MB
282
+ [ALLOC_TYPETREE_MAIN]
283
+ Peak usage frame count: [0-1.0 KB]: 300 frames
284
+ Requested Block Size 2.0 MB
285
+ Peak Block count 1
286
+ Peak Allocated memory 1.0 KB
287
+ Peak Large allocation bytes 0 B
288
+ [ALLOC_TYPETREE_THREAD]
289
+ Peak usage frame count: [1.0 KB-2.0 KB]: 299 frames, [2.0 KB-4.0 KB]: 1 frames
290
+ Requested Block Size 2.0 MB
291
+ Peak Block count 1
292
+ Peak Allocated memory 2.2 KB
293
+ 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.2957041263580322,
6
+ "min": 3.2957041263580322,
7
+ "max": 3.2957041263580322,
8
+ "count": 1
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 105462.53125,
12
+ "min": 105462.53125,
13
+ "max": 105462.53125,
14
+ "count": 1
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 958.0,
18
+ "min": 958.0,
19
+ "max": 958.0,
20
+ "count": 1
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 30656.0,
24
+ "min": 30656.0,
25
+ "max": 30656.0,
26
+ "count": 1
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1201.2464074308157,
30
+ "min": 1201.2464074308157,
31
+ "max": 1201.2464074308157,
32
+ "count": 1
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 4804.985629723263,
36
+ "min": 4804.985629723263,
37
+ "max": 4804.985629723263,
38
+ "count": 1
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 9344.0,
42
+ "min": 9344.0,
43
+ "max": 9344.0,
44
+ "count": 1
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 9344.0,
48
+ "min": 9344.0,
49
+ "max": 9344.0,
50
+ "count": 1
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": 0.10662823915481567,
54
+ "min": 0.10662823915481567,
55
+ "max": 0.10662823915481567,
56
+ "count": 1
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": 1.0662823915481567,
60
+ "min": 1.0662823915481567,
61
+ "max": 1.0662823915481567,
62
+ "count": 1
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": 0.10653176158666611,
66
+ "min": 0.10653176158666611,
67
+ "max": 0.10653176158666611,
68
+ "count": 1
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": 1.0653176307678223,
72
+ "min": 1.0653176307678223,
73
+ "max": 1.0653176307678223,
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.06588000059127808,
90
+ "min": 0.06588000059127808,
91
+ "max": 0.06588000059127808,
92
+ "count": 1
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": 0.6588000059127808,
96
+ "min": 0.6588000059127808,
97
+ "max": 0.6588000059127808,
98
+ "count": 1
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": 0.06588000059127808,
102
+ "min": 0.06588000059127808,
103
+ "max": 0.06588000059127808,
104
+ "count": 1
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": 0.6588000059127808,
108
+ "min": 0.6588000059127808,
109
+ "max": 0.6588000059127808,
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": "1705756523",
128
+ "python_version": "3.10.12 | packaged by conda-forge | (main, Jun 23 2023, 22:40:32) [GCC 12.3.0]",
129
+ "command_line_arguments": "/opt/conda/bin/mlagents-learn ./../input/soccer0/SoccerTwos.yaml --env=./ml-agents/trained-envs-executables/linux/SoccerTwos/SoccerTwos --run-id=Soccer --no-graphics",
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.1.2+cu121",
134
+ "numpy_version": "1.23.5",
135
+ "end_time_seconds": "1705756553"
136
+ },
137
+ "total": 29.556754705999992,
138
+ "count": 1,
139
+ "self": 0.32512608800016096,
140
+ "children": {
141
+ "run_training.setup": {
142
+ "total": 0.09885220299997854,
143
+ "count": 1,
144
+ "self": 0.09885220299997854
145
+ },
146
+ "TrainerController.start_learning": {
147
+ "total": 29.132776414999853,
148
+ "count": 1,
149
+ "self": 0.02340517199900205,
150
+ "children": {
151
+ "TrainerController._reset_env": {
152
+ "total": 2.8386930869999105,
153
+ "count": 1,
154
+ "self": 2.8386930869999105
155
+ },
156
+ "TrainerController.advance": {
157
+ "total": 26.122075574000746,
158
+ "count": 1002,
159
+ "self": 0.02549433300328019,
160
+ "children": {
161
+ "env_step": {
162
+ "total": 23.955029934001004,
163
+ "count": 1002,
164
+ "self": 18.128824072004818,
165
+ "children": {
166
+ "SubprocessEnvManager._take_step": {
167
+ "total": 5.812062143994581,
168
+ "count": 1002,
169
+ "self": 0.15953405499658402,
170
+ "children": {
171
+ "TorchPolicy.evaluate": {
172
+ "total": 5.652528088997997,
173
+ "count": 2000,
174
+ "self": 5.652528088997997
175
+ }
176
+ }
177
+ },
178
+ "workers": {
179
+ "total": 0.01414371800160552,
180
+ "count": 1002,
181
+ "self": 0.0,
182
+ "children": {
183
+ "worker_root": {
184
+ "total": 27.642438297997614,
185
+ "count": 1002,
186
+ "is_parallel": true,
187
+ "self": 12.994077360997835,
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.0036975780001284875,
197
+ "count": 2,
198
+ "is_parallel": true,
199
+ "self": 0.0009010280002712534,
200
+ "children": {
201
+ "_process_rank_one_or_two_observation": {
202
+ "total": 0.002796549999857234,
203
+ "count": 8,
204
+ "is_parallel": true,
205
+ "self": 0.002796549999857234
206
+ }
207
+ }
208
+ },
209
+ "UnityEnvironment.step": {
210
+ "total": 0.029875285999878542,
211
+ "count": 1,
212
+ "is_parallel": true,
213
+ "self": 0.0006959110000934743,
214
+ "children": {
215
+ "UnityEnvironment._generate_step_input": {
216
+ "total": 0.0006409409998013871,
217
+ "count": 1,
218
+ "is_parallel": true,
219
+ "self": 0.0006409409998013871
220
+ },
221
+ "communicator.exchange": {
222
+ "total": 0.025898719999986497,
223
+ "count": 1,
224
+ "is_parallel": true,
225
+ "self": 0.025898719999986497
226
+ },
227
+ "steps_from_proto": {
228
+ "total": 0.002639713999997184,
229
+ "count": 2,
230
+ "is_parallel": true,
231
+ "self": 0.0004859079999732785,
232
+ "children": {
233
+ "_process_rank_one_or_two_observation": {
234
+ "total": 0.0021538060000239057,
235
+ "count": 8,
236
+ "is_parallel": true,
237
+ "self": 0.0021538060000239057
238
+ }
239
+ }
240
+ }
241
+ }
242
+ }
243
+ }
244
+ },
245
+ "UnityEnvironment.step": {
246
+ "total": 14.64836093699978,
247
+ "count": 1001,
248
+ "is_parallel": true,
249
+ "self": 0.7439781180030423,
250
+ "children": {
251
+ "UnityEnvironment._generate_step_input": {
252
+ "total": 0.6186774699990565,
253
+ "count": 1001,
254
+ "is_parallel": true,
255
+ "self": 0.6186774699990565
256
+ },
257
+ "communicator.exchange": {
258
+ "total": 10.430411914999695,
259
+ "count": 1001,
260
+ "is_parallel": true,
261
+ "self": 10.430411914999695
262
+ },
263
+ "steps_from_proto": {
264
+ "total": 2.8552934339979856,
265
+ "count": 2002,
266
+ "is_parallel": true,
267
+ "self": 0.47978217698482695,
268
+ "children": {
269
+ "_process_rank_one_or_two_observation": {
270
+ "total": 2.3755112570131587,
271
+ "count": 8008,
272
+ "is_parallel": true,
273
+ "self": 2.3755112570131587
274
+ }
275
+ }
276
+ }
277
+ }
278
+ }
279
+ }
280
+ }
281
+ }
282
+ }
283
+ }
284
+ },
285
+ "trainer_advance": {
286
+ "total": 2.141551306996462,
287
+ "count": 1002,
288
+ "self": 0.1340654380014712,
289
+ "children": {
290
+ "process_trajectory": {
291
+ "total": 2.0074858689949906,
292
+ "count": 1002,
293
+ "self": 2.0074858689949906
294
+ }
295
+ }
296
+ }
297
+ }
298
+ },
299
+ "trainer_threads": {
300
+ "total": 1.1550000635907054e-06,
301
+ "count": 1,
302
+ "self": 1.1550000635907054e-06
303
+ },
304
+ "TrainerController._save_models": {
305
+ "total": 0.14860142700013057,
306
+ "count": 1,
307
+ "self": 0.001511279000169452,
308
+ "children": {
309
+ "RLTrainer._checkpoint": {
310
+ "total": 0.14709014799996112,
311
+ "count": 1,
312
+ "self": 0.14709014799996112
313
+ }
314
+ }
315
+ }
316
+ }
317
+ }
318
+ }
319
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1201.9913820042966,
4
+ "checkpoints": [
5
+ {
6
+ "steps": 15344,
7
+ "file_path": "results/Soccer/SoccerTwos/SoccerTwos-15344.onnx",
8
+ "reward": 0.0,
9
+ "creation_time": 1705756552.9486904,
10
+ "auxillary_file_paths": [
11
+ "results/Soccer/SoccerTwos/SoccerTwos-15344.pt"
12
+ ]
13
+ }
14
+ ],
15
+ "final_checkpoint": {
16
+ "steps": 15344,
17
+ "file_path": "results/Soccer/SoccerTwos.onnx",
18
+ "reward": 0.0,
19
+ "creation_time": 1705756552.9486904,
20
+ "auxillary_file_paths": [
21
+ "results/Soccer/SoccerTwos/SoccerTwos-15344.pt"
22
+ ]
23
+ }
24
+ },
25
+ "metadata": {
26
+ "stats_format_version": "0.3.0",
27
+ "mlagents_version": "1.1.0.dev0",
28
+ "torch_version": "2.1.2+cu121"
29
+ }
30
+ }