Misbah17311 commited on
Commit
a541bdb
·
verified ·
1 Parent(s): 8a98a83

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: Misbah17311/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:866a1844cb655290a547938347ab609c0421a85fb5554c03a44273bafea65881
3
+ size 1768747
SoccerTwos/SoccerTwos-28499924.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc614b957e06c4e363522422b28b98f04749eb5beeb2faa3a5eedab9571bbdf1
3
+ size 1768747
SoccerTwos/SoccerTwos-28499924.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1c71312655fd1431e1d77928c073a7735b30ba0e5ed139fea30361dbe2e5a254
3
+ size 28430967
SoccerTwos/SoccerTwos-28999974.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c1867e3ce227b9b6540ae19a538cdf71fba52c6e61ba0d07661663d9e67e3654
3
+ size 1768747
SoccerTwos/SoccerTwos-28999974.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bf16abc5b7292c3a26085abe5b7c696b437b52f12f7c3fb420fc8cb546a93020
3
+ size 28430967
SoccerTwos/SoccerTwos-29499971.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5969a99f373b3197f06b05fe7c59d71a2443d9bbce2ffc36328c0cf59b738502
3
+ size 1768747
SoccerTwos/SoccerTwos-29499971.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bddbdac53ba49616035cf57451797483d0d6616ed724dc85b1127b65521c0e46
3
+ size 28430967
SoccerTwos/SoccerTwos-29999974.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:866a1844cb655290a547938347ab609c0421a85fb5554c03a44273bafea65881
3
+ size 1768747
SoccerTwos/SoccerTwos-29999974.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:78fc66b00975ee20c22dbc1cab6294088c2f6cf3b7dfffb82c396ae56323a4a5
3
+ size 28430967
SoccerTwos/SoccerTwos-30000018.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:866a1844cb655290a547938347ab609c0421a85fb5554c03a44273bafea65881
3
+ size 1768747
SoccerTwos/SoccerTwos-30000018.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9ad253889b3c21aa03dc3a9dcfbf8ef2f9d1aed64ffc649d618b55d43ef27f04
3
+ size 28430967
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:25fe8fb05a61c2b51b1e1c2fc308b15a93581b398b8bdfed3cb1ba74b3f12b7f
3
+ size 28429769
SoccerTwos/events.out.tfevents.1747938902.misbah-IdeaPad-Gaming-3-15IAH7.13047.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7d24dc461a765e4b5f9c43fa94556349d1e558db7df3c1de4e2eabaf64d70575
3
+ size 27537620
SoccerTwos/events.out.tfevents.1747997677.misbah-IdeaPad-Gaming-3-15IAH7.102445.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b83be4e8d7615892136c4d4d333178765ee34295b0c04c2b9068bc8dbde869a8
3
+ size 2364947
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": 30000000, "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.x86_64", "env_args": null, "base_port": 5005, "num_envs": 1, "num_areas": 1, "timeout_wait": 60, "seed": -1, "max_lifetime_restarts": 10, "restarts_rate_limit_n": 1, "restarts_rate_limit_period_s": 60}, "engine_settings": {"width": 84, "height": 84, "quality_level": 5, "time_scale": 20, "target_frame_rate": -1, "capture_frame_rate": 60, "no_graphics": true, "no_graphics_monitor": false}, "environment_parameters": null, "checkpoint_settings": {"run_id": "SoccerTwos", "initialize_from": null, "load_model": false, "resume": true, "force": false, "train_model": false, "inference": false, "results_dir": "results"}, "torch_settings": {"device": null}, "debug": false}
configuration.yaml ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ default_settings: null
2
+ behaviors:
3
+ SoccerTwos:
4
+ trainer_type: poca
5
+ hyperparameters:
6
+ batch_size: 2048
7
+ buffer_size: 20480
8
+ learning_rate: 0.0003
9
+ beta: 0.005
10
+ epsilon: 0.2
11
+ lambd: 0.95
12
+ num_epoch: 3
13
+ learning_rate_schedule: constant
14
+ beta_schedule: constant
15
+ epsilon_schedule: constant
16
+ checkpoint_interval: 500000
17
+ network_settings:
18
+ normalize: false
19
+ hidden_units: 512
20
+ num_layers: 2
21
+ vis_encode_type: simple
22
+ memory: null
23
+ goal_conditioning_type: hyper
24
+ deterministic: false
25
+ reward_signals:
26
+ extrinsic:
27
+ gamma: 0.99
28
+ strength: 1.0
29
+ network_settings:
30
+ normalize: false
31
+ hidden_units: 128
32
+ num_layers: 2
33
+ vis_encode_type: simple
34
+ memory: null
35
+ goal_conditioning_type: hyper
36
+ deterministic: false
37
+ init_path: null
38
+ keep_checkpoints: 5
39
+ even_checkpoints: false
40
+ max_steps: 30000000
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.x86_64
54
+ env_args: null
55
+ base_port: 5005
56
+ num_envs: 1
57
+ num_areas: 1
58
+ timeout_wait: 60
59
+ seed: -1
60
+ max_lifetime_restarts: 10
61
+ restarts_rate_limit_n: 1
62
+ restarts_rate_limit_period_s: 60
63
+ engine_settings:
64
+ width: 84
65
+ height: 84
66
+ quality_level: 5
67
+ time_scale: 20
68
+ target_frame_rate: -1
69
+ capture_frame_rate: 60
70
+ no_graphics: true
71
+ no_graphics_monitor: false
72
+ environment_parameters: null
73
+ checkpoint_settings:
74
+ run_id: SoccerTwos
75
+ initialize_from: null
76
+ load_model: false
77
+ resume: true
78
+ force: false
79
+ train_model: false
80
+ inference: false
81
+ results_dir: results
82
+ torch_settings:
83
+ device: null
84
+ debug: false
run_logs/Player-0.log ADDED
@@ -0,0 +1,284 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/home/misbah/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos_Data/Managed'
2
+ Mono config path = '/home/misbah/ml-agents/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/misbah/ml-agents/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.059 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.408562 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]: 43318 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.7 KB
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 B
162
+ Overflow Count 0
163
+ [ALLOC_TEMP_Job.Worker 2]
164
+ Initial Block Size 256.0 KB
165
+ Current Block Size 256.0 KB
166
+ Peak Allocated Bytes 0 B
167
+ Overflow Count 0
168
+ [ALLOC_TEMP_Background Job.Worker 3]
169
+ Initial Block Size 32.0 KB
170
+ Current Block Size 32.0 KB
171
+ Peak Allocated Bytes 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 4
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]: 43319 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]: 43319 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]: 43318 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]: 43319 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]: 43319 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]: 43318 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]: 43319 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]: 43318 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.5260498523712158,
6
+ "min": 1.47836434841156,
7
+ "max": 1.5717905759811401,
8
+ "count": 230
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 30472.1640625,
12
+ "min": 23978.40234375,
13
+ "max": 38699.16796875,
14
+ "count": 230
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 70.20289855072464,
18
+ "min": 58.97560975609756,
19
+ "max": 111.08695652173913,
20
+ "count": 230
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 19376.0,
24
+ "min": 14248.0,
25
+ "max": 21124.0,
26
+ "count": 230
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1712.0493582103122,
30
+ "min": 1700.9733828056937,
31
+ "max": 1764.6453188312037,
32
+ "count": 230
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 236262.81143302307,
36
+ "min": 135199.9946404582,
37
+ "max": 293076.2351296764,
38
+ "count": 230
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 29999974.0,
42
+ "min": 27709981.0,
43
+ "max": 29999974.0,
44
+ "count": 230
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 29999974.0,
48
+ "min": 27709981.0,
49
+ "max": 29999974.0,
50
+ "count": 230
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": -0.02527669444680214,
54
+ "min": -0.12162230163812637,
55
+ "max": 0.04789558798074722,
56
+ "count": 230
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": -3.513460636138916,
60
+ "min": -18.121723175048828,
61
+ "max": 7.892575263977051,
62
+ "count": 230
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": -0.02623376064002514,
66
+ "min": -0.12381523102521896,
67
+ "max": 0.050768427550792694,
68
+ "count": 230
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": -3.6464927196502686,
72
+ "min": -18.448469161987305,
73
+ "max": 8.272490501403809,
74
+ "count": 230
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 230
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 230
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": 0.09223597041136927,
90
+ "min": -0.3490041961203088,
91
+ "max": 0.36174961674304407,
92
+ "count": 230
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": 12.820799887180328,
96
+ "min": -49.90760004520416,
97
+ "max": 47.389199793338776,
98
+ "count": 230
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": 0.09223597041136927,
102
+ "min": -0.3490041961203088,
103
+ "max": 0.36174961674304407,
104
+ "count": 230
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": 12.820799887180328,
108
+ "min": -49.90760004520416,
109
+ "max": 47.389199793338776,
110
+ "count": 230
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 230
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 230
123
+ },
124
+ "SoccerTwos.Losses.PolicyLoss.mean": {
125
+ "value": 0.01872896176064387,
126
+ "min": 0.012019599394019071,
127
+ "max": 0.024193876256079723,
128
+ "count": 111
129
+ },
130
+ "SoccerTwos.Losses.PolicyLoss.sum": {
131
+ "value": 0.01872896176064387,
132
+ "min": 0.012019599394019071,
133
+ "max": 0.024193876256079723,
134
+ "count": 111
135
+ },
136
+ "SoccerTwos.Losses.ValueLoss.mean": {
137
+ "value": 0.09518186748027802,
138
+ "min": 0.0706393318871657,
139
+ "max": 0.09518186748027802,
140
+ "count": 111
141
+ },
142
+ "SoccerTwos.Losses.ValueLoss.sum": {
143
+ "value": 0.09518186748027802,
144
+ "min": 0.0706393318871657,
145
+ "max": 0.09518186748027802,
146
+ "count": 111
147
+ },
148
+ "SoccerTwos.Losses.BaselineLoss.mean": {
149
+ "value": 0.09562629113594691,
150
+ "min": 0.07152016038695971,
151
+ "max": 0.09562629113594691,
152
+ "count": 111
153
+ },
154
+ "SoccerTwos.Losses.BaselineLoss.sum": {
155
+ "value": 0.09562629113594691,
156
+ "min": 0.07152016038695971,
157
+ "max": 0.09562629113594691,
158
+ "count": 111
159
+ },
160
+ "SoccerTwos.Policy.LearningRate.mean": {
161
+ "value": 0.0003,
162
+ "min": 0.0003,
163
+ "max": 0.0003,
164
+ "count": 111
165
+ },
166
+ "SoccerTwos.Policy.LearningRate.sum": {
167
+ "value": 0.0003,
168
+ "min": 0.0003,
169
+ "max": 0.0003,
170
+ "count": 111
171
+ },
172
+ "SoccerTwos.Policy.Epsilon.mean": {
173
+ "value": 0.20000000000000007,
174
+ "min": 0.20000000000000007,
175
+ "max": 0.20000000000000007,
176
+ "count": 111
177
+ },
178
+ "SoccerTwos.Policy.Epsilon.sum": {
179
+ "value": 0.20000000000000007,
180
+ "min": 0.20000000000000007,
181
+ "max": 0.20000000000000007,
182
+ "count": 111
183
+ },
184
+ "SoccerTwos.Policy.Beta.mean": {
185
+ "value": 0.005000000000000001,
186
+ "min": 0.005000000000000001,
187
+ "max": 0.005000000000000001,
188
+ "count": 111
189
+ },
190
+ "SoccerTwos.Policy.Beta.sum": {
191
+ "value": 0.005000000000000001,
192
+ "min": 0.005000000000000001,
193
+ "max": 0.005000000000000001,
194
+ "count": 111
195
+ }
196
+ },
197
+ "metadata": {
198
+ "timer_format_version": "0.1.0",
199
+ "start_time_seconds": "1747997676",
200
+ "python_version": "3.10.12 (main, Jul 5 2023, 18:54:27) [GCC 11.2.0]",
201
+ "command_line_arguments": "/home/misbah/miniconda3/envs/rl/bin/mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos/SoccerTwos.x86_64 --run-id=SoccerTwos --no-graphics --resume",
202
+ "mlagents_version": "1.2.0.dev0",
203
+ "mlagents_envs_version": "1.2.0.dev0",
204
+ "communication_protocol_version": "1.5.0",
205
+ "pytorch_version": "2.7.0+cu126",
206
+ "numpy_version": "1.23.5",
207
+ "end_time_seconds": "1748003870"
208
+ },
209
+ "total": 6193.243015332002,
210
+ "count": 1,
211
+ "self": 0.2190838940005051,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.008608447009464726,
215
+ "count": 1,
216
+ "self": 0.008608447009464726
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 6193.015322990992,
220
+ "count": 1,
221
+ "self": 2.8038882425171323,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 1.4619750839920016,
225
+ "count": 13,
226
+ "self": 1.4619750839920016
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 6188.660720257481,
230
+ "count": 155986,
231
+ "self": 2.6640657623356674,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 1907.5624348415295,
235
+ "count": 155986,
236
+ "self": 1611.387107489776,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 294.368761390273,
240
+ "count": 155986,
241
+ "self": 14.094670786944334,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 280.27409060332866,
245
+ "count": 288798,
246
+ "self": 280.27409060332866
247
+ }
248
+ }
249
+ },
250
+ "workers": {
251
+ "total": 1.8065659614803735,
252
+ "count": 155986,
253
+ "self": 0.0,
254
+ "children": {
255
+ "worker_root": {
256
+ "total": 6188.076122690254,
257
+ "count": 155986,
258
+ "is_parallel": true,
259
+ "self": 4824.377654081254,
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.0013928839907748625,
269
+ "count": 2,
270
+ "is_parallel": true,
271
+ "self": 0.000349724039551802,
272
+ "children": {
273
+ "_process_rank_one_or_two_observation": {
274
+ "total": 0.0010431599512230605,
275
+ "count": 8,
276
+ "is_parallel": true,
277
+ "self": 0.0010431599512230605
278
+ }
279
+ }
280
+ },
281
+ "UnityEnvironment.step": {
282
+ "total": 0.014681180997285992,
283
+ "count": 1,
284
+ "is_parallel": true,
285
+ "self": 0.00035585599835030735,
286
+ "children": {
287
+ "UnityEnvironment._generate_step_input": {
288
+ "total": 0.0002818450011545792,
289
+ "count": 1,
290
+ "is_parallel": true,
291
+ "self": 0.0002818450011545792
292
+ },
293
+ "communicator.exchange": {
294
+ "total": 0.013071444001980126,
295
+ "count": 1,
296
+ "is_parallel": true,
297
+ "self": 0.013071444001980126
298
+ },
299
+ "steps_from_proto": {
300
+ "total": 0.0009720359958009794,
301
+ "count": 2,
302
+ "is_parallel": true,
303
+ "self": 0.0001990060118259862,
304
+ "children": {
305
+ "_process_rank_one_or_two_observation": {
306
+ "total": 0.0007730299839749932,
307
+ "count": 8,
308
+ "is_parallel": true,
309
+ "self": 0.0007730299839749932
310
+ }
311
+ }
312
+ }
313
+ }
314
+ }
315
+ }
316
+ },
317
+ "steps_from_proto": {
318
+ "total": 0.014256768015911803,
319
+ "count": 24,
320
+ "is_parallel": true,
321
+ "self": 0.002820325084030628,
322
+ "children": {
323
+ "_process_rank_one_or_two_observation": {
324
+ "total": 0.011436442931881174,
325
+ "count": 96,
326
+ "is_parallel": true,
327
+ "self": 0.011436442931881174
328
+ }
329
+ }
330
+ },
331
+ "UnityEnvironment.step": {
332
+ "total": 1363.684211840984,
333
+ "count": 155985,
334
+ "is_parallel": true,
335
+ "self": 67.68927301358781,
336
+ "children": {
337
+ "UnityEnvironment._generate_step_input": {
338
+ "total": 75.72199507434561,
339
+ "count": 155985,
340
+ "is_parallel": true,
341
+ "self": 75.72199507434561
342
+ },
343
+ "communicator.exchange": {
344
+ "total": 1002.7482204776024,
345
+ "count": 155985,
346
+ "is_parallel": true,
347
+ "self": 1002.7482204776024
348
+ },
349
+ "steps_from_proto": {
350
+ "total": 217.5247232754482,
351
+ "count": 311970,
352
+ "is_parallel": true,
353
+ "self": 46.355050702157314,
354
+ "children": {
355
+ "_process_rank_one_or_two_observation": {
356
+ "total": 171.16967257329088,
357
+ "count": 1247880,
358
+ "is_parallel": true,
359
+ "self": 171.16967257329088
360
+ }
361
+ }
362
+ }
363
+ }
364
+ }
365
+ }
366
+ }
367
+ }
368
+ }
369
+ }
370
+ },
371
+ "trainer_advance": {
372
+ "total": 4278.434219653616,
373
+ "count": 155986,
374
+ "self": 18.51109605266538,
375
+ "children": {
376
+ "process_trajectory": {
377
+ "total": 281.2572263569018,
378
+ "count": 155986,
379
+ "self": 280.7852156188892,
380
+ "children": {
381
+ "RLTrainer._checkpoint": {
382
+ "total": 0.47201073801261373,
383
+ "count": 5,
384
+ "self": 0.47201073801261373
385
+ }
386
+ }
387
+ },
388
+ "_update_policy": {
389
+ "total": 3978.665897244049,
390
+ "count": 111,
391
+ "self": 154.19840713523445,
392
+ "children": {
393
+ "TorchPOCAOptimizer.update": {
394
+ "total": 3824.4674901088147,
395
+ "count": 3330,
396
+ "self": 3824.4674901088147
397
+ }
398
+ }
399
+ }
400
+ }
401
+ }
402
+ }
403
+ },
404
+ "trainer_threads": {
405
+ "total": 5.970068741589785e-07,
406
+ "count": 1,
407
+ "self": 5.970068741589785e-07
408
+ },
409
+ "TrainerController._save_models": {
410
+ "total": 0.08873880999453831,
411
+ "count": 1,
412
+ "self": 0.0013925339881097898,
413
+ "children": {
414
+ "RLTrainer._checkpoint": {
415
+ "total": 0.08734627600642852,
416
+ "count": 1,
417
+ "self": 0.08734627600642852
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": 28499924,
6
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-28499924.onnx",
7
+ "reward": 0.0,
8
+ "creation_time": 1747999744.5327501,
9
+ "auxillary_file_paths": [
10
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-28499924.pt"
11
+ ]
12
+ },
13
+ {
14
+ "steps": 28999974,
15
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-28999974.onnx",
16
+ "reward": 0.0,
17
+ "creation_time": 1748001079.5168242,
18
+ "auxillary_file_paths": [
19
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-28999974.pt"
20
+ ]
21
+ },
22
+ {
23
+ "steps": 29499971,
24
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-29499971.onnx",
25
+ "reward": 0.0,
26
+ "creation_time": 1748002462.2329793,
27
+ "auxillary_file_paths": [
28
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-29499971.pt"
29
+ ]
30
+ },
31
+ {
32
+ "steps": 29999974,
33
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-29999974.onnx",
34
+ "reward": 0.0,
35
+ "creation_time": 1748003869.6849742,
36
+ "auxillary_file_paths": [
37
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-29999974.pt"
38
+ ]
39
+ },
40
+ {
41
+ "steps": 30000018,
42
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-30000018.onnx",
43
+ "reward": 0.0,
44
+ "creation_time": 1748003869.7789714,
45
+ "auxillary_file_paths": [
46
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-30000018.pt"
47
+ ]
48
+ }
49
+ ],
50
+ "elo": 1711.6315221749464,
51
+ "final_checkpoint": {
52
+ "steps": 30000018,
53
+ "file_path": "results/SoccerTwos/SoccerTwos.onnx",
54
+ "reward": 0.0,
55
+ "creation_time": 1748003869.7789714,
56
+ "auxillary_file_paths": [
57
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-30000018.pt"
58
+ ]
59
+ }
60
+ },
61
+ "metadata": {
62
+ "stats_format_version": "0.3.0",
63
+ "mlagents_version": "1.2.0.dev0",
64
+ "torch_version": "2.7.0+cu126"
65
+ }
66
+ }