LunaMeme commited on
Commit
e1e28f7
·
verified ·
1 Parent(s): 21778cc

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: LunaMeme/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:17437efa0f61c75c1662b62c9743c4f531b036eccaeb12cf90c43d769cdc8910
3
+ size 1768747
SoccerTwos/SoccerTwos-2499940.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d8c034a67fc3b41cee30f91647c9e1ab5ab7d27b7504add050e760c19d2e3462
3
+ size 1768747
SoccerTwos/SoccerTwos-2499940.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:651442375e11a8dc090d7a1a0047ce933a4d44729a5bde0eb576c900c4d30b22
3
+ size 28430358
SoccerTwos/SoccerTwos-2999936.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2abab6bc1a54d3fe7fd69c92ba9c2c9ebb2471d992e379eef11ef65baf6c2984
3
+ size 1768747
SoccerTwos/SoccerTwos-2999936.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:839b2dcf29327aa3b931a03a482fdb48cbc6e87a0a6e58584cf3c06c4467830d
3
+ size 28430358
SoccerTwos/SoccerTwos-3499925.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b533ac5569abe321e63dceed93bcf93e211402754b0e88541333f986414828a2
3
+ size 1768747
SoccerTwos/SoccerTwos-3499925.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dbca5c5a128c26efdbcb1848ce2412d06f844f095ffe310d5e76552a3e7459a4
3
+ size 28430358
SoccerTwos/SoccerTwos-3999996.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:17437efa0f61c75c1662b62c9743c4f531b036eccaeb12cf90c43d769cdc8910
3
+ size 1768747
SoccerTwos/SoccerTwos-3999996.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5461de76b52f8359de28748f739ff2bbd0adfdd714094b6841706e483a548510
3
+ size 28430358
SoccerTwos/SoccerTwos-4000038.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:17437efa0f61c75c1662b62c9743c4f531b036eccaeb12cf90c43d769cdc8910
3
+ size 1768747
SoccerTwos/SoccerTwos-4000038.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b4dbc6c026765b4998917ce0ac80389d815d9573d62a4cd1f032f74fa250ff49
3
+ size 28430358
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8e4d84b2728308716bb4c33e798dc9532cce6818e65b890c54e90a98a539733e
3
+ size 28429366
SoccerTwos/events.out.tfevents.1735540565.Emmanuels-MacBook-Pro.local.87394.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aea96bc04bf7f575b1a9a74a070e852bfb58af1f4861ce1711e987d60db37e83
3
+ size 74146
SoccerTwos/events.out.tfevents.1735546702.Emmanuels-MacBook-Pro.local.6208.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c3442058f8bdf327e0e2ff18b4d5903766fb4d31b5a8c469c3b16269ee6fa53f
3
+ size 74322
SoccerTwos/events.out.tfevents.1735551818.Emmanuels-MacBook-Pro.local.1666.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:22b12888d6cdd199f1dfaadea02c096986ef61637db425d8ce9495bba5cae828
3
+ size 272662
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": 4000000, "time_horizon": 1000, "summary_freq": 100000, "threaded": false, "self_play": {"save_steps": 20000, "team_change": 100000, "swap_steps": 10000, "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, "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-v2", "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: 4000000
41
+ time_horizon: 1000
42
+ summary_freq: 100000
43
+ threaded: false
44
+ self_play:
45
+ save_steps: 20000
46
+ team_change: 100000
47
+ swap_steps: 10000
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
+ 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-v2
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,302 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/Users/emmanuelrassou/Desktop/Academics - Harvard/ML and AI/HuggingFaceRL/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos.app/Contents/Resources/Data/Managed'
2
+ Mono config path = '/Users/emmanuelrassou/Desktop/Academics - Harvard/ML and AI/HuggingFaceRL/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/emmanuelrassou/Desktop/Academics - Harvard/ML and AI/HuggingFaceRL/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.141 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: 2.615791 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
+ TOO LONG
42
+ Default audio device was changed, but the audio system failed to initialize it. Attempting to reset sound system.
43
+ Default audio device was changed, but the audio system failed to initialize it. Attempting to reset sound system.
44
+ Default audio device was changed, but the audio system failed to initialize it. Attempting to reset sound system.
45
+ Default audio device was changed, but the audio system failed to initialize it. Attempting to reset sound system.
46
+ Setting up 5 worker threads for Enlighten.
47
+ Memory Statistics:
48
+ [ALLOC_TEMP_TLS] TLS Allocator
49
+ StackAllocators :
50
+ [ALLOC_TEMP_MAIN]
51
+ Peak usage frame count: [8.0 KB-16.0 KB]: 47659 frames, [2.0 MB-4.0 MB]: 1 frames
52
+ Initial Block Size 4.0 MB
53
+ Current Block Size 4.0 MB
54
+ Peak Allocated Bytes 2.1 MB
55
+ Overflow Count 0
56
+ [ALLOC_TEMP_Loading.AsyncRead]
57
+ Initial Block Size 64.0 KB
58
+ Current Block Size 64.0 KB
59
+ Peak Allocated Bytes 186 B
60
+ Overflow Count 0
61
+ [ALLOC_TEMP_Loading.PreloadManager]
62
+ Initial Block Size 256.0 KB
63
+ Current Block Size 256.0 KB
64
+ Peak Allocated Bytes 78.9 KB
65
+ Overflow Count 4
66
+ [ALLOC_TEMP_Background Job.Worker 8]
67
+ Initial Block Size 32.0 KB
68
+ Current Block Size 32.0 KB
69
+ Peak Allocated Bytes 0 B
70
+ Overflow Count 0
71
+ [ALLOC_TEMP_Job.Worker 6]
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_Job.Worker 0]
77
+ Initial Block Size 256.0 KB
78
+ Current Block Size 256.0 KB
79
+ Peak Allocated Bytes 0 B
80
+ Overflow Count 0
81
+ [ALLOC_TEMP_Background Job.Worker 10]
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_Background Job.Worker 9]
87
+ Initial Block Size 32.0 KB
88
+ Current Block Size 32.0 KB
89
+ Peak Allocated Bytes 0 B
90
+ Overflow Count 0
91
+ [ALLOC_TEMP_Job.Worker 5]
92
+ Initial Block Size 256.0 KB
93
+ Current Block Size 256.0 KB
94
+ Peak Allocated Bytes 0 B
95
+ Overflow Count 0
96
+ [ALLOC_TEMP_Background Job.Worker 14]
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_Background Job.Worker 6]
102
+ Initial Block Size 32.0 KB
103
+ Current Block Size 32.0 KB
104
+ Peak Allocated Bytes 0 B
105
+ Overflow Count 0
106
+ [ALLOC_TEMP_Job.Worker 4]
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_Job.Worker 3]
112
+ Initial Block Size 256.0 KB
113
+ Current Block Size 256.0 KB
114
+ Peak Allocated Bytes 0 B
115
+ Overflow Count 0
116
+ [ALLOC_TEMP_Background Job.Worker 12]
117
+ Initial Block Size 32.0 KB
118
+ Current Block Size 32.0 KB
119
+ Peak Allocated Bytes 0 B
120
+ Overflow Count 0
121
+ [ALLOC_TEMP_EnlightenWorker] x 5
122
+ Initial Block Size 64.0 KB
123
+ Current Block Size 64.0 KB
124
+ Peak Allocated Bytes 0 B
125
+ Overflow Count 0
126
+ [ALLOC_TEMP_Background Job.Worker 15]
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 1]
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 2]
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_Background Job.Worker 7]
142
+ Initial Block Size 32.0 KB
143
+ Current Block Size 32.0 KB
144
+ Peak Allocated Bytes 0 B
145
+ Overflow Count 0
146
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 9
147
+ Initial Block Size 64.0 KB
148
+ Current Block Size 64.0 KB
149
+ Peak Allocated Bytes 0 B
150
+ Overflow Count 0
151
+ [ALLOC_TEMP_Background Job.Worker 5]
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_Background Job.Worker 13]
157
+ Initial Block Size 32.0 KB
158
+ Current Block Size 32.0 KB
159
+ Peak Allocated Bytes 0 B
160
+ Overflow Count 0
161
+ [ALLOC_TEMP_Job.Worker 8]
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_OSX HID Input]
167
+ Initial Block Size 64.0 KB
168
+ Current Block Size 64.0 KB
169
+ Peak Allocated Bytes 0 B
170
+ Overflow Count 0
171
+ [ALLOC_TEMP_Job.Worker 7]
172
+ Initial Block Size 256.0 KB
173
+ Current Block Size 256.0 KB
174
+ Peak Allocated Bytes 0 B
175
+ Overflow Count 0
176
+ [ALLOC_TEMP_Job.Worker 1]
177
+ Initial Block Size 256.0 KB
178
+ Current Block Size 256.0 KB
179
+ Peak Allocated Bytes 0 B
180
+ Overflow Count 0
181
+ [ALLOC_TEMP_Job.Worker 2]
182
+ Initial Block Size 256.0 KB
183
+ Current Block Size 256.0 KB
184
+ Peak Allocated Bytes 0.7 KB
185
+ Overflow Count 0
186
+ [ALLOC_TEMP_Background Job.Worker 3]
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_Background Job.Worker 11]
192
+ Initial Block Size 32.0 KB
193
+ Current Block Size 32.0 KB
194
+ Peak Allocated Bytes 0 B
195
+ Overflow Count 0
196
+ [ALLOC_TEMP_Background Job.Worker 0]
197
+ Initial Block Size 32.0 KB
198
+ Current Block Size 32.0 KB
199
+ Peak Allocated Bytes 0 B
200
+ Overflow Count 0
201
+ [ALLOC_TEMP_Background Job.Worker 4]
202
+ Initial Block Size 32.0 KB
203
+ Current Block Size 32.0 KB
204
+ Peak Allocated Bytes 0 B
205
+ Overflow Count 0
206
+ [ALLOC_TEMP_BatchDeleteObjects]
207
+ Initial Block Size 64.0 KB
208
+ Current Block Size 64.0 KB
209
+ Peak Allocated Bytes 0 B
210
+ Overflow Count 0
211
+ [ALLOC_DEFAULT] Dual Thread Allocator
212
+ Peak main deferred allocation count 6
213
+ [ALLOC_BUCKET]
214
+ Large Block size 4.0 MB
215
+ Used Block count 1
216
+ Peak Allocated bytes 1.0 MB
217
+ [ALLOC_DEFAULT_MAIN]
218
+ Peak usage frame count: [4.0 MB-8.0 MB]: 47660 frames
219
+ Requested Block Size 16.0 MB
220
+ Peak Block count 1
221
+ Peak Allocated memory 5.0 MB
222
+ Peak Large allocation bytes 0 B
223
+ [ALLOC_DEFAULT_THREAD]
224
+ Peak usage frame count: [16.0 MB-32.0 MB]: 47660 frames
225
+ Requested Block Size 16.0 MB
226
+ Peak Block count 1
227
+ Peak Allocated memory 17.4 MB
228
+ Peak Large allocation bytes 16.0 MB
229
+ [ALLOC_TEMP_JOB_1_FRAME]
230
+ Initial Block Size 2.0 MB
231
+ Used Block Count 1
232
+ Overflow Count (too large) 0
233
+ Overflow Count (full) 0
234
+ [ALLOC_TEMP_JOB_2_FRAMES]
235
+ Initial Block Size 2.0 MB
236
+ Used Block Count 1
237
+ Overflow Count (too large) 0
238
+ Overflow Count (full) 0
239
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
240
+ Initial Block Size 2.0 MB
241
+ Used Block Count 2
242
+ Overflow Count (too large) 0
243
+ Overflow Count (full) 0
244
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
245
+ Initial Block Size 1.0 MB
246
+ Used Block Count 3
247
+ Overflow Count (too large) 0
248
+ Overflow Count (full) 0
249
+ [ALLOC_GFX] 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_GFX_MAIN]
256
+ Peak usage frame count: [32.0 KB-64.0 KB]: 47659 frames, [64.0 KB-128.0 KB]: 1 frames
257
+ Requested Block Size 16.0 MB
258
+ Peak Block count 1
259
+ Peak Allocated memory 65.6 KB
260
+ Peak Large allocation bytes 0 B
261
+ [ALLOC_GFX_THREAD]
262
+ Peak usage frame count: [128.0 KB-256.0 KB]: 47660 frames
263
+ Requested Block Size 16.0 MB
264
+ Peak Block count 1
265
+ Peak Allocated memory 173.5 KB
266
+ Peak Large allocation bytes 0 B
267
+ [ALLOC_CACHEOBJECTS] 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_CACHEOBJECTS_MAIN]
274
+ Peak usage frame count: [0.5 MB-1.0 MB]: 47660 frames
275
+ Requested Block Size 4.0 MB
276
+ Peak Block count 1
277
+ Peak Allocated memory 0.6 MB
278
+ Peak Large allocation bytes 0 B
279
+ [ALLOC_CACHEOBJECTS_THREAD]
280
+ Peak usage frame count: [0.5 MB-1.0 MB]: 47659 frames, [2.0 MB-4.0 MB]: 1 frames
281
+ Requested Block Size 4.0 MB
282
+ Peak Block count 1
283
+ Peak Allocated memory 3.4 MB
284
+ Peak Large allocation bytes 0 B
285
+ [ALLOC_TYPETREE] Dual Thread Allocator
286
+ Peak main deferred allocation count 0
287
+ [ALLOC_BUCKET]
288
+ Large Block size 4.0 MB
289
+ Used Block count 1
290
+ Peak Allocated bytes 1.0 MB
291
+ [ALLOC_TYPETREE_MAIN]
292
+ Peak usage frame count: [0-1.0 KB]: 47660 frames
293
+ Requested Block Size 2.0 MB
294
+ Peak Block count 1
295
+ Peak Allocated memory 1.0 KB
296
+ Peak Large allocation bytes 0 B
297
+ [ALLOC_TYPETREE_THREAD]
298
+ Peak usage frame count: [1.0 KB-2.0 KB]: 47659 frames, [2.0 KB-4.0 KB]: 1 frames
299
+ Requested Block Size 2.0 MB
300
+ Peak Block count 1
301
+ Peak Allocated memory 2.2 KB
302
+ 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.987900733947754,
6
+ "min": 1.987900733947754,
7
+ "max": 2.8546102046966553,
8
+ "count": 26
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 397007.625,
12
+ "min": 139487.671875,
13
+ "max": 558627.0,
14
+ "count": 26
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 59.66019417475728,
18
+ "min": 49.16850551654965,
19
+ "max": 91.63940520446097,
20
+ "count": 26
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 196640.0,
24
+ "min": 41648.0,
25
+ "max": 197212.0,
26
+ "count": 26
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1430.1056701675807,
30
+ "min": 1258.2571707171523,
31
+ "max": 1430.1056701675807,
32
+ "count": 26
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 2356814.144436173,
36
+ "min": 309531.2639964195,
37
+ "max": 2751169.229663174,
38
+ "count": 26
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 3999996.0,
42
+ "min": 1499891.0,
43
+ "max": 3999996.0,
44
+ "count": 26
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 3999996.0,
48
+ "min": 1499891.0,
49
+ "max": 3999996.0,
50
+ "count": 26
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": -0.023623770102858543,
54
+ "min": -0.04748684912919998,
55
+ "max": 0.07822415977716446,
56
+ "count": 26
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": -38.908348083496094,
60
+ "min": -78.63822174072266,
61
+ "max": 119.05716705322266,
62
+ "count": 26
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": -0.023193733766674995,
66
+ "min": -0.04754623770713806,
67
+ "max": 0.0787821114063263,
68
+ "count": 26
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": -38.20008087158203,
72
+ "min": -78.736572265625,
73
+ "max": 119.9063720703125,
74
+ "count": 26
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 26
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 26
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": -0.04918627856207675,
90
+ "min": -0.2980424484428094,
91
+ "max": 0.07948849135590418,
92
+ "count": 26
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": -81.00980079174042,
96
+ "min": -161.53160113096237,
97
+ "max": 111.20439940690994,
98
+ "count": 26
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": -0.04918627856207675,
102
+ "min": -0.2980424484428094,
103
+ "max": 0.07948849135590418,
104
+ "count": 26
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": -81.00980079174042,
108
+ "min": -161.53160113096237,
109
+ "max": 111.20439940690994,
110
+ "count": 26
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 26
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 26
123
+ },
124
+ "SoccerTwos.Losses.PolicyLoss.mean": {
125
+ "value": 0.018397579850716283,
126
+ "min": 0.014280015331169123,
127
+ "max": 0.01906332888213607,
128
+ "count": 25
129
+ },
130
+ "SoccerTwos.Losses.PolicyLoss.sum": {
131
+ "value": 0.09198789925358142,
132
+ "min": 0.06508319377339451,
133
+ "max": 0.09531664441068036,
134
+ "count": 25
135
+ },
136
+ "SoccerTwos.Losses.ValueLoss.mean": {
137
+ "value": 0.1024769835670789,
138
+ "min": 0.06179566949605941,
139
+ "max": 0.11246717503915231,
140
+ "count": 25
141
+ },
142
+ "SoccerTwos.Losses.ValueLoss.sum": {
143
+ "value": 0.5123849178353945,
144
+ "min": 0.30897834748029707,
145
+ "max": 0.549869134525458,
146
+ "count": 25
147
+ },
148
+ "SoccerTwos.Losses.BaselineLoss.mean": {
149
+ "value": 0.10382400318980216,
150
+ "min": 0.06299761322637398,
151
+ "max": 0.1146553639943401,
152
+ "count": 25
153
+ },
154
+ "SoccerTwos.Losses.BaselineLoss.sum": {
155
+ "value": 0.5191200159490108,
156
+ "min": 0.3149880661318699,
157
+ "max": 0.5587463647127151,
158
+ "count": 25
159
+ },
160
+ "SoccerTwos.Policy.LearningRate.mean": {
161
+ "value": 0.0003,
162
+ "min": 0.0003,
163
+ "max": 0.0003,
164
+ "count": 25
165
+ },
166
+ "SoccerTwos.Policy.LearningRate.sum": {
167
+ "value": 0.0014999999999999998,
168
+ "min": 0.0012,
169
+ "max": 0.0014999999999999998,
170
+ "count": 25
171
+ },
172
+ "SoccerTwos.Policy.Epsilon.mean": {
173
+ "value": 0.2000000000000001,
174
+ "min": 0.20000000000000007,
175
+ "max": 0.2000000000000001,
176
+ "count": 25
177
+ },
178
+ "SoccerTwos.Policy.Epsilon.sum": {
179
+ "value": 1.0000000000000004,
180
+ "min": 0.8000000000000003,
181
+ "max": 1.0000000000000004,
182
+ "count": 25
183
+ },
184
+ "SoccerTwos.Policy.Beta.mean": {
185
+ "value": 0.005000000000000001,
186
+ "min": 0.005000000000000001,
187
+ "max": 0.005000000000000001,
188
+ "count": 25
189
+ },
190
+ "SoccerTwos.Policy.Beta.sum": {
191
+ "value": 0.025000000000000005,
192
+ "min": 0.020000000000000004,
193
+ "max": 0.025000000000000005,
194
+ "count": 25
195
+ }
196
+ },
197
+ "metadata": {
198
+ "timer_format_version": "0.1.0",
199
+ "start_time_seconds": "1735551815",
200
+ "python_version": "3.10.12 (main, Jul 5 2023, 15:34:07) [Clang 14.0.6 ]",
201
+ "command_line_arguments": "/opt/miniconda3/envs/rl/bin/mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos/SoccerTwos.app --run-id=SoccerTwos-v2 --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.2.2",
206
+ "numpy_version": "1.23.5",
207
+ "end_time_seconds": "1735569765"
208
+ },
209
+ "total": 17950.380276207998,
210
+ "count": 1,
211
+ "self": 1.122823748999508,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.03164449999999874,
215
+ "count": 1,
216
+ "self": 0.03164449999999874
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 17949.225807959,
220
+ "count": 1,
221
+ "self": 2.9352819302912394,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 5.844047995996178,
225
+ "count": 27,
226
+ "self": 5.844047995996178
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 17940.25007365671,
230
+ "count": 175532,
231
+ "self": 2.7704436200801865,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 13786.285465815437,
235
+ "count": 175532,
236
+ "self": 13330.531572823995,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 453.779812337664,
240
+ "count": 175532,
241
+ "self": 14.00926687950971,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 439.7705454581543,
245
+ "count": 317738,
246
+ "self": 439.7705454581543
247
+ }
248
+ }
249
+ },
250
+ "workers": {
251
+ "total": 1.9740806537791826,
252
+ "count": 175532,
253
+ "self": 0.0,
254
+ "children": {
255
+ "worker_root": {
256
+ "total": 17940.071711200984,
257
+ "count": 175532,
258
+ "is_parallel": true,
259
+ "self": 4938.5274700827085,
260
+ "children": {
261
+ "steps_from_proto": {
262
+ "total": 0.07457846099593723,
263
+ "count": 54,
264
+ "is_parallel": true,
265
+ "self": 0.009313241989218568,
266
+ "children": {
267
+ "_process_rank_one_or_two_observation": {
268
+ "total": 0.06526521900671867,
269
+ "count": 216,
270
+ "is_parallel": true,
271
+ "self": 0.06526521900671867
272
+ }
273
+ }
274
+ },
275
+ "UnityEnvironment.step": {
276
+ "total": 13001.46966265728,
277
+ "count": 175532,
278
+ "is_parallel": true,
279
+ "self": 37.82651737203014,
280
+ "children": {
281
+ "UnityEnvironment._generate_step_input": {
282
+ "total": 224.72221277368357,
283
+ "count": 175532,
284
+ "is_parallel": true,
285
+ "self": 224.72221277368357
286
+ },
287
+ "communicator.exchange": {
288
+ "total": 12282.636984814073,
289
+ "count": 175532,
290
+ "is_parallel": true,
291
+ "self": 12282.636984814073
292
+ },
293
+ "steps_from_proto": {
294
+ "total": 456.28394769749264,
295
+ "count": 351064,
296
+ "is_parallel": true,
297
+ "self": 52.513873125187786,
298
+ "children": {
299
+ "_process_rank_one_or_two_observation": {
300
+ "total": 403.77007457230485,
301
+ "count": 1404256,
302
+ "is_parallel": true,
303
+ "self": 403.77007457230485
304
+ }
305
+ }
306
+ }
307
+ }
308
+ }
309
+ }
310
+ }
311
+ }
312
+ }
313
+ }
314
+ },
315
+ "trainer_advance": {
316
+ "total": 4151.1941642211905,
317
+ "count": 175532,
318
+ "self": 22.755258091840915,
319
+ "children": {
320
+ "process_trajectory": {
321
+ "total": 670.41246533036,
322
+ "count": 175532,
323
+ "self": 669.196809913361,
324
+ "children": {
325
+ "RLTrainer._checkpoint": {
326
+ "total": 1.2156554169990272,
327
+ "count": 6,
328
+ "self": 1.2156554169990272
329
+ }
330
+ }
331
+ },
332
+ "_update_policy": {
333
+ "total": 3458.02644079899,
334
+ "count": 122,
335
+ "self": 330.51740095700006,
336
+ "children": {
337
+ "TorchPOCAOptimizer.update": {
338
+ "total": 3127.5090398419898,
339
+ "count": 3660,
340
+ "self": 3127.5090398419898
341
+ }
342
+ }
343
+ }
344
+ }
345
+ }
346
+ }
347
+ },
348
+ "trainer_threads": {
349
+ "total": 7.920025382190943e-07,
350
+ "count": 1,
351
+ "self": 7.920025382190943e-07
352
+ },
353
+ "TrainerController._save_models": {
354
+ "total": 0.19640358399919933,
355
+ "count": 1,
356
+ "self": 0.005251626000244869,
357
+ "children": {
358
+ "RLTrainer._checkpoint": {
359
+ "total": 0.19115195799895446,
360
+ "count": 1,
361
+ "self": 0.19115195799895446
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": 2499940,
6
+ "file_path": "results/SoccerTwos-v2/SoccerTwos/SoccerTwos-2499940.onnx",
7
+ "reward": 0.0,
8
+ "creation_time": 1735558716.398356,
9
+ "auxillary_file_paths": [
10
+ "results/SoccerTwos-v2/SoccerTwos/SoccerTwos-2499940.pt"
11
+ ]
12
+ },
13
+ {
14
+ "steps": 2999936,
15
+ "file_path": "results/SoccerTwos-v2/SoccerTwos/SoccerTwos-2999936.onnx",
16
+ "reward": 0.0,
17
+ "creation_time": 1735562468.9943502,
18
+ "auxillary_file_paths": [
19
+ "results/SoccerTwos-v2/SoccerTwos/SoccerTwos-2999936.pt"
20
+ ]
21
+ },
22
+ {
23
+ "steps": 3499925,
24
+ "file_path": "results/SoccerTwos-v2/SoccerTwos/SoccerTwos-3499925.onnx",
25
+ "reward": 0.0,
26
+ "creation_time": 1735566184.447575,
27
+ "auxillary_file_paths": [
28
+ "results/SoccerTwos-v2/SoccerTwos/SoccerTwos-3499925.pt"
29
+ ]
30
+ },
31
+ {
32
+ "steps": 3999996,
33
+ "file_path": "results/SoccerTwos-v2/SoccerTwos/SoccerTwos-3999996.onnx",
34
+ "reward": 0.0,
35
+ "creation_time": 1735569764.285316,
36
+ "auxillary_file_paths": [
37
+ "results/SoccerTwos-v2/SoccerTwos/SoccerTwos-3999996.pt"
38
+ ]
39
+ },
40
+ {
41
+ "steps": 4000038,
42
+ "file_path": "results/SoccerTwos-v2/SoccerTwos/SoccerTwos-4000038.onnx",
43
+ "reward": 0.0,
44
+ "creation_time": 1735569764.5025349,
45
+ "auxillary_file_paths": [
46
+ "results/SoccerTwos-v2/SoccerTwos/SoccerTwos-4000038.pt"
47
+ ]
48
+ }
49
+ ],
50
+ "elo": 1431.402021246267,
51
+ "final_checkpoint": {
52
+ "steps": 4000038,
53
+ "file_path": "results/SoccerTwos-v2/SoccerTwos.onnx",
54
+ "reward": 0.0,
55
+ "creation_time": 1735569764.5025349,
56
+ "auxillary_file_paths": [
57
+ "results/SoccerTwos-v2/SoccerTwos/SoccerTwos-4000038.pt"
58
+ ]
59
+ }
60
+ },
61
+ "metadata": {
62
+ "stats_format_version": "0.3.0",
63
+ "mlagents_version": "1.2.0.dev0",
64
+ "torch_version": "2.2.2"
65
+ }
66
+ }