davidhajdu commited on
Commit
a1b89a8
·
1 Parent(s): 6145523
README.md ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ tags:
4
+ - unity-ml-agents
5
+ - ml-agents
6
+ - deep-reinforcement-learning
7
+ - reinforcement-learning
8
+ - ML-Agents-SoccerTwos
9
+ library_name: ml-agents
10
+ ---
11
+
12
+ # **poca** Agent playing **SoccerTwos**
13
+ This is a trained model of a **poca** agent playing **SoccerTwos** using the [Unity ML-Agents Library](https://github.com/Unity-Technologies/ml-agents).
14
+
15
+ ## Usage (with ML-Agents)
16
+ The Documentation: https://github.com/huggingface/ml-agents#get-started
17
+ We wrote a complete tutorial to learn to train your first agent using ML-Agents and publish it to the Hub:
18
+
19
+
20
+ ### Resume the training
21
+ ```
22
+ mlagents-learn <your_configuration_file_path.yaml> --run-id=<run_id> --resume
23
+ ```
24
+ ### Watch your Agent play
25
+ You can watch your agent **playing directly in your browser:**.
26
+
27
+ 1. Go to https://huggingface.co/spaces/unity/ML-Agents-SoccerTwos
28
+ 2. Step 1: Write your model_id: davidhajdu/poca-SoccerTwos
29
+ 3. Step 2: Select your *.nn /*.onnx file
30
+ 4. Click on Watch the agent play 👀
31
+
SoccerTwos.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e014b843f7fda294ac9502ea8779a02d712e87b1ba3807bedcd07129c2c93a45
3
+ size 1764633
SoccerTwos/SoccerTwos-1999908.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f53f97c401792d92a97f795d00a1ca0d31af78f2f7a6725f7eba63092bfd5b4e
3
+ size 1764633
SoccerTwos/SoccerTwos-1999908.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a2cc2ccef458bc1bff788f2f353208585a84f1264a837ae55141de6992e20ed
3
+ size 28421201
SoccerTwos/SoccerTwos-2499998.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9528190596de9482fd11c32d0e06a6a8637f497cd8e76ee6219141977debb1b7
3
+ size 1764633
SoccerTwos/SoccerTwos-2499998.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4d3e87ce2ed6ee9d378945f3b50cb2107c78a4d2d75f69b74f27e9a8b8dd86f2
3
+ size 28421201
SoccerTwos/SoccerTwos-2795762.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2f358da918edcd4a8959522a6d0f12cfc04c96db561da363f4362335824555fc
3
+ size 1764633
SoccerTwos/SoccerTwos-2795762.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fe5df99d3c0d96aaf22d00c7ce62fb65e87dd9b7ff8ef6a266e3fb123f80ef8f
3
+ size 28421201
SoccerTwos/SoccerTwos-2999994.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f7faf31661f71902e04771cec3f02c3fa5a720dc80c3668c7830f4a53d7e240
3
+ size 1764633
SoccerTwos/SoccerTwos-2999994.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:34569aa75066a9bbc6812855cdf434a66812101d8654f402027c646732c83e87
3
+ size 28421201
SoccerTwos/SoccerTwos-3010534.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e014b843f7fda294ac9502ea8779a02d712e87b1ba3807bedcd07129c2c93a45
3
+ size 1764633
SoccerTwos/SoccerTwos-3010534.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5d2a1677003d4cefff2179c679ab9211e309437e439ac129126aa03de795e3dd
3
+ size 28421201
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5d2a1677003d4cefff2179c679ab9211e309437e439ac129126aa03de795e3dd
3
+ size 28421201
SoccerTwos/events.out.tfevents.1675384736.Davids-MacBook-Pro.local.25482.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d9bd267c841335bd39cada1315b74ae7b305570ab36fbb47e74227c3dbfb36bd
3
+ size 1193
SoccerTwos/events.out.tfevents.1675384783.Davids-MacBook-Pro.local.25574.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e2034890f1ef3f40be2093d339b3c8ee1de569d1223962f8082aad81265c98f
3
+ size 244557
SoccerTwos/events.out.tfevents.1675452037.Davids-MacBook-Pro.local.20342.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70be28026438c8d9111cc95488d6e1a9c82cd1fdd79aa0f9213141b565222412
3
+ size 2082527
SoccerTwos/events.out.tfevents.1675468325.Davids-MacBook-Pro.local.22275.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5d6048e4522da8826a2f19cc19a557a260ae4fc1c26fb29523bbcd64d2f62131
3
+ size 227073
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/SoccerTwos", "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/SoccerTwos
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,288 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/Users/davidhajdu/Desktop/projects/RL/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos.app/Contents/Resources/Data/Managed'
2
+ Mono config path = '/Users/davidhajdu/Desktop/projects/RL/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos.app/Contents/MonoBleedingEdge/etc'
3
+ New input system (experimental) initialized
4
+ Initialize engine version: 2021.3.17f1 (3e8111cac19d)
5
+ [Subsystems] Discovering subsystems at path /Users/davidhajdu/Desktop/projects/RL/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos.app/Contents/Resources/Data/UnitySubsystems
6
+ Forcing GfxDevice: Null
7
+ GfxDevice: creating device client; threaded=0; jobified=0
8
+ NullGfxDevice:
9
+ Version: NULL 1.0 [1.0]
10
+ Renderer: Null Device
11
+ Vendor: Unity Technologies
12
+ Begin MonoManager ReloadAssembly
13
+ - Completed reload, in 0.096 seconds
14
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
15
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
16
+ ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
17
+ WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
18
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
19
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
20
+ ERROR: Shader Standard (Specular setup) shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
21
+ WARNING: Shader Unsupported: 'Standard (Specular setup)' - All subshaders removed
22
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
23
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
24
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
25
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
26
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
27
+ ERROR: Shader Autodesk Interactive shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
28
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
29
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
30
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
31
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
32
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
33
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
34
+ ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
35
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
36
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
37
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
38
+ UnloadTime: 0.465583 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
+ Thread 0x16e7d3000 may have been prematurely finalized
42
+ Setting up 4 worker threads for Enlighten.
43
+ Memory Statistics:
44
+ [ALLOC_TEMP_TLS] TLS Allocator
45
+ StackAllocators :
46
+ [ALLOC_TEMP_MAIN]
47
+ Peak usage frame count: [8.0 KB-16.0 KB]: 4056 frames, [2.0 MB-4.0 MB]: 1 frames
48
+ Initial Block Size 4.0 MB
49
+ Current Block Size 4.0 MB
50
+ Peak Allocated Bytes 2.1 MB
51
+ Overflow Count 0
52
+ [ALLOC_TEMP_Loading.AsyncRead]
53
+ Initial Block Size 64.0 KB
54
+ Current Block Size 64.0 KB
55
+ Peak Allocated Bytes 150 B
56
+ Overflow Count 0
57
+ [ALLOC_TEMP_Loading.PreloadManager]
58
+ Initial Block Size 256.0 KB
59
+ Current Block Size 256.0 KB
60
+ Peak Allocated Bytes 78.8 KB
61
+ Overflow Count 4
62
+ [ALLOC_TEMP_Background Job.Worker 8]
63
+ Initial Block Size 32.0 KB
64
+ Current Block Size 32.0 KB
65
+ Peak Allocated Bytes 0 B
66
+ Overflow Count 0
67
+ [ALLOC_TEMP_Job.Worker 6]
68
+ Initial Block Size 256.0 KB
69
+ Current Block Size 256.0 KB
70
+ Peak Allocated Bytes 0 B
71
+ Overflow Count 0
72
+ [ALLOC_TEMP_Job.Worker 0]
73
+ Initial Block Size 256.0 KB
74
+ Current Block Size 256.0 KB
75
+ Peak Allocated Bytes 0 B
76
+ Overflow Count 0
77
+ [ALLOC_TEMP_Background Job.Worker 10]
78
+ Initial Block Size 32.0 KB
79
+ Current Block Size 32.0 KB
80
+ Peak Allocated Bytes 0 B
81
+ Overflow Count 0
82
+ [ALLOC_TEMP_Background Job.Worker 9]
83
+ Initial Block Size 32.0 KB
84
+ Current Block Size 32.0 KB
85
+ Peak Allocated Bytes 0 B
86
+ Overflow Count 0
87
+ [ALLOC_TEMP_Job.Worker 5]
88
+ Initial Block Size 256.0 KB
89
+ Current Block Size 256.0 KB
90
+ Peak Allocated Bytes 0 B
91
+ Overflow Count 0
92
+ [ALLOC_TEMP_Background Job.Worker 14]
93
+ Initial Block Size 32.0 KB
94
+ Current Block Size 32.0 KB
95
+ Peak Allocated Bytes 0 B
96
+ Overflow Count 0
97
+ [ALLOC_TEMP_Background Job.Worker 6]
98
+ Initial Block Size 32.0 KB
99
+ Current Block Size 32.0 KB
100
+ Peak Allocated Bytes 0 B
101
+ Overflow Count 0
102
+ [ALLOC_TEMP_Job.Worker 4]
103
+ Initial Block Size 256.0 KB
104
+ Current Block Size 256.0 KB
105
+ Peak Allocated Bytes 0 B
106
+ Overflow Count 0
107
+ [ALLOC_TEMP_Job.Worker 3]
108
+ Initial Block Size 256.0 KB
109
+ Current Block Size 256.0 KB
110
+ Peak Allocated Bytes 0 B
111
+ Overflow Count 0
112
+ [ALLOC_TEMP_Background Job.Worker 12]
113
+ Initial Block Size 32.0 KB
114
+ Current Block Size 32.0 KB
115
+ Peak Allocated Bytes 0 B
116
+ Overflow Count 0
117
+ [ALLOC_TEMP_EnlightenWorker] x 4
118
+ Initial Block Size 64.0 KB
119
+ Current Block Size 64.0 KB
120
+ Peak Allocated Bytes 0 B
121
+ Overflow Count 0
122
+ [ALLOC_TEMP_Background Job.Worker 15]
123
+ Initial Block Size 32.0 KB
124
+ Current Block Size 32.0 KB
125
+ Peak Allocated Bytes 0 B
126
+ Overflow Count 0
127
+ [ALLOC_TEMP_Background Job.Worker 1]
128
+ Initial Block Size 32.0 KB
129
+ Current Block Size 32.0 KB
130
+ Peak Allocated Bytes 0 B
131
+ Overflow Count 0
132
+ [ALLOC_TEMP_Background Job.Worker 2]
133
+ Initial Block Size 32.0 KB
134
+ Current Block Size 32.0 KB
135
+ Peak Allocated Bytes 0 B
136
+ Overflow Count 0
137
+ [ALLOC_TEMP_Background Job.Worker 7]
138
+ Initial Block Size 32.0 KB
139
+ Current Block Size 32.0 KB
140
+ Peak Allocated Bytes 0 B
141
+ Overflow Count 0
142
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 7
143
+ Initial Block Size 64.0 KB
144
+ Current Block Size 64.0 KB
145
+ Peak Allocated Bytes 0 B
146
+ Overflow Count 0
147
+ [ALLOC_TEMP_Background Job.Worker 5]
148
+ Initial Block Size 32.0 KB
149
+ Current Block Size 32.0 KB
150
+ Peak Allocated Bytes 0 B
151
+ Overflow Count 0
152
+ [ALLOC_TEMP_Background Job.Worker 13]
153
+ Initial Block Size 32.0 KB
154
+ Current Block Size 32.0 KB
155
+ Peak Allocated Bytes 0 B
156
+ Overflow Count 0
157
+ [ALLOC_TEMP_OSX HID Input]
158
+ Initial Block Size 64.0 KB
159
+ Current Block Size 64.0 KB
160
+ Peak Allocated Bytes 0 B
161
+ Overflow Count 0
162
+ [ALLOC_TEMP_Job.Worker 1]
163
+ Initial Block Size 256.0 KB
164
+ Current Block Size 256.0 KB
165
+ Peak Allocated Bytes 0 B
166
+ Overflow Count 0
167
+ [ALLOC_TEMP_Job.Worker 2]
168
+ Initial Block Size 256.0 KB
169
+ Current Block Size 256.0 KB
170
+ Peak Allocated Bytes 0.7 KB
171
+ Overflow Count 0
172
+ [ALLOC_TEMP_Background Job.Worker 3]
173
+ Initial Block Size 32.0 KB
174
+ Current Block Size 32.0 KB
175
+ Peak Allocated Bytes 0 B
176
+ Overflow Count 0
177
+ [ALLOC_TEMP_Background Job.Worker 11]
178
+ Initial Block Size 32.0 KB
179
+ Current Block Size 32.0 KB
180
+ Peak Allocated Bytes 0 B
181
+ Overflow Count 0
182
+ [ALLOC_TEMP_Background Job.Worker 0]
183
+ Initial Block Size 32.0 KB
184
+ Current Block Size 32.0 KB
185
+ Peak Allocated Bytes 0 B
186
+ Overflow Count 0
187
+ [ALLOC_TEMP_Background Job.Worker 4]
188
+ Initial Block Size 32.0 KB
189
+ Current Block Size 32.0 KB
190
+ Peak Allocated Bytes 0 B
191
+ Overflow Count 0
192
+ [ALLOC_TEMP_BatchDeleteObjects]
193
+ Initial Block Size 64.0 KB
194
+ Current Block Size 64.0 KB
195
+ Peak Allocated Bytes 0 B
196
+ Overflow Count 0
197
+ [ALLOC_DEFAULT] Dual Thread Allocator
198
+ Peak main deferred allocation count 3
199
+ [ALLOC_BUCKET]
200
+ Large Block size 4.0 MB
201
+ Used Block count 1
202
+ Peak Allocated bytes 1.0 MB
203
+ [ALLOC_DEFAULT_MAIN]
204
+ Peak usage frame count: [4.0 MB-8.0 MB]: 4057 frames
205
+ Requested Block Size 16.0 MB
206
+ Peak Block count 1
207
+ Peak Allocated memory 4.9 MB
208
+ Peak Large allocation bytes 0 B
209
+ [ALLOC_DEFAULT_THREAD]
210
+ Peak usage frame count: [16.0 MB-32.0 MB]: 4057 frames
211
+ Requested Block Size 16.0 MB
212
+ Peak Block count 1
213
+ Peak Allocated memory 17.5 MB
214
+ Peak Large allocation bytes 16.0 MB
215
+ [ALLOC_TEMP_JOB_1_FRAME]
216
+ Initial Block Size 2.0 MB
217
+ Used Block Count 1
218
+ Overflow Count (too large) 0
219
+ Overflow Count (full) 0
220
+ [ALLOC_TEMP_JOB_2_FRAMES]
221
+ Initial Block Size 2.0 MB
222
+ Used Block Count 1
223
+ Overflow Count (too large) 0
224
+ Overflow Count (full) 0
225
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
226
+ Initial Block Size 2.0 MB
227
+ Used Block Count 2
228
+ Overflow Count (too large) 0
229
+ Overflow Count (full) 0
230
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
231
+ Initial Block Size 1.0 MB
232
+ Used Block Count 3
233
+ Overflow Count (too large) 0
234
+ Overflow Count (full) 0
235
+ [ALLOC_GFX] Dual Thread Allocator
236
+ Peak main deferred allocation count 0
237
+ [ALLOC_BUCKET]
238
+ Large Block size 4.0 MB
239
+ Used Block count 1
240
+ Peak Allocated bytes 1.0 MB
241
+ [ALLOC_GFX_MAIN]
242
+ Peak usage frame count: [32.0 KB-64.0 KB]: 4056 frames, [64.0 KB-128.0 KB]: 1 frames
243
+ Requested Block Size 16.0 MB
244
+ Peak Block count 1
245
+ Peak Allocated memory 65.6 KB
246
+ Peak Large allocation bytes 0 B
247
+ [ALLOC_GFX_THREAD]
248
+ Peak usage frame count: [128.0 KB-256.0 KB]: 4057 frames
249
+ Requested Block Size 16.0 MB
250
+ Peak Block count 1
251
+ Peak Allocated memory 173.5 KB
252
+ Peak Large allocation bytes 0 B
253
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
254
+ Peak main deferred allocation count 0
255
+ [ALLOC_BUCKET]
256
+ Large Block size 4.0 MB
257
+ Used Block count 1
258
+ Peak Allocated bytes 1.0 MB
259
+ [ALLOC_CACHEOBJECTS_MAIN]
260
+ Peak usage frame count: [0.5 MB-1.0 MB]: 4057 frames
261
+ Requested Block Size 4.0 MB
262
+ Peak Block count 1
263
+ Peak Allocated memory 0.6 MB
264
+ Peak Large allocation bytes 0 B
265
+ [ALLOC_CACHEOBJECTS_THREAD]
266
+ Peak usage frame count: [0.5 MB-1.0 MB]: 4056 frames, [2.0 MB-4.0 MB]: 1 frames
267
+ Requested Block Size 4.0 MB
268
+ Peak Block count 1
269
+ Peak Allocated memory 3.4 MB
270
+ Peak Large allocation bytes 0 B
271
+ [ALLOC_TYPETREE] Dual Thread Allocator
272
+ Peak main deferred allocation count 0
273
+ [ALLOC_BUCKET]
274
+ Large Block size 4.0 MB
275
+ Used Block count 1
276
+ Peak Allocated bytes 1.0 MB
277
+ [ALLOC_TYPETREE_MAIN]
278
+ Peak usage frame count: [0-1.0 KB]: 4057 frames
279
+ Requested Block Size 2.0 MB
280
+ Peak Block count 1
281
+ Peak Allocated memory 1.0 KB
282
+ Peak Large allocation bytes 0 B
283
+ [ALLOC_TYPETREE_THREAD]
284
+ Peak usage frame count: [1.0 KB-2.0 KB]: 4056 frames, [2.0 KB-4.0 KB]: 1 frames
285
+ Requested Block Size 2.0 MB
286
+ Peak Block count 1
287
+ Peak Allocated memory 2.2 KB
288
+ 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": 2.25303316116333,
6
+ "min": 2.2181384563446045,
7
+ "max": 2.333526849746704,
8
+ "count": 22
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 47223.57421875,
12
+ "min": 21176.81640625,
13
+ "max": 49540.0234375,
14
+ "count": 22
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 58.588235294117645,
18
+ "min": 42.55102040816327,
19
+ "max": 75.10606060606061,
20
+ "count": 22
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 19920.0,
24
+ "min": 8340.0,
25
+ "max": 20180.0,
26
+ "count": 22
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1436.6850885574333,
30
+ "min": 1420.957679346875,
31
+ "max": 1445.1289760810987,
32
+ "count": 22
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 244236.46505476366,
36
+ "min": 139478.1277144495,
37
+ "max": 283061.4419381178,
38
+ "count": 22
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 3009978.0,
42
+ "min": 2799997.0,
43
+ "max": 3009978.0,
44
+ "count": 22
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 3009978.0,
48
+ "min": 2799997.0,
49
+ "max": 3009978.0,
50
+ "count": 22
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": -0.04858648031949997,
54
+ "min": -0.06071087345480919,
55
+ "max": 0.057406455278396606,
56
+ "count": 22
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": -8.211114883422852,
60
+ "min": -8.211114883422852,
61
+ "max": 9.586877822875977,
62
+ "count": 22
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": -0.051111526787281036,
66
+ "min": -0.05901632457971573,
67
+ "max": 0.05398515984416008,
68
+ "count": 22
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": -8.637847900390625,
72
+ "min": -8.637847900390625,
73
+ "max": 9.015522003173828,
74
+ "count": 22
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 22
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 22
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": -0.08056568252969776,
90
+ "min": -0.270185566440071,
91
+ "max": 0.22813404525848144,
92
+ "count": 22
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": -13.615600347518921,
96
+ "min": -26.20799994468689,
97
+ "max": 42.88920050859451,
98
+ "count": 22
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": -0.08056568252969776,
102
+ "min": -0.270185566440071,
103
+ "max": 0.22813404525848144,
104
+ "count": 22
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": -13.615600347518921,
108
+ "min": -26.20799994468689,
109
+ "max": 42.88920050859451,
110
+ "count": 22
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 22
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 22
123
+ },
124
+ "SoccerTwos.Losses.PolicyLoss.mean": {
125
+ "value": 0.01866164224144692,
126
+ "min": 0.013299963200309625,
127
+ "max": 0.021053528459742666,
128
+ "count": 10
129
+ },
130
+ "SoccerTwos.Losses.PolicyLoss.sum": {
131
+ "value": 0.01866164224144692,
132
+ "min": 0.013299963200309625,
133
+ "max": 0.021053528459742666,
134
+ "count": 10
135
+ },
136
+ "SoccerTwos.Losses.ValueLoss.mean": {
137
+ "value": 0.1034640853603681,
138
+ "min": 0.08911226640144984,
139
+ "max": 0.10452298521995544,
140
+ "count": 10
141
+ },
142
+ "SoccerTwos.Losses.ValueLoss.sum": {
143
+ "value": 0.1034640853603681,
144
+ "min": 0.08911226640144984,
145
+ "max": 0.10452298521995544,
146
+ "count": 10
147
+ },
148
+ "SoccerTwos.Losses.BaselineLoss.mean": {
149
+ "value": 0.10537167390187581,
150
+ "min": 0.09102364853024483,
151
+ "max": 0.10614525328079859,
152
+ "count": 10
153
+ },
154
+ "SoccerTwos.Losses.BaselineLoss.sum": {
155
+ "value": 0.10537167390187581,
156
+ "min": 0.09102364853024483,
157
+ "max": 0.10614525328079859,
158
+ "count": 10
159
+ },
160
+ "SoccerTwos.Policy.LearningRate.mean": {
161
+ "value": 0.0003,
162
+ "min": 0.0003,
163
+ "max": 0.0003,
164
+ "count": 10
165
+ },
166
+ "SoccerTwos.Policy.LearningRate.sum": {
167
+ "value": 0.0003,
168
+ "min": 0.0003,
169
+ "max": 0.0003,
170
+ "count": 10
171
+ },
172
+ "SoccerTwos.Policy.Epsilon.mean": {
173
+ "value": 0.20000000000000007,
174
+ "min": 0.20000000000000007,
175
+ "max": 0.20000000000000007,
176
+ "count": 10
177
+ },
178
+ "SoccerTwos.Policy.Epsilon.sum": {
179
+ "value": 0.20000000000000007,
180
+ "min": 0.20000000000000007,
181
+ "max": 0.20000000000000007,
182
+ "count": 10
183
+ },
184
+ "SoccerTwos.Policy.Beta.mean": {
185
+ "value": 0.005000000000000001,
186
+ "min": 0.005000000000000001,
187
+ "max": 0.005000000000000001,
188
+ "count": 10
189
+ },
190
+ "SoccerTwos.Policy.Beta.sum": {
191
+ "value": 0.005000000000000001,
192
+ "min": 0.005000000000000001,
193
+ "max": 0.005000000000000001,
194
+ "count": 10
195
+ }
196
+ },
197
+ "metadata": {
198
+ "timer_format_version": "0.1.0",
199
+ "start_time_seconds": "1675468324",
200
+ "python_version": "3.10.4 (main, Jan 23 2023, 21:59:58) [Clang 14.0.0 (clang-1400.0.29.202)]",
201
+ "command_line_arguments": "/Users/davidhajdu/.pyenv/versions/RL/bin/mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos/SoccerTwos --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",
206
+ "numpy_version": "1.21.2",
207
+ "end_time_seconds": "1675469777"
208
+ },
209
+ "total": 1452.8753001250006,
210
+ "count": 1,
211
+ "self": 0.15392699999938486,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.01425879199814517,
215
+ "count": 1,
216
+ "self": 0.01425879199814517
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 1452.7071143330031,
220
+ "count": 1,
221
+ "self": 0.1983301609288901,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 1.8846464169982937,
225
+ "count": 3,
226
+ "self": 1.8846464169982937
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 1450.4863115880798,
230
+ "count": 14970,
231
+ "self": 0.19549912325965124,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 1227.144114718143,
235
+ "count": 14970,
236
+ "self": 1196.0092934863278,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 31.00468764469042,
240
+ "count": 14970,
241
+ "self": 0.9640196857399133,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 30.040667958950507,
245
+ "count": 27044,
246
+ "self": 30.040667958950507
247
+ }
248
+ }
249
+ },
250
+ "workers": {
251
+ "total": 0.13013358712487388,
252
+ "count": 14969,
253
+ "self": 0.0,
254
+ "children": {
255
+ "worker_root": {
256
+ "total": 1450.3859152803452,
257
+ "count": 14969,
258
+ "is_parallel": true,
259
+ "self": 283.8744217774729,
260
+ "children": {
261
+ "steps_from_proto": {
262
+ "total": 0.007310874996619532,
263
+ "count": 6,
264
+ "is_parallel": true,
265
+ "self": 0.0009484170041105244,
266
+ "children": {
267
+ "_process_rank_one_or_two_observation": {
268
+ "total": 0.0063624579925090075,
269
+ "count": 24,
270
+ "is_parallel": true,
271
+ "self": 0.0063624579925090075
272
+ }
273
+ }
274
+ },
275
+ "UnityEnvironment.step": {
276
+ "total": 1166.5041826278757,
277
+ "count": 14969,
278
+ "is_parallel": true,
279
+ "self": 2.887594155909028,
280
+ "children": {
281
+ "UnityEnvironment._generate_step_input": {
282
+ "total": 20.931710134133027,
283
+ "count": 14969,
284
+ "is_parallel": true,
285
+ "self": 20.931710134133027
286
+ },
287
+ "communicator.exchange": {
288
+ "total": 1102.4025346820818,
289
+ "count": 14969,
290
+ "is_parallel": true,
291
+ "self": 1102.4025346820818
292
+ },
293
+ "steps_from_proto": {
294
+ "total": 40.2823436557519,
295
+ "count": 29938,
296
+ "is_parallel": true,
297
+ "self": 4.493868864137767,
298
+ "children": {
299
+ "_process_rank_one_or_two_observation": {
300
+ "total": 35.788474791614135,
301
+ "count": 119752,
302
+ "is_parallel": true,
303
+ "self": 35.788474791614135
304
+ }
305
+ }
306
+ }
307
+ }
308
+ }
309
+ }
310
+ }
311
+ }
312
+ }
313
+ }
314
+ },
315
+ "trainer_advance": {
316
+ "total": 223.1466977466771,
317
+ "count": 14969,
318
+ "self": 1.5573225504122092,
319
+ "children": {
320
+ "process_trajectory": {
321
+ "total": 55.09537353026826,
322
+ "count": 14969,
323
+ "self": 54.94132548926791,
324
+ "children": {
325
+ "RLTrainer._checkpoint": {
326
+ "total": 0.15404804100035108,
327
+ "count": 1,
328
+ "self": 0.15404804100035108
329
+ }
330
+ }
331
+ },
332
+ "_update_policy": {
333
+ "total": 166.49400166599662,
334
+ "count": 10,
335
+ "self": 27.522364000957168,
336
+ "children": {
337
+ "TorchPOCAOptimizer.update": {
338
+ "total": 138.97163766503945,
339
+ "count": 300,
340
+ "self": 138.97163766503945
341
+ }
342
+ }
343
+ }
344
+ }
345
+ }
346
+ }
347
+ },
348
+ "trainer_threads": {
349
+ "total": 7.089984137564898e-07,
350
+ "count": 1,
351
+ "self": 7.089984137564898e-07
352
+ },
353
+ "TrainerController._save_models": {
354
+ "total": 0.1378254579976783,
355
+ "count": 1,
356
+ "self": 0.0016826239952933975,
357
+ "children": {
358
+ "RLTrainer._checkpoint": {
359
+ "total": 0.13614283400238492,
360
+ "count": 1,
361
+ "self": 0.13614283400238492
362
+ }
363
+ }
364
+ }
365
+ }
366
+ }
367
+ }
368
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "stats_format_version": "0.3.0",
4
+ "mlagents_version": "0.31.0.dev0",
5
+ "torch_version": "1.11.0"
6
+ },
7
+ "SoccerTwos": {
8
+ "elo": 1436.6847581340735,
9
+ "checkpoints": [
10
+ {
11
+ "steps": 1999908,
12
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-1999908.onnx",
13
+ "reward": 0.0,
14
+ "creation_time": 1675462936.519731,
15
+ "auxillary_file_paths": [
16
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-1999908.pt"
17
+ ]
18
+ },
19
+ {
20
+ "steps": 2499998,
21
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-2499998.onnx",
22
+ "reward": 0.0,
23
+ "creation_time": 1675466274.472631,
24
+ "auxillary_file_paths": [
25
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-2499998.pt"
26
+ ]
27
+ },
28
+ {
29
+ "steps": 2795762,
30
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-2795762.onnx",
31
+ "reward": 0.0,
32
+ "creation_time": 1675468268.3589702,
33
+ "auxillary_file_paths": [
34
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-2795762.pt"
35
+ ]
36
+ },
37
+ {
38
+ "steps": 2999994,
39
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-2999994.onnx",
40
+ "reward": 0.0,
41
+ "creation_time": 1675469694.2305589,
42
+ "auxillary_file_paths": [
43
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-2999994.pt"
44
+ ]
45
+ },
46
+ {
47
+ "steps": 3010534,
48
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-3010534.onnx",
49
+ "reward": 0.0,
50
+ "creation_time": 1675469776.965055,
51
+ "auxillary_file_paths": [
52
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-3010534.pt"
53
+ ]
54
+ }
55
+ ],
56
+ "final_checkpoint": {
57
+ "steps": 3010534,
58
+ "file_path": "results/SoccerTwos/SoccerTwos.onnx",
59
+ "reward": 0.0,
60
+ "creation_time": 1675469776.965055,
61
+ "auxillary_file_paths": [
62
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-3010534.pt"
63
+ ]
64
+ }
65
+ }
66
+ }