stevaras2 commited on
Commit
8ec59ba
·
1 Parent(s): b17e454

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: stevaras2/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:ae0ba94308fbf1fa12203f329e90ea8e63cbc1ee181c0f9c2259ba20a5a2aa06
3
+ size 247188
SoccerTwos/SoccerTwos-13568.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae0ba94308fbf1fa12203f329e90ea8e63cbc1ee181c0f9c2259ba20a5a2aa06
3
+ size 247188
SoccerTwos/SoccerTwos-13568.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:031a519f242faca5403b3566eb3b955557eeaa1d6e56af33affec578241bc326
3
+ size 1004827
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:031a519f242faca5403b3566eb3b955557eeaa1d6e56af33affec578241bc326
3
+ size 1004827
SoccerTwos/events.out.tfevents.1675343344.sstefanidis-Inspiron-16-Plus-7620.9154.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8abd5386ef36f6aa1b46f05e9614d873e120d32bc55b940d1c6508df2a9d0d6a
3
+ size 6553
config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"default_settings": null, "behaviors": {"SoccerTwos": {"trainer_type": "poca", "hyperparameters": {"batch_size": 512, "buffer_size": 20480, "learning_rate": 0.0003, "beta": 0.005, "epsilon": 0.2, "lambd": 0.95, "num_epoch": 1, "learning_rate_schedule": "constant", "beta_schedule": "constant", "epsilon_schedule": "constant"}, "checkpoint_interval": 500000, "network_settings": {"normalize": false, "hidden_units": 128, "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/SoccerTows.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": false, "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: 512
7
+ buffer_size: 20480
8
+ learning_rate: 0.0003
9
+ beta: 0.005
10
+ epsilon: 0.2
11
+ lambd: 0.95
12
+ num_epoch: 1
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: 128
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/SoccerTows.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: false
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,350 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/home/sstefanidis/PycharmProjects/ml-agents/training-envs-executables/SoccerTwos/SoccerTows_Data/Managed'
2
+ Mono config path = '/home/sstefanidis/PycharmProjects/ml-agents/training-envs-executables/SoccerTwos/SoccerTows_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/sstefanidis/PycharmProjects/ml-agents/training-envs-executables/SoccerTwos/SoccerTows_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.036 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.338665 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
+ Setting up 10 worker threads for Enlighten.
50
+ Memory Statistics:
51
+ [ALLOC_TEMP_TLS] TLS Allocator
52
+ StackAllocators :
53
+ [ALLOC_TEMP_MAIN]
54
+ Peak usage frame count: [8.0 KB-16.0 KB]: 309 frames, [2.0 MB-4.0 MB]: 1 frames
55
+ Initial Block Size 4.0 MB
56
+ Current Block Size 4.0 MB
57
+ Peak Allocated Bytes 2.1 MB
58
+ Overflow Count 0
59
+ [ALLOC_TEMP_Job.Worker 18]
60
+ Initial Block Size 256.0 KB
61
+ Current Block Size 256.0 KB
62
+ Peak Allocated Bytes 0 B
63
+ Overflow Count 0
64
+ [ALLOC_TEMP_Loading.PreloadManager]
65
+ Initial Block Size 256.0 KB
66
+ Current Block Size 300.0 KB
67
+ Peak Allocated Bytes 249.6 KB
68
+ Overflow Count 4
69
+ [ALLOC_TEMP_Loading.AsyncRead]
70
+ Initial Block Size 64.0 KB
71
+ Current Block Size 64.0 KB
72
+ Peak Allocated Bytes 128 B
73
+ Overflow Count 0
74
+ [ALLOC_TEMP_Background Job.Worker 8]
75
+ Initial Block Size 32.0 KB
76
+ Current Block Size 32.0 KB
77
+ Peak Allocated Bytes 0 B
78
+ Overflow Count 0
79
+ [ALLOC_TEMP_Job.Worker 6]
80
+ Initial Block Size 256.0 KB
81
+ Current Block Size 256.0 KB
82
+ Peak Allocated Bytes 0 B
83
+ Overflow Count 0
84
+ [ALLOC_TEMP_Job.Worker 0]
85
+ Initial Block Size 256.0 KB
86
+ Current Block Size 256.0 KB
87
+ Peak Allocated Bytes 0 B
88
+ Overflow Count 0
89
+ [ALLOC_TEMP_Background Job.Worker 10]
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 5]
100
+ Initial Block Size 256.0 KB
101
+ Current Block Size 256.0 KB
102
+ Peak Allocated Bytes 0 B
103
+ Overflow Count 0
104
+ [ALLOC_TEMP_Background Job.Worker 14]
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_Job.Worker 16]
110
+ Initial Block Size 256.0 KB
111
+ Current Block Size 256.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_Job.Worker 4]
120
+ Initial Block Size 256.0 KB
121
+ Current Block Size 256.0 KB
122
+ Peak Allocated Bytes 0 B
123
+ Overflow Count 0
124
+ [ALLOC_TEMP_Job.Worker 14]
125
+ Initial Block Size 256.0 KB
126
+ Current Block Size 256.0 KB
127
+ Peak Allocated Bytes 0 B
128
+ Overflow Count 0
129
+ [ALLOC_TEMP_Job.Worker 17]
130
+ Initial Block Size 256.0 KB
131
+ Current Block Size 256.0 KB
132
+ Peak Allocated Bytes 0 B
133
+ Overflow Count 0
134
+ [ALLOC_TEMP_Job.Worker 3]
135
+ Initial Block Size 256.0 KB
136
+ Current Block Size 256.0 KB
137
+ Peak Allocated Bytes 0.7 KB
138
+ Overflow Count 0
139
+ [ALLOC_TEMP_Job.Worker 13]
140
+ Initial Block Size 256.0 KB
141
+ Current Block Size 256.0 KB
142
+ Peak Allocated Bytes 0 B
143
+ Overflow Count 0
144
+ [ALLOC_TEMP_Background Job.Worker 12]
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_EnlightenWorker] x 10
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 15]
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 1]
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 2]
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 7]
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_AssetGarbageCollectorHelper] x 19
175
+ Initial Block Size 64.0 KB
176
+ Current Block Size 64.0 KB
177
+ Peak Allocated Bytes 0 B
178
+ Overflow Count 0
179
+ [ALLOC_TEMP_Background Job.Worker 5]
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_Job.Worker 9]
185
+ Initial Block Size 256.0 KB
186
+ Current Block Size 256.0 KB
187
+ Peak Allocated Bytes 0 B
188
+ Overflow Count 0
189
+ [ALLOC_TEMP_Background Job.Worker 13]
190
+ Initial Block Size 32.0 KB
191
+ Current Block Size 32.0 KB
192
+ Peak Allocated Bytes 0 B
193
+ Overflow Count 0
194
+ [ALLOC_TEMP_Job.Worker 8]
195
+ Initial Block Size 256.0 KB
196
+ Current Block Size 256.0 KB
197
+ Peak Allocated Bytes 0 B
198
+ Overflow Count 0
199
+ [ALLOC_TEMP_Job.Worker 7]
200
+ Initial Block Size 256.0 KB
201
+ Current Block Size 256.0 KB
202
+ Peak Allocated Bytes 0 B
203
+ Overflow Count 0
204
+ [ALLOC_TEMP_Job.Worker 1]
205
+ Initial Block Size 256.0 KB
206
+ Current Block Size 256.0 KB
207
+ Peak Allocated Bytes 0 B
208
+ Overflow Count 0
209
+ [ALLOC_TEMP_Job.Worker 2]
210
+ Initial Block Size 256.0 KB
211
+ Current Block Size 256.0 KB
212
+ Peak Allocated Bytes 0 B
213
+ Overflow Count 0
214
+ [ALLOC_TEMP_Background Job.Worker 3]
215
+ Initial Block Size 32.0 KB
216
+ Current Block Size 32.0 KB
217
+ Peak Allocated Bytes 0 B
218
+ Overflow Count 0
219
+ [ALLOC_TEMP_Background Job.Worker 11]
220
+ Initial Block Size 32.0 KB
221
+ Current Block Size 32.0 KB
222
+ Peak Allocated Bytes 0 B
223
+ Overflow Count 0
224
+ [ALLOC_TEMP_Job.Worker 10]
225
+ Initial Block Size 256.0 KB
226
+ Current Block Size 256.0 KB
227
+ Peak Allocated Bytes 0 B
228
+ Overflow Count 0
229
+ [ALLOC_TEMP_Background Job.Worker 0]
230
+ Initial Block Size 32.0 KB
231
+ Current Block Size 32.0 KB
232
+ Peak Allocated Bytes 0 B
233
+ Overflow Count 0
234
+ [ALLOC_TEMP_Job.Worker 15]
235
+ Initial Block Size 256.0 KB
236
+ Current Block Size 256.0 KB
237
+ Peak Allocated Bytes 0 B
238
+ Overflow Count 0
239
+ [ALLOC_TEMP_Job.Worker 11]
240
+ Initial Block Size 256.0 KB
241
+ Current Block Size 256.0 KB
242
+ Peak Allocated Bytes 0 B
243
+ Overflow Count 0
244
+ [ALLOC_TEMP_Job.Worker 12]
245
+ Initial Block Size 256.0 KB
246
+ Current Block Size 256.0 KB
247
+ Peak Allocated Bytes 0 B
248
+ Overflow Count 0
249
+ [ALLOC_TEMP_Background Job.Worker 4]
250
+ Initial Block Size 32.0 KB
251
+ Current Block Size 32.0 KB
252
+ Peak Allocated Bytes 0 B
253
+ Overflow Count 0
254
+ [ALLOC_TEMP_BatchDeleteObjects]
255
+ Initial Block Size 64.0 KB
256
+ Current Block Size 64.0 KB
257
+ Peak Allocated Bytes 0 B
258
+ Overflow Count 0
259
+ [ALLOC_DEFAULT] Dual Thread Allocator
260
+ Peak main deferred allocation count 2
261
+ [ALLOC_BUCKET]
262
+ Large Block size 4.0 MB
263
+ Used Block count 1
264
+ Peak Allocated bytes 1.0 MB
265
+ [ALLOC_DEFAULT_MAIN]
266
+ Peak usage frame count: [4.0 MB-8.0 MB]: 310 frames
267
+ Requested Block Size 16.0 MB
268
+ Peak Block count 1
269
+ Peak Allocated memory 4.8 MB
270
+ Peak Large allocation bytes 0 B
271
+ [ALLOC_DEFAULT_THREAD]
272
+ Peak usage frame count: [16.0 MB-32.0 MB]: 310 frames
273
+ Requested Block Size 16.0 MB
274
+ Peak Block count 1
275
+ Peak Allocated memory 17.5 MB
276
+ Peak Large allocation bytes 16.0 MB
277
+ [ALLOC_TEMP_JOB_1_FRAME]
278
+ Initial Block Size 2.0 MB
279
+ Used Block Count 1
280
+ Overflow Count (too large) 0
281
+ Overflow Count (full) 0
282
+ [ALLOC_TEMP_JOB_2_FRAMES]
283
+ Initial Block Size 2.0 MB
284
+ Used Block Count 1
285
+ Overflow Count (too large) 0
286
+ Overflow Count (full) 0
287
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
288
+ Initial Block Size 2.0 MB
289
+ Used Block Count 2
290
+ Overflow Count (too large) 0
291
+ Overflow Count (full) 0
292
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
293
+ Initial Block Size 1.0 MB
294
+ Used Block Count 3
295
+ Overflow Count (too large) 0
296
+ Overflow Count (full) 0
297
+ [ALLOC_GFX] Dual Thread Allocator
298
+ Peak main deferred allocation count 0
299
+ [ALLOC_BUCKET]
300
+ Large Block size 4.0 MB
301
+ Used Block count 1
302
+ Peak Allocated bytes 1.0 MB
303
+ [ALLOC_GFX_MAIN]
304
+ Peak usage frame count: [32.0 KB-64.0 KB]: 309 frames, [64.0 KB-128.0 KB]: 1 frames
305
+ Requested Block Size 16.0 MB
306
+ Peak Block count 1
307
+ Peak Allocated memory 65.6 KB
308
+ Peak Large allocation bytes 0 B
309
+ [ALLOC_GFX_THREAD]
310
+ Peak usage frame count: [128.0 KB-256.0 KB]: 310 frames
311
+ Requested Block Size 16.0 MB
312
+ Peak Block count 1
313
+ Peak Allocated memory 173.5 KB
314
+ Peak Large allocation bytes 0 B
315
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
316
+ Peak main deferred allocation count 0
317
+ [ALLOC_BUCKET]
318
+ Large Block size 4.0 MB
319
+ Used Block count 1
320
+ Peak Allocated bytes 1.0 MB
321
+ [ALLOC_CACHEOBJECTS_MAIN]
322
+ Peak usage frame count: [0.5 MB-1.0 MB]: 310 frames
323
+ Requested Block Size 4.0 MB
324
+ Peak Block count 1
325
+ Peak Allocated memory 0.6 MB
326
+ Peak Large allocation bytes 0 B
327
+ [ALLOC_CACHEOBJECTS_THREAD]
328
+ Peak usage frame count: [0.5 MB-1.0 MB]: 309 frames, [4.0 MB-8.0 MB]: 1 frames
329
+ Requested Block Size 4.0 MB
330
+ Peak Block count 2
331
+ Peak Allocated memory 4.5 MB
332
+ Peak Large allocation bytes 0 B
333
+ [ALLOC_TYPETREE] Dual Thread Allocator
334
+ Peak main deferred allocation count 0
335
+ [ALLOC_BUCKET]
336
+ Large Block size 4.0 MB
337
+ Used Block count 1
338
+ Peak Allocated bytes 1.0 MB
339
+ [ALLOC_TYPETREE_MAIN]
340
+ Peak usage frame count: [0-1.0 KB]: 310 frames
341
+ Requested Block Size 2.0 MB
342
+ Peak Block count 1
343
+ Peak Allocated memory 1.0 KB
344
+ Peak Large allocation bytes 0 B
345
+ [ALLOC_TYPETREE_THREAD]
346
+ Peak usage frame count: [1.0 KB-2.0 KB]: 309 frames, [2.0 KB-4.0 KB]: 1 frames
347
+ Requested Block Size 2.0 MB
348
+ Peak Block count 1
349
+ Peak Allocated memory 2.2 KB
350
+ 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": 847.0,
18
+ "min": 847.0,
19
+ "max": 847.0,
20
+ "count": 1
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 27104.0,
24
+ "min": 27104.0,
25
+ "max": 27104.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": 9568.0,
42
+ "min": 9568.0,
43
+ "max": 9568.0,
44
+ "count": 1
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 9568.0,
48
+ "min": 9568.0,
49
+ "max": 9568.0,
50
+ "count": 1
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": -0.1360539346933365,
54
+ "min": -0.1360539346933365,
55
+ "max": -0.1360539346933365,
56
+ "count": 1
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": -1.632647156715393,
60
+ "min": -1.632647156715393,
61
+ "max": -1.632647156715393,
62
+ "count": 1
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": -0.1359567493200302,
66
+ "min": -0.1359567493200302,
67
+ "max": -0.1359567493200302,
68
+ "count": 1
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": -1.6314809322357178,
72
+ "min": -1.6314809322357178,
73
+ "max": -1.6314809322357178,
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.2027666668097178,
90
+ "min": 0.2027666668097178,
91
+ "max": 0.2027666668097178,
92
+ "count": 1
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": 2.4332000017166138,
96
+ "min": 2.4332000017166138,
97
+ "max": 2.4332000017166138,
98
+ "count": 1
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": 0.2027666668097178,
102
+ "min": 0.2027666668097178,
103
+ "max": 0.2027666668097178,
104
+ "count": 1
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": 2.4332000017166138,
108
+ "min": 2.4332000017166138,
109
+ "max": 2.4332000017166138,
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": "1675343344",
128
+ "python_version": "3.8.16 (default, Jan 17 2023, 23:13:24) \n[GCC 11.2.0]",
129
+ "command_line_arguments": "/home/sstefanidis/anaconda3/envs/rl/bin/mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos/SoccerTows.x86_64 --run-id=SoccerTwos --no-graphics",
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.8.1+rocm4.0.1",
134
+ "numpy_version": "1.21.2",
135
+ "end_time_seconds": "1675343357"
136
+ },
137
+ "total": 12.707326955999974,
138
+ "count": 1,
139
+ "self": 0.1668419070000482,
140
+ "children": {
141
+ "run_training.setup": {
142
+ "total": 0.0076550789999600966,
143
+ "count": 1,
144
+ "self": 0.0076550789999600966
145
+ },
146
+ "TrainerController.start_learning": {
147
+ "total": 12.532829969999966,
148
+ "count": 1,
149
+ "self": 0.011982083996940673,
150
+ "children": {
151
+ "TrainerController._reset_env": {
152
+ "total": 0.4049671220000164,
153
+ "count": 1,
154
+ "self": 0.4049671220000164
155
+ },
156
+ "TrainerController.advance": {
157
+ "total": 12.065298893002932,
158
+ "count": 1033,
159
+ "self": 0.011482779002108146,
160
+ "children": {
161
+ "env_step": {
162
+ "total": 11.341401101001907,
163
+ "count": 1033,
164
+ "self": 10.110960590003401,
165
+ "children": {
166
+ "SubprocessEnvManager._take_step": {
167
+ "total": 1.223381909000409,
168
+ "count": 1033,
169
+ "self": 0.06914821000350457,
170
+ "children": {
171
+ "TorchPolicy.evaluate": {
172
+ "total": 1.1542336989969044,
173
+ "count": 2064,
174
+ "self": 1.1542336989969044
175
+ }
176
+ }
177
+ },
178
+ "workers": {
179
+ "total": 0.007058601998096492,
180
+ "count": 1032,
181
+ "self": 0.0,
182
+ "children": {
183
+ "worker_root": {
184
+ "total": 12.452031116998683,
185
+ "count": 1032,
186
+ "is_parallel": true,
187
+ "self": 3.7108377879986847,
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.0019054140000207553,
197
+ "count": 2,
198
+ "is_parallel": true,
199
+ "self": 0.0004399580002427683,
200
+ "children": {
201
+ "_process_rank_one_or_two_observation": {
202
+ "total": 0.001465455999777987,
203
+ "count": 8,
204
+ "is_parallel": true,
205
+ "self": 0.001465455999777987
206
+ }
207
+ }
208
+ },
209
+ "UnityEnvironment.step": {
210
+ "total": 0.020031461000030504,
211
+ "count": 1,
212
+ "is_parallel": true,
213
+ "self": 0.0004796170002236977,
214
+ "children": {
215
+ "UnityEnvironment._generate_step_input": {
216
+ "total": 0.0005589359999476073,
217
+ "count": 1,
218
+ "is_parallel": true,
219
+ "self": 0.0005589359999476073
220
+ },
221
+ "communicator.exchange": {
222
+ "total": 0.017409312999916438,
223
+ "count": 1,
224
+ "is_parallel": true,
225
+ "self": 0.017409312999916438
226
+ },
227
+ "steps_from_proto": {
228
+ "total": 0.0015835949999427612,
229
+ "count": 2,
230
+ "is_parallel": true,
231
+ "self": 0.00035301399975651293,
232
+ "children": {
233
+ "_process_rank_one_or_two_observation": {
234
+ "total": 0.0012305810001862483,
235
+ "count": 8,
236
+ "is_parallel": true,
237
+ "self": 0.0012305810001862483
238
+ }
239
+ }
240
+ }
241
+ }
242
+ }
243
+ }
244
+ },
245
+ "UnityEnvironment.step": {
246
+ "total": 8.741193328999998,
247
+ "count": 1031,
248
+ "is_parallel": true,
249
+ "self": 0.4911449240022421,
250
+ "children": {
251
+ "UnityEnvironment._generate_step_input": {
252
+ "total": 0.552649969998356,
253
+ "count": 1031,
254
+ "is_parallel": true,
255
+ "self": 0.552649969998356
256
+ },
257
+ "communicator.exchange": {
258
+ "total": 6.176572843000031,
259
+ "count": 1031,
260
+ "is_parallel": true,
261
+ "self": 6.176572843000031
262
+ },
263
+ "steps_from_proto": {
264
+ "total": 1.520825591999369,
265
+ "count": 2062,
266
+ "is_parallel": true,
267
+ "self": 0.3037939149966178,
268
+ "children": {
269
+ "_process_rank_one_or_two_observation": {
270
+ "total": 1.2170316770027512,
271
+ "count": 8248,
272
+ "is_parallel": true,
273
+ "self": 1.2170316770027512
274
+ }
275
+ }
276
+ }
277
+ }
278
+ }
279
+ }
280
+ }
281
+ }
282
+ }
283
+ }
284
+ },
285
+ "trainer_advance": {
286
+ "total": 0.7124150129989175,
287
+ "count": 1032,
288
+ "self": 0.051429672999233844,
289
+ "children": {
290
+ "process_trajectory": {
291
+ "total": 0.6609853399996837,
292
+ "count": 1032,
293
+ "self": 0.6609853399996837
294
+ }
295
+ }
296
+ }
297
+ }
298
+ },
299
+ "trainer_threads": {
300
+ "total": 5.540000529435929e-07,
301
+ "count": 1,
302
+ "self": 5.540000529435929e-07
303
+ },
304
+ "TrainerController._save_models": {
305
+ "total": 0.05058131700002377,
306
+ "count": 1,
307
+ "self": 0.00026008399993315834,
308
+ "children": {
309
+ "RLTrainer._checkpoint": {
310
+ "total": 0.050321233000090615,
311
+ "count": 1,
312
+ "self": 0.050321233000090615
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": 13568,
7
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-13568.onnx",
8
+ "reward": 0.0,
9
+ "creation_time": 1675343356.8678231,
10
+ "auxillary_file_paths": [
11
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-13568.pt"
12
+ ]
13
+ }
14
+ ],
15
+ "final_checkpoint": {
16
+ "steps": 13568,
17
+ "file_path": "results/SoccerTwos/SoccerTwos.onnx",
18
+ "reward": 0.0,
19
+ "creation_time": 1675343356.8678231,
20
+ "auxillary_file_paths": [
21
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-13568.pt"
22
+ ]
23
+ }
24
+ },
25
+ "metadata": {
26
+ "stats_format_version": "0.3.0",
27
+ "mlagents_version": "0.31.0.dev0",
28
+ "torch_version": "1.8.1+rocm4.0.1"
29
+ }
30
+ }