NoNameFound commited on
Commit
c04e1e6
1 Parent(s): 3c59b58

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: NoNameFound/poca-SoccerTwos-pretrained150
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:e7ecf114463c2964e73c3dc5f3b80dff395ecbd70d9da93a719e2a0611f925f8
3
+ size 626987
SoccerTwos/SoccerTwos-1000214.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e7ecf114463c2964e73c3dc5f3b80dff395ecbd70d9da93a719e2a0611f925f8
3
+ size 626987
SoccerTwos/SoccerTwos-1000214.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:827a845b5a91ab1cf6031b2f2d114ec8368f42d10f00ba06b74833a65e8e9b63
3
+ size 8730831
SoccerTwos/SoccerTwos-499958.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b63a4ac18114ffeab3b1120934b75727b30d11867c3d3001e4a6d3bdbe3fa717
3
+ size 626987
SoccerTwos/SoccerTwos-499958.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a222314331435aa14cb791f9a12bd3c3b4494f3a9ff81a46905288fed342c62
3
+ size 8730709
SoccerTwos/SoccerTwos-999882.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e7ecf114463c2964e73c3dc5f3b80dff395ecbd70d9da93a719e2a0611f925f8
3
+ size 626987
SoccerTwos/SoccerTwos-999882.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea404de795bef24567f7bb2bee98813faebfc05e85eee63fafb8a8b569d4b977
3
+ size 8730709
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2ce04632f6bf0e415bb2ceaba5dc146d1d3bb74f49d1bf3f61b3f812a9d8da94
3
+ size 8729855
SoccerTwos/events.out.tfevents.1680444413.Kaushik.13036.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a977b2b92baacd75e19ee22875c594ca841c8e970485416ba24147cb4100b63
3
+ size 1027507
config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"default_settings": null, "behaviors": {"SoccerTwos": {"trainer_type": "poca", "hyperparameters": {"batch_size": 2048, "buffer_size": 20480, "learning_rate": 0.0003, "beta": 0.01, "epsilon": 0.2, "lambd": 0.95, "num_epoch": 3, "learning_rate_schedule": "linear", "beta_schedule": "linear", "epsilon_schedule": "linear"}, "checkpoint_interval": 500000, "network_settings": {"normalize": false, "hidden_units": 256, "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": ".\\checkpoint.pt", "keep_checkpoints": 5, "even_checkpoints": false, "max_steps": 1000000, "time_horizon": 1000, "summary_freq": 10000, "threaded": false, "self_play": {"save_steps": 100000, "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.exe", "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": "poca-SoccerTwos-pretrained150", "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: 2048
7
+ buffer_size: 20480
8
+ learning_rate: 0.0003
9
+ beta: 0.01
10
+ epsilon: 0.2
11
+ lambd: 0.95
12
+ num_epoch: 3
13
+ learning_rate_schedule: linear
14
+ beta_schedule: linear
15
+ epsilon_schedule: linear
16
+ checkpoint_interval: 500000
17
+ network_settings:
18
+ normalize: false
19
+ hidden_units: 256
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: .\checkpoint.pt
38
+ keep_checkpoints: 5
39
+ even_checkpoints: false
40
+ max_steps: 1000000
41
+ time_horizon: 1000
42
+ summary_freq: 10000
43
+ threaded: false
44
+ self_play:
45
+ save_steps: 100000
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.exe
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: poca-SoccerTwos-pretrained150
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,322 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = 'C:/Users/Kaush/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos_Data/Managed'
2
+ Mono config path = 'C:/Users/Kaush/ml-agents/training-envs-executables/SoccerTwos/MonoBleedingEdge/etc'
3
+ Initialize engine version: 2021.3.14f1 (eee1884e7226)
4
+ [Subsystems] Discovering subsystems at path C:/Users/Kaush/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos_Data/UnitySubsystems
5
+ Forcing GfxDevice: Null
6
+ GfxDevice: creating device client; threaded=0; jobified=0
7
+ NullGfxDevice:
8
+ Version: NULL 1.0 [1.0]
9
+ Renderer: Null Device
10
+ Vendor: Unity Technologies
11
+ Begin MonoManager ReloadAssembly
12
+ - Completed reload, in 0.152 seconds
13
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
14
+ Microsoft Media Foundation video decoding to texture disabled: graphics device is Null, only Direct3D 11 and Direct3D 12 (only on desktop) are supported for hardware-accelerated video decoding.
15
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
16
+ ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
17
+ WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
18
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
19
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
20
+ ERROR: Shader Standard (Specular setup) shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
21
+ WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
22
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
23
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
24
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
25
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
26
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
27
+ ERROR: Shader Autodesk Interactive shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
28
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
29
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
30
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
31
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
32
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
33
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
34
+ ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
35
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
36
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
37
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
38
+ UnloadTime: 0.710500 ms
39
+ Registered Communicator in Agent.
40
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
41
+ Setting up 8 worker threads for Enlighten.
42
+ Memory Statistics:
43
+ [ALLOC_TEMP_TLS] TLS Allocator
44
+ StackAllocators :
45
+ [ALLOC_TEMP_MAIN]
46
+ Peak usage frame count: [8.0 KB-16.0 KB]: 18822 frames, [2.0 MB-4.0 MB]: 1 frames
47
+ Initial Block Size 4.0 MB
48
+ Current Block Size 4.0 MB
49
+ Peak Allocated Bytes 2.0 MB
50
+ Overflow Count 0
51
+ [ALLOC_TEMP_Loading.AsyncRead]
52
+ Initial Block Size 64.0 KB
53
+ Current Block Size 64.0 KB
54
+ Peak Allocated Bytes 312 B
55
+ Overflow Count 0
56
+ [ALLOC_TEMP_Loading.PreloadManager]
57
+ Initial Block Size 256.0 KB
58
+ Current Block Size 256.0 KB
59
+ Peak Allocated Bytes 67.1 KB
60
+ Overflow Count 4
61
+ [ALLOC_TEMP_Background Job.Worker 8]
62
+ Initial Block Size 32.0 KB
63
+ Current Block Size 32.0 KB
64
+ Peak Allocated Bytes 54 B
65
+ Overflow Count 0
66
+ [ALLOC_TEMP_Job.Worker 6]
67
+ Initial Block Size 256.0 KB
68
+ Current Block Size 256.0 KB
69
+ Peak Allocated Bytes 0 B
70
+ Overflow Count 0
71
+ [ALLOC_TEMP_Job.Worker 0]
72
+ Initial Block Size 256.0 KB
73
+ Current Block Size 256.0 KB
74
+ Peak Allocated Bytes 0 B
75
+ Overflow Count 0
76
+ [ALLOC_TEMP_Background Job.Worker 10]
77
+ Initial Block Size 32.0 KB
78
+ Current Block Size 32.0 KB
79
+ Peak Allocated Bytes 54 B
80
+ Overflow Count 0
81
+ [ALLOC_TEMP_Background Job.Worker 9]
82
+ Initial Block Size 32.0 KB
83
+ Current Block Size 32.0 KB
84
+ Peak Allocated Bytes 54 B
85
+ Overflow Count 0
86
+ [ALLOC_TEMP_Job.Worker 5]
87
+ Initial Block Size 256.0 KB
88
+ Current Block Size 256.0 KB
89
+ Peak Allocated Bytes 0 B
90
+ Overflow Count 0
91
+ [ALLOC_TEMP_Background Job.Worker 14]
92
+ Initial Block Size 32.0 KB
93
+ Current Block Size 32.0 KB
94
+ Peak Allocated Bytes 54 B
95
+ Overflow Count 0
96
+ [ALLOC_TEMP_Background Job.Worker 6]
97
+ Initial Block Size 32.0 KB
98
+ Current Block Size 32.0 KB
99
+ Peak Allocated Bytes 54 B
100
+ Overflow Count 0
101
+ [ALLOC_TEMP_Job.Worker 4]
102
+ Initial Block Size 256.0 KB
103
+ Current Block Size 256.0 KB
104
+ Peak Allocated Bytes 0 B
105
+ Overflow Count 0
106
+ [ALLOC_TEMP_Job.Worker 14]
107
+ Initial Block Size 256.0 KB
108
+ Current Block Size 256.0 KB
109
+ Peak Allocated Bytes 0.8 KB
110
+ Overflow Count 0
111
+ [ALLOC_TEMP_Job.Worker 3]
112
+ Initial Block Size 256.0 KB
113
+ Current Block Size 256.0 KB
114
+ Peak Allocated Bytes 0 B
115
+ Overflow Count 0
116
+ [ALLOC_TEMP_Job.Worker 13]
117
+ Initial Block Size 256.0 KB
118
+ Current Block Size 256.0 KB
119
+ Peak Allocated Bytes 54 B
120
+ Overflow Count 0
121
+ [ALLOC_TEMP_Background Job.Worker 12]
122
+ Initial Block Size 32.0 KB
123
+ Current Block Size 32.0 KB
124
+ Peak Allocated Bytes 54 B
125
+ Overflow Count 0
126
+ [ALLOC_TEMP_EnlightenWorker] x 8
127
+ Initial Block Size 64.0 KB
128
+ Current Block Size 64.0 KB
129
+ Peak Allocated Bytes 54 B
130
+ Overflow Count 0
131
+ [ALLOC_TEMP_Background Job.Worker 15]
132
+ Initial Block Size 32.0 KB
133
+ Current Block Size 32.0 KB
134
+ Peak Allocated Bytes 54 B
135
+ Overflow Count 0
136
+ [ALLOC_TEMP_Background Job.Worker 1]
137
+ Initial Block Size 32.0 KB
138
+ Current Block Size 32.0 KB
139
+ Peak Allocated Bytes 54 B
140
+ Overflow Count 0
141
+ [ALLOC_TEMP_Background Job.Worker 2]
142
+ Initial Block Size 32.0 KB
143
+ Current Block Size 32.0 KB
144
+ Peak Allocated Bytes 54 B
145
+ Overflow Count 0
146
+ [ALLOC_TEMP_Background Job.Worker 7]
147
+ Initial Block Size 32.0 KB
148
+ Current Block Size 32.0 KB
149
+ Peak Allocated Bytes 54 B
150
+ Overflow Count 0
151
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 15
152
+ Initial Block Size 64.0 KB
153
+ Current Block Size 64.0 KB
154
+ Peak Allocated Bytes 0 B
155
+ Overflow Count 0
156
+ [ALLOC_TEMP_Background Job.Worker 5]
157
+ Initial Block Size 32.0 KB
158
+ Current Block Size 32.0 KB
159
+ Peak Allocated Bytes 54 B
160
+ Overflow Count 0
161
+ [ALLOC_TEMP_Job.Worker 9]
162
+ Initial Block Size 256.0 KB
163
+ Current Block Size 256.0 KB
164
+ Peak Allocated Bytes 0 B
165
+ Overflow Count 0
166
+ [ALLOC_TEMP_Background Job.Worker 13]
167
+ Initial Block Size 32.0 KB
168
+ Current Block Size 32.0 KB
169
+ Peak Allocated Bytes 54 B
170
+ Overflow Count 0
171
+ [ALLOC_TEMP_Job.Worker 8]
172
+ Initial Block Size 256.0 KB
173
+ Current Block Size 256.0 KB
174
+ Peak Allocated Bytes 0 B
175
+ Overflow Count 0
176
+ [ALLOC_TEMP_Job.Worker 7]
177
+ Initial Block Size 256.0 KB
178
+ Current Block Size 256.0 KB
179
+ Peak Allocated Bytes 0 B
180
+ Overflow Count 0
181
+ [ALLOC_TEMP_Job.Worker 1]
182
+ Initial Block Size 256.0 KB
183
+ Current Block Size 256.0 KB
184
+ Peak Allocated Bytes 0 B
185
+ Overflow Count 0
186
+ [ALLOC_TEMP_Job.Worker 2]
187
+ Initial Block Size 256.0 KB
188
+ Current Block Size 256.0 KB
189
+ Peak Allocated Bytes 0 B
190
+ Overflow Count 0
191
+ [ALLOC_TEMP_Background Job.Worker 3]
192
+ Initial Block Size 32.0 KB
193
+ Current Block Size 32.0 KB
194
+ Peak Allocated Bytes 54 B
195
+ Overflow Count 0
196
+ [ALLOC_TEMP_Background Job.Worker 11]
197
+ Initial Block Size 32.0 KB
198
+ Current Block Size 32.0 KB
199
+ Peak Allocated Bytes 54 B
200
+ Overflow Count 0
201
+ [ALLOC_TEMP_Job.Worker 10]
202
+ Initial Block Size 256.0 KB
203
+ Current Block Size 256.0 KB
204
+ Peak Allocated Bytes 54 B
205
+ Overflow Count 0
206
+ [ALLOC_TEMP_Background Job.Worker 0]
207
+ Initial Block Size 32.0 KB
208
+ Current Block Size 32.0 KB
209
+ Peak Allocated Bytes 54 B
210
+ Overflow Count 0
211
+ [ALLOC_TEMP_Job.Worker 11]
212
+ Initial Block Size 256.0 KB
213
+ Current Block Size 256.0 KB
214
+ Peak Allocated Bytes 54 B
215
+ Overflow Count 0
216
+ [ALLOC_TEMP_Job.Worker 12]
217
+ Initial Block Size 256.0 KB
218
+ Current Block Size 256.0 KB
219
+ Peak Allocated Bytes 54 B
220
+ Overflow Count 0
221
+ [ALLOC_TEMP_Background Job.Worker 4]
222
+ Initial Block Size 32.0 KB
223
+ Current Block Size 32.0 KB
224
+ Peak Allocated Bytes 54 B
225
+ Overflow Count 0
226
+ [ALLOC_TEMP_BatchDeleteObjects]
227
+ Initial Block Size 64.0 KB
228
+ Current Block Size 64.0 KB
229
+ Peak Allocated Bytes 54 B
230
+ Overflow Count 0
231
+ [ALLOC_DEFAULT] Dual Thread Allocator
232
+ Peak main deferred allocation count 4
233
+ [ALLOC_BUCKET]
234
+ Large Block size 4.0 MB
235
+ Used Block count 1
236
+ Peak Allocated bytes 0.9 MB
237
+ [ALLOC_DEFAULT_MAIN]
238
+ Peak usage frame count: [4.0 MB-8.0 MB]: 18823 frames
239
+ Requested Block Size 16.0 MB
240
+ Peak Block count 1
241
+ Peak Allocated memory 5.1 MB
242
+ Peak Large allocation bytes 0 B
243
+ [ALLOC_DEFAULT_THREAD]
244
+ Peak usage frame count: [16.0 MB-32.0 MB]: 18823 frames
245
+ Requested Block Size 16.0 MB
246
+ Peak Block count 1
247
+ Peak Allocated memory 17.3 MB
248
+ Peak Large allocation bytes 16.0 MB
249
+ [ALLOC_TEMP_JOB_1_FRAME]
250
+ Initial Block Size 2.0 MB
251
+ Used Block Count 1
252
+ Overflow Count (too large) 0
253
+ Overflow Count (full) 0
254
+ [ALLOC_TEMP_JOB_2_FRAMES]
255
+ Initial Block Size 2.0 MB
256
+ Used Block Count 1
257
+ Overflow Count (too large) 0
258
+ Overflow Count (full) 0
259
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
260
+ Initial Block Size 2.0 MB
261
+ Used Block Count 2
262
+ Overflow Count (too large) 0
263
+ Overflow Count (full) 0
264
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
265
+ Initial Block Size 1.0 MB
266
+ Used Block Count 3
267
+ Overflow Count (too large) 0
268
+ Overflow Count (full) 0
269
+ [ALLOC_GFX] Dual Thread Allocator
270
+ Peak main deferred allocation count 0
271
+ [ALLOC_BUCKET]
272
+ Large Block size 4.0 MB
273
+ Used Block count 1
274
+ Peak Allocated bytes 0.9 MB
275
+ [ALLOC_GFX_MAIN]
276
+ Peak usage frame count: [32.0 KB-64.0 KB]: 18822 frames, [64.0 KB-128.0 KB]: 1 frames
277
+ Requested Block Size 16.0 MB
278
+ Peak Block count 1
279
+ Peak Allocated memory 65.6 KB
280
+ Peak Large allocation bytes 0 B
281
+ [ALLOC_GFX_THREAD]
282
+ Peak usage frame count: [128.0 KB-256.0 KB]: 18823 frames
283
+ Requested Block Size 16.0 MB
284
+ Peak Block count 1
285
+ Peak Allocated memory 173.6 KB
286
+ Peak Large allocation bytes 0 B
287
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
288
+ Peak main deferred allocation count 2
289
+ [ALLOC_BUCKET]
290
+ Large Block size 4.0 MB
291
+ Used Block count 1
292
+ Peak Allocated bytes 0.9 MB
293
+ [ALLOC_CACHEOBJECTS_MAIN]
294
+ Peak usage frame count: [0.5 MB-1.0 MB]: 18823 frames
295
+ Requested Block Size 4.0 MB
296
+ Peak Block count 1
297
+ Peak Allocated memory 0.6 MB
298
+ Peak Large allocation bytes 0 B
299
+ [ALLOC_CACHEOBJECTS_THREAD]
300
+ Peak usage frame count: [0.5 MB-1.0 MB]: 18822 frames, [2.0 MB-4.0 MB]: 1 frames
301
+ Requested Block Size 4.0 MB
302
+ Peak Block count 1
303
+ Peak Allocated memory 3.2 MB
304
+ Peak Large allocation bytes 0 B
305
+ [ALLOC_TYPETREE] Dual Thread Allocator
306
+ Peak main deferred allocation count 0
307
+ [ALLOC_BUCKET]
308
+ Large Block size 4.0 MB
309
+ Used Block count 1
310
+ Peak Allocated bytes 0.9 MB
311
+ [ALLOC_TYPETREE_MAIN]
312
+ Peak usage frame count: [0-1.0 KB]: 18823 frames
313
+ Requested Block Size 2.0 MB
314
+ Peak Block count 1
315
+ Peak Allocated memory 1.0 KB
316
+ Peak Large allocation bytes 0 B
317
+ [ALLOC_TYPETREE_THREAD]
318
+ Peak usage frame count: [1.0 KB-2.0 KB]: 18822 frames, [2.0 KB-4.0 KB]: 1 frames
319
+ Requested Block Size 2.0 MB
320
+ Peak Block count 1
321
+ Peak Allocated memory 2.2 KB
322
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,368 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "SoccerTwos.Policy.Entropy.mean": {
5
+ "value": 1.3785388469696045,
6
+ "min": 1.2652868032455444,
7
+ "max": 1.4391518831253052,
8
+ "count": 100
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 27173.7578125,
12
+ "min": 22449.69921875,
13
+ "max": 30135.53515625,
14
+ "count": 100
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 63.58227848101266,
18
+ "min": 46.15238095238095,
19
+ "max": 82.76666666666667,
20
+ "count": 100
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 20092.0,
24
+ "min": 18576.0,
25
+ "max": 20488.0,
26
+ "count": 100
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1178.7208169320484,
30
+ "min": 1178.555471367562,
31
+ "max": 1210.2889338157947,
32
+ "count": 100
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 186237.88907526364,
36
+ "min": 142084.47714409293,
37
+ "max": 252912.33561713746,
38
+ "count": 100
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 999882.0,
42
+ "min": 9992.0,
43
+ "max": 999882.0,
44
+ "count": 100
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 999882.0,
48
+ "min": 9992.0,
49
+ "max": 999882.0,
50
+ "count": 100
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": -0.03008103556931019,
54
+ "min": -0.0897950753569603,
55
+ "max": 0.029128646478056908,
56
+ "count": 100
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": -4.72272253036499,
60
+ "min": -14.01373291015625,
61
+ "max": 5.2140278816223145,
62
+ "count": 100
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": -0.02984745241701603,
66
+ "min": -0.0896281972527504,
67
+ "max": 0.028643064200878143,
68
+ "count": 100
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": -4.686049938201904,
72
+ "min": -13.959389686584473,
73
+ "max": 5.127108573913574,
74
+ "count": 100
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 100
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 100
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": -0.044163056999255136,
90
+ "min": -0.27418914737627487,
91
+ "max": 0.19249385495425603,
92
+ "count": 100
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": -6.933599948883057,
96
+ "min": -39.29500025510788,
97
+ "max": 34.45640003681183,
98
+ "count": 100
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": -0.044163056999255136,
102
+ "min": -0.27418914737627487,
103
+ "max": 0.19249385495425603,
104
+ "count": 100
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": -6.933599948883057,
108
+ "min": -39.29500025510788,
109
+ "max": 34.45640003681183,
110
+ "count": 100
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 100
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 100
123
+ },
124
+ "SoccerTwos.Losses.PolicyLoss.mean": {
125
+ "value": 0.0182365807677949,
126
+ "min": 0.010929412101298415,
127
+ "max": 0.022865173884201794,
128
+ "count": 48
129
+ },
130
+ "SoccerTwos.Losses.PolicyLoss.sum": {
131
+ "value": 0.0182365807677949,
132
+ "min": 0.010929412101298415,
133
+ "max": 0.022865173884201794,
134
+ "count": 48
135
+ },
136
+ "SoccerTwos.Losses.ValueLoss.mean": {
137
+ "value": 0.11022970726092657,
138
+ "min": 0.09646974230806032,
139
+ "max": 0.11893880342443784,
140
+ "count": 48
141
+ },
142
+ "SoccerTwos.Losses.ValueLoss.sum": {
143
+ "value": 0.11022970726092657,
144
+ "min": 0.09646974230806032,
145
+ "max": 0.11893880342443784,
146
+ "count": 48
147
+ },
148
+ "SoccerTwos.Losses.BaselineLoss.mean": {
149
+ "value": 0.11040919795632362,
150
+ "min": 0.09642634515961011,
151
+ "max": 0.1193186196188132,
152
+ "count": 48
153
+ },
154
+ "SoccerTwos.Losses.BaselineLoss.sum": {
155
+ "value": 0.11040919795632362,
156
+ "min": 0.09642634515961011,
157
+ "max": 0.1193186196188132,
158
+ "count": 48
159
+ },
160
+ "SoccerTwos.Policy.LearningRate.mean": {
161
+ "value": 3.5604988131999975e-06,
162
+ "min": 3.5604988131999975e-06,
163
+ "max": 0.00029382000206,
164
+ "count": 48
165
+ },
166
+ "SoccerTwos.Policy.LearningRate.sum": {
167
+ "value": 3.5604988131999975e-06,
168
+ "min": 3.5604988131999975e-06,
169
+ "max": 0.00029382000206,
170
+ "count": 48
171
+ },
172
+ "SoccerTwos.Policy.Epsilon.mean": {
173
+ "value": 0.10118679999999997,
174
+ "min": 0.10118679999999997,
175
+ "max": 0.19794,
176
+ "count": 48
177
+ },
178
+ "SoccerTwos.Policy.Epsilon.sum": {
179
+ "value": 0.10118679999999997,
180
+ "min": 0.10118679999999997,
181
+ "max": 0.19794,
182
+ "count": 48
183
+ },
184
+ "SoccerTwos.Policy.Beta.mean": {
185
+ "value": 0.00012856131999999985,
186
+ "min": 0.00012856131999999985,
187
+ "max": 0.009794206000000005,
188
+ "count": 48
189
+ },
190
+ "SoccerTwos.Policy.Beta.sum": {
191
+ "value": 0.00012856131999999985,
192
+ "min": 0.00012856131999999985,
193
+ "max": 0.009794206000000005,
194
+ "count": 48
195
+ }
196
+ },
197
+ "metadata": {
198
+ "timer_format_version": "0.1.0",
199
+ "start_time_seconds": "1680444407",
200
+ "python_version": "3.8.16 (default, Jan 17 2023, 22:25:28) [MSC v.1916 64 bit (AMD64)]",
201
+ "command_line_arguments": "C:\\Users\\Kaush\\miniconda3\\envs\\rl\\Scripts\\mlagents-learn .\\config\\poca\\SoccerTwosPreTrained.yaml --env=.\\training-envs-executables\\SoccerTwos\\SoccerTwos.exe --run-id=poca-SoccerTwos-pretrained150 --no-graphics",
202
+ "mlagents_version": "0.31.0.dev0",
203
+ "mlagents_envs_version": "0.31.0.dev0",
204
+ "communication_protocol_version": "1.5.0",
205
+ "pytorch_version": "1.13.1+cu117",
206
+ "numpy_version": "1.21.2",
207
+ "end_time_seconds": "1680448456"
208
+ },
209
+ "total": 4048.408677,
210
+ "count": 1,
211
+ "self": 0.9526921999995466,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.1814833999999994,
215
+ "count": 1,
216
+ "self": 0.1814833999999994
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 4047.2745014,
220
+ "count": 1,
221
+ "self": 3.2528624999790736,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 9.605797899999864,
225
+ "count": 5,
226
+ "self": 9.605797899999864
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 4034.1841748000215,
230
+ "count": 69292,
231
+ "self": 3.690406400007305,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 2870.1142315000125,
235
+ "count": 69292,
236
+ "self": 1631.9468360999701,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 1236.165864500007,
240
+ "count": 69292,
241
+ "self": 25.098418099946684,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 1211.0674464000604,
245
+ "count": 125486,
246
+ "self": 1211.0674464000604
247
+ }
248
+ }
249
+ },
250
+ "workers": {
251
+ "total": 2.001530900035384,
252
+ "count": 69292,
253
+ "self": 0.0,
254
+ "children": {
255
+ "worker_root": {
256
+ "total": 4036.835178999987,
257
+ "count": 69292,
258
+ "is_parallel": true,
259
+ "self": 2757.2931432999617,
260
+ "children": {
261
+ "steps_from_proto": {
262
+ "total": 0.022451600000070293,
263
+ "count": 10,
264
+ "is_parallel": true,
265
+ "self": 0.004252700000368925,
266
+ "children": {
267
+ "_process_rank_one_or_two_observation": {
268
+ "total": 0.018198899999701368,
269
+ "count": 40,
270
+ "is_parallel": true,
271
+ "self": 0.018198899999701368
272
+ }
273
+ }
274
+ },
275
+ "UnityEnvironment.step": {
276
+ "total": 1279.5195841000252,
277
+ "count": 69292,
278
+ "is_parallel": true,
279
+ "self": 66.1312259999836,
280
+ "children": {
281
+ "UnityEnvironment._generate_step_input": {
282
+ "total": 51.90662950004355,
283
+ "count": 69292,
284
+ "is_parallel": true,
285
+ "self": 51.90662950004355
286
+ },
287
+ "communicator.exchange": {
288
+ "total": 957.0205951999809,
289
+ "count": 69292,
290
+ "is_parallel": true,
291
+ "self": 957.0205951999809
292
+ },
293
+ "steps_from_proto": {
294
+ "total": 204.4611334000172,
295
+ "count": 138584,
296
+ "is_parallel": true,
297
+ "self": 45.09512389998633,
298
+ "children": {
299
+ "_process_rank_one_or_two_observation": {
300
+ "total": 159.36600950003086,
301
+ "count": 554336,
302
+ "is_parallel": true,
303
+ "self": 159.36600950003086
304
+ }
305
+ }
306
+ }
307
+ }
308
+ }
309
+ }
310
+ }
311
+ }
312
+ }
313
+ }
314
+ },
315
+ "trainer_advance": {
316
+ "total": 1160.379536900002,
317
+ "count": 69292,
318
+ "self": 19.789121699997622,
319
+ "children": {
320
+ "process_trajectory": {
321
+ "total": 599.135403300004,
322
+ "count": 69292,
323
+ "self": 598.296133800004,
324
+ "children": {
325
+ "RLTrainer._checkpoint": {
326
+ "total": 0.8392695000000003,
327
+ "count": 2,
328
+ "self": 0.8392695000000003
329
+ }
330
+ }
331
+ },
332
+ "_update_policy": {
333
+ "total": 541.4550119000005,
334
+ "count": 48,
335
+ "self": 332.068107299994,
336
+ "children": {
337
+ "TorchPOCAOptimizer.update": {
338
+ "total": 209.38690460000652,
339
+ "count": 1440,
340
+ "self": 209.38690460000652
341
+ }
342
+ }
343
+ }
344
+ }
345
+ }
346
+ }
347
+ },
348
+ "trainer_threads": {
349
+ "total": 1.0999997357430402e-06,
350
+ "count": 1,
351
+ "self": 1.0999997357430402e-06
352
+ },
353
+ "TrainerController._save_models": {
354
+ "total": 0.2316651000001002,
355
+ "count": 1,
356
+ "self": 0.004850700000133656,
357
+ "children": {
358
+ "RLTrainer._checkpoint": {
359
+ "total": 0.22681439999996655,
360
+ "count": 1,
361
+ "self": 0.22681439999996655
362
+ }
363
+ }
364
+ }
365
+ }
366
+ }
367
+ }
368
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "checkpoints": [
4
+ {
5
+ "steps": 499958,
6
+ "file_path": "results\\poca-SoccerTwos-pretrained150\\SoccerTwos\\SoccerTwos-499958.onnx",
7
+ "reward": 0.0,
8
+ "creation_time": 1680446315.3135157,
9
+ "auxillary_file_paths": [
10
+ "results\\poca-SoccerTwos-pretrained150\\SoccerTwos\\SoccerTwos-499958.pt"
11
+ ]
12
+ },
13
+ {
14
+ "steps": 999882,
15
+ "file_path": "results\\poca-SoccerTwos-pretrained150\\SoccerTwos\\SoccerTwos-999882.onnx",
16
+ "reward": 0.0,
17
+ "creation_time": 1680448455.065661,
18
+ "auxillary_file_paths": [
19
+ "results\\poca-SoccerTwos-pretrained150\\SoccerTwos\\SoccerTwos-999882.pt"
20
+ ]
21
+ },
22
+ {
23
+ "steps": 1000214,
24
+ "file_path": "results\\poca-SoccerTwos-pretrained150\\SoccerTwos\\SoccerTwos-1000214.onnx",
25
+ "reward": 0.0,
26
+ "creation_time": 1680448455.4425876,
27
+ "auxillary_file_paths": [
28
+ "results\\poca-SoccerTwos-pretrained150\\SoccerTwos\\SoccerTwos-1000214.pt"
29
+ ]
30
+ }
31
+ ],
32
+ "elo": 1180.2151445882755,
33
+ "final_checkpoint": {
34
+ "steps": 1000214,
35
+ "file_path": "results\\poca-SoccerTwos-pretrained150\\SoccerTwos.onnx",
36
+ "reward": 0.0,
37
+ "creation_time": 1680448455.4425876,
38
+ "auxillary_file_paths": [
39
+ "results\\poca-SoccerTwos-pretrained150\\SoccerTwos\\SoccerTwos-1000214.pt"
40
+ ]
41
+ }
42
+ },
43
+ "metadata": {
44
+ "stats_format_version": "0.3.0",
45
+ "mlagents_version": "0.31.0.dev0",
46
+ "torch_version": "1.13.1+cu117"
47
+ }
48
+ }