BabaYaga048 commited on
Commit
e027167
1 Parent(s): 386eec7

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: BabaYaga048/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:21c5d033dcaae7c9893cf98c436b54c44c22820acb77dae550dfba9bb3f537cb
3
+ size 1764633
SoccerTwos/SoccerTwos-10000106.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:21c5d033dcaae7c9893cf98c436b54c44c22820acb77dae550dfba9bb3f537cb
3
+ size 1764633
SoccerTwos/SoccerTwos-10000106.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0022c1fac95443f7bef6b9a84c5aebb204a1adcece478dab7af9fb643868a58c
3
+ size 28421201
SoccerTwos/SoccerTwos-8699946.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29955350fc5d107a6f0cdd9b70d0f8e7ab16203b565412c27fd829f5c8be7412
3
+ size 1764633
SoccerTwos/SoccerTwos-8699946.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e9de425867397faca7fdc5815536a98315a862627370e1e29e2aa83cc2eb5e3b
3
+ size 28421201
SoccerTwos/SoccerTwos-8999970.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e7da6336094d4ff16a5fd2361a4c533872294a1a978b02e48757a66e14c53a56
3
+ size 1764633
SoccerTwos/SoccerTwos-8999970.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:99862298efa1bb0193eda5a395eb2d3386f108432e5ba2eefd7c102b88878138
3
+ size 28421201
SoccerTwos/SoccerTwos-9499970.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3f485c1639ad632bbf053825c284e3a65356c9aa105f1e08b217db9c46e5a2c2
3
+ size 1764633
SoccerTwos/SoccerTwos-9499970.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1e95222e00c935476497aef36db3cfda2a39f754e72dd061d81f06b62e752ff3
3
+ size 28421201
SoccerTwos/SoccerTwos-9999986.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:21c5d033dcaae7c9893cf98c436b54c44c22820acb77dae550dfba9bb3f537cb
3
+ size 1764633
SoccerTwos/SoccerTwos-9999986.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f0b67da903a27b95d19b3c476d5c0fbf157abae38d2eafd94bc1a464ef9588ce
3
+ size 28421201
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0022c1fac95443f7bef6b9a84c5aebb204a1adcece478dab7af9fb643868a58c
3
+ size 28421201
SoccerTwos/events.out.tfevents.1692015946.SDS-555.local.64483.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:366b788035c640263cf67a280b25230d9c9a663facdd7a2c34c11314b59d703d
3
+ size 5781955
SoccerTwos/events.out.tfevents.1692125296.SDS-555.local.73599.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:db66eb1d49dc7196ade33bf64fe32038c2bb1a742246a053b36593b573092d57
3
+ size 2303249
SoccerTwos/events.out.tfevents.1692207378.SDS-555.local.78631.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:95e88f57de912cbf8aa0fcd6da819da3205b7619390be2a8736bbc9c2faede7d
3
+ size 1347449
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": 10000000, "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.app", "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: 10000000
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.app
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,287 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/Users/soumojitbhattacharya/PycharmProjects/rl/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos.app/Contents/Resources/Data/Managed'
2
+ Mono config path = '/Users/soumojitbhattacharya/PycharmProjects/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/soumojitbhattacharya/PycharmProjects/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.196 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: 1.057500 ms
39
+ Registered Communicator in Agent.
40
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
41
+ Setting up 4 worker threads for Enlighten.
42
+ Memory Statistics:
43
+ [ALLOC_TEMP_TLS] TLS Allocator
44
+ StackAllocators :
45
+ [ALLOC_TEMP_MAIN]
46
+ Peak usage frame count: [8.0 KB-16.0 KB]: 24470 frames, [2.0 MB-4.0 MB]: 1 frames
47
+ Initial Block Size 4.0 MB
48
+ Current Block Size 4.0 MB
49
+ Peak Allocated Bytes 2.1 MB
50
+ Overflow Count 0
51
+ [ALLOC_TEMP_Loading.AsyncRead]
52
+ Initial Block Size 64.0 KB
53
+ Current Block Size 64.0 KB
54
+ Peak Allocated Bytes 159 B
55
+ Overflow Count 0
56
+ [ALLOC_TEMP_Loading.PreloadManager]
57
+ Initial Block Size 256.0 KB
58
+ Current Block Size 256.0 KB
59
+ Peak Allocated Bytes 78.8 KB
60
+ Overflow Count 4
61
+ [ALLOC_TEMP_Background Job.Worker 8]
62
+ Initial Block Size 32.0 KB
63
+ Current Block Size 32.0 KB
64
+ Peak Allocated Bytes 0 B
65
+ Overflow Count 0
66
+ [ALLOC_TEMP_Job.Worker 6]
67
+ Initial Block Size 256.0 KB
68
+ Current Block Size 256.0 KB
69
+ Peak Allocated Bytes 0 B
70
+ Overflow Count 0
71
+ [ALLOC_TEMP_Job.Worker 0]
72
+ Initial Block Size 256.0 KB
73
+ Current Block Size 256.0 KB
74
+ Peak Allocated Bytes 0 B
75
+ Overflow Count 0
76
+ [ALLOC_TEMP_Background Job.Worker 10]
77
+ Initial Block Size 32.0 KB
78
+ Current Block Size 32.0 KB
79
+ Peak Allocated Bytes 0 B
80
+ Overflow Count 0
81
+ [ALLOC_TEMP_Background Job.Worker 9]
82
+ Initial Block Size 32.0 KB
83
+ Current Block Size 32.0 KB
84
+ Peak Allocated Bytes 0 B
85
+ Overflow Count 0
86
+ [ALLOC_TEMP_Job.Worker 5]
87
+ Initial Block Size 256.0 KB
88
+ Current Block Size 256.0 KB
89
+ Peak Allocated Bytes 0.7 KB
90
+ Overflow Count 0
91
+ [ALLOC_TEMP_Background Job.Worker 14]
92
+ Initial Block Size 32.0 KB
93
+ Current Block Size 32.0 KB
94
+ Peak Allocated Bytes 0 B
95
+ Overflow Count 0
96
+ [ALLOC_TEMP_Background Job.Worker 6]
97
+ Initial Block Size 32.0 KB
98
+ Current Block Size 32.0 KB
99
+ Peak Allocated Bytes 0 B
100
+ Overflow Count 0
101
+ [ALLOC_TEMP_Job.Worker 4]
102
+ Initial Block Size 256.0 KB
103
+ Current Block Size 256.0 KB
104
+ Peak Allocated Bytes 0 B
105
+ Overflow Count 0
106
+ [ALLOC_TEMP_Job.Worker 3]
107
+ Initial Block Size 256.0 KB
108
+ Current Block Size 256.0 KB
109
+ Peak Allocated Bytes 0 B
110
+ Overflow Count 0
111
+ [ALLOC_TEMP_Background Job.Worker 12]
112
+ Initial Block Size 32.0 KB
113
+ Current Block Size 32.0 KB
114
+ Peak Allocated Bytes 0 B
115
+ Overflow Count 0
116
+ [ALLOC_TEMP_EnlightenWorker] x 4
117
+ Initial Block Size 64.0 KB
118
+ Current Block Size 64.0 KB
119
+ Peak Allocated Bytes 0 B
120
+ Overflow Count 0
121
+ [ALLOC_TEMP_Background Job.Worker 15]
122
+ Initial Block Size 32.0 KB
123
+ Current Block Size 32.0 KB
124
+ Peak Allocated Bytes 0 B
125
+ Overflow Count 0
126
+ [ALLOC_TEMP_Background Job.Worker 1]
127
+ Initial Block Size 32.0 KB
128
+ Current Block Size 32.0 KB
129
+ Peak Allocated Bytes 0 B
130
+ Overflow Count 0
131
+ [ALLOC_TEMP_Background Job.Worker 2]
132
+ Initial Block Size 32.0 KB
133
+ Current Block Size 32.0 KB
134
+ Peak Allocated Bytes 0 B
135
+ Overflow Count 0
136
+ [ALLOC_TEMP_Background Job.Worker 7]
137
+ Initial Block Size 32.0 KB
138
+ Current Block Size 32.0 KB
139
+ Peak Allocated Bytes 0 B
140
+ Overflow Count 0
141
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 7
142
+ Initial Block Size 64.0 KB
143
+ Current Block Size 64.0 KB
144
+ Peak Allocated Bytes 0 B
145
+ Overflow Count 0
146
+ [ALLOC_TEMP_Background Job.Worker 5]
147
+ Initial Block Size 32.0 KB
148
+ Current Block Size 32.0 KB
149
+ Peak Allocated Bytes 0 B
150
+ Overflow Count 0
151
+ [ALLOC_TEMP_Background Job.Worker 13]
152
+ Initial Block Size 32.0 KB
153
+ Current Block Size 32.0 KB
154
+ Peak Allocated Bytes 0 B
155
+ Overflow Count 0
156
+ [ALLOC_TEMP_OSX HID Input]
157
+ Initial Block Size 64.0 KB
158
+ Current Block Size 64.0 KB
159
+ Peak Allocated Bytes 0 B
160
+ Overflow Count 0
161
+ [ALLOC_TEMP_Job.Worker 1]
162
+ Initial Block Size 256.0 KB
163
+ Current Block Size 256.0 KB
164
+ Peak Allocated Bytes 0 B
165
+ Overflow Count 0
166
+ [ALLOC_TEMP_Job.Worker 2]
167
+ Initial Block Size 256.0 KB
168
+ Current Block Size 256.0 KB
169
+ Peak Allocated Bytes 0 B
170
+ Overflow Count 0
171
+ [ALLOC_TEMP_Background Job.Worker 3]
172
+ Initial Block Size 32.0 KB
173
+ Current Block Size 32.0 KB
174
+ Peak Allocated Bytes 0 B
175
+ Overflow Count 0
176
+ [ALLOC_TEMP_Background Job.Worker 11]
177
+ Initial Block Size 32.0 KB
178
+ Current Block Size 32.0 KB
179
+ Peak Allocated Bytes 0 B
180
+ Overflow Count 0
181
+ [ALLOC_TEMP_Background Job.Worker 0]
182
+ Initial Block Size 32.0 KB
183
+ Current Block Size 32.0 KB
184
+ Peak Allocated Bytes 0 B
185
+ Overflow Count 0
186
+ [ALLOC_TEMP_Background Job.Worker 4]
187
+ Initial Block Size 32.0 KB
188
+ Current Block Size 32.0 KB
189
+ Peak Allocated Bytes 0 B
190
+ Overflow Count 0
191
+ [ALLOC_TEMP_BatchDeleteObjects]
192
+ Initial Block Size 64.0 KB
193
+ Current Block Size 64.0 KB
194
+ Peak Allocated Bytes 0 B
195
+ Overflow Count 0
196
+ [ALLOC_DEFAULT] Dual Thread Allocator
197
+ Peak main deferred allocation count 2
198
+ [ALLOC_BUCKET]
199
+ Large Block size 4.0 MB
200
+ Used Block count 1
201
+ Peak Allocated bytes 1.0 MB
202
+ [ALLOC_DEFAULT_MAIN]
203
+ Peak usage frame count: [4.0 MB-8.0 MB]: 24471 frames
204
+ Requested Block Size 16.0 MB
205
+ Peak Block count 1
206
+ Peak Allocated memory 4.9 MB
207
+ Peak Large allocation bytes 0 B
208
+ [ALLOC_DEFAULT_THREAD]
209
+ Peak usage frame count: [16.0 MB-32.0 MB]: 24471 frames
210
+ Requested Block Size 16.0 MB
211
+ Peak Block count 1
212
+ Peak Allocated memory 17.4 MB
213
+ Peak Large allocation bytes 16.0 MB
214
+ [ALLOC_TEMP_JOB_1_FRAME]
215
+ Initial Block Size 2.0 MB
216
+ Used Block Count 1
217
+ Overflow Count (too large) 0
218
+ Overflow Count (full) 0
219
+ [ALLOC_TEMP_JOB_2_FRAMES]
220
+ Initial Block Size 2.0 MB
221
+ Used Block Count 1
222
+ Overflow Count (too large) 0
223
+ Overflow Count (full) 0
224
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
225
+ Initial Block Size 2.0 MB
226
+ Used Block Count 2
227
+ Overflow Count (too large) 0
228
+ Overflow Count (full) 0
229
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
230
+ Initial Block Size 1.0 MB
231
+ Used Block Count 3
232
+ Overflow Count (too large) 0
233
+ Overflow Count (full) 0
234
+ [ALLOC_GFX] Dual Thread Allocator
235
+ Peak main deferred allocation count 0
236
+ [ALLOC_BUCKET]
237
+ Large Block size 4.0 MB
238
+ Used Block count 1
239
+ Peak Allocated bytes 1.0 MB
240
+ [ALLOC_GFX_MAIN]
241
+ Peak usage frame count: [32.0 KB-64.0 KB]: 24470 frames, [64.0 KB-128.0 KB]: 1 frames
242
+ Requested Block Size 16.0 MB
243
+ Peak Block count 1
244
+ Peak Allocated memory 65.6 KB
245
+ Peak Large allocation bytes 0 B
246
+ [ALLOC_GFX_THREAD]
247
+ Peak usage frame count: [128.0 KB-256.0 KB]: 24471 frames
248
+ Requested Block Size 16.0 MB
249
+ Peak Block count 1
250
+ Peak Allocated memory 173.5 KB
251
+ Peak Large allocation bytes 0 B
252
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
253
+ Peak main deferred allocation count 0
254
+ [ALLOC_BUCKET]
255
+ Large Block size 4.0 MB
256
+ Used Block count 1
257
+ Peak Allocated bytes 1.0 MB
258
+ [ALLOC_CACHEOBJECTS_MAIN]
259
+ Peak usage frame count: [0.5 MB-1.0 MB]: 24471 frames
260
+ Requested Block Size 4.0 MB
261
+ Peak Block count 1
262
+ Peak Allocated memory 0.6 MB
263
+ Peak Large allocation bytes 0 B
264
+ [ALLOC_CACHEOBJECTS_THREAD]
265
+ Peak usage frame count: [0.5 MB-1.0 MB]: 24470 frames, [2.0 MB-4.0 MB]: 1 frames
266
+ Requested Block Size 4.0 MB
267
+ Peak Block count 1
268
+ Peak Allocated memory 3.4 MB
269
+ Peak Large allocation bytes 0 B
270
+ [ALLOC_TYPETREE] Dual Thread Allocator
271
+ Peak main deferred allocation count 0
272
+ [ALLOC_BUCKET]
273
+ Large Block size 4.0 MB
274
+ Used Block count 1
275
+ Peak Allocated bytes 1.0 MB
276
+ [ALLOC_TYPETREE_MAIN]
277
+ Peak usage frame count: [0-1.0 KB]: 24471 frames
278
+ Requested Block Size 2.0 MB
279
+ Peak Block count 1
280
+ Peak Allocated memory 1.0 KB
281
+ Peak Large allocation bytes 0 B
282
+ [ALLOC_TYPETREE_THREAD]
283
+ Peak usage frame count: [1.0 KB-2.0 KB]: 24470 frames, [2.0 KB-4.0 KB]: 1 frames
284
+ Requested Block Size 2.0 MB
285
+ Peak Block count 1
286
+ Peak Allocated memory 2.2 KB
287
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,368 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "SoccerTwos.Policy.Entropy.mean": {
5
+ "value": 1.5422695875167847,
6
+ "min": 1.358902931213379,
7
+ "max": 1.6392451524734497,
8
+ "count": 131
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 30203.806640625,
12
+ "min": 869.6978759765625,
13
+ "max": 35354.890625,
14
+ "count": 131
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 61.8875,
18
+ "min": 14.0,
19
+ "max": 72.31884057971014,
20
+ "count": 131
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 19804.0,
24
+ "min": 112.0,
25
+ "max": 20420.0,
26
+ "count": 131
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1555.0830582808662,
30
+ "min": 1503.1061852957882,
31
+ "max": 1569.937910488838,
32
+ "count": 131
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 248813.2893249386,
36
+ "min": 6140.598878565317,
37
+ "max": 341490.80077715684,
38
+ "count": 131
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 9999986.0,
42
+ "min": 8699987.0,
43
+ "max": 9999986.0,
44
+ "count": 131
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 9999986.0,
48
+ "min": 8699987.0,
49
+ "max": 9999986.0,
50
+ "count": 131
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": -0.039965007454156876,
54
+ "min": -0.07955111563205719,
55
+ "max": 0.07412034273147583,
56
+ "count": 131
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": -6.354435920715332,
60
+ "min": -15.674731254577637,
61
+ "max": 12.600458145141602,
62
+ "count": 131
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": -0.04035235196352005,
66
+ "min": -0.08584316074848175,
67
+ "max": 0.08051864057779312,
68
+ "count": 131
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": -6.4160237312316895,
72
+ "min": -14.986276626586914,
73
+ "max": 13.688169479370117,
74
+ "count": 131
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 131
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 131
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": -0.03440125670822911,
90
+ "min": -0.2702774581192546,
91
+ "max": 0.3316309686630003,
92
+ "count": 131
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": -5.469799816608429,
96
+ "min": -55.96039962768555,
97
+ "max": 51.402800142765045,
98
+ "count": 131
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": -0.03440125670822911,
102
+ "min": -0.2702774581192546,
103
+ "max": 0.3316309686630003,
104
+ "count": 131
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": -5.469799816608429,
108
+ "min": -55.96039962768555,
109
+ "max": 51.402800142765045,
110
+ "count": 131
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 131
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 131
123
+ },
124
+ "SoccerTwos.Losses.PolicyLoss.mean": {
125
+ "value": 0.015145652223751919,
126
+ "min": 0.011791978035277376,
127
+ "max": 0.023321755667954372,
128
+ "count": 63
129
+ },
130
+ "SoccerTwos.Losses.PolicyLoss.sum": {
131
+ "value": 0.015145652223751919,
132
+ "min": 0.011791978035277376,
133
+ "max": 0.023321755667954372,
134
+ "count": 63
135
+ },
136
+ "SoccerTwos.Losses.ValueLoss.mean": {
137
+ "value": 0.10312746713558833,
138
+ "min": 0.09516235515475273,
139
+ "max": 0.11794356231888135,
140
+ "count": 63
141
+ },
142
+ "SoccerTwos.Losses.ValueLoss.sum": {
143
+ "value": 0.10312746713558833,
144
+ "min": 0.09516235515475273,
145
+ "max": 0.11794356231888135,
146
+ "count": 63
147
+ },
148
+ "SoccerTwos.Losses.BaselineLoss.mean": {
149
+ "value": 0.10443195899327597,
150
+ "min": 0.09606056759754816,
151
+ "max": 0.11946648806333542,
152
+ "count": 63
153
+ },
154
+ "SoccerTwos.Losses.BaselineLoss.sum": {
155
+ "value": 0.10443195899327597,
156
+ "min": 0.09606056759754816,
157
+ "max": 0.11946648806333542,
158
+ "count": 63
159
+ },
160
+ "SoccerTwos.Policy.LearningRate.mean": {
161
+ "value": 0.0003,
162
+ "min": 0.0003,
163
+ "max": 0.0003,
164
+ "count": 63
165
+ },
166
+ "SoccerTwos.Policy.LearningRate.sum": {
167
+ "value": 0.0003,
168
+ "min": 0.0003,
169
+ "max": 0.0003,
170
+ "count": 63
171
+ },
172
+ "SoccerTwos.Policy.Epsilon.mean": {
173
+ "value": 0.20000000000000007,
174
+ "min": 0.20000000000000007,
175
+ "max": 0.20000000000000007,
176
+ "count": 63
177
+ },
178
+ "SoccerTwos.Policy.Epsilon.sum": {
179
+ "value": 0.20000000000000007,
180
+ "min": 0.20000000000000007,
181
+ "max": 0.20000000000000007,
182
+ "count": 63
183
+ },
184
+ "SoccerTwos.Policy.Beta.mean": {
185
+ "value": 0.005000000000000001,
186
+ "min": 0.005000000000000001,
187
+ "max": 0.005000000000000001,
188
+ "count": 63
189
+ },
190
+ "SoccerTwos.Policy.Beta.sum": {
191
+ "value": 0.005000000000000001,
192
+ "min": 0.005000000000000001,
193
+ "max": 0.005000000000000001,
194
+ "count": 63
195
+ }
196
+ },
197
+ "metadata": {
198
+ "timer_format_version": "0.1.0",
199
+ "start_time_seconds": "1692207371",
200
+ "python_version": "3.9.17 (main, Jul 5 2023, 16:17:03) \n[Clang 14.0.6 ]",
201
+ "command_line_arguments": "/opt/anaconda3/envs/rl/bin/mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos/SoccerTwos.app --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": "1692213584"
208
+ },
209
+ "total": 5904.371516334,
210
+ "count": 1,
211
+ "self": 2.3665285830002176,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.03477250000000254,
215
+ "count": 1,
216
+ "self": 0.03477250000000254
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 5901.970215251,
220
+ "count": 1,
221
+ "self": 1.335926395909155,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 6.9797415419994415,
225
+ "count": 8,
226
+ "self": 6.9797415419994415
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 5893.388342604091,
230
+ "count": 90501,
231
+ "self": 1.1450277041085428,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 1214.93956218408,
235
+ "count": 90501,
236
+ "self": 980.8131489869226,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 233.3234402870467,
240
+ "count": 90501,
241
+ "self": 5.983297622016522,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 227.34014266503019,
245
+ "count": 163138,
246
+ "self": 227.34014266503019
247
+ }
248
+ }
249
+ },
250
+ "workers": {
251
+ "total": 0.802972910110654,
252
+ "count": 90501,
253
+ "self": 0.0,
254
+ "children": {
255
+ "worker_root": {
256
+ "total": 5892.433743614063,
257
+ "count": 90501,
258
+ "is_parallel": true,
259
+ "self": 5054.01503899014,
260
+ "children": {
261
+ "steps_from_proto": {
262
+ "total": 0.012321166999555544,
263
+ "count": 16,
264
+ "is_parallel": true,
265
+ "self": 0.00219025000286166,
266
+ "children": {
267
+ "_process_rank_one_or_two_observation": {
268
+ "total": 0.010130916996693884,
269
+ "count": 64,
270
+ "is_parallel": true,
271
+ "self": 0.010130916996693884
272
+ }
273
+ }
274
+ },
275
+ "UnityEnvironment.step": {
276
+ "total": 838.4063834569233,
277
+ "count": 90501,
278
+ "is_parallel": true,
279
+ "self": 45.301781421703595,
280
+ "children": {
281
+ "UnityEnvironment._generate_step_input": {
282
+ "total": 26.50081490400531,
283
+ "count": 90501,
284
+ "is_parallel": true,
285
+ "self": 26.50081490400531
286
+ },
287
+ "communicator.exchange": {
288
+ "total": 647.0776638040975,
289
+ "count": 90501,
290
+ "is_parallel": true,
291
+ "self": 647.0776638040975
292
+ },
293
+ "steps_from_proto": {
294
+ "total": 119.52612332711689,
295
+ "count": 181002,
296
+ "is_parallel": true,
297
+ "self": 20.076650796359928,
298
+ "children": {
299
+ "_process_rank_one_or_two_observation": {
300
+ "total": 99.44947253075696,
301
+ "count": 724008,
302
+ "is_parallel": true,
303
+ "self": 99.44947253075696
304
+ }
305
+ }
306
+ }
307
+ }
308
+ }
309
+ }
310
+ }
311
+ }
312
+ }
313
+ }
314
+ },
315
+ "trainer_advance": {
316
+ "total": 4677.303752715903,
317
+ "count": 90501,
318
+ "self": 11.050956303944986,
319
+ "children": {
320
+ "process_trajectory": {
321
+ "total": 590.7645311589569,
322
+ "count": 90501,
323
+ "self": 589.4128263679576,
324
+ "children": {
325
+ "RLTrainer._checkpoint": {
326
+ "total": 1.3517047909992925,
327
+ "count": 3,
328
+ "self": 1.3517047909992925
329
+ }
330
+ }
331
+ },
332
+ "_update_policy": {
333
+ "total": 4075.4882652530014,
334
+ "count": 63,
335
+ "self": 165.5546123100121,
336
+ "children": {
337
+ "TorchPOCAOptimizer.update": {
338
+ "total": 3909.9336529429893,
339
+ "count": 1890,
340
+ "self": 3909.9336529429893
341
+ }
342
+ }
343
+ }
344
+ }
345
+ }
346
+ }
347
+ },
348
+ "trainer_threads": {
349
+ "total": 5.840001904289238e-07,
350
+ "count": 1,
351
+ "self": 5.840001904289238e-07
352
+ },
353
+ "TrainerController._save_models": {
354
+ "total": 0.26620412499960366,
355
+ "count": 1,
356
+ "self": 0.01405583299947466,
357
+ "children": {
358
+ "RLTrainer._checkpoint": {
359
+ "total": 0.252148292000129,
360
+ "count": 1,
361
+ "self": 0.252148292000129
362
+ }
363
+ }
364
+ }
365
+ }
366
+ }
367
+ }
368
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "checkpoints": [
4
+ {
5
+ "steps": 8699946,
6
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-8699946.onnx",
7
+ "reward": null,
8
+ "creation_time": 1692193732.5399811,
9
+ "auxillary_file_paths": [
10
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-8699946.pt"
11
+ ]
12
+ },
13
+ {
14
+ "steps": 8999970,
15
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-8999970.onnx",
16
+ "reward": 0.0,
17
+ "creation_time": 1692208691.274013,
18
+ "auxillary_file_paths": [
19
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-8999970.pt"
20
+ ]
21
+ },
22
+ {
23
+ "steps": 9499970,
24
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-9499970.onnx",
25
+ "reward": 0.0,
26
+ "creation_time": 1692210922.778374,
27
+ "auxillary_file_paths": [
28
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-9499970.pt"
29
+ ]
30
+ },
31
+ {
32
+ "steps": 9999986,
33
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-9999986.onnx",
34
+ "reward": 0.0,
35
+ "creation_time": 1692213581.416762,
36
+ "auxillary_file_paths": [
37
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-9999986.pt"
38
+ ]
39
+ },
40
+ {
41
+ "steps": 10000106,
42
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-10000106.onnx",
43
+ "reward": 0.0,
44
+ "creation_time": 1692213581.722642,
45
+ "auxillary_file_paths": [
46
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-10000106.pt"
47
+ ]
48
+ }
49
+ ],
50
+ "elo": 1553.7218983912148,
51
+ "final_checkpoint": {
52
+ "steps": 10000106,
53
+ "file_path": "results/SoccerTwos/SoccerTwos.onnx",
54
+ "reward": 0.0,
55
+ "creation_time": 1692213581.722642,
56
+ "auxillary_file_paths": [
57
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-10000106.pt"
58
+ ]
59
+ }
60
+ },
61
+ "metadata": {
62
+ "stats_format_version": "0.3.0",
63
+ "mlagents_version": "0.31.0.dev0",
64
+ "torch_version": "1.11.0"
65
+ }
66
+ }