soonchang commited on
Commit
7c4a682
·
1 Parent(s): d652787

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: soonchang/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:6a0e840234d497bfa7e8d15f51e624526c42d36b28a548b110a16a04aa67090b
3
+ size 1768747
SoccerTwos/SoccerTwos-0.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c4f6274d1e49f79e489492ac92f67c7948bd183f2f630f8c76ded6cf6c1405cb
3
+ size 1766874
SoccerTwos/SoccerTwos-0.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:631079cc3c961e1d7fc44ecfdcc19e8fdc1b2b83dab79cf64f0e3576ff00d255
3
+ size 9479794
SoccerTwos/SoccerTwos-203078.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6a0e840234d497bfa7e8d15f51e624526c42d36b28a548b110a16a04aa67090b
3
+ size 1768747
SoccerTwos/SoccerTwos-203078.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c3f0d4e9ab44fb6c52591481d59fb6960d0188fa67989d3b8feda12d68e30f44
3
+ size 28431898
SoccerTwos/SoccerTwos-218994.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6a0e840234d497bfa7e8d15f51e624526c42d36b28a548b110a16a04aa67090b
3
+ size 1768747
SoccerTwos/SoccerTwos-218994.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:21150323db4c3065b48f3fb23fc3ddaf8cd35393691d0dbb698b2f42d5b9ea72
3
+ size 28431898
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b3d6f8efb9422465ad2b4af990732935d6abe98d4231c252f04fe48c52940ad5
3
+ size 28431030
SoccerTwos/events.out.tfevents.1703589703.cybertron.28151.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cfa1daa39a18d02ac085da7d1d51557f9864c5a9d301f88c54c3a3d73e41a629
3
+ size 148767
SoccerTwos/events.out.tfevents.1703589973.cybertron.28528.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:db2f10de799b0b5a76d78410a236434744b3bcd764c9f85891d3e6213d56a83a
3
+ size 11341
config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"default_settings": null, "behaviors": {"SoccerTwos": {"trainer_type": "poca", "hyperparameters": {"batch_size": 9048, "buffer_size": 20480, "learning_rate": 0.0003, "beta": 0.005, "epsilon": 0.2, "lambd": 0.95, "num_epoch": 3, "learning_rate_schedule": "constant", "beta_schedule": "constant", "epsilon_schedule": "constant"}, "checkpoint_interval": 500000, "network_settings": {"normalize": false, "hidden_units": 512, "num_layers": 2, "vis_encode_type": "simple", "memory": null, "goal_conditioning_type": "hyper", "deterministic": false}, "reward_signals": {"extrinsic": {"gamma": 0.99, "strength": 1.0, "network_settings": {"normalize": false, "hidden_units": 128, "num_layers": 2, "vis_encode_type": "simple", "memory": null, "goal_conditioning_type": "hyper", "deterministic": false}}}, "init_path": null, "keep_checkpoints": 5, "even_checkpoints": false, "max_steps": 50000000, "time_horizon": 1000, "summary_freq": 10000, "threaded": false, "self_play": {"save_steps": 50000, "team_change": 200000, "swap_steps": 2000, "window": 10, "play_against_latest_model_ratio": 0.5, "initial_elo": 1200.0}, "behavioral_cloning": null}}, "env_settings": {"env_path": "training-envs-executables/SoccerTwos/SoccerTwos.x86_64", "env_args": null, "base_port": 5005, "num_envs": 1, "num_areas": 1, "timeout_wait": 60, "seed": -1, "max_lifetime_restarts": 10, "restarts_rate_limit_n": 1, "restarts_rate_limit_period_s": 60}, "engine_settings": {"width": 84, "height": 84, "quality_level": 5, "time_scale": 20, "target_frame_rate": -1, "capture_frame_rate": 60, "no_graphics": true}, "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,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ default_settings: null
2
+ behaviors:
3
+ SoccerTwos:
4
+ trainer_type: poca
5
+ hyperparameters:
6
+ batch_size: 9048
7
+ buffer_size: 20480
8
+ learning_rate: 0.0003
9
+ beta: 0.005
10
+ epsilon: 0.2
11
+ lambd: 0.95
12
+ num_epoch: 3
13
+ learning_rate_schedule: constant
14
+ beta_schedule: constant
15
+ epsilon_schedule: constant
16
+ checkpoint_interval: 500000
17
+ network_settings:
18
+ normalize: false
19
+ hidden_units: 512
20
+ num_layers: 2
21
+ vis_encode_type: simple
22
+ memory: null
23
+ goal_conditioning_type: hyper
24
+ deterministic: false
25
+ reward_signals:
26
+ extrinsic:
27
+ gamma: 0.99
28
+ strength: 1.0
29
+ network_settings:
30
+ normalize: false
31
+ hidden_units: 128
32
+ num_layers: 2
33
+ vis_encode_type: simple
34
+ memory: null
35
+ goal_conditioning_type: hyper
36
+ deterministic: false
37
+ init_path: null
38
+ keep_checkpoints: 5
39
+ even_checkpoints: false
40
+ max_steps: 50000000
41
+ time_horizon: 1000
42
+ summary_freq: 10000
43
+ threaded: false
44
+ self_play:
45
+ save_steps: 50000
46
+ team_change: 200000
47
+ swap_steps: 2000
48
+ window: 10
49
+ play_against_latest_model_ratio: 0.5
50
+ initial_elo: 1200.0
51
+ behavioral_cloning: null
52
+ env_settings:
53
+ env_path: training-envs-executables/SoccerTwos/SoccerTwos.x86_64
54
+ env_args: null
55
+ base_port: 5005
56
+ num_envs: 1
57
+ num_areas: 1
58
+ timeout_wait: 60
59
+ seed: -1
60
+ max_lifetime_restarts: 10
61
+ restarts_rate_limit_n: 1
62
+ restarts_rate_limit_period_s: 60
63
+ engine_settings:
64
+ width: 84
65
+ height: 84
66
+ quality_level: 5
67
+ time_scale: 20
68
+ target_frame_rate: -1
69
+ capture_frame_rate: 60
70
+ no_graphics: true
71
+ environment_parameters: null
72
+ checkpoint_settings:
73
+ run_id: SoccerTwos
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,309 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/home/cybertron/Desktop/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos_Data/Managed'
2
+ Mono config path = '/home/cybertron/Desktop/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/cybertron/Desktop/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.072 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.448741 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
+ Setting up 6 worker threads for Enlighten.
49
+ Memory Statistics:
50
+ [ALLOC_TEMP_TLS] TLS Allocator
51
+ StackAllocators :
52
+ [ALLOC_TEMP_MAIN]
53
+ Peak usage frame count: [8.0 KB-16.0 KB]: 436 frames, [2.0 MB-4.0 MB]: 1 frames
54
+ Initial Block Size 4.0 MB
55
+ Current Block Size 4.0 MB
56
+ Peak Allocated Bytes 2.1 MB
57
+ Overflow Count 0
58
+ [ALLOC_TEMP_Loading.AsyncRead]
59
+ Initial Block Size 64.0 KB
60
+ Current Block Size 64.0 KB
61
+ Peak Allocated Bytes 128 B
62
+ Overflow Count 0
63
+ [ALLOC_TEMP_Loading.PreloadManager]
64
+ Initial Block Size 256.0 KB
65
+ Current Block Size 300.0 KB
66
+ Peak Allocated Bytes 249.6 KB
67
+ Overflow Count 4
68
+ [ALLOC_TEMP_Background Job.Worker 8]
69
+ Initial Block Size 32.0 KB
70
+ Current Block Size 32.0 KB
71
+ Peak Allocated Bytes 0 B
72
+ Overflow Count 0
73
+ [ALLOC_TEMP_Job.Worker 6]
74
+ Initial Block Size 256.0 KB
75
+ Current Block Size 256.0 KB
76
+ Peak Allocated Bytes 0 B
77
+ Overflow Count 0
78
+ [ALLOC_TEMP_Job.Worker 0]
79
+ Initial Block Size 256.0 KB
80
+ Current Block Size 256.0 KB
81
+ Peak Allocated Bytes 0 B
82
+ Overflow Count 0
83
+ [ALLOC_TEMP_Background Job.Worker 10]
84
+ Initial Block Size 32.0 KB
85
+ Current Block Size 32.0 KB
86
+ Peak Allocated Bytes 0 B
87
+ Overflow Count 0
88
+ [ALLOC_TEMP_Background Job.Worker 9]
89
+ Initial Block Size 32.0 KB
90
+ Current Block Size 32.0 KB
91
+ Peak Allocated Bytes 0 B
92
+ Overflow Count 0
93
+ [ALLOC_TEMP_Job.Worker 5]
94
+ Initial Block Size 256.0 KB
95
+ Current Block Size 256.0 KB
96
+ Peak Allocated Bytes 0 B
97
+ Overflow Count 0
98
+ [ALLOC_TEMP_Background Job.Worker 14]
99
+ Initial Block Size 32.0 KB
100
+ Current Block Size 32.0 KB
101
+ Peak Allocated Bytes 0 B
102
+ Overflow Count 0
103
+ [ALLOC_TEMP_Background Job.Worker 6]
104
+ Initial Block Size 32.0 KB
105
+ Current Block Size 32.0 KB
106
+ Peak Allocated Bytes 0 B
107
+ Overflow Count 0
108
+ [ALLOC_TEMP_Job.Worker 4]
109
+ Initial Block Size 256.0 KB
110
+ Current Block Size 256.0 KB
111
+ Peak Allocated Bytes 0 B
112
+ Overflow Count 0
113
+ [ALLOC_TEMP_Job.Worker 3]
114
+ Initial Block Size 256.0 KB
115
+ Current Block Size 256.0 KB
116
+ Peak Allocated Bytes 0 B
117
+ Overflow Count 0
118
+ [ALLOC_TEMP_Background Job.Worker 12]
119
+ Initial Block Size 32.0 KB
120
+ Current Block Size 32.0 KB
121
+ Peak Allocated Bytes 0 B
122
+ Overflow Count 0
123
+ [ALLOC_TEMP_EnlightenWorker] x 6
124
+ Initial Block Size 64.0 KB
125
+ Current Block Size 64.0 KB
126
+ Peak Allocated Bytes 0 B
127
+ Overflow Count 0
128
+ [ALLOC_TEMP_Background Job.Worker 15]
129
+ Initial Block Size 32.0 KB
130
+ Current Block Size 32.0 KB
131
+ Peak Allocated Bytes 0 B
132
+ Overflow Count 0
133
+ [ALLOC_TEMP_Background Job.Worker 1]
134
+ Initial Block Size 32.0 KB
135
+ Current Block Size 32.0 KB
136
+ Peak Allocated Bytes 0 B
137
+ Overflow Count 0
138
+ [ALLOC_TEMP_Background Job.Worker 2]
139
+ Initial Block Size 32.0 KB
140
+ Current Block Size 32.0 KB
141
+ Peak Allocated Bytes 0 B
142
+ Overflow Count 0
143
+ [ALLOC_TEMP_Background Job.Worker 7]
144
+ Initial Block Size 32.0 KB
145
+ Current Block Size 32.0 KB
146
+ Peak Allocated Bytes 0 B
147
+ Overflow Count 0
148
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 11
149
+ Initial Block Size 64.0 KB
150
+ Current Block Size 64.0 KB
151
+ Peak Allocated Bytes 0 B
152
+ Overflow Count 0
153
+ [ALLOC_TEMP_Background Job.Worker 5]
154
+ Initial Block Size 32.0 KB
155
+ Current Block Size 32.0 KB
156
+ Peak Allocated Bytes 0 B
157
+ Overflow Count 0
158
+ [ALLOC_TEMP_Job.Worker 9]
159
+ Initial Block Size 256.0 KB
160
+ Current Block Size 256.0 KB
161
+ Peak Allocated Bytes 0 B
162
+ Overflow Count 0
163
+ [ALLOC_TEMP_Background Job.Worker 13]
164
+ Initial Block Size 32.0 KB
165
+ Current Block Size 32.0 KB
166
+ Peak Allocated Bytes 0 B
167
+ Overflow Count 0
168
+ [ALLOC_TEMP_Job.Worker 8]
169
+ Initial Block Size 256.0 KB
170
+ Current Block Size 256.0 KB
171
+ Peak Allocated Bytes 0 B
172
+ Overflow Count 0
173
+ [ALLOC_TEMP_Job.Worker 7]
174
+ Initial Block Size 256.0 KB
175
+ Current Block Size 256.0 KB
176
+ Peak Allocated Bytes 0.7 KB
177
+ Overflow Count 0
178
+ [ALLOC_TEMP_Job.Worker 1]
179
+ Initial Block Size 256.0 KB
180
+ Current Block Size 256.0 KB
181
+ Peak Allocated Bytes 0 B
182
+ Overflow Count 0
183
+ [ALLOC_TEMP_Job.Worker 2]
184
+ Initial Block Size 256.0 KB
185
+ Current Block Size 256.0 KB
186
+ Peak Allocated Bytes 0 B
187
+ Overflow Count 0
188
+ [ALLOC_TEMP_Background Job.Worker 3]
189
+ Initial Block Size 32.0 KB
190
+ Current Block Size 32.0 KB
191
+ Peak Allocated Bytes 0 B
192
+ Overflow Count 0
193
+ [ALLOC_TEMP_Background Job.Worker 11]
194
+ Initial Block Size 32.0 KB
195
+ Current Block Size 32.0 KB
196
+ Peak Allocated Bytes 0 B
197
+ Overflow Count 0
198
+ [ALLOC_TEMP_Job.Worker 10]
199
+ Initial Block Size 256.0 KB
200
+ Current Block Size 256.0 KB
201
+ Peak Allocated Bytes 0 B
202
+ Overflow Count 0
203
+ [ALLOC_TEMP_Background Job.Worker 0]
204
+ Initial Block Size 32.0 KB
205
+ Current Block Size 32.0 KB
206
+ Peak Allocated Bytes 0 B
207
+ Overflow Count 0
208
+ [ALLOC_TEMP_Background Job.Worker 4]
209
+ Initial Block Size 32.0 KB
210
+ Current Block Size 32.0 KB
211
+ Peak Allocated Bytes 0 B
212
+ Overflow Count 0
213
+ [ALLOC_TEMP_BatchDeleteObjects]
214
+ Initial Block Size 64.0 KB
215
+ Current Block Size 64.0 KB
216
+ Peak Allocated Bytes 0 B
217
+ Overflow Count 0
218
+ [ALLOC_DEFAULT] Dual Thread Allocator
219
+ Peak main deferred allocation count 4
220
+ [ALLOC_BUCKET]
221
+ Large Block size 4.0 MB
222
+ Used Block count 1
223
+ Peak Allocated bytes 1.0 MB
224
+ [ALLOC_DEFAULT_MAIN]
225
+ Peak usage frame count: [4.0 MB-8.0 MB]: 437 frames
226
+ Requested Block Size 16.0 MB
227
+ Peak Block count 1
228
+ Peak Allocated memory 4.7 MB
229
+ Peak Large allocation bytes 0 B
230
+ [ALLOC_DEFAULT_THREAD]
231
+ Peak usage frame count: [16.0 MB-32.0 MB]: 437 frames
232
+ Requested Block Size 16.0 MB
233
+ Peak Block count 1
234
+ Peak Allocated memory 17.5 MB
235
+ Peak Large allocation bytes 16.0 MB
236
+ [ALLOC_TEMP_JOB_1_FRAME]
237
+ Initial Block Size 2.0 MB
238
+ Used Block Count 1
239
+ Overflow Count (too large) 0
240
+ Overflow Count (full) 0
241
+ [ALLOC_TEMP_JOB_2_FRAMES]
242
+ Initial Block Size 2.0 MB
243
+ Used Block Count 1
244
+ Overflow Count (too large) 0
245
+ Overflow Count (full) 0
246
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
247
+ Initial Block Size 2.0 MB
248
+ Used Block Count 2
249
+ Overflow Count (too large) 0
250
+ Overflow Count (full) 0
251
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
252
+ Initial Block Size 1.0 MB
253
+ Used Block Count 3
254
+ Overflow Count (too large) 0
255
+ Overflow Count (full) 0
256
+ [ALLOC_GFX] 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_GFX_MAIN]
263
+ Peak usage frame count: [32.0 KB-64.0 KB]: 436 frames, [64.0 KB-128.0 KB]: 1 frames
264
+ Requested Block Size 16.0 MB
265
+ Peak Block count 1
266
+ Peak Allocated memory 65.6 KB
267
+ Peak Large allocation bytes 0 B
268
+ [ALLOC_GFX_THREAD]
269
+ Peak usage frame count: [128.0 KB-256.0 KB]: 437 frames
270
+ Requested Block Size 16.0 MB
271
+ Peak Block count 1
272
+ Peak Allocated memory 173.5 KB
273
+ Peak Large allocation bytes 0 B
274
+ [ALLOC_CACHEOBJECTS] 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_CACHEOBJECTS_MAIN]
281
+ Peak usage frame count: [0.5 MB-1.0 MB]: 437 frames
282
+ Requested Block Size 4.0 MB
283
+ Peak Block count 1
284
+ Peak Allocated memory 0.6 MB
285
+ Peak Large allocation bytes 0 B
286
+ [ALLOC_CACHEOBJECTS_THREAD]
287
+ Peak usage frame count: [0.5 MB-1.0 MB]: 436 frames, [4.0 MB-8.0 MB]: 1 frames
288
+ Requested Block Size 4.0 MB
289
+ Peak Block count 2
290
+ Peak Allocated memory 4.5 MB
291
+ Peak Large allocation bytes 0 B
292
+ [ALLOC_TYPETREE] Dual Thread Allocator
293
+ Peak main deferred allocation count 0
294
+ [ALLOC_BUCKET]
295
+ Large Block size 4.0 MB
296
+ Used Block count 1
297
+ Peak Allocated bytes 1.0 MB
298
+ [ALLOC_TYPETREE_MAIN]
299
+ Peak usage frame count: [0-1.0 KB]: 437 frames
300
+ Requested Block Size 2.0 MB
301
+ Peak Block count 1
302
+ Peak Allocated memory 1.0 KB
303
+ Peak Large allocation bytes 0 B
304
+ [ALLOC_TYPETREE_THREAD]
305
+ Peak usage frame count: [1.0 KB-2.0 KB]: 436 frames, [2.0 KB-4.0 KB]: 1 frames
306
+ Requested Block Size 2.0 MB
307
+ Peak Block count 1
308
+ Peak Allocated memory 2.2 KB
309
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,333 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "SoccerTwos.Policy.Entropy.mean": {
5
+ "value": 3.237346649169922,
6
+ "min": 3.237346649169922,
7
+ "max": 3.237346649169922,
8
+ "count": 1
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 103595.09375,
12
+ "min": 103595.09375,
13
+ "max": 103595.09375,
14
+ "count": 1
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 673.2,
18
+ "min": 673.2,
19
+ "max": 673.2,
20
+ "count": 1
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 26928.0,
24
+ "min": 26928.0,
25
+ "max": 26928.0,
26
+ "count": 1
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1207.6368942738368,
30
+ "min": 1207.6368942738368,
31
+ "max": 1207.6368942738368,
32
+ "count": 1
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 12076.368942738369,
36
+ "min": 12076.368942738369,
37
+ "max": 12076.368942738369,
38
+ "count": 1
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 209569.0,
42
+ "min": 209569.0,
43
+ "max": 209569.0,
44
+ "count": 1
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 209569.0,
48
+ "min": 209569.0,
49
+ "max": 209569.0,
50
+ "count": 1
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": 0.016558969393372536,
54
+ "min": 0.016558969393372536,
55
+ "max": 0.016558969393372536,
56
+ "count": 1
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": 0.21526660025119781,
60
+ "min": 0.21526660025119781,
61
+ "max": 0.21526660025119781,
62
+ "count": 1
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": 0.0151954535394907,
66
+ "min": 0.0151954535394907,
67
+ "max": 0.0151954535394907,
68
+ "count": 1
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": 0.19754089415073395,
72
+ "min": 0.19754089415073395,
73
+ "max": 0.19754089415073395,
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.28603077164063084,
90
+ "min": -0.28603077164063084,
91
+ "max": -0.28603077164063084,
92
+ "count": 1
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": -3.7184000313282013,
96
+ "min": -3.7184000313282013,
97
+ "max": -3.7184000313282013,
98
+ "count": 1
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": -0.28603077164063084,
102
+ "min": -0.28603077164063084,
103
+ "max": -0.28603077164063084,
104
+ "count": 1
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": -3.7184000313282013,
108
+ "min": -3.7184000313282013,
109
+ "max": -3.7184000313282013,
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": "1703589972",
128
+ "python_version": "3.10.12 (main, Jul 5 2023, 18:54:27) [GCC 11.2.0]",
129
+ "command_line_arguments": "/home/cybertron/anaconda3/envs/rl/bin/mlagents-learn /home/cybertron/Desktop/ml-agents/config/poca/SoccerTwos.yaml --env=training-envs-executables/SoccerTwos/SoccerTwos.x86_64 --run-id=SoccerTwos --no-graphics --resume",
130
+ "mlagents_version": "1.0.0",
131
+ "mlagents_envs_version": "1.0.0",
132
+ "communication_protocol_version": "1.5.0",
133
+ "pytorch_version": "2.1.1",
134
+ "numpy_version": "1.21.2",
135
+ "end_time_seconds": "1703589997"
136
+ },
137
+ "total": 25.27916620600081,
138
+ "count": 1,
139
+ "self": 0.030008082998392638,
140
+ "children": {
141
+ "run_training.setup": {
142
+ "total": 0.011635144001047593,
143
+ "count": 1,
144
+ "self": 0.011635144001047593
145
+ },
146
+ "TrainerController.start_learning": {
147
+ "total": 25.23752297900137,
148
+ "count": 1,
149
+ "self": 0.02163675902193063,
150
+ "children": {
151
+ "TrainerController._reset_env": {
152
+ "total": 1.8909534080012236,
153
+ "count": 2,
154
+ "self": 1.8909534080012236
155
+ },
156
+ "TrainerController.advance": {
157
+ "total": 23.136872530980327,
158
+ "count": 1461,
159
+ "self": 0.021862540888832882,
160
+ "children": {
161
+ "env_step": {
162
+ "total": 22.047475695031608,
163
+ "count": 1461,
164
+ "self": 16.652173617960216,
165
+ "children": {
166
+ "SubprocessEnvManager._take_step": {
167
+ "total": 5.3811991840047995,
168
+ "count": 1461,
169
+ "self": 0.12078593808109872,
170
+ "children": {
171
+ "TorchPolicy.evaluate": {
172
+ "total": 5.260413245923701,
173
+ "count": 2908,
174
+ "self": 5.260413245923701
175
+ }
176
+ }
177
+ },
178
+ "workers": {
179
+ "total": 0.014102893066592515,
180
+ "count": 1460,
181
+ "self": 0.0,
182
+ "children": {
183
+ "worker_root": {
184
+ "total": 25.02045437198103,
185
+ "count": 1460,
186
+ "is_parallel": true,
187
+ "self": 11.028041653993569,
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.0017820489993027877,
197
+ "count": 2,
198
+ "is_parallel": true,
199
+ "self": 0.00039754300451022573,
200
+ "children": {
201
+ "_process_rank_one_or_two_observation": {
202
+ "total": 0.001384505994792562,
203
+ "count": 8,
204
+ "is_parallel": true,
205
+ "self": 0.001384505994792562
206
+ }
207
+ }
208
+ },
209
+ "UnityEnvironment.step": {
210
+ "total": 0.019492260998958955,
211
+ "count": 1,
212
+ "is_parallel": true,
213
+ "self": 0.0004075500000908505,
214
+ "children": {
215
+ "UnityEnvironment._generate_step_input": {
216
+ "total": 0.0003197090009052772,
217
+ "count": 1,
218
+ "is_parallel": true,
219
+ "self": 0.0003197090009052772
220
+ },
221
+ "communicator.exchange": {
222
+ "total": 0.017475802000262775,
223
+ "count": 1,
224
+ "is_parallel": true,
225
+ "self": 0.017475802000262775
226
+ },
227
+ "steps_from_proto": {
228
+ "total": 0.0012891999977000523,
229
+ "count": 2,
230
+ "is_parallel": true,
231
+ "self": 0.0002657109980646055,
232
+ "children": {
233
+ "_process_rank_one_or_two_observation": {
234
+ "total": 0.0010234889996354468,
235
+ "count": 8,
236
+ "is_parallel": true,
237
+ "self": 0.0010234889996354468
238
+ }
239
+ }
240
+ }
241
+ }
242
+ }
243
+ }
244
+ },
245
+ "steps_from_proto": {
246
+ "total": 0.0012812650020350702,
247
+ "count": 2,
248
+ "is_parallel": true,
249
+ "self": 0.0002530899982957635,
250
+ "children": {
251
+ "_process_rank_one_or_two_observation": {
252
+ "total": 0.0010281750037393067,
253
+ "count": 8,
254
+ "is_parallel": true,
255
+ "self": 0.0010281750037393067
256
+ }
257
+ }
258
+ },
259
+ "UnityEnvironment.step": {
260
+ "total": 13.991131452985428,
261
+ "count": 1459,
262
+ "is_parallel": true,
263
+ "self": 0.7237382169769262,
264
+ "children": {
265
+ "UnityEnvironment._generate_step_input": {
266
+ "total": 0.41074541095804307,
267
+ "count": 1459,
268
+ "is_parallel": true,
269
+ "self": 0.41074541095804307
270
+ },
271
+ "communicator.exchange": {
272
+ "total": 10.776612414010742,
273
+ "count": 1459,
274
+ "is_parallel": true,
275
+ "self": 10.776612414010742
276
+ },
277
+ "steps_from_proto": {
278
+ "total": 2.0800354110397166,
279
+ "count": 2918,
280
+ "is_parallel": true,
281
+ "self": 0.384538546029944,
282
+ "children": {
283
+ "_process_rank_one_or_two_observation": {
284
+ "total": 1.6954968650097726,
285
+ "count": 11672,
286
+ "is_parallel": true,
287
+ "self": 1.6954968650097726
288
+ }
289
+ }
290
+ }
291
+ }
292
+ }
293
+ }
294
+ }
295
+ }
296
+ }
297
+ }
298
+ },
299
+ "trainer_advance": {
300
+ "total": 1.067534295059886,
301
+ "count": 1460,
302
+ "self": 0.10599143002400524,
303
+ "children": {
304
+ "process_trajectory": {
305
+ "total": 0.9615428650358808,
306
+ "count": 1460,
307
+ "self": 0.9615428650358808
308
+ }
309
+ }
310
+ }
311
+ }
312
+ },
313
+ "trainer_threads": {
314
+ "total": 8.399983926210552e-07,
315
+ "count": 1,
316
+ "self": 8.399983926210552e-07
317
+ },
318
+ "TrainerController._save_models": {
319
+ "total": 0.18805944099949556,
320
+ "count": 1,
321
+ "self": 0.0014082630004850216,
322
+ "children": {
323
+ "RLTrainer._checkpoint": {
324
+ "total": 0.18665117799901054,
325
+ "count": 1,
326
+ "self": 0.18665117799901054
327
+ }
328
+ }
329
+ }
330
+ }
331
+ }
332
+ }
333
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1205.850037125567,
4
+ "checkpoints": [
5
+ {
6
+ "steps": 203078,
7
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-203078.onnx",
8
+ "reward": 0.0,
9
+ "creation_time": 1703589965.3602862,
10
+ "auxillary_file_paths": [
11
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-203078.pt"
12
+ ]
13
+ },
14
+ {
15
+ "steps": 218994,
16
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-218994.onnx",
17
+ "reward": 0.0,
18
+ "creation_time": 1703589997.6629596,
19
+ "auxillary_file_paths": [
20
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-218994.pt"
21
+ ]
22
+ }
23
+ ],
24
+ "final_checkpoint": {
25
+ "steps": 218994,
26
+ "file_path": "results/SoccerTwos/SoccerTwos.onnx",
27
+ "reward": 0.0,
28
+ "creation_time": 1703589997.6629596,
29
+ "auxillary_file_paths": [
30
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-218994.pt"
31
+ ]
32
+ }
33
+ },
34
+ "metadata": {
35
+ "stats_format_version": "0.3.0",
36
+ "mlagents_version": "1.0.0",
37
+ "torch_version": "2.1.1"
38
+ }
39
+ }