H3lt3r-Sk3lt3r commited on
Commit
ef777cf
1 Parent(s): b797a09
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: H3lt3r-Sk3lt3r/poca-SoccerTwosV2
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:b1e0f7b7b6d3a8a9f9efdc64bfab5e45c578a74c4583e0a56df6d82d9212b0aa
3
+ size 1768747
SoccerTwos/SoccerTwos-10000120.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b1e0f7b7b6d3a8a9f9efdc64bfab5e45c578a74c4583e0a56df6d82d9212b0aa
3
+ size 1768747
SoccerTwos/SoccerTwos-10000120.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5572567ccb9746db9d54933fc6c0ddaf58ca9cebda4928051fb944d6715fcf3e
3
+ size 28430482
SoccerTwos/SoccerTwos-8499974.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:61f6fafa10ac989330bee6d447d451c48d8c443bff61e196dbfba20aff95893b
3
+ size 1768747
SoccerTwos/SoccerTwos-8499974.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b0791ae4f2feab9c9ffdd133d71c4ab0cea6f135eea01d83195a4e0d3ad0e19
3
+ size 28430358
SoccerTwos/SoccerTwos-8999838.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c4077cfa014b2b50a85c65348c9f98e45e6e4ed6a651ceb2e4ab0729b7cb4b7
3
+ size 1768747
SoccerTwos/SoccerTwos-8999838.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc13162630c1dc990f58b39e6e47613102f58fc5035aec275272d55b22ab4b28
3
+ size 28430358
SoccerTwos/SoccerTwos-9499718.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2b6bf62e65f96fd4ca50c1f053b3a148ec8627fb3e5ac25e75874c365189bcc4
3
+ size 1768747
SoccerTwos/SoccerTwos-9499718.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d25f2dcb70c1bb81598e011f852f6718f4a47c4aa50697ee1fccf8cd1bad749b
3
+ size 28430358
SoccerTwos/SoccerTwos-9999956.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b1e0f7b7b6d3a8a9f9efdc64bfab5e45c578a74c4583e0a56df6d82d9212b0aa
3
+ size 1768747
SoccerTwos/SoccerTwos-9999956.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a67d5dbfc08b99031d4d37ff3cd78865ae935b7a26f5b8d506699bc9dbc93758
3
+ size 28430358
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2aa1787a7eb3fa19b1a418ecd2e4637b32a14687b31b36ce2b6d6e4878a2b1cc
3
+ size 28429366
SoccerTwos/events.out.tfevents.1717621707.DESKTOP-VA12GP7.11480.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a63789738b2dbf833ce513330090a9a6a4ec49cb832cecc3f612818d9cd3f2f0
3
+ size 4159127
SoccerTwos/events.out.tfevents.1717661186.DESKTOP-VA12GP7.13216.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea12d625b8530c362feb73d638962ac418464bc33294d404fc06803df692c02d
3
+ size 5139973
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.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": 10000000, "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.exe", "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.0, "target_frame_rate": -1, "capture_frame_rate": 60, "no_graphics": true, "no_graphics_monitor": false}, "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,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.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: 10000000
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.exe
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.0
68
+ target_frame_rate: -1
69
+ capture_frame_rate: 60
70
+ no_graphics: true
71
+ no_graphics_monitor: false
72
+ environment_parameters: null
73
+ checkpoint_settings:
74
+ run_id: SoccerTwos
75
+ initialize_from: null
76
+ load_model: false
77
+ resume: true
78
+ force: false
79
+ train_model: false
80
+ inference: false
81
+ results_dir: results
82
+ torch_settings:
83
+ device: null
84
+ debug: false
run_logs/Player-0.log ADDED
@@ -0,0 +1,284 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = 'C:/Users/wte42/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos_Data/Managed'
2
+ Mono config path = 'C:/Users/wte42/ml-agents/training-envs-executables/SoccerTwos/MonoBleedingEdge/etc'
3
+ Initialize engine version: 2021.3.14f1 (eee1884e7226)
4
+ [Subsystems] Discovering subsystems at path C:/Users/wte42/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 3.770 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: 1.200300 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
+ TOO LONG
42
+ TOO LONG
43
+ Setting up 4 worker threads for Enlighten.
44
+ Memory Statistics:
45
+ [ALLOC_TEMP_TLS] TLS Allocator
46
+ StackAllocators :
47
+ [ALLOC_TEMP_MAIN]
48
+ Peak usage frame count: [4.0 KB-8.0 KB]: 1 frames, [8.0 KB-16.0 KB]: 94180 frames, [2.0 MB-4.0 MB]: 1 frames
49
+ Initial Block Size 4.0 MB
50
+ Current Block Size 4.0 MB
51
+ Peak Allocated Bytes 2.0 MB
52
+ Overflow Count 0
53
+ [ALLOC_TEMP_Loading.AsyncRead]
54
+ Initial Block Size 64.0 KB
55
+ Current Block Size 64.0 KB
56
+ Peak Allocated Bytes 312 B
57
+ Overflow Count 0
58
+ [ALLOC_TEMP_Loading.PreloadManager]
59
+ Initial Block Size 256.0 KB
60
+ Current Block Size 256.0 KB
61
+ Peak Allocated Bytes 67.1 KB
62
+ Overflow Count 4
63
+ [ALLOC_TEMP_Background Job.Worker 8]
64
+ Initial Block Size 32.0 KB
65
+ Current Block Size 32.0 KB
66
+ Peak Allocated Bytes 54 B
67
+ Overflow Count 0
68
+ [ALLOC_TEMP_Job.Worker 6]
69
+ Initial Block Size 256.0 KB
70
+ Current Block Size 256.0 KB
71
+ Peak Allocated Bytes 0 B
72
+ Overflow Count 0
73
+ [ALLOC_TEMP_Job.Worker 0]
74
+ Initial Block Size 256.0 KB
75
+ Current Block Size 256.0 KB
76
+ Peak Allocated Bytes 0.8 KB
77
+ Overflow Count 0
78
+ [ALLOC_TEMP_Background Job.Worker 10]
79
+ Initial Block Size 32.0 KB
80
+ Current Block Size 32.0 KB
81
+ Peak Allocated Bytes 54 B
82
+ Overflow Count 0
83
+ [ALLOC_TEMP_Background Job.Worker 9]
84
+ Initial Block Size 32.0 KB
85
+ Current Block Size 32.0 KB
86
+ Peak Allocated Bytes 54 B
87
+ Overflow Count 0
88
+ [ALLOC_TEMP_Job.Worker 5]
89
+ Initial Block Size 256.0 KB
90
+ Current Block Size 256.0 KB
91
+ Peak Allocated Bytes 0 B
92
+ Overflow Count 0
93
+ [ALLOC_TEMP_Background Job.Worker 14]
94
+ Initial Block Size 32.0 KB
95
+ Current Block Size 32.0 KB
96
+ Peak Allocated Bytes 54 B
97
+ Overflow Count 0
98
+ [ALLOC_TEMP_Background Job.Worker 6]
99
+ Initial Block Size 32.0 KB
100
+ Current Block Size 32.0 KB
101
+ Peak Allocated Bytes 54 B
102
+ Overflow Count 0
103
+ [ALLOC_TEMP_Job.Worker 4]
104
+ Initial Block Size 256.0 KB
105
+ Current Block Size 256.0 KB
106
+ Peak Allocated Bytes 0 B
107
+ Overflow Count 0
108
+ [ALLOC_TEMP_Job.Worker 3]
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_Background Job.Worker 12]
114
+ Initial Block Size 32.0 KB
115
+ Current Block Size 32.0 KB
116
+ Peak Allocated Bytes 54 B
117
+ Overflow Count 0
118
+ [ALLOC_TEMP_EnlightenWorker] x 4
119
+ Initial Block Size 64.0 KB
120
+ Current Block Size 64.0 KB
121
+ Peak Allocated Bytes 54 B
122
+ Overflow Count 0
123
+ [ALLOC_TEMP_Background Job.Worker 15]
124
+ Initial Block Size 32.0 KB
125
+ Current Block Size 32.0 KB
126
+ Peak Allocated Bytes 54 B
127
+ Overflow Count 0
128
+ [ALLOC_TEMP_Background Job.Worker 1]
129
+ Initial Block Size 32.0 KB
130
+ Current Block Size 32.0 KB
131
+ Peak Allocated Bytes 54 B
132
+ Overflow Count 0
133
+ [ALLOC_TEMP_Background Job.Worker 2]
134
+ Initial Block Size 32.0 KB
135
+ Current Block Size 32.0 KB
136
+ Peak Allocated Bytes 54 B
137
+ Overflow Count 0
138
+ [ALLOC_TEMP_Background Job.Worker 7]
139
+ Initial Block Size 32.0 KB
140
+ Current Block Size 32.0 KB
141
+ Peak Allocated Bytes 54 B
142
+ Overflow Count 0
143
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 7
144
+ Initial Block Size 64.0 KB
145
+ Current Block Size 64.0 KB
146
+ Peak Allocated Bytes 0 B
147
+ Overflow Count 0
148
+ [ALLOC_TEMP_Background Job.Worker 5]
149
+ Initial Block Size 32.0 KB
150
+ Current Block Size 32.0 KB
151
+ Peak Allocated Bytes 54 B
152
+ Overflow Count 0
153
+ [ALLOC_TEMP_Background Job.Worker 13]
154
+ Initial Block Size 32.0 KB
155
+ Current Block Size 32.0 KB
156
+ Peak Allocated Bytes 54 B
157
+ Overflow Count 0
158
+ [ALLOC_TEMP_Job.Worker 1]
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_Job.Worker 2]
164
+ Initial Block Size 256.0 KB
165
+ Current Block Size 256.0 KB
166
+ Peak Allocated Bytes 0 B
167
+ Overflow Count 0
168
+ [ALLOC_TEMP_Background Job.Worker 3]
169
+ Initial Block Size 32.0 KB
170
+ Current Block Size 32.0 KB
171
+ Peak Allocated Bytes 54 B
172
+ Overflow Count 0
173
+ [ALLOC_TEMP_Background Job.Worker 11]
174
+ Initial Block Size 32.0 KB
175
+ Current Block Size 32.0 KB
176
+ Peak Allocated Bytes 54 B
177
+ Overflow Count 0
178
+ [ALLOC_TEMP_Background Job.Worker 0]
179
+ Initial Block Size 32.0 KB
180
+ Current Block Size 32.0 KB
181
+ Peak Allocated Bytes 54 B
182
+ Overflow Count 0
183
+ [ALLOC_TEMP_Background Job.Worker 4]
184
+ Initial Block Size 32.0 KB
185
+ Current Block Size 32.0 KB
186
+ Peak Allocated Bytes 54 B
187
+ Overflow Count 0
188
+ [ALLOC_TEMP_BatchDeleteObjects]
189
+ Initial Block Size 64.0 KB
190
+ Current Block Size 64.0 KB
191
+ Peak Allocated Bytes 54 B
192
+ Overflow Count 0
193
+ [ALLOC_DEFAULT] Dual Thread Allocator
194
+ Peak main deferred allocation count 5
195
+ [ALLOC_BUCKET]
196
+ Large Block size 4.0 MB
197
+ Used Block count 1
198
+ Peak Allocated bytes 0.9 MB
199
+ [ALLOC_DEFAULT_MAIN]
200
+ Peak usage frame count: [4.0 MB-8.0 MB]: 94182 frames
201
+ Requested Block Size 16.0 MB
202
+ Peak Block count 1
203
+ Peak Allocated memory 4.9 MB
204
+ Peak Large allocation bytes 0 B
205
+ [ALLOC_DEFAULT_THREAD]
206
+ Peak usage frame count: [16.0 MB-32.0 MB]: 94182 frames
207
+ Requested Block Size 16.0 MB
208
+ Peak Block count 1
209
+ Peak Allocated memory 17.5 MB
210
+ Peak Large allocation bytes 16.0 MB
211
+ [ALLOC_TEMP_JOB_1_FRAME]
212
+ Initial Block Size 2.0 MB
213
+ Used Block Count 1
214
+ Overflow Count (too large) 0
215
+ Overflow Count (full) 0
216
+ [ALLOC_TEMP_JOB_2_FRAMES]
217
+ Initial Block Size 2.0 MB
218
+ Used Block Count 1
219
+ Overflow Count (too large) 0
220
+ Overflow Count (full) 0
221
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
222
+ Initial Block Size 2.0 MB
223
+ Used Block Count 2
224
+ Overflow Count (too large) 0
225
+ Overflow Count (full) 0
226
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
227
+ Initial Block Size 1.0 MB
228
+ Used Block Count 3
229
+ Overflow Count (too large) 0
230
+ Overflow Count (full) 0
231
+ [ALLOC_GFX] Dual Thread Allocator
232
+ Peak main deferred allocation count 0
233
+ [ALLOC_BUCKET]
234
+ Large Block size 4.0 MB
235
+ Used Block count 1
236
+ Peak Allocated bytes 0.9 MB
237
+ [ALLOC_GFX_MAIN]
238
+ Peak usage frame count: [32.0 KB-64.0 KB]: 94181 frames, [64.0 KB-128.0 KB]: 1 frames
239
+ Requested Block Size 16.0 MB
240
+ Peak Block count 1
241
+ Peak Allocated memory 65.6 KB
242
+ Peak Large allocation bytes 0 B
243
+ [ALLOC_GFX_THREAD]
244
+ Peak usage frame count: [128.0 KB-256.0 KB]: 94182 frames
245
+ Requested Block Size 16.0 MB
246
+ Peak Block count 1
247
+ Peak Allocated memory 173.6 KB
248
+ Peak Large allocation bytes 0 B
249
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
250
+ Peak main deferred allocation count 2
251
+ [ALLOC_BUCKET]
252
+ Large Block size 4.0 MB
253
+ Used Block count 1
254
+ Peak Allocated bytes 0.9 MB
255
+ [ALLOC_CACHEOBJECTS_MAIN]
256
+ Peak usage frame count: [0.5 MB-1.0 MB]: 94182 frames
257
+ Requested Block Size 4.0 MB
258
+ Peak Block count 1
259
+ Peak Allocated memory 0.6 MB
260
+ Peak Large allocation bytes 0 B
261
+ [ALLOC_CACHEOBJECTS_THREAD]
262
+ Peak usage frame count: [0.5 MB-1.0 MB]: 94181 frames, [2.0 MB-4.0 MB]: 1 frames
263
+ Requested Block Size 4.0 MB
264
+ Peak Block count 1
265
+ Peak Allocated memory 2.2 MB
266
+ Peak Large allocation bytes 0 B
267
+ [ALLOC_TYPETREE] Dual Thread Allocator
268
+ Peak main deferred allocation count 0
269
+ [ALLOC_BUCKET]
270
+ Large Block size 4.0 MB
271
+ Used Block count 1
272
+ Peak Allocated bytes 0.9 MB
273
+ [ALLOC_TYPETREE_MAIN]
274
+ Peak usage frame count: [0-1.0 KB]: 94182 frames
275
+ Requested Block Size 2.0 MB
276
+ Peak Block count 1
277
+ Peak Allocated memory 1.0 KB
278
+ Peak Large allocation bytes 0 B
279
+ [ALLOC_TYPETREE_THREAD]
280
+ Peak usage frame count: [1.0 KB-2.0 KB]: 94181 frames, [2.0 KB-4.0 KB]: 1 frames
281
+ Requested Block Size 2.0 MB
282
+ Peak Block count 1
283
+ Peak Allocated memory 2.2 KB
284
+ 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.8245843648910522,
6
+ "min": 1.6784312725067139,
7
+ "max": 2.265312433242798,
8
+ "count": 500
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 34389.765625,
12
+ "min": 29133.91015625,
13
+ "max": 49488.48046875,
14
+ "count": 500
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 89.12962962962963,
18
+ "min": 39.88709677419355,
19
+ "max": 112.27272727272727,
20
+ "count": 500
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 19252.0,
24
+ "min": 18112.0,
25
+ "max": 21080.0,
26
+ "count": 500
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1559.1608573381989,
30
+ "min": 1433.2700543149463,
31
+ "max": 1596.7947189480517,
32
+ "count": 500
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 168389.37259252547,
36
+ "min": 132379.53545709304,
37
+ "max": 368037.8036492519,
38
+ "count": 500
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 9999956.0,
42
+ "min": 5009949.0,
43
+ "max": 9999956.0,
44
+ "count": 500
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 9999956.0,
48
+ "min": 5009949.0,
49
+ "max": 9999956.0,
50
+ "count": 500
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": 0.06259040534496307,
54
+ "min": -0.149006649851799,
55
+ "max": 0.0909595862030983,
56
+ "count": 500
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": 6.759763717651367,
60
+ "min": -21.009937286376953,
61
+ "max": 14.35448932647705,
62
+ "count": 500
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": 0.06400468200445175,
66
+ "min": -0.15823207795619965,
67
+ "max": 0.09040261805057526,
68
+ "count": 500
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": 6.912505626678467,
72
+ "min": -22.31072235107422,
73
+ "max": 15.123698234558105,
74
+ "count": 500
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 500
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 500
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": -0.05145184971668102,
90
+ "min": -0.4720098376274109,
91
+ "max": 0.3441641035242977,
92
+ "count": 500
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": -5.55679976940155,
96
+ "min": -58.468000054359436,
97
+ "max": 40.542799949645996,
98
+ "count": 500
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": -0.05145184971668102,
102
+ "min": -0.4720098376274109,
103
+ "max": 0.3441641035242977,
104
+ "count": 500
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": -5.55679976940155,
108
+ "min": -58.468000054359436,
109
+ "max": 40.542799949645996,
110
+ "count": 500
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 500
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 500
123
+ },
124
+ "SoccerTwos.Losses.PolicyLoss.mean": {
125
+ "value": 0.013097892559987183,
126
+ "min": 0.010496539979552228,
127
+ "max": 0.025193315698804022,
128
+ "count": 242
129
+ },
130
+ "SoccerTwos.Losses.PolicyLoss.sum": {
131
+ "value": 0.013097892559987183,
132
+ "min": 0.010496539979552228,
133
+ "max": 0.025193315698804022,
134
+ "count": 242
135
+ },
136
+ "SoccerTwos.Losses.ValueLoss.mean": {
137
+ "value": 0.07199831406275431,
138
+ "min": 0.06497642882168293,
139
+ "max": 0.12120228086908659,
140
+ "count": 242
141
+ },
142
+ "SoccerTwos.Losses.ValueLoss.sum": {
143
+ "value": 0.07199831406275431,
144
+ "min": 0.06497642882168293,
145
+ "max": 0.12120228086908659,
146
+ "count": 242
147
+ },
148
+ "SoccerTwos.Losses.BaselineLoss.mean": {
149
+ "value": 0.07323341642816862,
150
+ "min": 0.06622683145105838,
151
+ "max": 0.12384758914510409,
152
+ "count": 242
153
+ },
154
+ "SoccerTwos.Losses.BaselineLoss.sum": {
155
+ "value": 0.07323341642816862,
156
+ "min": 0.06622683145105838,
157
+ "max": 0.12384758914510409,
158
+ "count": 242
159
+ },
160
+ "SoccerTwos.Policy.LearningRate.mean": {
161
+ "value": 0.0003,
162
+ "min": 0.0003,
163
+ "max": 0.0003,
164
+ "count": 242
165
+ },
166
+ "SoccerTwos.Policy.LearningRate.sum": {
167
+ "value": 0.0003,
168
+ "min": 0.0003,
169
+ "max": 0.0003,
170
+ "count": 242
171
+ },
172
+ "SoccerTwos.Policy.Epsilon.mean": {
173
+ "value": 0.20000000000000007,
174
+ "min": 0.20000000000000007,
175
+ "max": 0.20000000000000007,
176
+ "count": 242
177
+ },
178
+ "SoccerTwos.Policy.Epsilon.sum": {
179
+ "value": 0.20000000000000007,
180
+ "min": 0.20000000000000007,
181
+ "max": 0.20000000000000007,
182
+ "count": 242
183
+ },
184
+ "SoccerTwos.Policy.Beta.mean": {
185
+ "value": 0.005000000000000001,
186
+ "min": 0.005000000000000001,
187
+ "max": 0.005000000000000001,
188
+ "count": 242
189
+ },
190
+ "SoccerTwos.Policy.Beta.sum": {
191
+ "value": 0.005000000000000001,
192
+ "min": 0.005000000000000001,
193
+ "max": 0.005000000000000001,
194
+ "count": 242
195
+ }
196
+ },
197
+ "metadata": {
198
+ "timer_format_version": "0.1.0",
199
+ "start_time_seconds": "1717661176",
200
+ "python_version": "3.10.12 | packaged by Anaconda, Inc. | (main, Jul 5 2023, 19:01:18) [MSC v.1916 64 bit (AMD64)]",
201
+ "command_line_arguments": "\\\\?\\C:\\Users\\wte42\\miniconda3\\envs\\rl\\Scripts\\mlagents-learn ./results/SoccerTwos/configuration.yaml --run-id=SoccerTwos --no-graphics --resume",
202
+ "mlagents_version": "1.1.0.dev0",
203
+ "mlagents_envs_version": "1.1.0.dev0",
204
+ "communication_protocol_version": "1.5.0",
205
+ "pytorch_version": "2.3.0+cpu",
206
+ "numpy_version": "1.23.5",
207
+ "end_time_seconds": "1717699155"
208
+ },
209
+ "total": 37978.191293700016,
210
+ "count": 1,
211
+ "self": 1.7217363999807276,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.1701382999890484,
215
+ "count": 1,
216
+ "self": 0.1701382999890484
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 37976.299419000046,
220
+ "count": 1,
221
+ "self": 13.491651406046003,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 12.97793160006404,
225
+ "count": 26,
226
+ "self": 12.97793160006404
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 37949.59294379392,
230
+ "count": 343208,
231
+ "self": 12.36389017739566,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 12556.275907405827,
235
+ "count": 343208,
236
+ "self": 9485.117376446258,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 3062.482253482158,
240
+ "count": 343208,
241
+ "self": 79.84183619933901,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 2982.640417282819,
245
+ "count": 627882,
246
+ "self": 2982.640417282819
247
+ }
248
+ }
249
+ },
250
+ "workers": {
251
+ "total": 8.676277477410622,
252
+ "count": 343208,
253
+ "self": 0.0,
254
+ "children": {
255
+ "worker_root": {
256
+ "total": 37948.99914501875,
257
+ "count": 343208,
258
+ "is_parallel": true,
259
+ "self": 30425.611817030294,
260
+ "children": {
261
+ "steps_from_proto": {
262
+ "total": 0.09982249996392056,
263
+ "count": 52,
264
+ "is_parallel": true,
265
+ "self": 0.018828099709935486,
266
+ "children": {
267
+ "_process_rank_one_or_two_observation": {
268
+ "total": 0.08099440025398508,
269
+ "count": 208,
270
+ "is_parallel": true,
271
+ "self": 0.08099440025398508
272
+ }
273
+ }
274
+ },
275
+ "UnityEnvironment.step": {
276
+ "total": 7523.2875054884935,
277
+ "count": 343208,
278
+ "is_parallel": true,
279
+ "self": 362.36901493981713,
280
+ "children": {
281
+ "UnityEnvironment._generate_step_input": {
282
+ "total": 395.00273852143437,
283
+ "count": 343208,
284
+ "is_parallel": true,
285
+ "self": 395.00273852143437
286
+ },
287
+ "communicator.exchange": {
288
+ "total": 5345.40010620479,
289
+ "count": 343208,
290
+ "is_parallel": true,
291
+ "self": 5345.40010620479
292
+ },
293
+ "steps_from_proto": {
294
+ "total": 1420.515645822452,
295
+ "count": 686416,
296
+ "is_parallel": true,
297
+ "self": 243.84451605426148,
298
+ "children": {
299
+ "_process_rank_one_or_two_observation": {
300
+ "total": 1176.6711297681904,
301
+ "count": 2745664,
302
+ "is_parallel": true,
303
+ "self": 1176.6711297681904
304
+ }
305
+ }
306
+ }
307
+ }
308
+ }
309
+ }
310
+ }
311
+ }
312
+ }
313
+ }
314
+ },
315
+ "trainer_advance": {
316
+ "total": 25380.953146210697,
317
+ "count": 343208,
318
+ "self": 95.99636962643126,
319
+ "children": {
320
+ "process_trajectory": {
321
+ "total": 3647.4665173835238,
322
+ "count": 343208,
323
+ "self": 3645.0027465834864,
324
+ "children": {
325
+ "RLTrainer._checkpoint": {
326
+ "total": 2.4637708000373095,
327
+ "count": 10,
328
+ "self": 2.4637708000373095
329
+ }
330
+ }
331
+ },
332
+ "_update_policy": {
333
+ "total": 21637.490259200742,
334
+ "count": 242,
335
+ "self": 1779.7197898029117,
336
+ "children": {
337
+ "TorchPOCAOptimizer.update": {
338
+ "total": 19857.77046939783,
339
+ "count": 7260,
340
+ "self": 19857.77046939783
341
+ }
342
+ }
343
+ }
344
+ }
345
+ }
346
+ }
347
+ },
348
+ "trainer_threads": {
349
+ "total": 1.9000144675374031e-06,
350
+ "count": 1,
351
+ "self": 1.9000144675374031e-06
352
+ },
353
+ "TrainerController._save_models": {
354
+ "total": 0.23689030000241473,
355
+ "count": 1,
356
+ "self": 0.01592880004318431,
357
+ "children": {
358
+ "RLTrainer._checkpoint": {
359
+ "total": 0.22096149995923042,
360
+ "count": 1,
361
+ "self": 0.22096149995923042
362
+ }
363
+ }
364
+ }
365
+ }
366
+ }
367
+ }
368
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "checkpoints": [
4
+ {
5
+ "steps": 8499974,
6
+ "file_path": "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-8499974.onnx",
7
+ "reward": 0.0,
8
+ "creation_time": 1717688624.3140993,
9
+ "auxillary_file_paths": [
10
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-8499974.pt"
11
+ ]
12
+ },
13
+ {
14
+ "steps": 8999838,
15
+ "file_path": "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-8999838.onnx",
16
+ "reward": 0.0,
17
+ "creation_time": 1717692529.3960245,
18
+ "auxillary_file_paths": [
19
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-8999838.pt"
20
+ ]
21
+ },
22
+ {
23
+ "steps": 9499718,
24
+ "file_path": "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-9499718.onnx",
25
+ "reward": 0.0,
26
+ "creation_time": 1717695895.4661543,
27
+ "auxillary_file_paths": [
28
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-9499718.pt"
29
+ ]
30
+ },
31
+ {
32
+ "steps": 9999956,
33
+ "file_path": "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-9999956.onnx",
34
+ "reward": 0.0,
35
+ "creation_time": 1717699153.0336573,
36
+ "auxillary_file_paths": [
37
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-9999956.pt"
38
+ ]
39
+ },
40
+ {
41
+ "steps": 10000120,
42
+ "file_path": "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-10000120.onnx",
43
+ "reward": 0.0,
44
+ "creation_time": 1717699153.3506024,
45
+ "auxillary_file_paths": [
46
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-10000120.pt"
47
+ ]
48
+ }
49
+ ],
50
+ "elo": 1561.5495543006061,
51
+ "final_checkpoint": {
52
+ "steps": 10000120,
53
+ "file_path": "results\\SoccerTwos\\SoccerTwos.onnx",
54
+ "reward": 0.0,
55
+ "creation_time": 1717699153.3506024,
56
+ "auxillary_file_paths": [
57
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-10000120.pt"
58
+ ]
59
+ }
60
+ },
61
+ "metadata": {
62
+ "stats_format_version": "0.3.0",
63
+ "mlagents_version": "1.1.0.dev0",
64
+ "torch_version": "2.3.0+cpu"
65
+ }
66
+ }