stoyky commited on
Commit
7673a42
1 Parent(s): cdc48c1

Initial commit

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: stoyky/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:8c6ae6451cc6a8a5d8a5e7a775a12fce3425e5cfcf93c8e648f17ad83630e74e
3
+ size 1763220
SoccerTwos/SoccerTwos-13999966.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:67f30afa19732f6fe1f62599fae37885cfb9beb752f352c259fc380f50b599f1
3
+ size 1763220
SoccerTwos/SoccerTwos-13999966.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e4173f6269897ae08a97d0e1842cac3b36105a00b16e6eca9b72a374e666bd64
3
+ size 28425131
SoccerTwos/SoccerTwos-14499954.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1c7431decefd052c98335b995925ad10212c54ea5fca006ae32f647e051a8d25
3
+ size 1763220
SoccerTwos/SoccerTwos-14499954.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2fa409b8fa49a1a9fa9148257cddf50aa1d23becd3e70af2f0fd6edaecc9848c
3
+ size 28425131
SoccerTwos/SoccerTwos-14999840.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:467f8c24c21cb9589cfec5eb99c6fcfab4c3f4a8522eb00cd3380e1e5bdec8f2
3
+ size 1763220
SoccerTwos/SoccerTwos-14999840.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6967391722d87dc68af0a5e906e5b2e5bb518262e0f5a785f2f99f43f21b5d95
3
+ size 28425131
SoccerTwos/SoccerTwos-15151742.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c6ae6451cc6a8a5d8a5e7a775a12fce3425e5cfcf93c8e648f17ad83630e74e
3
+ size 1763220
SoccerTwos/SoccerTwos-15151742.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:36e2445bc98265ba62d09e813c4328fd8bfa913d1b92b39d8a773a0ae6383a07
3
+ size 28425131
SoccerTwos/SoccerTwos-15166016.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c6ae6451cc6a8a5d8a5e7a775a12fce3425e5cfcf93c8e648f17ad83630e74e
3
+ size 1763220
SoccerTwos/SoccerTwos-15166016.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e85d255703dca5d1559f64aba3ce8545779ab36e159e2a6062deb6cae9cdecc0
3
+ size 28425131
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e85d255703dca5d1559f64aba3ce8545779ab36e159e2a6062deb6cae9cdecc0
3
+ size 28425131
SoccerTwos/events.out.tfevents.1691919609.desktop.1877.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2030a4f8d85dfb654319b93d4187034b87254ece51e76f30b9f6748f97cf95cc
3
+ size 10217119
SoccerTwos/events.out.tfevents.1691938828.desktop.8075.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8fcbf9c50f2eb9dc697a2adb67fc81a6729f57b868bcb8b91e85f55578a0abeb
3
+ size 11326
SoccerTwos/events.out.tfevents.1691938828.desktop.8075.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07f298ded87c606fcee8b1c27c4b4e8d5bfb73abd1b0402ea973850da3bc3650
3
+ size 11326
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"}, "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, "checkpoint_interval": 500000, "max_steps": 50000000, "time_horizon": 1000, "summary_freq": 10000, "threaded": false, "self_play": {"save_steps": 50000, "team_change": 200000, "swap_steps": 2000, "window": 10, "play_against_latest_model_ratio": 0.5, "initial_elo": 1200.0}, "behavioral_cloning": null}}, "env_settings": {"env_path": "./training-envs-executables/SoccerTwos.x86_64", "env_args": null, "base_port": 5005, "num_envs": 1, "num_areas": 1, "seed": -1, "max_lifetime_restarts": 10, "restarts_rate_limit_n": 1, "restarts_rate_limit_period_s": 60}, "engine_settings": {"width": 84, "height": 84, "quality_level": 5, "time_scale": 20, "target_frame_rate": -1, "capture_frame_rate": 60, "no_graphics": true}, "environment_parameters": null, "checkpoint_settings": {"run_id": "SoccerTwos2", "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,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ network_settings:
17
+ normalize: false
18
+ hidden_units: 512
19
+ num_layers: 2
20
+ vis_encode_type: simple
21
+ memory: null
22
+ goal_conditioning_type: hyper
23
+ deterministic: false
24
+ reward_signals:
25
+ extrinsic:
26
+ gamma: 0.99
27
+ strength: 1.0
28
+ network_settings:
29
+ normalize: false
30
+ hidden_units: 128
31
+ num_layers: 2
32
+ vis_encode_type: simple
33
+ memory: null
34
+ goal_conditioning_type: hyper
35
+ deterministic: false
36
+ init_path: null
37
+ keep_checkpoints: 5
38
+ checkpoint_interval: 500000
39
+ max_steps: 50000000
40
+ time_horizon: 1000
41
+ summary_freq: 10000
42
+ threaded: false
43
+ self_play:
44
+ save_steps: 50000
45
+ team_change: 200000
46
+ swap_steps: 2000
47
+ window: 10
48
+ play_against_latest_model_ratio: 0.5
49
+ initial_elo: 1200.0
50
+ behavioral_cloning: null
51
+ env_settings:
52
+ env_path: ./training-envs-executables/SoccerTwos.x86_64
53
+ env_args: null
54
+ base_port: 5005
55
+ num_envs: 1
56
+ num_areas: 1
57
+ seed: -1
58
+ max_lifetime_restarts: 10
59
+ restarts_rate_limit_n: 1
60
+ restarts_rate_limit_period_s: 60
61
+ engine_settings:
62
+ width: 84
63
+ height: 84
64
+ quality_level: 5
65
+ time_scale: 20
66
+ target_frame_rate: -1
67
+ capture_frame_rate: 60
68
+ no_graphics: true
69
+ environment_parameters: null
70
+ checkpoint_settings:
71
+ run_id: SoccerTwos2
72
+ initialize_from: null
73
+ load_model: false
74
+ resume: true
75
+ force: false
76
+ train_model: false
77
+ inference: false
78
+ results_dir: results
79
+ torch_settings:
80
+ device: null
81
+ debug: false
run_logs/Player-0.log ADDED
@@ -0,0 +1,284 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/home/rj/git/SoccerTwos-Experiment/ml-agents/training-envs-executables/SoccerTwos_Data/Managed'
2
+ Mono config path = '/home/rj/git/SoccerTwos-Experiment/ml-agents/training-envs-executables/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/rj/git/SoccerTwos-Experiment/ml-agents/training-envs-executables/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.055 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.485813 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]: 296 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.7 KB
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 B
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 2
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]: 297 frames
201
+ Requested Block Size 16.0 MB
202
+ Peak Block count 1
203
+ Peak Allocated memory 4.7 MB
204
+ Peak Large allocation bytes 0 B
205
+ [ALLOC_DEFAULT_THREAD]
206
+ Peak usage frame count: [16.0 MB-32.0 MB]: 297 frames
207
+ Requested Block Size 16.0 MB
208
+ Peak Block count 1
209
+ Peak Allocated memory 17.5 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]: 296 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]: 297 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]: 297 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]: 296 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]: 297 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]: 296 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,333 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "SoccerTwos.Policy.Entropy.mean": {
5
+ "value": 2.0848796367645264,
6
+ "min": 2.0848796367645264,
7
+ "max": 2.0848796367645264,
8
+ "count": 2
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 41964.45703125,
12
+ "min": 41964.45703125,
13
+ "max": 41964.45703125,
14
+ "count": 2
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 99.73170731707317,
18
+ "min": 99.73170731707317,
19
+ "max": 99.73170731707317,
20
+ "count": 2
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 16356.0,
24
+ "min": 16356.0,
25
+ "max": 16356.0,
26
+ "count": 2
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1573.855320449373,
30
+ "min": 1573.855320449373,
31
+ "max": 1573.855320449373,
32
+ "count": 2
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 129056.13627684859,
36
+ "min": 129056.13627684859,
37
+ "max": 129056.13627684859,
38
+ "count": 2
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 15159963.0,
42
+ "min": 15159963.0,
43
+ "max": 15159963.0,
44
+ "count": 2
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 15159963.0,
48
+ "min": 15159963.0,
49
+ "max": 15159963.0,
50
+ "count": 2
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": -0.03139190748333931,
54
+ "min": -0.03139190748333931,
55
+ "max": -0.03139190748333931,
56
+ "count": 2
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": -2.5427446365356445,
60
+ "min": -2.5427446365356445,
61
+ "max": -2.5427446365356445,
62
+ "count": 2
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": -0.03286875784397125,
66
+ "min": -0.03286875784397125,
67
+ "max": -0.03286875784397125,
68
+ "count": 2
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": -2.6623694896698,
72
+ "min": -2.6623694896698,
73
+ "max": -2.6623694896698,
74
+ "count": 2
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 2
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 2
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": -0.11639506434216912,
90
+ "min": -0.11639506434216912,
91
+ "max": -0.11639506434216912,
92
+ "count": 2
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": -9.428000211715698,
96
+ "min": -9.428000211715698,
97
+ "max": -9.428000211715698,
98
+ "count": 2
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": -0.11639506434216912,
102
+ "min": -0.11639506434216912,
103
+ "max": -0.11639506434216912,
104
+ "count": 2
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": -9.428000211715698,
108
+ "min": -9.428000211715698,
109
+ "max": -9.428000211715698,
110
+ "count": 2
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 2
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 2
123
+ }
124
+ },
125
+ "metadata": {
126
+ "timer_format_version": "0.1.0",
127
+ "start_time_seconds": "1691938828",
128
+ "python_version": "3.8.17 (default, Aug 12 2023, 11:35:15) \n[GCC 12.2.0]",
129
+ "command_line_arguments": "/home/rj/git/SoccerTwos-Experiment/rl/bin/mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos.x86_64 --run-id=SoccerTwos2 --no-graphics --resume",
130
+ "mlagents_version": "0.30.0",
131
+ "mlagents_envs_version": "0.31.0.dev0",
132
+ "communication_protocol_version": "1.5.0",
133
+ "pytorch_version": "1.8.1+cu102",
134
+ "numpy_version": "1.21.2",
135
+ "end_time_seconds": "1691938847"
136
+ },
137
+ "total": 19.233548452000832,
138
+ "count": 1,
139
+ "self": 0.04269905399996787,
140
+ "children": {
141
+ "run_training.setup": {
142
+ "total": 0.016969304000667762,
143
+ "count": 1,
144
+ "self": 0.016969304000667762
145
+ },
146
+ "TrainerController.start_learning": {
147
+ "total": 19.173880094000197,
148
+ "count": 1,
149
+ "self": 0.01757897601419245,
150
+ "children": {
151
+ "TrainerController._reset_env": {
152
+ "total": 2.5280304399966553,
153
+ "count": 2,
154
+ "self": 2.5280304399966553
155
+ },
156
+ "TrainerController.advance": {
157
+ "total": 16.452380556991557,
158
+ "count": 1042,
159
+ "self": 0.016848541981744347,
160
+ "children": {
161
+ "env_step": {
162
+ "total": 14.86173546901773,
163
+ "count": 1042,
164
+ "self": 11.586702440163208,
165
+ "children": {
166
+ "SubprocessEnvManager._take_step": {
167
+ "total": 3.2640924369152344,
168
+ "count": 1042,
169
+ "self": 0.08654742198632448,
170
+ "children": {
171
+ "TorchPolicy.evaluate": {
172
+ "total": 3.17754501492891,
173
+ "count": 1976,
174
+ "self": 3.17754501492891
175
+ }
176
+ }
177
+ },
178
+ "workers": {
179
+ "total": 0.010940591939288424,
180
+ "count": 1042,
181
+ "self": 0.0,
182
+ "children": {
183
+ "worker_root": {
184
+ "total": 18.973768526062486,
185
+ "count": 1042,
186
+ "is_parallel": true,
187
+ "self": 9.374608403035381,
188
+ "children": {
189
+ "run_training.setup": {
190
+ "total": 0.0,
191
+ "count": 0,
192
+ "is_parallel": true,
193
+ "self": 0.0,
194
+ "children": {
195
+ "steps_from_proto": {
196
+ "total": 0.0018578439994598739,
197
+ "count": 2,
198
+ "is_parallel": true,
199
+ "self": 0.0004488080012379214,
200
+ "children": {
201
+ "_process_rank_one_or_two_observation": {
202
+ "total": 0.0014090359982219525,
203
+ "count": 8,
204
+ "is_parallel": true,
205
+ "self": 0.0014090359982219525
206
+ }
207
+ }
208
+ },
209
+ "UnityEnvironment.step": {
210
+ "total": 0.01887377000093693,
211
+ "count": 1,
212
+ "is_parallel": true,
213
+ "self": 0.0003956840046157595,
214
+ "children": {
215
+ "UnityEnvironment._generate_step_input": {
216
+ "total": 0.0003201449981133919,
217
+ "count": 1,
218
+ "is_parallel": true,
219
+ "self": 0.0003201449981133919
220
+ },
221
+ "communicator.exchange": {
222
+ "total": 0.01677491100053885,
223
+ "count": 1,
224
+ "is_parallel": true,
225
+ "self": 0.01677491100053885
226
+ },
227
+ "steps_from_proto": {
228
+ "total": 0.0013830299976689275,
229
+ "count": 2,
230
+ "is_parallel": true,
231
+ "self": 0.00027834899447043426,
232
+ "children": {
233
+ "_process_rank_one_or_two_observation": {
234
+ "total": 0.0011046810031984933,
235
+ "count": 8,
236
+ "is_parallel": true,
237
+ "self": 0.0011046810031984933
238
+ }
239
+ }
240
+ }
241
+ }
242
+ }
243
+ }
244
+ },
245
+ "steps_from_proto": {
246
+ "total": 0.0014911150028638076,
247
+ "count": 2,
248
+ "is_parallel": true,
249
+ "self": 0.00028380099684000015,
250
+ "children": {
251
+ "_process_rank_one_or_two_observation": {
252
+ "total": 0.0012073140060238075,
253
+ "count": 8,
254
+ "is_parallel": true,
255
+ "self": 0.0012073140060238075
256
+ }
257
+ }
258
+ },
259
+ "UnityEnvironment.step": {
260
+ "total": 9.59766900802424,
261
+ "count": 1041,
262
+ "is_parallel": true,
263
+ "self": 0.467117640102515,
264
+ "children": {
265
+ "UnityEnvironment._generate_step_input": {
266
+ "total": 0.2962214838989894,
267
+ "count": 1041,
268
+ "is_parallel": true,
269
+ "self": 0.2962214838989894
270
+ },
271
+ "communicator.exchange": {
272
+ "total": 7.481069154087891,
273
+ "count": 1041,
274
+ "is_parallel": true,
275
+ "self": 7.481069154087891
276
+ },
277
+ "steps_from_proto": {
278
+ "total": 1.3532607299348456,
279
+ "count": 2082,
280
+ "is_parallel": true,
281
+ "self": 0.2788171200081706,
282
+ "children": {
283
+ "_process_rank_one_or_two_observation": {
284
+ "total": 1.074443609926675,
285
+ "count": 8328,
286
+ "is_parallel": true,
287
+ "self": 1.074443609926675
288
+ }
289
+ }
290
+ }
291
+ }
292
+ }
293
+ }
294
+ }
295
+ }
296
+ }
297
+ }
298
+ },
299
+ "trainer_advance": {
300
+ "total": 1.5737965459920815,
301
+ "count": 1042,
302
+ "self": 0.09985104594670702,
303
+ "children": {
304
+ "process_trajectory": {
305
+ "total": 1.4739455000453745,
306
+ "count": 1042,
307
+ "self": 1.4739455000453745
308
+ }
309
+ }
310
+ }
311
+ }
312
+ },
313
+ "trainer_threads": {
314
+ "total": 8.589995559304953e-07,
315
+ "count": 1,
316
+ "self": 8.589995559304953e-07
317
+ },
318
+ "TrainerController._save_models": {
319
+ "total": 0.17588926199823618,
320
+ "count": 1,
321
+ "self": 0.0018678550004551653,
322
+ "children": {
323
+ "RLTrainer._checkpoint": {
324
+ "total": 0.17402140699778101,
325
+ "count": 1,
326
+ "self": 0.17402140699778101
327
+ }
328
+ }
329
+ }
330
+ }
331
+ }
332
+ }
333
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "checkpoints": [
4
+ {
5
+ "steps": 13999966,
6
+ "file_path": "results/SoccerTwos2/SoccerTwos/SoccerTwos-13999966.onnx",
7
+ "reward": 0.0,
8
+ "creation_time": 1691937262.4146087,
9
+ "auxillary_file_paths": [
10
+ "results/SoccerTwos2/SoccerTwos/SoccerTwos-13999966.pt"
11
+ ]
12
+ },
13
+ {
14
+ "steps": 14499954,
15
+ "file_path": "results/SoccerTwos2/SoccerTwos/SoccerTwos-14499954.onnx",
16
+ "reward": 0.0,
17
+ "creation_time": 1691937963.4777071,
18
+ "auxillary_file_paths": [
19
+ "results/SoccerTwos2/SoccerTwos/SoccerTwos-14499954.pt"
20
+ ]
21
+ },
22
+ {
23
+ "steps": 14999840,
24
+ "file_path": "results/SoccerTwos2/SoccerTwos/SoccerTwos-14999840.onnx",
25
+ "reward": 0.0,
26
+ "creation_time": 1691938611.4917068,
27
+ "auxillary_file_paths": [
28
+ "results/SoccerTwos2/SoccerTwos/SoccerTwos-14999840.pt"
29
+ ]
30
+ },
31
+ {
32
+ "steps": 15151742,
33
+ "file_path": "results/SoccerTwos2/SoccerTwos/SoccerTwos-15151742.onnx",
34
+ "reward": 0.0,
35
+ "creation_time": 1691938802.8932633,
36
+ "auxillary_file_paths": [
37
+ "results/SoccerTwos2/SoccerTwos/SoccerTwos-15151742.pt"
38
+ ]
39
+ },
40
+ {
41
+ "steps": 15166016,
42
+ "file_path": "results/SoccerTwos2/SoccerTwos/SoccerTwos-15166016.onnx",
43
+ "reward": 0.0,
44
+ "creation_time": 1691938847.4903913,
45
+ "auxillary_file_paths": [
46
+ "results/SoccerTwos2/SoccerTwos/SoccerTwos-15166016.pt"
47
+ ]
48
+ }
49
+ ],
50
+ "elo": 1567.0085535630271,
51
+ "final_checkpoint": {
52
+ "steps": 15166016,
53
+ "file_path": "results/SoccerTwos2/SoccerTwos.onnx",
54
+ "reward": 0.0,
55
+ "creation_time": 1691938847.4903913,
56
+ "auxillary_file_paths": [
57
+ "results/SoccerTwos2/SoccerTwos/SoccerTwos-15166016.pt"
58
+ ]
59
+ }
60
+ },
61
+ "metadata": {
62
+ "stats_format_version": "0.3.0",
63
+ "mlagents_version": "0.30.0",
64
+ "torch_version": "1.8.1+cu102"
65
+ }
66
+ }