odeshays commited on
Commit
a08c039
1 Parent(s): 10df6ed

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: odeshays/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:7388cded2433d44b0907bc12f793cbf21cd48ef6ee5be48d9bbbfa7feb7c2df8
3
+ size 1764633
SoccerTwos/SoccerTwos-101198.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7388cded2433d44b0907bc12f793cbf21cd48ef6ee5be48d9bbbfa7feb7c2df8
3
+ size 1764633
SoccerTwos/SoccerTwos-101198.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae4c7f6299f578ad19c998c9534d90339fe268dcef9a9d7944c59b06b289b523
3
+ size 28421137
SoccerTwos/SoccerTwos-1499328.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:56ca8cc5a0b83295351cbc298c5efa750ccce0f41369d5e9f4ccf43e9f4bb4eb
3
+ size 1764633
SoccerTwos/SoccerTwos-1499328.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f440f7f9d5f7f10f7354569e2058176a5181041fa5d4d1c72e82f61bbde28c23
3
+ size 28421201
SoccerTwos/SoccerTwos-1525328.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:924265f1f1a955d8246a23930a4db035f22ff5ec444af20a2004767316f4787a
3
+ size 1764633
SoccerTwos/SoccerTwos-1525328.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aa22bf8ad80c7679584819a0b92388bb22e016252ccef79dd8437fe9da2839fc
3
+ size 28421201
SoccerTwos/SoccerTwos-499162.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9f20a987371d6072c2eac8108c7f0c2de09c8e73c8b8584897359b02173f0520
3
+ size 1764633
SoccerTwos/SoccerTwos-499162.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e37d72f317529b3476dc3320f9499262e4facb4149346448b0b2d2ff7b55138
3
+ size 28421201
SoccerTwos/SoccerTwos-999956.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:15edfbce356ef9d604e16df7e983ef25355c76b66808c3d665f59d3868239348
3
+ size 1764633
SoccerTwos/SoccerTwos-999956.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8913ec5e93eda08c6d8e56bf7d6859e6333d0aaf484878b909ebb92644bebc36
3
+ size 28421201
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae4c7f6299f578ad19c998c9534d90339fe268dcef9a9d7944c59b06b289b523
3
+ size 28421137
SoccerTwos/events.out.tfevents.1688421052.octadesh.6657.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6020c22dcc503d403b7756b0eff0d751458ecae3c73d88fae496a7a658d4614e
3
+ size 93539
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": 100000, "time_horizon": 1000, "summary_freq": 10000, "threaded": false, "self_play": {"save_steps": 25000, "team_change": 100000, "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.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": false, "force": true, "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: 100000
41
+ time_horizon: 1000
42
+ summary_freq: 10000
43
+ threaded: false
44
+ self_play:
45
+ save_steps: 25000
46
+ team_change: 100000
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.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: false
76
+ force: true
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,341 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/home/octadesh/octavio/rl_course/ml-agents/mlagents/training-envs-executables/SoccerTwos/SoccerTwos_Data/Managed'
2
+ Mono config path = '/home/octadesh/octavio/rl_course/ml-agents/mlagents/training-envs-executables/SoccerTwos/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/octadesh/octavio/rl_course/ml-agents/mlagents/training-envs-executables/SoccerTwos/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.092 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.787879 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
+ TOO LONG
44
+ TOO LONG
45
+ TOO LONG
46
+ TOO LONG
47
+ TOO LONG
48
+ TOO LONG
49
+ TOO LONG
50
+ TOO LONG
51
+ TOO LONG
52
+ TOO LONG
53
+ TOO LONG
54
+ TOO LONG
55
+ TOO LONG
56
+ TOO LONG
57
+ TOO LONG
58
+ TOO LONG
59
+ TOO LONG
60
+ TOO LONG
61
+ TOO LONG
62
+ TOO LONG
63
+ TOO LONG
64
+ TOO LONG
65
+ TOO LONG
66
+ TOO LONG
67
+ TOO LONG
68
+ TOO LONG
69
+ TOO LONG
70
+ TOO LONG
71
+ TOO LONG
72
+ TOO LONG
73
+ TOO LONG
74
+ TOO LONG
75
+ TOO LONG
76
+ TOO LONG
77
+ TOO LONG
78
+ TOO LONG
79
+ TOO LONG
80
+ Setting up 6 worker threads for Enlighten.
81
+ Memory Statistics:
82
+ [ALLOC_TEMP_TLS] TLS Allocator
83
+ StackAllocators :
84
+ [ALLOC_TEMP_MAIN]
85
+ Peak usage frame count: [8.0 KB-16.0 KB]: 2014 frames, [2.0 MB-4.0 MB]: 1 frames
86
+ Initial Block Size 4.0 MB
87
+ Current Block Size 4.0 MB
88
+ Peak Allocated Bytes 2.1 MB
89
+ Overflow Count 0
90
+ [ALLOC_TEMP_Loading.AsyncRead]
91
+ Initial Block Size 64.0 KB
92
+ Current Block Size 64.0 KB
93
+ Peak Allocated Bytes 131 B
94
+ Overflow Count 0
95
+ [ALLOC_TEMP_Loading.PreloadManager]
96
+ Initial Block Size 256.0 KB
97
+ Current Block Size 300.0 KB
98
+ Peak Allocated Bytes 249.6 KB
99
+ Overflow Count 4
100
+ [ALLOC_TEMP_Background Job.Worker 8]
101
+ Initial Block Size 32.0 KB
102
+ Current Block Size 32.0 KB
103
+ Peak Allocated Bytes 0 B
104
+ Overflow Count 0
105
+ [ALLOC_TEMP_Job.Worker 6]
106
+ Initial Block Size 256.0 KB
107
+ Current Block Size 256.0 KB
108
+ Peak Allocated Bytes 0 B
109
+ Overflow Count 0
110
+ [ALLOC_TEMP_Job.Worker 0]
111
+ Initial Block Size 256.0 KB
112
+ Current Block Size 256.0 KB
113
+ Peak Allocated Bytes 0 B
114
+ Overflow Count 0
115
+ [ALLOC_TEMP_Background Job.Worker 10]
116
+ Initial Block Size 32.0 KB
117
+ Current Block Size 32.0 KB
118
+ Peak Allocated Bytes 0 B
119
+ Overflow Count 0
120
+ [ALLOC_TEMP_Background Job.Worker 9]
121
+ Initial Block Size 32.0 KB
122
+ Current Block Size 32.0 KB
123
+ Peak Allocated Bytes 0 B
124
+ Overflow Count 0
125
+ [ALLOC_TEMP_Job.Worker 5]
126
+ Initial Block Size 256.0 KB
127
+ Current Block Size 256.0 KB
128
+ Peak Allocated Bytes 0 B
129
+ Overflow Count 0
130
+ [ALLOC_TEMP_Background Job.Worker 14]
131
+ Initial Block Size 32.0 KB
132
+ Current Block Size 32.0 KB
133
+ Peak Allocated Bytes 0 B
134
+ Overflow Count 0
135
+ [ALLOC_TEMP_Background Job.Worker 6]
136
+ Initial Block Size 32.0 KB
137
+ Current Block Size 32.0 KB
138
+ Peak Allocated Bytes 0 B
139
+ Overflow Count 0
140
+ [ALLOC_TEMP_Job.Worker 4]
141
+ Initial Block Size 256.0 KB
142
+ Current Block Size 256.0 KB
143
+ Peak Allocated Bytes 0 B
144
+ Overflow Count 0
145
+ [ALLOC_TEMP_Job.Worker 3]
146
+ Initial Block Size 256.0 KB
147
+ Current Block Size 256.0 KB
148
+ Peak Allocated Bytes 0 B
149
+ Overflow Count 0
150
+ [ALLOC_TEMP_Background Job.Worker 12]
151
+ Initial Block Size 32.0 KB
152
+ Current Block Size 32.0 KB
153
+ Peak Allocated Bytes 0 B
154
+ Overflow Count 0
155
+ [ALLOC_TEMP_EnlightenWorker] x 6
156
+ Initial Block Size 64.0 KB
157
+ Current Block Size 64.0 KB
158
+ Peak Allocated Bytes 0 B
159
+ Overflow Count 0
160
+ [ALLOC_TEMP_Background Job.Worker 15]
161
+ Initial Block Size 32.0 KB
162
+ Current Block Size 32.0 KB
163
+ Peak Allocated Bytes 0 B
164
+ Overflow Count 0
165
+ [ALLOC_TEMP_Background Job.Worker 1]
166
+ Initial Block Size 32.0 KB
167
+ Current Block Size 32.0 KB
168
+ Peak Allocated Bytes 0 B
169
+ Overflow Count 0
170
+ [ALLOC_TEMP_Background Job.Worker 2]
171
+ Initial Block Size 32.0 KB
172
+ Current Block Size 32.0 KB
173
+ Peak Allocated Bytes 0 B
174
+ Overflow Count 0
175
+ [ALLOC_TEMP_Background Job.Worker 7]
176
+ Initial Block Size 32.0 KB
177
+ Current Block Size 32.0 KB
178
+ Peak Allocated Bytes 0 B
179
+ Overflow Count 0
180
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 11
181
+ Initial Block Size 64.0 KB
182
+ Current Block Size 64.0 KB
183
+ Peak Allocated Bytes 0 B
184
+ Overflow Count 0
185
+ [ALLOC_TEMP_Background Job.Worker 5]
186
+ Initial Block Size 32.0 KB
187
+ Current Block Size 32.0 KB
188
+ Peak Allocated Bytes 0 B
189
+ Overflow Count 0
190
+ [ALLOC_TEMP_Job.Worker 9]
191
+ Initial Block Size 256.0 KB
192
+ Current Block Size 256.0 KB
193
+ Peak Allocated Bytes 0 B
194
+ Overflow Count 0
195
+ [ALLOC_TEMP_Background Job.Worker 13]
196
+ Initial Block Size 32.0 KB
197
+ Current Block Size 32.0 KB
198
+ Peak Allocated Bytes 0 B
199
+ Overflow Count 0
200
+ [ALLOC_TEMP_Job.Worker 8]
201
+ Initial Block Size 256.0 KB
202
+ Current Block Size 256.0 KB
203
+ Peak Allocated Bytes 0 B
204
+ Overflow Count 0
205
+ [ALLOC_TEMP_Job.Worker 7]
206
+ Initial Block Size 256.0 KB
207
+ Current Block Size 256.0 KB
208
+ Peak Allocated Bytes 0.7 KB
209
+ Overflow Count 0
210
+ [ALLOC_TEMP_Job.Worker 1]
211
+ Initial Block Size 256.0 KB
212
+ Current Block Size 256.0 KB
213
+ Peak Allocated Bytes 0 B
214
+ Overflow Count 0
215
+ [ALLOC_TEMP_Job.Worker 2]
216
+ Initial Block Size 256.0 KB
217
+ Current Block Size 256.0 KB
218
+ Peak Allocated Bytes 0 B
219
+ Overflow Count 0
220
+ [ALLOC_TEMP_Background Job.Worker 3]
221
+ Initial Block Size 32.0 KB
222
+ Current Block Size 32.0 KB
223
+ Peak Allocated Bytes 0 B
224
+ Overflow Count 0
225
+ [ALLOC_TEMP_Background Job.Worker 11]
226
+ Initial Block Size 32.0 KB
227
+ Current Block Size 32.0 KB
228
+ Peak Allocated Bytes 0 B
229
+ Overflow Count 0
230
+ [ALLOC_TEMP_Job.Worker 10]
231
+ Initial Block Size 256.0 KB
232
+ Current Block Size 256.0 KB
233
+ Peak Allocated Bytes 0 B
234
+ Overflow Count 0
235
+ [ALLOC_TEMP_Background Job.Worker 0]
236
+ Initial Block Size 32.0 KB
237
+ Current Block Size 32.0 KB
238
+ Peak Allocated Bytes 0 B
239
+ Overflow Count 0
240
+ [ALLOC_TEMP_Background Job.Worker 4]
241
+ Initial Block Size 32.0 KB
242
+ Current Block Size 32.0 KB
243
+ Peak Allocated Bytes 0 B
244
+ Overflow Count 0
245
+ [ALLOC_TEMP_BatchDeleteObjects]
246
+ Initial Block Size 64.0 KB
247
+ Current Block Size 64.0 KB
248
+ Peak Allocated Bytes 0 B
249
+ Overflow Count 0
250
+ [ALLOC_DEFAULT] Dual Thread Allocator
251
+ Peak main deferred allocation count 2
252
+ [ALLOC_BUCKET]
253
+ Large Block size 4.0 MB
254
+ Used Block count 1
255
+ Peak Allocated bytes 1.0 MB
256
+ [ALLOC_DEFAULT_MAIN]
257
+ Peak usage frame count: [4.0 MB-8.0 MB]: 2015 frames
258
+ Requested Block Size 16.0 MB
259
+ Peak Block count 1
260
+ Peak Allocated memory 4.9 MB
261
+ Peak Large allocation bytes 0 B
262
+ [ALLOC_DEFAULT_THREAD]
263
+ Peak usage frame count: [16.0 MB-32.0 MB]: 2015 frames
264
+ Requested Block Size 16.0 MB
265
+ Peak Block count 1
266
+ Peak Allocated memory 17.4 MB
267
+ Peak Large allocation bytes 16.0 MB
268
+ [ALLOC_TEMP_JOB_1_FRAME]
269
+ Initial Block Size 2.0 MB
270
+ Used Block Count 1
271
+ Overflow Count (too large) 0
272
+ Overflow Count (full) 0
273
+ [ALLOC_TEMP_JOB_2_FRAMES]
274
+ Initial Block Size 2.0 MB
275
+ Used Block Count 1
276
+ Overflow Count (too large) 0
277
+ Overflow Count (full) 0
278
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
279
+ Initial Block Size 2.0 MB
280
+ Used Block Count 2
281
+ Overflow Count (too large) 0
282
+ Overflow Count (full) 0
283
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
284
+ Initial Block Size 1.0 MB
285
+ Used Block Count 3
286
+ Overflow Count (too large) 0
287
+ Overflow Count (full) 0
288
+ [ALLOC_GFX] Dual Thread Allocator
289
+ Peak main deferred allocation count 0
290
+ [ALLOC_BUCKET]
291
+ Large Block size 4.0 MB
292
+ Used Block count 1
293
+ Peak Allocated bytes 1.0 MB
294
+ [ALLOC_GFX_MAIN]
295
+ Peak usage frame count: [32.0 KB-64.0 KB]: 2014 frames, [64.0 KB-128.0 KB]: 1 frames
296
+ Requested Block Size 16.0 MB
297
+ Peak Block count 1
298
+ Peak Allocated memory 65.6 KB
299
+ Peak Large allocation bytes 0 B
300
+ [ALLOC_GFX_THREAD]
301
+ Peak usage frame count: [128.0 KB-256.0 KB]: 2015 frames
302
+ Requested Block Size 16.0 MB
303
+ Peak Block count 1
304
+ Peak Allocated memory 173.5 KB
305
+ Peak Large allocation bytes 0 B
306
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
307
+ Peak main deferred allocation count 0
308
+ [ALLOC_BUCKET]
309
+ Large Block size 4.0 MB
310
+ Used Block count 1
311
+ Peak Allocated bytes 1.0 MB
312
+ [ALLOC_CACHEOBJECTS_MAIN]
313
+ Peak usage frame count: [0.5 MB-1.0 MB]: 2015 frames
314
+ Requested Block Size 4.0 MB
315
+ Peak Block count 1
316
+ Peak Allocated memory 0.6 MB
317
+ Peak Large allocation bytes 0 B
318
+ [ALLOC_CACHEOBJECTS_THREAD]
319
+ Peak usage frame count: [0.5 MB-1.0 MB]: 2014 frames, [4.0 MB-8.0 MB]: 1 frames
320
+ Requested Block Size 4.0 MB
321
+ Peak Block count 2
322
+ Peak Allocated memory 4.5 MB
323
+ Peak Large allocation bytes 0 B
324
+ [ALLOC_TYPETREE] Dual Thread Allocator
325
+ Peak main deferred allocation count 0
326
+ [ALLOC_BUCKET]
327
+ Large Block size 4.0 MB
328
+ Used Block count 1
329
+ Peak Allocated bytes 1.0 MB
330
+ [ALLOC_TYPETREE_MAIN]
331
+ Peak usage frame count: [0-1.0 KB]: 2015 frames
332
+ Requested Block Size 2.0 MB
333
+ Peak Block count 1
334
+ Peak Allocated memory 1.0 KB
335
+ Peak Large allocation bytes 0 B
336
+ [ALLOC_TYPETREE_THREAD]
337
+ Peak usage frame count: [1.0 KB-2.0 KB]: 2014 frames, [2.0 KB-4.0 KB]: 1 frames
338
+ Requested Block Size 2.0 MB
339
+ Peak Block count 1
340
+ Peak Allocated memory 2.2 KB
341
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,403 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "SoccerTwos.Policy.Entropy.mean": {
5
+ "value": 3.2715375423431396,
6
+ "min": 3.2599244117736816,
7
+ "max": 3.295760154724121,
8
+ "count": 10
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 69094.875,
12
+ "min": 41629.0546875,
13
+ "max": 105464.328125,
14
+ "count": 10
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 757.1428571428571,
18
+ "min": 581.375,
19
+ "max": 872.3333333333334,
20
+ "count": 10
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 21200.0,
24
+ "min": 15660.0,
25
+ "max": 25212.0,
26
+ "count": 10
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1204.8392342810741,
30
+ "min": 1198.270734146438,
31
+ "max": 1204.8392342810741,
32
+ "count": 10
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 4819.356937124297,
36
+ "min": 4804.197331701617,
37
+ "max": 12034.551733414275,
38
+ "count": 10
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 99198.0,
42
+ "min": 9626.0,
43
+ "max": 99198.0,
44
+ "count": 10
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 99198.0,
48
+ "min": 9626.0,
49
+ "max": 99198.0,
50
+ "count": 10
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": 0.05059700086712837,
54
+ "min": 0.05059700086712837,
55
+ "max": 0.10302615910768509,
56
+ "count": 10
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": 0.7083579897880554,
60
+ "min": 0.6413058638572693,
61
+ "max": 1.7514102458953857,
62
+ "count": 10
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": 0.04834681749343872,
66
+ "min": 0.04834681749343872,
67
+ "max": 0.10301734507083893,
68
+ "count": 10
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": 0.6768554449081421,
72
+ "min": 0.6048709154129028,
73
+ "max": 1.7512948513031006,
74
+ "count": 10
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 10
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 10
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": 0.028542854956218174,
90
+ "min": -0.6043384613899084,
91
+ "max": 0.17014117801890655,
92
+ "count": 10
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": 0.39959996938705444,
96
+ "min": -7.8563999980688095,
97
+ "max": 2.892400026321411,
98
+ "count": 10
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": 0.028542854956218174,
102
+ "min": -0.6043384613899084,
103
+ "max": 0.17014117801890655,
104
+ "count": 10
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": 0.39959996938705444,
108
+ "min": -7.8563999980688095,
109
+ "max": 2.892400026321411,
110
+ "count": 10
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 10
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 10
123
+ },
124
+ "SoccerTwos.Losses.PolicyLoss.mean": {
125
+ "value": 0.015819103210621202,
126
+ "min": 0.014563547916865597,
127
+ "max": 0.018268799929258724,
128
+ "count": 4
129
+ },
130
+ "SoccerTwos.Losses.PolicyLoss.sum": {
131
+ "value": 0.015819103210621202,
132
+ "min": 0.014563547916865597,
133
+ "max": 0.018268799929258724,
134
+ "count": 4
135
+ },
136
+ "SoccerTwos.Losses.ValueLoss.mean": {
137
+ "value": 0.003761661254490415,
138
+ "min": 0.003761661254490415,
139
+ "max": 0.006663544305289785,
140
+ "count": 4
141
+ },
142
+ "SoccerTwos.Losses.ValueLoss.sum": {
143
+ "value": 0.003761661254490415,
144
+ "min": 0.003761661254490415,
145
+ "max": 0.006663544305289785,
146
+ "count": 4
147
+ },
148
+ "SoccerTwos.Losses.BaselineLoss.mean": {
149
+ "value": 0.00379874191324537,
150
+ "min": 0.00379874191324537,
151
+ "max": 0.0061240348033607004,
152
+ "count": 4
153
+ },
154
+ "SoccerTwos.Losses.BaselineLoss.sum": {
155
+ "value": 0.00379874191324537,
156
+ "min": 0.00379874191324537,
157
+ "max": 0.0061240348033607004,
158
+ "count": 4
159
+ },
160
+ "SoccerTwos.Policy.LearningRate.mean": {
161
+ "value": 0.0003,
162
+ "min": 0.0003,
163
+ "max": 0.0003,
164
+ "count": 4
165
+ },
166
+ "SoccerTwos.Policy.LearningRate.sum": {
167
+ "value": 0.0003,
168
+ "min": 0.0003,
169
+ "max": 0.0003,
170
+ "count": 4
171
+ },
172
+ "SoccerTwos.Policy.Epsilon.mean": {
173
+ "value": 0.20000000000000007,
174
+ "min": 0.20000000000000007,
175
+ "max": 0.20000000000000007,
176
+ "count": 4
177
+ },
178
+ "SoccerTwos.Policy.Epsilon.sum": {
179
+ "value": 0.20000000000000007,
180
+ "min": 0.20000000000000007,
181
+ "max": 0.20000000000000007,
182
+ "count": 4
183
+ },
184
+ "SoccerTwos.Policy.Beta.mean": {
185
+ "value": 0.005000000000000001,
186
+ "min": 0.005000000000000001,
187
+ "max": 0.005000000000000001,
188
+ "count": 4
189
+ },
190
+ "SoccerTwos.Policy.Beta.sum": {
191
+ "value": 0.005000000000000001,
192
+ "min": 0.005000000000000001,
193
+ "max": 0.005000000000000001,
194
+ "count": 4
195
+ }
196
+ },
197
+ "metadata": {
198
+ "timer_format_version": "0.1.0",
199
+ "start_time_seconds": "1688421052",
200
+ "python_version": "3.9.16 (main, May 15 2023, 23:46:34) \n[GCC 11.2.0]",
201
+ "command_line_arguments": "/home/octadesh/anaconda3/envs/rl/bin/mlagents-learn ./training-envs-executables/SoccerTwos/config.yaml --env=./training-envs-executables/SoccerTwos/SoccerTwos.x86_64 --run-id=SoccerTwos --no-graphics --force",
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": "1688421314"
208
+ },
209
+ "total": 262.4532150719999,
210
+ "count": 1,
211
+ "self": 0.22352481099994748,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.010035459999926388,
215
+ "count": 1,
216
+ "self": 0.010035459999926388
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 262.21965480100005,
220
+ "count": 1,
221
+ "self": 0.1333598250087107,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 0.8965802019999956,
225
+ "count": 2,
226
+ "self": 0.8965802019999956
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 260.9802785329914,
230
+ "count": 6768,
231
+ "self": 0.11742586798732191,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 84.55074408300607,
235
+ "count": 6768,
236
+ "self": 67.7741551900042,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 16.696960543003115,
240
+ "count": 6768,
241
+ "self": 0.5586619820021497,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 16.138298561000965,
245
+ "count": 13432,
246
+ "self": 16.138298561000965
247
+ }
248
+ }
249
+ },
250
+ "workers": {
251
+ "total": 0.07962834999875668,
252
+ "count": 6768,
253
+ "self": 0.0,
254
+ "children": {
255
+ "worker_root": {
256
+ "total": 261.37585360900323,
257
+ "count": 6768,
258
+ "is_parallel": true,
259
+ "self": 207.63039509000726,
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.0029241700000284254,
269
+ "count": 2,
270
+ "is_parallel": true,
271
+ "self": 0.0009252909999304393,
272
+ "children": {
273
+ "_process_rank_one_or_two_observation": {
274
+ "total": 0.001998879000097986,
275
+ "count": 8,
276
+ "is_parallel": true,
277
+ "self": 0.001998879000097986
278
+ }
279
+ }
280
+ },
281
+ "UnityEnvironment.step": {
282
+ "total": 0.02075566799999251,
283
+ "count": 1,
284
+ "is_parallel": true,
285
+ "self": 0.00042800400001397065,
286
+ "children": {
287
+ "UnityEnvironment._generate_step_input": {
288
+ "total": 0.0005715810000310739,
289
+ "count": 1,
290
+ "is_parallel": true,
291
+ "self": 0.0005715810000310739
292
+ },
293
+ "communicator.exchange": {
294
+ "total": 0.018465358999947057,
295
+ "count": 1,
296
+ "is_parallel": true,
297
+ "self": 0.018465358999947057
298
+ },
299
+ "steps_from_proto": {
300
+ "total": 0.0012907240000004094,
301
+ "count": 2,
302
+ "is_parallel": true,
303
+ "self": 0.0002814209999542072,
304
+ "children": {
305
+ "_process_rank_one_or_two_observation": {
306
+ "total": 0.0010093030000462022,
307
+ "count": 8,
308
+ "is_parallel": true,
309
+ "self": 0.0010093030000462022
310
+ }
311
+ }
312
+ }
313
+ }
314
+ }
315
+ }
316
+ },
317
+ "UnityEnvironment.step": {
318
+ "total": 53.745458518995974,
319
+ "count": 6767,
320
+ "is_parallel": true,
321
+ "self": 2.9883827400004748,
322
+ "children": {
323
+ "UnityEnvironment._generate_step_input": {
324
+ "total": 2.367578988003288,
325
+ "count": 6767,
326
+ "is_parallel": true,
327
+ "self": 2.367578988003288
328
+ },
329
+ "communicator.exchange": {
330
+ "total": 39.47945499299624,
331
+ "count": 6767,
332
+ "is_parallel": true,
333
+ "self": 39.47945499299624
334
+ },
335
+ "steps_from_proto": {
336
+ "total": 8.910041797995973,
337
+ "count": 13534,
338
+ "is_parallel": true,
339
+ "self": 1.7090663739994625,
340
+ "children": {
341
+ "_process_rank_one_or_two_observation": {
342
+ "total": 7.2009754239965105,
343
+ "count": 54136,
344
+ "is_parallel": true,
345
+ "self": 7.2009754239965105
346
+ }
347
+ }
348
+ }
349
+ }
350
+ }
351
+ }
352
+ }
353
+ }
354
+ }
355
+ }
356
+ },
357
+ "trainer_advance": {
358
+ "total": 176.31210858199802,
359
+ "count": 6768,
360
+ "self": 1.1104138319963113,
361
+ "children": {
362
+ "process_trajectory": {
363
+ "total": 21.492238054001632,
364
+ "count": 6768,
365
+ "self": 21.492238054001632
366
+ },
367
+ "_update_policy": {
368
+ "total": 153.70945669600007,
369
+ "count": 4,
370
+ "self": 8.936217062000651,
371
+ "children": {
372
+ "TorchPOCAOptimizer.update": {
373
+ "total": 144.77323963399942,
374
+ "count": 120,
375
+ "self": 144.77323963399942
376
+ }
377
+ }
378
+ }
379
+ }
380
+ }
381
+ }
382
+ },
383
+ "trainer_threads": {
384
+ "total": 2.033999976447376e-06,
385
+ "count": 1,
386
+ "self": 2.033999976447376e-06
387
+ },
388
+ "TrainerController._save_models": {
389
+ "total": 0.2094342069999584,
390
+ "count": 1,
391
+ "self": 0.0019023749999860229,
392
+ "children": {
393
+ "RLTrainer._checkpoint": {
394
+ "total": 0.20753183199997238,
395
+ "count": 1,
396
+ "self": 0.20753183199997238
397
+ }
398
+ }
399
+ }
400
+ }
401
+ }
402
+ }
403
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1204.9631859564233,
4
+ "checkpoints": [
5
+ {
6
+ "steps": 101198,
7
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-101198.onnx",
8
+ "reward": 0.0,
9
+ "creation_time": 1688421314.2587929,
10
+ "auxillary_file_paths": [
11
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-101198.pt"
12
+ ]
13
+ }
14
+ ],
15
+ "final_checkpoint": {
16
+ "steps": 101198,
17
+ "file_path": "results/SoccerTwos/SoccerTwos.onnx",
18
+ "reward": 0.0,
19
+ "creation_time": 1688421314.2587929,
20
+ "auxillary_file_paths": [
21
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-101198.pt"
22
+ ]
23
+ }
24
+ },
25
+ "metadata": {
26
+ "stats_format_version": "0.3.0",
27
+ "mlagents_version": "0.31.0.dev0",
28
+ "torch_version": "1.11.0+cu102"
29
+ }
30
+ }