vvn0 commited on
Commit
fbed8d7
1 Parent(s): bab63a0

First Push

Browse files
README.md ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ tags:
4
+ - unity-ml-agents
5
+ - ml-agents
6
+ - deep-reinforcement-learning
7
+ - reinforcement-learning
8
+ - ML-Agents-SoccerTwos
9
+ library_name: ml-agents
10
+ ---
11
+
12
+ # **poca** Agent playing **SoccerTwos**
13
+ This is a trained model of a **poca** agent playing **SoccerTwos** using the [Unity ML-Agents Library](https://github.com/Unity-Technologies/ml-agents).
14
+
15
+ ## Usage (with ML-Agents)
16
+ The Documentation: https://github.com/huggingface/ml-agents#get-started
17
+ We wrote a complete tutorial to learn to train your first agent using ML-Agents and publish it to the Hub:
18
+
19
+
20
+ ### Resume the training
21
+ ```
22
+ mlagents-learn <your_configuration_file_path.yaml> --run-id=<run_id> --resume
23
+ ```
24
+ ### Watch your Agent play
25
+ You can watch your agent **playing directly in your browser:**.
26
+
27
+ 1. Go to https://huggingface.co/spaces/unity/ML-Agents-SoccerTwos
28
+ 2. Step 1: Write your model_id: vvn0/poca-SoccerTwos
29
+ 3. Step 2: Select your *.nn /*.onnx file
30
+ 4. Click on Watch the agent play 👀
31
+
SoccerTwos.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:77a22775bc71fca79a8cdaa01d92bb2cb16e873e37472e582424e29b8b315fe5
3
+ size 1764633
SoccerTwos/SoccerTwos-0.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:77a22775bc71fca79a8cdaa01d92bb2cb16e873e37472e582424e29b8b315fe5
3
+ size 1764633
SoccerTwos/SoccerTwos-0.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1c86d7b7e13497aeb84b5cd586fba3b5b65d203ec9d3b4cdf987bb076a91f4e4
3
+ size 9478265
SoccerTwos/SoccerTwos-16082.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:77a22775bc71fca79a8cdaa01d92bb2cb16e873e37472e582424e29b8b315fe5
3
+ size 1764633
SoccerTwos/SoccerTwos-16082.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3ea0acb97e06566cb1811211759e6528c21347ade8fef5fe0d1780f28ba4aa28
3
+ size 9478265
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3ea0acb97e06566cb1811211759e6528c21347ade8fef5fe0d1780f28ba4aa28
3
+ size 9478265
SoccerTwos/events.out.tfevents.1675972088.victor-VirtualBox.14721.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:605faf8abbdaa857c47351026c87164d74771811f9bbd743a38858426927d8a2
3
+ size 1194
SoccerTwos/events.out.tfevents.1675972112.victor-VirtualBox.14880.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cf1a70f3a61f29958e444c1e82b246b9bdc78d3043fa7dbbdbecad6342d7718b
3
+ size 11284
config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"default_settings": null, "behaviors": {"SoccerTwos": {"trainer_type": "poca", "hyperparameters": {"batch_size": 4096, "buffer_size": 409600, "learning_rate": 0.0003, "beta": 0.005, "epsilon": 0.2, "lambd": 0.95, "num_epoch": 8, "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, "seed": -1, "max_lifetime_restarts": 10, "restarts_rate_limit_n": 1, "restarts_rate_limit_period_s": 60}, "engine_settings": {"width": 84, "height": 84, "quality_level": 5, "time_scale": 20, "target_frame_rate": -1, "capture_frame_rate": 60, "no_graphics": true}, "environment_parameters": null, "checkpoint_settings": {"run_id": "SoccerTwos", "initialize_from": null, "load_model": false, "resume": true, "force": false, "train_model": false, "inference": false, "results_dir": "results"}, "torch_settings": {"device": null}, "debug": false}
configuration.yaml ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ default_settings: null
2
+ behaviors:
3
+ SoccerTwos:
4
+ trainer_type: poca
5
+ hyperparameters:
6
+ batch_size: 4096
7
+ buffer_size: 409600
8
+ learning_rate: 0.0003
9
+ beta: 0.005
10
+ epsilon: 0.2
11
+ lambd: 0.95
12
+ num_epoch: 8
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
+ seed: -1
59
+ max_lifetime_restarts: 10
60
+ restarts_rate_limit_n: 1
61
+ restarts_rate_limit_period_s: 60
62
+ engine_settings:
63
+ width: 84
64
+ height: 84
65
+ quality_level: 5
66
+ time_scale: 20
67
+ target_frame_rate: -1
68
+ capture_frame_rate: 60
69
+ no_graphics: true
70
+ environment_parameters: null
71
+ checkpoint_settings:
72
+ run_id: SoccerTwos
73
+ initialize_from: null
74
+ load_model: false
75
+ resume: true
76
+ force: false
77
+ train_model: false
78
+ inference: false
79
+ results_dir: results
80
+ torch_settings:
81
+ device: null
82
+ debug: false
run_logs/Player-0.log ADDED
@@ -0,0 +1,266 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/home/victor/PycharmProjects/DeepRL_huggingface/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos_Data/Managed'
2
+ Mono config path = '/home/victor/PycharmProjects/DeepRL_huggingface/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 /home/victor/PycharmProjects/DeepRL_huggingface/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
+ Begin MonoManager ReloadAssembly
14
+ - Completed reload, in 0.038 seconds
15
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
16
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
17
+ ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
18
+ WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
19
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
20
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
21
+ ERROR: Shader Standard (Specular setup) shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
22
+ WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
23
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
24
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
25
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
26
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
27
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
28
+ ERROR: Shader Autodesk Interactive shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
29
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
30
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
31
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
32
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
33
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
34
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
35
+ ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
36
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
37
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
38
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
39
+ UnloadTime: 0.391564 ms
40
+ Registered Communicator in Agent.
41
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
42
+ requesting resize 84 x 84
43
+ TOO LONG
44
+ TOO LONG
45
+ TOO LONG
46
+ TOO LONG
47
+ TOO LONG
48
+ TOO LONG
49
+ TOO LONG
50
+ Setting up 1 worker threads for Enlighten.
51
+ Memory Statistics:
52
+ [ALLOC_TEMP_TLS] TLS Allocator
53
+ StackAllocators :
54
+ [ALLOC_TEMP_MAIN]
55
+ Peak usage frame count: [8.0 KB-16.0 KB]: 467 frames, [2.0 MB-4.0 MB]: 1 frames
56
+ Initial Block Size 4.0 MB
57
+ Current Block Size 4.0 MB
58
+ Peak Allocated Bytes 2.1 MB
59
+ Overflow Count 0
60
+ [ALLOC_TEMP_Loading.AsyncRead]
61
+ Initial Block Size 64.0 KB
62
+ Current Block Size 64.0 KB
63
+ Peak Allocated Bytes 137 B
64
+ Overflow Count 0
65
+ [ALLOC_TEMP_Loading.PreloadManager]
66
+ Initial Block Size 256.0 KB
67
+ Current Block Size 300.0 KB
68
+ Peak Allocated Bytes 249.7 KB
69
+ Overflow Count 4
70
+ [ALLOC_TEMP_Background Job.Worker 8]
71
+ Initial Block Size 32.0 KB
72
+ Current Block Size 32.0 KB
73
+ Peak Allocated Bytes 0 B
74
+ Overflow Count 0
75
+ [ALLOC_TEMP_Background Job.Worker 9]
76
+ Initial Block Size 32.0 KB
77
+ Current Block Size 32.0 KB
78
+ Peak Allocated Bytes 0 B
79
+ Overflow Count 0
80
+ [ALLOC_TEMP_Job.Worker 0]
81
+ Initial Block Size 256.0 KB
82
+ Current Block Size 256.0 KB
83
+ Peak Allocated Bytes 0.7 KB
84
+ Overflow Count 0
85
+ [ALLOC_TEMP_Background Job.Worker 10]
86
+ Initial Block Size 32.0 KB
87
+ Current Block Size 32.0 KB
88
+ Peak Allocated Bytes 0 B
89
+ Overflow Count 0
90
+ [ALLOC_TEMP_Background Job.Worker 14]
91
+ Initial Block Size 32.0 KB
92
+ Current Block Size 32.0 KB
93
+ Peak Allocated Bytes 0 B
94
+ Overflow Count 0
95
+ [ALLOC_TEMP_Background Job.Worker 6]
96
+ Initial Block Size 32.0 KB
97
+ Current Block Size 32.0 KB
98
+ Peak Allocated Bytes 0 B
99
+ Overflow Count 0
100
+ [ALLOC_TEMP_Background Job.Worker 12]
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_EnlightenWorker]
106
+ Initial Block Size 64.0 KB
107
+ Current Block Size 64.0 KB
108
+ Peak Allocated Bytes 0 B
109
+ Overflow Count 0
110
+ [ALLOC_TEMP_Background Job.Worker 15]
111
+ Initial Block Size 32.0 KB
112
+ Current Block Size 32.0 KB
113
+ Peak Allocated Bytes 0 B
114
+ Overflow Count 0
115
+ [ALLOC_TEMP_Background Job.Worker 1]
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 2]
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 7]
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_AssetGarbageCollectorHelper] x 2
131
+ Initial Block Size 64.0 KB
132
+ Current Block Size 64.0 KB
133
+ Peak Allocated Bytes 0 B
134
+ Overflow Count 0
135
+ [ALLOC_TEMP_Background Job.Worker 5]
136
+ Initial Block Size 32.0 KB
137
+ Current Block Size 32.0 KB
138
+ Peak Allocated Bytes 0 B
139
+ Overflow Count 0
140
+ [ALLOC_TEMP_Background Job.Worker 13]
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_Job.Worker 1]
146
+ Initial Block Size 256.0 KB
147
+ Current Block Size 256.0 KB
148
+ Peak Allocated Bytes 0 B
149
+ Overflow Count 0
150
+ [ALLOC_TEMP_Background Job.Worker 11]
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 3]
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_Background Job.Worker 0]
161
+ Initial Block Size 32.0 KB
162
+ Current Block Size 32.0 KB
163
+ Peak Allocated Bytes 0 B
164
+ Overflow Count 0
165
+ [ALLOC_TEMP_Background Job.Worker 4]
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_BatchDeleteObjects]
171
+ Initial Block Size 64.0 KB
172
+ Current Block Size 64.0 KB
173
+ Peak Allocated Bytes 0 B
174
+ Overflow Count 0
175
+ [ALLOC_DEFAULT] Dual Thread Allocator
176
+ Peak main deferred allocation count 3
177
+ [ALLOC_BUCKET]
178
+ Large Block size 4.0 MB
179
+ Used Block count 1
180
+ Peak Allocated bytes 1.0 MB
181
+ [ALLOC_DEFAULT_MAIN]
182
+ Peak usage frame count: [4.0 MB-8.0 MB]: 468 frames
183
+ Requested Block Size 16.0 MB
184
+ Peak Block count 1
185
+ Peak Allocated memory 5.0 MB
186
+ Peak Large allocation bytes 0 B
187
+ [ALLOC_DEFAULT_THREAD]
188
+ Peak usage frame count: [16.0 MB-32.0 MB]: 468 frames
189
+ Requested Block Size 16.0 MB
190
+ Peak Block count 1
191
+ Peak Allocated memory 17.2 MB
192
+ Peak Large allocation bytes 16.0 MB
193
+ [ALLOC_TEMP_JOB_1_FRAME]
194
+ Initial Block Size 2.0 MB
195
+ Used Block Count 1
196
+ Overflow Count (too large) 0
197
+ Overflow Count (full) 0
198
+ [ALLOC_TEMP_JOB_2_FRAMES]
199
+ Initial Block Size 2.0 MB
200
+ Used Block Count 1
201
+ Overflow Count (too large) 0
202
+ Overflow Count (full) 0
203
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
204
+ Initial Block Size 2.0 MB
205
+ Used Block Count 2
206
+ Overflow Count (too large) 0
207
+ Overflow Count (full) 0
208
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
209
+ Initial Block Size 1.0 MB
210
+ Used Block Count 3
211
+ Overflow Count (too large) 0
212
+ Overflow Count (full) 0
213
+ [ALLOC_GFX] Dual Thread Allocator
214
+ Peak main deferred allocation count 0
215
+ [ALLOC_BUCKET]
216
+ Large Block size 4.0 MB
217
+ Used Block count 1
218
+ Peak Allocated bytes 1.0 MB
219
+ [ALLOC_GFX_MAIN]
220
+ Peak usage frame count: [32.0 KB-64.0 KB]: 467 frames, [64.0 KB-128.0 KB]: 1 frames
221
+ Requested Block Size 16.0 MB
222
+ Peak Block count 1
223
+ Peak Allocated memory 65.6 KB
224
+ Peak Large allocation bytes 0 B
225
+ [ALLOC_GFX_THREAD]
226
+ Peak usage frame count: [128.0 KB-256.0 KB]: 468 frames
227
+ Requested Block Size 16.0 MB
228
+ Peak Block count 1
229
+ Peak Allocated memory 173.5 KB
230
+ Peak Large allocation bytes 0 B
231
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
232
+ Peak main deferred allocation count 0
233
+ [ALLOC_BUCKET]
234
+ Large Block size 4.0 MB
235
+ Used Block count 1
236
+ Peak Allocated bytes 1.0 MB
237
+ [ALLOC_CACHEOBJECTS_MAIN]
238
+ Peak usage frame count: [0.5 MB-1.0 MB]: 468 frames
239
+ Requested Block Size 4.0 MB
240
+ Peak Block count 1
241
+ Peak Allocated memory 0.6 MB
242
+ Peak Large allocation bytes 0 B
243
+ [ALLOC_CACHEOBJECTS_THREAD]
244
+ Peak usage frame count: [0.5 MB-1.0 MB]: 467 frames, [4.0 MB-8.0 MB]: 1 frames
245
+ Requested Block Size 4.0 MB
246
+ Peak Block count 2
247
+ Peak Allocated memory 4.5 MB
248
+ Peak Large allocation bytes 0 B
249
+ [ALLOC_TYPETREE] Dual Thread Allocator
250
+ Peak main deferred allocation count 0
251
+ [ALLOC_BUCKET]
252
+ Large Block size 4.0 MB
253
+ Used Block count 1
254
+ Peak Allocated bytes 1.0 MB
255
+ [ALLOC_TYPETREE_MAIN]
256
+ Peak usage frame count: [0-1.0 KB]: 468 frames
257
+ Requested Block Size 2.0 MB
258
+ Peak Block count 1
259
+ Peak Allocated memory 1.0 KB
260
+ Peak Large allocation bytes 0 B
261
+ [ALLOC_TYPETREE_THREAD]
262
+ Peak usage frame count: [1.0 KB-2.0 KB]: 467 frames, [2.0 KB-4.0 KB]: 1 frames
263
+ Requested Block Size 2.0 MB
264
+ Peak Block count 1
265
+ Peak Allocated memory 2.2 KB
266
+ 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.2957065105438232,
6
+ "min": 3.2957065105438232,
7
+ "max": 3.2957065105438232,
8
+ "count": 1
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 105462.609375,
12
+ "min": 105462.609375,
13
+ "max": 105462.609375,
14
+ "count": 1
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 878.0,
18
+ "min": 878.0,
19
+ "max": 878.0,
20
+ "count": 1
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 31608.0,
24
+ "min": 31608.0,
25
+ "max": 31608.0,
26
+ "count": 1
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1200.4971269630323,
30
+ "min": 1200.4971269630323,
31
+ "max": 1200.4971269630323,
32
+ "count": 1
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 4801.988507852129,
36
+ "min": 4801.988507852129,
37
+ "max": 4801.988507852129,
38
+ "count": 1
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 9822.0,
42
+ "min": 9822.0,
43
+ "max": 9822.0,
44
+ "count": 1
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 9822.0,
48
+ "min": 9822.0,
49
+ "max": 9822.0,
50
+ "count": 1
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": 0.0941588506102562,
54
+ "min": 0.0941588506102562,
55
+ "max": 0.0941588506102562,
56
+ "count": 1
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": 1.129906177520752,
60
+ "min": 1.129906177520752,
61
+ "max": 1.129906177520752,
62
+ "count": 1
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": 0.09416719526052475,
66
+ "min": 0.09416719526052475,
67
+ "max": 0.09416719526052475,
68
+ "count": 1
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": 1.1300063133239746,
72
+ "min": 1.1300063133239746,
73
+ "max": 1.1300063133239746,
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.0072999993960062666,
90
+ "min": -0.0072999993960062666,
91
+ "max": -0.0072999993960062666,
92
+ "count": 1
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": -0.0875999927520752,
96
+ "min": -0.0875999927520752,
97
+ "max": -0.0875999927520752,
98
+ "count": 1
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": -0.0072999993960062666,
102
+ "min": -0.0072999993960062666,
103
+ "max": -0.0072999993960062666,
104
+ "count": 1
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": -0.0875999927520752,
108
+ "min": -0.0875999927520752,
109
+ "max": -0.0875999927520752,
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": "1675972112",
128
+ "python_version": "3.9.12 (main, Dec 7 2022, 17:19:53) \n[GCC 7.5.0]",
129
+ "command_line_arguments": "/home/victor/.cache/pypoetry/virtualenvs/deeprl-huggingface-i-yWCmYS-py3.9/bin/mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos/SoccerTwos.x86_64 --run-id=SoccerTwos --no-graphics --resume",
130
+ "mlagents_version": "0.31.0.dev0",
131
+ "mlagents_envs_version": "0.31.0.dev0",
132
+ "communication_protocol_version": "1.5.0",
133
+ "pytorch_version": "1.11.0+cu102",
134
+ "numpy_version": "1.21.2",
135
+ "end_time_seconds": "1675972133"
136
+ },
137
+ "total": 21.850116497000045,
138
+ "count": 1,
139
+ "self": 0.17503972700001214,
140
+ "children": {
141
+ "run_training.setup": {
142
+ "total": 0.005276773000105095,
143
+ "count": 1,
144
+ "self": 0.005276773000105095
145
+ },
146
+ "TrainerController.start_learning": {
147
+ "total": 21.669799996999927,
148
+ "count": 1,
149
+ "self": 0.021356481003294903,
150
+ "children": {
151
+ "TrainerController._reset_env": {
152
+ "total": 0.6995306470000742,
153
+ "count": 1,
154
+ "self": 0.6995306470000742
155
+ },
156
+ "TrainerController.advance": {
157
+ "total": 20.85485802799667,
158
+ "count": 1559,
159
+ "self": 0.024790196994672442,
160
+ "children": {
161
+ "env_step": {
162
+ "total": 16.71110991100113,
163
+ "count": 1559,
164
+ "self": 13.432824687002267,
165
+ "children": {
166
+ "SubprocessEnvManager._take_step": {
167
+ "total": 3.2658581540006253,
168
+ "count": 1559,
169
+ "self": 0.12291336999101077,
170
+ "children": {
171
+ "TorchPolicy.evaluate": {
172
+ "total": 3.1429447840096145,
173
+ "count": 3114,
174
+ "self": 3.1429447840096145
175
+ }
176
+ }
177
+ },
178
+ "workers": {
179
+ "total": 0.012427069998238949,
180
+ "count": 1558,
181
+ "self": 0.0,
182
+ "children": {
183
+ "worker_root": {
184
+ "total": 21.51970218700626,
185
+ "count": 1558,
186
+ "is_parallel": true,
187
+ "self": 10.622186280002552,
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.001874596999869027,
197
+ "count": 2,
198
+ "is_parallel": true,
199
+ "self": 0.0004368799993699213,
200
+ "children": {
201
+ "_process_rank_one_or_two_observation": {
202
+ "total": 0.0014377170004991058,
203
+ "count": 8,
204
+ "is_parallel": true,
205
+ "self": 0.0014377170004991058
206
+ }
207
+ }
208
+ },
209
+ "UnityEnvironment.step": {
210
+ "total": 0.01590092099991125,
211
+ "count": 1,
212
+ "is_parallel": true,
213
+ "self": 0.00039036600014696887,
214
+ "children": {
215
+ "UnityEnvironment._generate_step_input": {
216
+ "total": 0.00024147099998117483,
217
+ "count": 1,
218
+ "is_parallel": true,
219
+ "self": 0.00024147099998117483
220
+ },
221
+ "communicator.exchange": {
222
+ "total": 0.014181235000023662,
223
+ "count": 1,
224
+ "is_parallel": true,
225
+ "self": 0.014181235000023662
226
+ },
227
+ "steps_from_proto": {
228
+ "total": 0.0010878489997594443,
229
+ "count": 2,
230
+ "is_parallel": true,
231
+ "self": 0.00021253799968690146,
232
+ "children": {
233
+ "_process_rank_one_or_two_observation": {
234
+ "total": 0.0008753110000725428,
235
+ "count": 8,
236
+ "is_parallel": true,
237
+ "self": 0.0008753110000725428
238
+ }
239
+ }
240
+ }
241
+ }
242
+ }
243
+ }
244
+ },
245
+ "UnityEnvironment.step": {
246
+ "total": 10.897515907003708,
247
+ "count": 1557,
248
+ "is_parallel": true,
249
+ "self": 0.6033826790001058,
250
+ "children": {
251
+ "UnityEnvironment._generate_step_input": {
252
+ "total": 0.3321708000007675,
253
+ "count": 1557,
254
+ "is_parallel": true,
255
+ "self": 0.3321708000007675
256
+ },
257
+ "communicator.exchange": {
258
+ "total": 8.358475263996752,
259
+ "count": 1557,
260
+ "is_parallel": true,
261
+ "self": 8.358475263996752
262
+ },
263
+ "steps_from_proto": {
264
+ "total": 1.6034871640060828,
265
+ "count": 3114,
266
+ "is_parallel": true,
267
+ "self": 0.3139149670173538,
268
+ "children": {
269
+ "_process_rank_one_or_two_observation": {
270
+ "total": 1.289572196988729,
271
+ "count": 12456,
272
+ "is_parallel": true,
273
+ "self": 1.289572196988729
274
+ }
275
+ }
276
+ }
277
+ }
278
+ }
279
+ }
280
+ }
281
+ }
282
+ }
283
+ }
284
+ },
285
+ "trainer_advance": {
286
+ "total": 4.118957920000867,
287
+ "count": 1558,
288
+ "self": 0.08933166500196421,
289
+ "children": {
290
+ "process_trajectory": {
291
+ "total": 4.029626254998902,
292
+ "count": 1558,
293
+ "self": 4.029626254998902
294
+ }
295
+ }
296
+ }
297
+ }
298
+ },
299
+ "trainer_threads": {
300
+ "total": 7.619998996233335e-07,
301
+ "count": 1,
302
+ "self": 7.619998996233335e-07
303
+ },
304
+ "TrainerController._save_models": {
305
+ "total": 0.09405407899998863,
306
+ "count": 1,
307
+ "self": 0.0011571420000109356,
308
+ "children": {
309
+ "RLTrainer._checkpoint": {
310
+ "total": 0.0928969369999777,
311
+ "count": 1,
312
+ "self": 0.0928969369999777
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": "0.31.0.dev0",
5
+ "torch_version": "1.11.0+cu102"
6
+ },
7
+ "SoccerTwos": {
8
+ "elo": 1200.9928540150988,
9
+ "checkpoints": [
10
+ {
11
+ "steps": 0,
12
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-0.onnx",
13
+ "reward": null,
14
+ "creation_time": 1675972088.646611,
15
+ "auxillary_file_paths": [
16
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-0.pt"
17
+ ]
18
+ },
19
+ {
20
+ "steps": 16082,
21
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-16082.onnx",
22
+ "reward": 0.0,
23
+ "creation_time": 1675972133.6747122,
24
+ "auxillary_file_paths": [
25
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-16082.pt"
26
+ ]
27
+ }
28
+ ],
29
+ "final_checkpoint": {
30
+ "steps": 16082,
31
+ "file_path": "results/SoccerTwos/SoccerTwos.onnx",
32
+ "reward": 0.0,
33
+ "creation_time": 1675972133.6747122,
34
+ "auxillary_file_paths": [
35
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-16082.pt"
36
+ ]
37
+ }
38
+ }
39
+ }