nokotin commited on
Commit
dceb4a3
·
1 Parent(s): 87c4456

First commit

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: nokotin/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:fd88f6de608b426e755d5b8f029639d4c2a9a1a2a4977077bcbb3718c5e8af8a
3
+ size 1763215
SoccerTwos/SoccerTwos-10032342.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fd88f6de608b426e755d5b8f029639d4c2a9a1a2a4977077bcbb3718c5e8af8a
3
+ size 1763215
SoccerTwos/SoccerTwos-10032342.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1291c66b89e101aaa23c1ba7250ffeb560e2add26862f4cdee28b2c6c58d2f1d
3
+ size 28423631
SoccerTwos/SoccerTwos-8499935.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c4a749bc7ba1fecef8fc5bc58b671ba020172a14b007919b42f2393f076737ff
3
+ size 1763215
SoccerTwos/SoccerTwos-8499935.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bba0e5cd0c19d4af353fc6b66e66194a3da9c068ecb19673b08f8e7d8cbc13b2
3
+ size 28423631
SoccerTwos/SoccerTwos-8999939.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07b88586ede4c91629a8322e2864f56aae244074522389e4ff0b5847c7998a15
3
+ size 1763215
SoccerTwos/SoccerTwos-8999939.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:856e0d9db17ea205dda173ee443737930ede1055d183ed9f325a1139e8f98989
3
+ size 28423631
SoccerTwos/SoccerTwos-9499966.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f033f5766b7c072875c3b67ad72507c0b6a38404baba17cf37b759f0c397a252
3
+ size 1763215
SoccerTwos/SoccerTwos-9499966.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a4927e8ed29120b35cea0099177f6457be81522361ca1a8bec91892ae7430ce4
3
+ size 28423631
SoccerTwos/SoccerTwos-9999933.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8edee0f6aeb0730bead0c5b0ab0b2365db4dce446d1528880d6bb58ad2ea23ca
3
+ size 1763215
SoccerTwos/SoccerTwos-9999933.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6132df6e40b200b29c36959ddcd430068c60cbeef3bf19357949b69b19588317
3
+ size 28423631
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1291c66b89e101aaa23c1ba7250ffeb560e2add26862f4cdee28b2c6c58d2f1d
3
+ size 28423631
SoccerTwos/events.out.tfevents.1691355011.DESKTOP-OT1JMDB.228.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a232f6a75143c32d54ca5ab7a04c8dcef451e66a084bed73c55221c14aa8cd0
3
+ size 2407807
SoccerTwos/events.out.tfevents.1691417566.DESKTOP-OT1JMDB.15912.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fd5d573af9ae8a88f3f9c78ee91b28fa5fcfb414840efebcb9f73a21e1864738
3
+ size 7822600
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"}, "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, "checkpoint_interval": 500000, "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.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": "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,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ network_settings:
17
+ normalize: false
18
+ hidden_units: 512
19
+ num_layers: 2
20
+ vis_encode_type: simple
21
+ memory: null
22
+ goal_conditioning_type: hyper
23
+ deterministic: false
24
+ reward_signals:
25
+ extrinsic:
26
+ gamma: 0.99
27
+ strength: 1.0
28
+ network_settings:
29
+ normalize: false
30
+ hidden_units: 128
31
+ num_layers: 2
32
+ vis_encode_type: simple
33
+ memory: null
34
+ goal_conditioning_type: hyper
35
+ deterministic: false
36
+ init_path: null
37
+ keep_checkpoints: 5
38
+ checkpoint_interval: 500000
39
+ max_steps: 50000000
40
+ time_horizon: 1000
41
+ summary_freq: 10000
42
+ threaded: false
43
+ self_play:
44
+ save_steps: 50000
45
+ team_change: 200000
46
+ swap_steps: 2000
47
+ window: 10
48
+ play_against_latest_model_ratio: 0.5
49
+ initial_elo: 1200.0
50
+ behavioral_cloning: null
51
+ env_settings:
52
+ env_path: ./training-envs-executables/SoccerTwos.exe
53
+ env_args: null
54
+ base_port: 5005
55
+ num_envs: 1
56
+ num_areas: 1
57
+ seed: -1
58
+ max_lifetime_restarts: 10
59
+ restarts_rate_limit_n: 1
60
+ restarts_rate_limit_period_s: 60
61
+ engine_settings:
62
+ width: 84
63
+ height: 84
64
+ quality_level: 5
65
+ time_scale: 20
66
+ target_frame_rate: -1
67
+ capture_frame_rate: 60
68
+ no_graphics: true
69
+ environment_parameters: null
70
+ checkpoint_settings:
71
+ run_id: SoccerTwos
72
+ initialize_from: null
73
+ load_model: false
74
+ resume: true
75
+ force: false
76
+ train_model: false
77
+ inference: false
78
+ results_dir: results
79
+ torch_settings:
80
+ device: null
81
+ debug: false
run_logs/Player-0.log ADDED
@@ -0,0 +1,282 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = 'C:/dev/ML/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos_Data/Managed'
2
+ Mono config path = 'C:/dev/ML/ml-agents/training-envs-executables/SoccerTwos/MonoBleedingEdge/etc'
3
+ Initialize engine version: 2021.3.14f1 (eee1884e7226)
4
+ [Subsystems] Discovering subsystems at path C:/dev/ML/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 5.129 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.275200 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 4 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]: 143100 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 297 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 68.0 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 3]
107
+ Initial Block Size 256.0 KB
108
+ Current Block Size 256.0 KB
109
+ Peak Allocated Bytes 0 B
110
+ Overflow Count 0
111
+ [ALLOC_TEMP_Background Job.Worker 12]
112
+ Initial Block Size 32.0 KB
113
+ Current Block Size 32.0 KB
114
+ Peak Allocated Bytes 54 B
115
+ Overflow Count 0
116
+ [ALLOC_TEMP_EnlightenWorker] x 4
117
+ Initial Block Size 64.0 KB
118
+ Current Block Size 64.0 KB
119
+ Peak Allocated Bytes 54 B
120
+ Overflow Count 0
121
+ [ALLOC_TEMP_Background Job.Worker 15]
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_Background Job.Worker 1]
127
+ Initial Block Size 32.0 KB
128
+ Current Block Size 32.0 KB
129
+ Peak Allocated Bytes 54 B
130
+ Overflow Count 0
131
+ [ALLOC_TEMP_Background Job.Worker 2]
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 7]
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_AssetGarbageCollectorHelper] x 7
142
+ Initial Block Size 64.0 KB
143
+ Current Block Size 64.0 KB
144
+ Peak Allocated Bytes 0 B
145
+ Overflow Count 0
146
+ [ALLOC_TEMP_Background Job.Worker 5]
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_Background Job.Worker 13]
152
+ Initial Block Size 32.0 KB
153
+ Current Block Size 32.0 KB
154
+ Peak Allocated Bytes 54 B
155
+ Overflow Count 0
156
+ [ALLOC_TEMP_Job.Worker 1]
157
+ Initial Block Size 256.0 KB
158
+ Current Block Size 256.0 KB
159
+ Peak Allocated Bytes 0 B
160
+ Overflow Count 0
161
+ [ALLOC_TEMP_Job.Worker 2]
162
+ Initial Block Size 256.0 KB
163
+ Current Block Size 256.0 KB
164
+ Peak Allocated Bytes 0.8 KB
165
+ Overflow Count 0
166
+ [ALLOC_TEMP_Background Job.Worker 3]
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_Background Job.Worker 11]
172
+ Initial Block Size 32.0 KB
173
+ Current Block Size 32.0 KB
174
+ Peak Allocated Bytes 54 B
175
+ Overflow Count 0
176
+ [ALLOC_TEMP_Background Job.Worker 0]
177
+ Initial Block Size 32.0 KB
178
+ Current Block Size 32.0 KB
179
+ Peak Allocated Bytes 54 B
180
+ Overflow Count 0
181
+ [ALLOC_TEMP_Background Job.Worker 4]
182
+ Initial Block Size 32.0 KB
183
+ Current Block Size 32.0 KB
184
+ Peak Allocated Bytes 54 B
185
+ Overflow Count 0
186
+ [ALLOC_TEMP_BatchDeleteObjects]
187
+ Initial Block Size 64.0 KB
188
+ Current Block Size 64.0 KB
189
+ Peak Allocated Bytes 54 B
190
+ Overflow Count 0
191
+ [ALLOC_DEFAULT] Dual Thread Allocator
192
+ Peak main deferred allocation count 4
193
+ [ALLOC_BUCKET]
194
+ Large Block size 4.0 MB
195
+ Used Block count 1
196
+ Peak Allocated bytes 0.9 MB
197
+ [ALLOC_DEFAULT_MAIN]
198
+ Peak usage frame count: [4.0 MB-8.0 MB]: 143101 frames
199
+ Requested Block Size 16.0 MB
200
+ Peak Block count 1
201
+ Peak Allocated memory 5.0 MB
202
+ Peak Large allocation bytes 0 B
203
+ [ALLOC_DEFAULT_THREAD]
204
+ Peak usage frame count: [16.0 MB-32.0 MB]: 143101 frames
205
+ Requested Block Size 16.0 MB
206
+ Peak Block count 1
207
+ Peak Allocated memory 17.4 MB
208
+ Peak Large allocation bytes 16.0 MB
209
+ [ALLOC_TEMP_JOB_1_FRAME]
210
+ Initial Block Size 2.0 MB
211
+ Used Block Count 1
212
+ Overflow Count (too large) 0
213
+ Overflow Count (full) 0
214
+ [ALLOC_TEMP_JOB_2_FRAMES]
215
+ Initial Block Size 2.0 MB
216
+ Used Block Count 1
217
+ Overflow Count (too large) 0
218
+ Overflow Count (full) 0
219
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
220
+ Initial Block Size 2.0 MB
221
+ Used Block Count 2
222
+ Overflow Count (too large) 0
223
+ Overflow Count (full) 0
224
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
225
+ Initial Block Size 1.0 MB
226
+ Used Block Count 3
227
+ Overflow Count (too large) 0
228
+ Overflow Count (full) 0
229
+ [ALLOC_GFX] Dual Thread Allocator
230
+ Peak main deferred allocation count 0
231
+ [ALLOC_BUCKET]
232
+ Large Block size 4.0 MB
233
+ Used Block count 1
234
+ Peak Allocated bytes 0.9 MB
235
+ [ALLOC_GFX_MAIN]
236
+ Peak usage frame count: [32.0 KB-64.0 KB]: 143100 frames, [64.0 KB-128.0 KB]: 1 frames
237
+ Requested Block Size 16.0 MB
238
+ Peak Block count 1
239
+ Peak Allocated memory 65.6 KB
240
+ Peak Large allocation bytes 0 B
241
+ [ALLOC_GFX_THREAD]
242
+ Peak usage frame count: [128.0 KB-256.0 KB]: 143101 frames
243
+ Requested Block Size 16.0 MB
244
+ Peak Block count 1
245
+ Peak Allocated memory 173.6 KB
246
+ Peak Large allocation bytes 0 B
247
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
248
+ Peak main deferred allocation count 2
249
+ [ALLOC_BUCKET]
250
+ Large Block size 4.0 MB
251
+ Used Block count 1
252
+ Peak Allocated bytes 0.9 MB
253
+ [ALLOC_CACHEOBJECTS_MAIN]
254
+ Peak usage frame count: [0.5 MB-1.0 MB]: 143101 frames
255
+ Requested Block Size 4.0 MB
256
+ Peak Block count 1
257
+ Peak Allocated memory 0.6 MB
258
+ Peak Large allocation bytes 0 B
259
+ [ALLOC_CACHEOBJECTS_THREAD]
260
+ Peak usage frame count: [0.5 MB-1.0 MB]: 143100 frames, [2.0 MB-4.0 MB]: 1 frames
261
+ Requested Block Size 4.0 MB
262
+ Peak Block count 1
263
+ Peak Allocated memory 3.2 MB
264
+ Peak Large allocation bytes 0 B
265
+ [ALLOC_TYPETREE] Dual Thread Allocator
266
+ Peak main deferred allocation count 0
267
+ [ALLOC_BUCKET]
268
+ Large Block size 4.0 MB
269
+ Used Block count 1
270
+ Peak Allocated bytes 0.9 MB
271
+ [ALLOC_TYPETREE_MAIN]
272
+ Peak usage frame count: [0-1.0 KB]: 143101 frames
273
+ Requested Block Size 2.0 MB
274
+ Peak Block count 1
275
+ Peak Allocated memory 1.0 KB
276
+ Peak Large allocation bytes 0 B
277
+ [ALLOC_TYPETREE_THREAD]
278
+ Peak usage frame count: [1.0 KB-2.0 KB]: 143100 frames, [2.0 KB-4.0 KB]: 1 frames
279
+ Requested Block Size 2.0 MB
280
+ Peak Block count 1
281
+ Peak Allocated memory 2.2 KB
282
+ 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.840072512626648,
6
+ "min": 1.5899217128753662,
7
+ "max": 2.4978463649749756,
8
+ "count": 761
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 37390.2734375,
12
+ "min": 12050.388671875,
13
+ "max": 53777.86328125,
14
+ "count": 761
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 59.142857142857146,
18
+ "min": 38.196850393700785,
19
+ "max": 91.75,
20
+ "count": 761
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 19872.0,
24
+ "min": 3236.0,
25
+ "max": 21184.0,
26
+ "count": 761
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1529.7088135388522,
30
+ "min": 1422.9264545281249,
31
+ "max": 1573.7982628040145,
32
+ "count": 761
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 256991.08067452715,
36
+ "min": 42878.86507428949,
37
+ "max": 382782.2583887068,
38
+ "count": 761
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 10029872.0,
42
+ "min": 2429979.0,
43
+ "max": 10029872.0,
44
+ "count": 761
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 10029872.0,
48
+ "min": 2429979.0,
49
+ "max": 10029872.0,
50
+ "count": 761
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": -0.031066184863448143,
54
+ "min": -0.1180698424577713,
55
+ "max": 0.1087309867143631,
56
+ "count": 761
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": -5.219119071960449,
60
+ "min": -21.02879524230957,
61
+ "max": 19.492877960205078,
62
+ "count": 761
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": -0.035260315984487534,
66
+ "min": -0.11848477274179459,
67
+ "max": 0.1105712503194809,
68
+ "count": 761
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": -5.923733234405518,
72
+ "min": -20.94308090209961,
73
+ "max": 19.144439697265625,
74
+ "count": 761
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 761
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 761
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": -0.2327690479301271,
90
+ "min": -0.32567314182009016,
91
+ "max": 0.32442905250208337,
92
+ "count": 761
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": -39.10520005226135,
96
+ "min": -57.35360014438629,
97
+ "max": 58.072800397872925,
98
+ "count": 761
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": -0.2327690479301271,
102
+ "min": -0.32567314182009016,
103
+ "max": 0.32442905250208337,
104
+ "count": 761
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": -39.10520005226135,
108
+ "min": -57.35360014438629,
109
+ "max": 58.072800397872925,
110
+ "count": 761
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 761
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 761
123
+ },
124
+ "SoccerTwos.Losses.PolicyLoss.mean": {
125
+ "value": 0.017179827320311838,
126
+ "min": 0.010565199363675977,
127
+ "max": 0.02532601624261588,
128
+ "count": 369
129
+ },
130
+ "SoccerTwos.Losses.PolicyLoss.sum": {
131
+ "value": 0.017179827320311838,
132
+ "min": 0.010565199363675977,
133
+ "max": 0.02532601624261588,
134
+ "count": 369
135
+ },
136
+ "SoccerTwos.Losses.ValueLoss.mean": {
137
+ "value": 0.0999237209558487,
138
+ "min": 0.07022709188361963,
139
+ "max": 0.12925801649689675,
140
+ "count": 369
141
+ },
142
+ "SoccerTwos.Losses.ValueLoss.sum": {
143
+ "value": 0.0999237209558487,
144
+ "min": 0.07022709188361963,
145
+ "max": 0.12925801649689675,
146
+ "count": 369
147
+ },
148
+ "SoccerTwos.Losses.BaselineLoss.mean": {
149
+ "value": 0.10240304668744406,
150
+ "min": 0.07139496964712938,
151
+ "max": 0.13219926357269288,
152
+ "count": 369
153
+ },
154
+ "SoccerTwos.Losses.BaselineLoss.sum": {
155
+ "value": 0.10240304668744406,
156
+ "min": 0.07139496964712938,
157
+ "max": 0.13219926357269288,
158
+ "count": 369
159
+ },
160
+ "SoccerTwos.Policy.LearningRate.mean": {
161
+ "value": 0.0003,
162
+ "min": 0.0003,
163
+ "max": 0.0003,
164
+ "count": 369
165
+ },
166
+ "SoccerTwos.Policy.LearningRate.sum": {
167
+ "value": 0.0003,
168
+ "min": 0.0003,
169
+ "max": 0.0003,
170
+ "count": 369
171
+ },
172
+ "SoccerTwos.Policy.Epsilon.mean": {
173
+ "value": 0.20000000000000007,
174
+ "min": 0.20000000000000007,
175
+ "max": 0.20000000000000007,
176
+ "count": 369
177
+ },
178
+ "SoccerTwos.Policy.Epsilon.sum": {
179
+ "value": 0.20000000000000007,
180
+ "min": 0.20000000000000007,
181
+ "max": 0.20000000000000007,
182
+ "count": 369
183
+ },
184
+ "SoccerTwos.Policy.Beta.mean": {
185
+ "value": 0.005000000000000001,
186
+ "min": 0.005000000000000001,
187
+ "max": 0.005000000000000001,
188
+ "count": 369
189
+ },
190
+ "SoccerTwos.Policy.Beta.sum": {
191
+ "value": 0.005000000000000001,
192
+ "min": 0.005000000000000001,
193
+ "max": 0.005000000000000001,
194
+ "count": 369
195
+ }
196
+ },
197
+ "metadata": {
198
+ "timer_format_version": "0.1.0",
199
+ "start_time_seconds": "1691417556",
200
+ "python_version": "3.8.17 (default, Jul 5 2023, 20:44:21) [MSC v.1916 64 bit (AMD64)]",
201
+ "command_line_arguments": "C:\\Users\\nokot\\miniconda3\\envs\\ml-agents\\Scripts\\mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos.exe --run-id=SoccerTwos --no-graphics --resume",
202
+ "mlagents_version": "0.30.0",
203
+ "mlagents_envs_version": "0.30.0",
204
+ "communication_protocol_version": "1.5.0",
205
+ "pytorch_version": "1.7.1+cpu",
206
+ "numpy_version": "1.21.2",
207
+ "end_time_seconds": "1691501578"
208
+ },
209
+ "total": 84023.94156210001,
210
+ "count": 1,
211
+ "self": 0.33657540001149755,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.15175470000000013,
215
+ "count": 1,
216
+ "self": 0.15175470000000013
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 84023.453232,
220
+ "count": 1,
221
+ "self": 30.030664897349197,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 10.714601099975752,
225
+ "count": 39,
226
+ "self": 10.714601099975752
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 83982.26639350268,
230
+ "count": 527687,
231
+ "self": 31.88441820141452,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 21282.278971898933,
235
+ "count": 527687,
236
+ "self": 16135.11157879619,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 5127.16464080181,
240
+ "count": 527687,
241
+ "self": 177.39852979446914,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 4949.76611100734,
245
+ "count": 954018,
246
+ "self": 4949.76611100734
247
+ }
248
+ }
249
+ },
250
+ "workers": {
251
+ "total": 20.002752300934617,
252
+ "count": 527687,
253
+ "self": 0.0,
254
+ "children": {
255
+ "worker_root": {
256
+ "total": 83969.881665199,
257
+ "count": 527687,
258
+ "is_parallel": true,
259
+ "self": 71320.51937559372,
260
+ "children": {
261
+ "steps_from_proto": {
262
+ "total": 0.19051710006376155,
263
+ "count": 78,
264
+ "is_parallel": true,
265
+ "self": 0.04021390001721237,
266
+ "children": {
267
+ "_process_rank_one_or_two_observation": {
268
+ "total": 0.15030320004654918,
269
+ "count": 312,
270
+ "is_parallel": true,
271
+ "self": 0.15030320004654918
272
+ }
273
+ }
274
+ },
275
+ "UnityEnvironment.step": {
276
+ "total": 12649.171772505219,
277
+ "count": 527687,
278
+ "is_parallel": true,
279
+ "self": 709.8374647020391,
280
+ "children": {
281
+ "UnityEnvironment._generate_step_input": {
282
+ "total": 705.6238761024485,
283
+ "count": 527687,
284
+ "is_parallel": true,
285
+ "self": 705.6238761024485
286
+ },
287
+ "communicator.exchange": {
288
+ "total": 8715.422255598512,
289
+ "count": 527687,
290
+ "is_parallel": true,
291
+ "self": 8715.422255598512
292
+ },
293
+ "steps_from_proto": {
294
+ "total": 2518.2881761022186,
295
+ "count": 1055374,
296
+ "is_parallel": true,
297
+ "self": 544.6141842024838,
298
+ "children": {
299
+ "_process_rank_one_or_two_observation": {
300
+ "total": 1973.6739918997348,
301
+ "count": 4221496,
302
+ "is_parallel": true,
303
+ "self": 1973.6739918997348
304
+ }
305
+ }
306
+ }
307
+ }
308
+ }
309
+ }
310
+ }
311
+ }
312
+ }
313
+ }
314
+ },
315
+ "trainer_advance": {
316
+ "total": 62668.10300340233,
317
+ "count": 527687,
318
+ "self": 174.5810705012409,
319
+ "children": {
320
+ "process_trajectory": {
321
+ "total": 23944.859248801124,
322
+ "count": 527687,
323
+ "self": 23938.519073401123,
324
+ "children": {
325
+ "RLTrainer._checkpoint": {
326
+ "total": 6.340175399999907,
327
+ "count": 16,
328
+ "self": 6.340175399999907
329
+ }
330
+ }
331
+ },
332
+ "_update_policy": {
333
+ "total": 38548.66268409997,
334
+ "count": 369,
335
+ "self": 2733.2539645000797,
336
+ "children": {
337
+ "TorchPOCAOptimizer.update": {
338
+ "total": 35815.40871959989,
339
+ "count": 11070,
340
+ "self": 35815.40871959989
341
+ }
342
+ }
343
+ }
344
+ }
345
+ }
346
+ }
347
+ },
348
+ "trainer_threads": {
349
+ "total": 2.7999922167509794e-06,
350
+ "count": 1,
351
+ "self": 2.7999922167509794e-06
352
+ },
353
+ "TrainerController._save_models": {
354
+ "total": 0.44156970000767615,
355
+ "count": 1,
356
+ "self": 0.01958220000960864,
357
+ "children": {
358
+ "RLTrainer._checkpoint": {
359
+ "total": 0.4219874999980675,
360
+ "count": 1,
361
+ "self": 0.4219874999980675
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": 8499935,
6
+ "file_path": "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-8499935.onnx",
7
+ "reward": 0.0,
8
+ "creation_time": 1691480337.3792727,
9
+ "auxillary_file_paths": [
10
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-8499935.pt"
11
+ ]
12
+ },
13
+ {
14
+ "steps": 8999939,
15
+ "file_path": "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-8999939.onnx",
16
+ "reward": 0.0,
17
+ "creation_time": 1691485773.2655866,
18
+ "auxillary_file_paths": [
19
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-8999939.pt"
20
+ ]
21
+ },
22
+ {
23
+ "steps": 9499966,
24
+ "file_path": "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-9499966.onnx",
25
+ "reward": 0.0,
26
+ "creation_time": 1691490879.6117523,
27
+ "auxillary_file_paths": [
28
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-9499966.pt"
29
+ ]
30
+ },
31
+ {
32
+ "steps": 9999933,
33
+ "file_path": "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-9999933.onnx",
34
+ "reward": 0.0,
35
+ "creation_time": 1691501234.8872063,
36
+ "auxillary_file_paths": [
37
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-9999933.pt"
38
+ ]
39
+ },
40
+ {
41
+ "steps": 10032342,
42
+ "file_path": "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-10032342.onnx",
43
+ "reward": 0.0,
44
+ "creation_time": 1691501577.738297,
45
+ "auxillary_file_paths": [
46
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-10032342.pt"
47
+ ]
48
+ }
49
+ ],
50
+ "elo": 1526.8011975685909,
51
+ "final_checkpoint": {
52
+ "steps": 10032342,
53
+ "file_path": "results\\SoccerTwos\\SoccerTwos.onnx",
54
+ "reward": 0.0,
55
+ "creation_time": 1691501577.738297,
56
+ "auxillary_file_paths": [
57
+ "results\\SoccerTwos\\SoccerTwos\\SoccerTwos-10032342.pt"
58
+ ]
59
+ }
60
+ },
61
+ "metadata": {
62
+ "stats_format_version": "0.3.0",
63
+ "mlagents_version": "0.30.0",
64
+ "torch_version": "1.7.1+cpu"
65
+ }
66
+ }