aphi commited on
Commit
ba75fc1
1 Parent(s): b69696a

First Push

Browse files
README.md ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: ml-agents
3
+ tags:
4
+ - SoccerTwos
5
+ - deep-reinforcement-learning
6
+ - reinforcement-learning
7
+ - ML-Agents-SoccerTwos
8
+ ---
9
+
10
+ # **poca** Agent playing **SoccerTwos**
11
+ This is a trained model of a **poca** agent playing **SoccerTwos**
12
+ using the [Unity ML-Agents Library](https://github.com/Unity-Technologies/ml-agents).
13
+
14
+ ## Usage (with ML-Agents)
15
+ The Documentation: https://unity-technologies.github.io/ml-agents/ML-Agents-Toolkit-Documentation/
16
+
17
+ We wrote a complete tutorial to learn to train your first agent using ML-Agents and publish it to the Hub:
18
+ - A *short tutorial* where you teach Huggy the Dog 🐶 to fetch the stick and then play with him directly in your
19
+ browser: https://huggingface.co/learn/deep-rl-course/unitbonus1/introduction
20
+ - A *longer tutorial* to understand how works ML-Agents:
21
+ https://huggingface.co/learn/deep-rl-course/unit5/introduction
22
+
23
+ ### Resume the training
24
+ ```bash
25
+ mlagents-learn <your_configuration_file_path.yaml> --run-id=<run_id> --resume
26
+ ```
27
+
28
+ ### Watch your Agent play
29
+ You can watch your agent **playing directly in your browser**
30
+
31
+ 1. If the environment is part of ML-Agents official environments, go to https://huggingface.co/unity
32
+ 2. Step 1: Find your model_id: aphi/poca-SoccerTwos_v2
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:14130327c5379da93f2f6e6a3a942998ab862ba4ebde809f136064aca7884960
3
+ size 1764633
SoccerTwos/SoccerTwos-24999956.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:64e60e924735cdcff5dda345df9ea93276073cc286aab9689e64d8947fe84ba8
3
+ size 1764633
SoccerTwos/SoccerTwos-24999956.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4d7bd1aee5784b7c49fa5d271baf96ba2187785fddbce238949993a7ca4eff7a
3
+ size 28421201
SoccerTwos/SoccerTwos-25499988.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:11bb95cb1b0a1ca5948f3fee3fb1cda06b2adeb5e9fa341312b4981bf9e14f95
3
+ size 1764633
SoccerTwos/SoccerTwos-25499988.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d3f00e02436832733ad223547c1c6d5f65cca5cfece2cc01946703c196f1dbd6
3
+ size 28421201
SoccerTwos/SoccerTwos-25999944.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8356b722e2fead491df4e461860be322facca5530547b0889cf7b819308a65a9
3
+ size 1764633
SoccerTwos/SoccerTwos-25999944.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8d8bcbebaa3f92e200a291d286b4866b7867daba6c3a8ca862b6d6bab128648f
3
+ size 28421201
SoccerTwos/SoccerTwos-26499844.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2f5891e72db9a1d2d8f2715b56b2b12bc68866c5a0b1a68884335709347675d9
3
+ size 1764633
SoccerTwos/SoccerTwos-26499844.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8f61e408a7770229df5bdf433914a8347b0ba797a03c661bc23b69011d12c24c
3
+ size 28421201
SoccerTwos/SoccerTwos-26726978.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:14130327c5379da93f2f6e6a3a942998ab862ba4ebde809f136064aca7884960
3
+ size 1764633
SoccerTwos/SoccerTwos-26726978.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07ad9ca63ccf31ddfadc67a05f570c0737a8c6b72c305b6cb2830d8fb718738d
3
+ size 28421201
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07ad9ca63ccf31ddfadc67a05f570c0737a8c6b72c305b6cb2830d8fb718738d
3
+ size 28421201
SoccerTwos/events.out.tfevents.1691251005.xps.30150.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:08fb20ade21d9bceb6bc73a0f45812c130812376b5cfba96b66734dd6e0840e4
3
+ size 9913441
SoccerTwos/events.out.tfevents.1691280966.xps.45349.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd4c1c98b959067515b7c7d403a4e37c0ef62193dc58561d10eafceff9a4193f
3
+ size 17247119
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": 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.x86_64", "env_args": null, "base_port": 5005, "num_envs": 1, "num_areas": 1, "seed": -1, "max_lifetime_restarts": 10, "restarts_rate_limit_n": 1, "restarts_rate_limit_period_s": 60}, "engine_settings": {"width": 84, "height": 84, "quality_level": 5, "time_scale": 20, "target_frame_rate": -1, "capture_frame_rate": 60, "no_graphics": true}, "environment_parameters": null, "checkpoint_settings": {"run_id": "SoccerTwos", "initialize_from": null, "load_model": false, "resume": true, "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.005
10
+ epsilon: 0.2
11
+ lambd: 0.95
12
+ num_epoch: 3
13
+ learning_rate_schedule: constant
14
+ beta_schedule: constant
15
+ epsilon_schedule: constant
16
+ checkpoint_interval: 500000
17
+ network_settings:
18
+ normalize: false
19
+ hidden_units: 512
20
+ num_layers: 2
21
+ vis_encode_type: simple
22
+ memory: null
23
+ goal_conditioning_type: hyper
24
+ deterministic: false
25
+ reward_signals:
26
+ extrinsic:
27
+ gamma: 0.99
28
+ strength: 1.0
29
+ network_settings:
30
+ normalize: false
31
+ hidden_units: 128
32
+ num_layers: 2
33
+ vis_encode_type: simple
34
+ memory: null
35
+ goal_conditioning_type: hyper
36
+ deterministic: false
37
+ init_path: null
38
+ keep_checkpoints: 5
39
+ even_checkpoints: false
40
+ max_steps: 50000000
41
+ time_horizon: 1000
42
+ summary_freq: 10000
43
+ threaded: false
44
+ self_play:
45
+ save_steps: 50000
46
+ team_change: 200000
47
+ swap_steps: 2000
48
+ window: 10
49
+ play_against_latest_model_ratio: 0.5
50
+ initial_elo: 1200.0
51
+ behavioral_cloning: null
52
+ env_settings:
53
+ env_path: ./training-envs-executables/SoccerTwos.x86_64
54
+ env_args: null
55
+ base_port: 5005
56
+ num_envs: 1
57
+ num_areas: 1
58
+ seed: -1
59
+ max_lifetime_restarts: 10
60
+ restarts_rate_limit_n: 1
61
+ restarts_rate_limit_period_s: 60
62
+ engine_settings:
63
+ width: 84
64
+ height: 84
65
+ quality_level: 5
66
+ time_scale: 20
67
+ target_frame_rate: -1
68
+ capture_frame_rate: 60
69
+ no_graphics: true
70
+ environment_parameters: null
71
+ checkpoint_settings:
72
+ run_id: SoccerTwos
73
+ initialize_from: null
74
+ load_model: false
75
+ resume: true
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,284 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/home/aphi/repo/marl_soccer/ml-agents/training-envs-executables/SoccerTwos_Data/Managed'
2
+ Mono config path = '/home/aphi/repo/marl_soccer/ml-agents/training-envs-executables/SoccerTwos_Data/MonoBleedingEdge/etc'
3
+ Preloaded 'lib_burst_generated.so'
4
+ Preloaded 'libgrpc_csharp_ext.x64.so'
5
+ Initialize engine version: 2021.3.14f1 (eee1884e7226)
6
+ [Subsystems] Discovering subsystems at path /home/aphi/repo/marl_soccer/ml-agents/training-envs-executables/SoccerTwos_Data/UnitySubsystems
7
+ Forcing GfxDevice: Null
8
+ GfxDevice: creating device client; threaded=0; jobified=0
9
+ NullGfxDevice:
10
+ Version: NULL 1.0 [1.0]
11
+ Renderer: Null Device
12
+ Vendor: Unity Technologies
13
+ Begin MonoManager ReloadAssembly
14
+ - Completed reload, in 0.061 seconds
15
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
16
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
17
+ ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
18
+ WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
19
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
20
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
21
+ ERROR: Shader Standard (Specular setup) shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
22
+ WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
23
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
24
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
25
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
26
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
27
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
28
+ ERROR: Shader Autodesk Interactive shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
29
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
30
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
31
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
32
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
33
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
34
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
35
+ ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
36
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
37
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
38
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
39
+ UnloadTime: 0.631859 ms
40
+ Registered Communicator in Agent.
41
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
42
+ requesting resize 84 x 84
43
+ 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: [8.0 KB-16.0 KB]: 315894 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.1 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 128 B
57
+ Overflow Count 0
58
+ [ALLOC_TEMP_Loading.PreloadManager]
59
+ Initial Block Size 256.0 KB
60
+ Current Block Size 300.0 KB
61
+ Peak Allocated Bytes 249.6 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 0 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 B
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 0 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 0 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 0 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 0 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 0 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 0 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 0 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 0 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 0 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 0 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 0 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 0 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.7 KB
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 0 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 0 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 0 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 0 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 0 B
192
+ Overflow Count 0
193
+ [ALLOC_DEFAULT] Dual Thread Allocator
194
+ Peak main deferred allocation count 3
195
+ [ALLOC_BUCKET]
196
+ Large Block size 4.0 MB
197
+ Used Block count 1
198
+ Peak Allocated bytes 1.0 MB
199
+ [ALLOC_DEFAULT_MAIN]
200
+ Peak usage frame count: [4.0 MB-8.0 MB]: 315895 frames
201
+ Requested Block Size 16.0 MB
202
+ Peak Block count 1
203
+ Peak Allocated memory 4.8 MB
204
+ Peak Large allocation bytes 0 B
205
+ [ALLOC_DEFAULT_THREAD]
206
+ Peak usage frame count: [16.0 MB-32.0 MB]: 315895 frames
207
+ Requested Block Size 16.0 MB
208
+ Peak Block count 1
209
+ Peak Allocated memory 17.4 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 1.0 MB
237
+ [ALLOC_GFX_MAIN]
238
+ Peak usage frame count: [32.0 KB-64.0 KB]: 315894 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]: 315895 frames
245
+ Requested Block Size 16.0 MB
246
+ Peak Block count 1
247
+ Peak Allocated memory 173.5 KB
248
+ Peak Large allocation bytes 0 B
249
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
250
+ Peak main deferred allocation count 0
251
+ [ALLOC_BUCKET]
252
+ Large Block size 4.0 MB
253
+ Used Block count 1
254
+ Peak Allocated bytes 1.0 MB
255
+ [ALLOC_CACHEOBJECTS_MAIN]
256
+ Peak usage frame count: [0.5 MB-1.0 MB]: 315895 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]: 315894 frames, [4.0 MB-8.0 MB]: 1 frames
263
+ Requested Block Size 4.0 MB
264
+ Peak Block count 2
265
+ Peak Allocated memory 4.5 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 1.0 MB
273
+ [ALLOC_TYPETREE_MAIN]
274
+ Peak usage frame count: [0-1.0 KB]: 315895 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]: 315894 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,424 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "SoccerTwos.Policy.Entropy.mean": {
5
+ "value": 1.5208332538604736,
6
+ "min": 1.273158311843872,
7
+ "max": 1.8148019313812256,
8
+ "count": 1678
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 29832.6640625,
12
+ "min": 20223.357421875,
13
+ "max": 40978.0546875,
14
+ "count": 1678
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 63.51315789473684,
18
+ "min": 43.981651376146786,
19
+ "max": 136.02702702702703,
20
+ "count": 1678
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 19308.0,
24
+ "min": 10900.0,
25
+ "max": 21472.0,
26
+ "count": 1678
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1586.8200921264854,
30
+ "min": 1542.8708725938334,
31
+ "max": 1668.9721804534734,
32
+ "count": 1678
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 241196.6540032258,
36
+ "min": 117899.30230656838,
37
+ "max": 365068.93665123876,
38
+ "count": 1678
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 26719946.0,
42
+ "min": 9949994.0,
43
+ "max": 26719946.0,
44
+ "count": 1678
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 26719946.0,
48
+ "min": 9949994.0,
49
+ "max": 26719946.0,
50
+ "count": 1678
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": -0.06350585073232651,
54
+ "min": -0.14680367708206177,
55
+ "max": 0.0801720917224884,
56
+ "count": 1678
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": -9.652889251708984,
60
+ "min": -27.305482864379883,
61
+ "max": 14.987405776977539,
62
+ "count": 1678
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": -0.06474441289901733,
66
+ "min": -0.14830423891544342,
67
+ "max": 0.08140476793050766,
68
+ "count": 1678
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": -9.841150283813477,
72
+ "min": -27.58458709716797,
73
+ "max": 15.016227722167969,
74
+ "count": 1678
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 1678
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 1678
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": -0.1389289466958297,
90
+ "min": -0.4145650787959023,
91
+ "max": 0.3313132074643981,
92
+ "count": 1678
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": -21.117199897766113,
96
+ "min": -63.71439999341965,
97
+ "max": 51.0037996172905,
98
+ "count": 1678
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": -0.1389289466958297,
102
+ "min": -0.4145650787959023,
103
+ "max": 0.3313132074643981,
104
+ "count": 1678
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": -21.117199897766113,
108
+ "min": -63.71439999341965,
109
+ "max": 51.0037996172905,
110
+ "count": 1678
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 1678
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 1678
123
+ },
124
+ "SoccerTwos.Losses.PolicyLoss.mean": {
125
+ "value": 0.01615842728157683,
126
+ "min": 0.009192483994168773,
127
+ "max": 0.026691062779476245,
128
+ "count": 813
129
+ },
130
+ "SoccerTwos.Losses.PolicyLoss.sum": {
131
+ "value": 0.01615842728157683,
132
+ "min": 0.009192483994168773,
133
+ "max": 0.026691062779476245,
134
+ "count": 813
135
+ },
136
+ "SoccerTwos.Losses.ValueLoss.mean": {
137
+ "value": 0.09005015144745508,
138
+ "min": 0.06957109409073989,
139
+ "max": 0.12221147641539573,
140
+ "count": 813
141
+ },
142
+ "SoccerTwos.Losses.ValueLoss.sum": {
143
+ "value": 0.09005015144745508,
144
+ "min": 0.06957109409073989,
145
+ "max": 0.12221147641539573,
146
+ "count": 813
147
+ },
148
+ "SoccerTwos.Losses.BaselineLoss.mean": {
149
+ "value": 0.0914334607621034,
150
+ "min": 0.07065122574567795,
151
+ "max": 0.12482641264796257,
152
+ "count": 813
153
+ },
154
+ "SoccerTwos.Losses.BaselineLoss.sum": {
155
+ "value": 0.0914334607621034,
156
+ "min": 0.07065122574567795,
157
+ "max": 0.12482641264796257,
158
+ "count": 813
159
+ },
160
+ "SoccerTwos.Policy.LearningRate.mean": {
161
+ "value": 0.0003,
162
+ "min": 0.0003,
163
+ "max": 0.0003,
164
+ "count": 813
165
+ },
166
+ "SoccerTwos.Policy.LearningRate.sum": {
167
+ "value": 0.0003,
168
+ "min": 0.0003,
169
+ "max": 0.0003,
170
+ "count": 813
171
+ },
172
+ "SoccerTwos.Policy.Epsilon.mean": {
173
+ "value": 0.20000000000000007,
174
+ "min": 0.20000000000000007,
175
+ "max": 0.20000000000000007,
176
+ "count": 813
177
+ },
178
+ "SoccerTwos.Policy.Epsilon.sum": {
179
+ "value": 0.20000000000000007,
180
+ "min": 0.20000000000000007,
181
+ "max": 0.20000000000000007,
182
+ "count": 813
183
+ },
184
+ "SoccerTwos.Policy.Beta.mean": {
185
+ "value": 0.005000000000000001,
186
+ "min": 0.005000000000000001,
187
+ "max": 0.005000000000000001,
188
+ "count": 813
189
+ },
190
+ "SoccerTwos.Policy.Beta.sum": {
191
+ "value": 0.005000000000000001,
192
+ "min": 0.005000000000000001,
193
+ "max": 0.005000000000000001,
194
+ "count": 813
195
+ }
196
+ },
197
+ "metadata": {
198
+ "timer_format_version": "0.1.0",
199
+ "start_time_seconds": "1691280965",
200
+ "python_version": "3.9.9 (main, Dec 22 2021, 19:41:22) \n[GCC 10.3.0]",
201
+ "command_line_arguments": "/home/aphi/.pyenv/versions/3.9.9/bin/mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos.x86_64 --run-id=SoccerTwos --no-graphics --resume",
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.11.0+cu102",
206
+ "numpy_version": "1.21.2",
207
+ "end_time_seconds": "1691317518"
208
+ },
209
+ "total": 36553.451603412,
210
+ "count": 1,
211
+ "self": 0.07956845599983353,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.05672447699907934,
215
+ "count": 1,
216
+ "self": 0.05672447699907934
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 36553.315310479,
220
+ "count": 1,
221
+ "self": 25.90310476511513,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 2.8752524210576667,
225
+ "count": 85,
226
+ "self": 2.8752524210576667
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 36524.34532972085,
230
+ "count": 1154518,
231
+ "self": 27.165245878706628,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 18919.483706302977,
235
+ "count": 1154518,
236
+ "self": 16086.282047817207,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 2817.332583169118,
240
+ "count": 1154518,
241
+ "self": 122.10931460303254,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 2695.2232685660856,
245
+ "count": 2105992,
246
+ "self": 2695.2232685660856
247
+ }
248
+ }
249
+ },
250
+ "workers": {
251
+ "total": 15.869075316652015,
252
+ "count": 1154517,
253
+ "self": 0.0,
254
+ "children": {
255
+ "worker_root": {
256
+ "total": 36513.4823779097,
257
+ "count": 1154517,
258
+ "is_parallel": true,
259
+ "self": 23220.272478314437,
260
+ "children": {
261
+ "run_training.setup": {
262
+ "total": 0.0,
263
+ "count": 0,
264
+ "is_parallel": true,
265
+ "self": 0.0,
266
+ "children": {
267
+ "steps_from_proto": {
268
+ "total": 0.001969711003766861,
269
+ "count": 2,
270
+ "is_parallel": true,
271
+ "self": 0.000470619008410722,
272
+ "children": {
273
+ "_process_rank_one_or_two_observation": {
274
+ "total": 0.0014990919953561388,
275
+ "count": 8,
276
+ "is_parallel": true,
277
+ "self": 0.0014990919953561388
278
+ }
279
+ }
280
+ },
281
+ "UnityEnvironment.step": {
282
+ "total": 0.03214666799613042,
283
+ "count": 1,
284
+ "is_parallel": true,
285
+ "self": 0.0006364009896060452,
286
+ "children": {
287
+ "UnityEnvironment._generate_step_input": {
288
+ "total": 0.0007950849976623431,
289
+ "count": 1,
290
+ "is_parallel": true,
291
+ "self": 0.0007950849976623431
292
+ },
293
+ "communicator.exchange": {
294
+ "total": 0.027651450000121258,
295
+ "count": 1,
296
+ "is_parallel": true,
297
+ "self": 0.027651450000121258
298
+ },
299
+ "steps_from_proto": {
300
+ "total": 0.0030637320087407716,
301
+ "count": 2,
302
+ "is_parallel": true,
303
+ "self": 0.0007643250064575113,
304
+ "children": {
305
+ "_process_rank_one_or_two_observation": {
306
+ "total": 0.0022994070022832602,
307
+ "count": 8,
308
+ "is_parallel": true,
309
+ "self": 0.0022994070022832602
310
+ }
311
+ }
312
+ }
313
+ }
314
+ }
315
+ }
316
+ },
317
+ "steps_from_proto": {
318
+ "total": 0.1485878519670223,
319
+ "count": 168,
320
+ "is_parallel": true,
321
+ "self": 0.029665567053598352,
322
+ "children": {
323
+ "_process_rank_one_or_two_observation": {
324
+ "total": 0.11892228491342394,
325
+ "count": 672,
326
+ "is_parallel": true,
327
+ "self": 0.11892228491342394
328
+ }
329
+ }
330
+ },
331
+ "UnityEnvironment.step": {
332
+ "total": 13293.061311743295,
333
+ "count": 1154516,
334
+ "is_parallel": true,
335
+ "self": 792.2785328326936,
336
+ "children": {
337
+ "UnityEnvironment._generate_step_input": {
338
+ "total": 670.7080909666547,
339
+ "count": 1154516,
340
+ "is_parallel": true,
341
+ "self": 670.7080909666547
342
+ },
343
+ "communicator.exchange": {
344
+ "total": 9608.185685382246,
345
+ "count": 1154516,
346
+ "is_parallel": true,
347
+ "self": 9608.185685382246
348
+ },
349
+ "steps_from_proto": {
350
+ "total": 2221.8890025617,
351
+ "count": 2309032,
352
+ "is_parallel": true,
353
+ "self": 437.1007224857385,
354
+ "children": {
355
+ "_process_rank_one_or_two_observation": {
356
+ "total": 1784.7882800759617,
357
+ "count": 9236128,
358
+ "is_parallel": true,
359
+ "self": 1784.7882800759617
360
+ }
361
+ }
362
+ }
363
+ }
364
+ }
365
+ }
366
+ }
367
+ }
368
+ }
369
+ }
370
+ },
371
+ "trainer_advance": {
372
+ "total": 17577.696377539163,
373
+ "count": 1154517,
374
+ "self": 181.50837569407304,
375
+ "children": {
376
+ "process_trajectory": {
377
+ "total": 3242.301654148134,
378
+ "count": 1154517,
379
+ "self": 3235.886169627105,
380
+ "children": {
381
+ "RLTrainer._checkpoint": {
382
+ "total": 6.415484521028702,
383
+ "count": 34,
384
+ "self": 6.415484521028702
385
+ }
386
+ }
387
+ },
388
+ "_update_policy": {
389
+ "total": 14153.886347696956,
390
+ "count": 814,
391
+ "self": 2519.5350972263477,
392
+ "children": {
393
+ "TorchPOCAOptimizer.update": {
394
+ "total": 11634.351250470609,
395
+ "count": 24420,
396
+ "self": 11634.351250470609
397
+ }
398
+ }
399
+ }
400
+ }
401
+ }
402
+ }
403
+ },
404
+ "trainer_threads": {
405
+ "total": 1.581996912136674e-06,
406
+ "count": 1,
407
+ "self": 1.581996912136674e-06
408
+ },
409
+ "TrainerController._save_models": {
410
+ "total": 0.19162198998674285,
411
+ "count": 1,
412
+ "self": 0.0018692279845708981,
413
+ "children": {
414
+ "RLTrainer._checkpoint": {
415
+ "total": 0.18975276200217195,
416
+ "count": 1,
417
+ "self": 0.18975276200217195
418
+ }
419
+ }
420
+ }
421
+ }
422
+ }
423
+ }
424
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "checkpoints": [
4
+ {
5
+ "steps": 24999956,
6
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-24999956.onnx",
7
+ "reward": 0.0,
8
+ "creation_time": 1691313765.2383819,
9
+ "auxillary_file_paths": [
10
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-24999956.pt"
11
+ ]
12
+ },
13
+ {
14
+ "steps": 25499988,
15
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-25499988.onnx",
16
+ "reward": 0.0,
17
+ "creation_time": 1691314824.1330147,
18
+ "auxillary_file_paths": [
19
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-25499988.pt"
20
+ ]
21
+ },
22
+ {
23
+ "steps": 25999944,
24
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-25999944.onnx",
25
+ "reward": 0.0,
26
+ "creation_time": 1691315914.2725737,
27
+ "auxillary_file_paths": [
28
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-25999944.pt"
29
+ ]
30
+ },
31
+ {
32
+ "steps": 26499844,
33
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-26499844.onnx",
34
+ "reward": 0.0,
35
+ "creation_time": 1691317009.8439658,
36
+ "auxillary_file_paths": [
37
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-26499844.pt"
38
+ ]
39
+ },
40
+ {
41
+ "steps": 26726978,
42
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-26726978.onnx",
43
+ "reward": 0.0,
44
+ "creation_time": 1691317518.3692434,
45
+ "auxillary_file_paths": [
46
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-26726978.pt"
47
+ ]
48
+ }
49
+ ],
50
+ "elo": 1583.2210909736555,
51
+ "final_checkpoint": {
52
+ "steps": 26726978,
53
+ "file_path": "results/SoccerTwos/SoccerTwos.onnx",
54
+ "reward": 0.0,
55
+ "creation_time": 1691317518.3692434,
56
+ "auxillary_file_paths": [
57
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-26726978.pt"
58
+ ]
59
+ }
60
+ },
61
+ "metadata": {
62
+ "stats_format_version": "0.3.0",
63
+ "mlagents_version": "0.31.0.dev0",
64
+ "torch_version": "1.11.0+cu102"
65
+ }
66
+ }