rng0x17 commited on
Commit
0df1bc0
1 Parent(s): b4ce80e

initial commit

Browse files
README.md ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ tags:
4
+ - unity-ml-agents
5
+ - ml-agents
6
+ - deep-reinforcement-learning
7
+ - reinforcement-learning
8
+ - ML-Agents-SoccerTwos
9
+ library_name: ml-agents
10
+ ---
11
+
12
+ # **poca** Agent playing **SoccerTwos**
13
+ This is a trained model of a **poca** agent playing **SoccerTwos** using the [Unity ML-Agents Library](https://github.com/Unity-Technologies/ml-agents).
14
+
15
+ ## Usage (with ML-Agents)
16
+ The Documentation: https://github.com/huggingface/ml-agents#get-started
17
+ We wrote a complete tutorial to learn to train your first agent using ML-Agents and publish it to the Hub:
18
+
19
+
20
+ ### Resume the training
21
+ ```
22
+ mlagents-learn <your_configuration_file_path.yaml> --run-id=<run_id> --resume
23
+ ```
24
+ ### Watch your Agent play
25
+ You can watch your agent **playing directly in your browser:**.
26
+
27
+ 1. Go to https://huggingface.co/spaces/unity/ML-Agents-SoccerTwos
28
+ 2. Step 1: Write your model_id: grinsepilz/poca-SoccerTwos
29
+ 3. Step 2: Select your *.nn /*.onnx file
30
+ 4. Click on Watch the agent play 👀
31
+
SoccerTwos.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9556c599329389517532250777093f8e0901f436bab8d8d31b7e626aa99b9cbb
3
+ size 1768041
SoccerTwos/SoccerTwos-10000006.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9556c599329389517532250777093f8e0901f436bab8d8d31b7e626aa99b9cbb
3
+ size 1768041
SoccerTwos/SoccerTwos-10000006.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:090ef3a7077391728f5c1cda7b89014e1d9cd7625e169c228ed0f0eea18c56d1
3
+ size 28432689
SoccerTwos/SoccerTwos-8499982.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fd67b142da05d7edac5ea72bdaa3e4036f2f9e571d20055e986ccf5d2b6b63f0
3
+ size 1768041
SoccerTwos/SoccerTwos-8499982.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:79abec607927dd4f2aec3c9acbe895b4954d09158f1083923e850281a99d2c24
3
+ size 28432689
SoccerTwos/SoccerTwos-8999977.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a4f541c7b5271b942b5acf384288a135ce937876a893b8cc3ee08bb7f317281
3
+ size 1768041
SoccerTwos/SoccerTwos-8999977.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:abd79ef7f5df60b940d2a894fa7f8437960672fc8bd21783d04240934777ca93
3
+ size 28432689
SoccerTwos/SoccerTwos-9499976.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5bb1be3050dd5a94948adeeead570ab1459e2796c5973180f47838f62a53b66c
3
+ size 1768041
SoccerTwos/SoccerTwos-9499976.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1ad2f4bdcaab8b746843c733a7e8860c64fd6d6ec69b3593de73648685dc7014
3
+ size 28432689
SoccerTwos/SoccerTwos-9999933.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:efb954fbc947cdea997b011317ca9b4771442cd9cade2ac44e9d7c9e0599af00
3
+ size 1768041
SoccerTwos/SoccerTwos-9999933.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:303d9cac09e1006e41b749e536e61172b96dfe17d955c73f0d3157ac97de0a04
3
+ size 28432689
SoccerTwos/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:090ef3a7077391728f5c1cda7b89014e1d9cd7625e169c228ed0f0eea18c56d1
3
+ size 28432689
SoccerTwos/events.out.tfevents.1679916615.linux.fritz.box.942.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b4102600138f6737ef7b7e1e455ff537210dcccbd6c084da411d637d8fb4650c
3
+ size 33034
SoccerTwos/events.out.tfevents.1679916852.linux.fritz.box.1233.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4bdd5529d826edce4776d24c07d7ddfc9140c0b1d9e7eecf69983ff874320019
3
+ size 4286577
SoccerTwos/events.out.tfevents.1679955038.linux.fritz.box.21311.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b173265cc4c836cfbc996fc349afbb0de1a4b521a006d85039b0642d8db72458
3
+ size 422323
SoccerTwos/events.out.tfevents.1679985522.localhost.localdomain.32187.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:62c98d9e90aee31efae8347f44ca9c7ce590ecf02d878cd9f3ca439c1b8d6b98
3
+ size 5139972
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": true, "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.exe", "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: true
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.exe
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,264 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/home/ringo/cld/projects/hf-rl/unit7/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos_Data/Managed'
2
+ Mono config path = '/home/ringo/cld/projects/hf-rl/unit7/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos_Data/MonoBleedingEdge/etc'
3
+ Preloaded 'lib_burst_generated.so'
4
+ Preloaded 'libgrpc_csharp_ext.x64.so'
5
+ Initialize engine version: 2021.3.14f1 (eee1884e7226)
6
+ [Subsystems] Discovering subsystems at path /home/ringo/cld/projects/hf-rl/unit7/ml-agents/training-envs-executables/SoccerTwos/SoccerTwos_Data/UnitySubsystems
7
+ Forcing GfxDevice: Null
8
+ GfxDevice: creating device client; threaded=0; jobified=0
9
+ NullGfxDevice:
10
+ Version: NULL 1.0 [1.0]
11
+ Renderer: Null Device
12
+ Vendor: Unity Technologies
13
+ Begin MonoManager ReloadAssembly
14
+ - Completed reload, in 0.131 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.606368 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 2 worker threads for Enlighten.
44
+ Memory Statistics:
45
+ [ALLOC_TEMP_TLS] TLS Allocator
46
+ StackAllocators :
47
+ [ALLOC_TEMP_MAIN]
48
+ Peak usage frame count: [2.0 KB-4.0 KB]: 1 frames, [8.0 KB-16.0 KB]: 94140 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_Background Job.Worker 9]
69
+ Initial Block Size 32.0 KB
70
+ Current Block Size 32.0 KB
71
+ Peak Allocated Bytes 0 B
72
+ Overflow Count 0
73
+ [ALLOC_TEMP_Job.Worker 0]
74
+ Initial Block Size 256.0 KB
75
+ Current Block Size 256.0 KB
76
+ Peak Allocated Bytes 0 B
77
+ Overflow Count 0
78
+ [ALLOC_TEMP_Background Job.Worker 10]
79
+ Initial Block Size 32.0 KB
80
+ Current Block Size 32.0 KB
81
+ Peak Allocated Bytes 0 B
82
+ Overflow Count 0
83
+ [ALLOC_TEMP_Background Job.Worker 14]
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_Background Job.Worker 6]
89
+ Initial Block Size 32.0 KB
90
+ Current Block Size 32.0 KB
91
+ Peak Allocated Bytes 0 B
92
+ Overflow Count 0
93
+ [ALLOC_TEMP_Background Job.Worker 12]
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_EnlightenWorker] x 2
99
+ Initial Block Size 64.0 KB
100
+ Current Block Size 64.0 KB
101
+ Peak Allocated Bytes 0 B
102
+ Overflow Count 0
103
+ [ALLOC_TEMP_Background Job.Worker 15]
104
+ Initial Block Size 32.0 KB
105
+ Current Block Size 32.0 KB
106
+ Peak Allocated Bytes 0 B
107
+ Overflow Count 0
108
+ [ALLOC_TEMP_Background Job.Worker 1]
109
+ Initial Block Size 32.0 KB
110
+ Current Block Size 32.0 KB
111
+ Peak Allocated Bytes 0 B
112
+ Overflow Count 0
113
+ [ALLOC_TEMP_Background Job.Worker 2]
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_Background Job.Worker 7]
119
+ Initial Block Size 32.0 KB
120
+ Current Block Size 32.0 KB
121
+ Peak Allocated Bytes 0 B
122
+ Overflow Count 0
123
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 3
124
+ Initial Block Size 64.0 KB
125
+ Current Block Size 64.0 KB
126
+ Peak Allocated Bytes 0 B
127
+ Overflow Count 0
128
+ [ALLOC_TEMP_Background Job.Worker 5]
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 13]
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_Job.Worker 1]
139
+ Initial Block Size 256.0 KB
140
+ Current Block Size 256.0 KB
141
+ Peak Allocated Bytes 0.7 KB
142
+ Overflow Count 0
143
+ [ALLOC_TEMP_Job.Worker 2]
144
+ Initial Block Size 256.0 KB
145
+ Current Block Size 256.0 KB
146
+ Peak Allocated Bytes 0 B
147
+ Overflow Count 0
148
+ [ALLOC_TEMP_Background Job.Worker 3]
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 11]
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_Background Job.Worker 0]
159
+ Initial Block Size 32.0 KB
160
+ Current Block Size 32.0 KB
161
+ Peak Allocated Bytes 0 B
162
+ Overflow Count 0
163
+ [ALLOC_TEMP_Background Job.Worker 4]
164
+ Initial Block Size 32.0 KB
165
+ Current Block Size 32.0 KB
166
+ Peak Allocated Bytes 0 B
167
+ Overflow Count 0
168
+ [ALLOC_TEMP_BatchDeleteObjects]
169
+ Initial Block Size 64.0 KB
170
+ Current Block Size 64.0 KB
171
+ Peak Allocated Bytes 0 B
172
+ Overflow Count 0
173
+ [ALLOC_DEFAULT] Dual Thread Allocator
174
+ Peak main deferred allocation count 3
175
+ [ALLOC_BUCKET]
176
+ Large Block size 4.0 MB
177
+ Used Block count 1
178
+ Peak Allocated bytes 1.0 MB
179
+ [ALLOC_DEFAULT_MAIN]
180
+ Peak usage frame count: [4.0 MB-8.0 MB]: 94142 frames
181
+ Requested Block Size 16.0 MB
182
+ Peak Block count 1
183
+ Peak Allocated memory 4.6 MB
184
+ Peak Large allocation bytes 0 B
185
+ [ALLOC_DEFAULT_THREAD]
186
+ Peak usage frame count: [16.0 MB-32.0 MB]: 94142 frames
187
+ Requested Block Size 16.0 MB
188
+ Peak Block count 1
189
+ Peak Allocated memory 17.7 MB
190
+ Peak Large allocation bytes 16.0 MB
191
+ [ALLOC_TEMP_JOB_1_FRAME]
192
+ Initial Block Size 2.0 MB
193
+ Used Block Count 1
194
+ Overflow Count (too large) 0
195
+ Overflow Count (full) 0
196
+ [ALLOC_TEMP_JOB_2_FRAMES]
197
+ Initial Block Size 2.0 MB
198
+ Used Block Count 1
199
+ Overflow Count (too large) 0
200
+ Overflow Count (full) 0
201
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
202
+ Initial Block Size 2.0 MB
203
+ Used Block Count 2
204
+ Overflow Count (too large) 0
205
+ Overflow Count (full) 0
206
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
207
+ Initial Block Size 1.0 MB
208
+ Used Block Count 3
209
+ Overflow Count (too large) 0
210
+ Overflow Count (full) 0
211
+ [ALLOC_GFX] Dual Thread Allocator
212
+ Peak main deferred allocation count 0
213
+ [ALLOC_BUCKET]
214
+ Large Block size 4.0 MB
215
+ Used Block count 1
216
+ Peak Allocated bytes 1.0 MB
217
+ [ALLOC_GFX_MAIN]
218
+ Peak usage frame count: [32.0 KB-64.0 KB]: 94141 frames, [64.0 KB-128.0 KB]: 1 frames
219
+ Requested Block Size 16.0 MB
220
+ Peak Block count 1
221
+ Peak Allocated memory 65.6 KB
222
+ Peak Large allocation bytes 0 B
223
+ [ALLOC_GFX_THREAD]
224
+ Peak usage frame count: [128.0 KB-256.0 KB]: 94142 frames
225
+ Requested Block Size 16.0 MB
226
+ Peak Block count 1
227
+ Peak Allocated memory 173.5 KB
228
+ Peak Large allocation bytes 0 B
229
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
230
+ Peak main deferred allocation count 0
231
+ [ALLOC_BUCKET]
232
+ Large Block size 4.0 MB
233
+ Used Block count 1
234
+ Peak Allocated bytes 1.0 MB
235
+ [ALLOC_CACHEOBJECTS_MAIN]
236
+ Peak usage frame count: [0.5 MB-1.0 MB]: 94142 frames
237
+ Requested Block Size 4.0 MB
238
+ Peak Block count 1
239
+ Peak Allocated memory 0.6 MB
240
+ Peak Large allocation bytes 0 B
241
+ [ALLOC_CACHEOBJECTS_THREAD]
242
+ Peak usage frame count: [0.5 MB-1.0 MB]: 94141 frames, [4.0 MB-8.0 MB]: 1 frames
243
+ Requested Block Size 4.0 MB
244
+ Peak Block count 2
245
+ Peak Allocated memory 4.5 MB
246
+ Peak Large allocation bytes 0 B
247
+ [ALLOC_TYPETREE] Dual Thread Allocator
248
+ Peak main deferred allocation count 0
249
+ [ALLOC_BUCKET]
250
+ Large Block size 4.0 MB
251
+ Used Block count 1
252
+ Peak Allocated bytes 1.0 MB
253
+ [ALLOC_TYPETREE_MAIN]
254
+ Peak usage frame count: [0-1.0 KB]: 94142 frames
255
+ Requested Block Size 2.0 MB
256
+ Peak Block count 1
257
+ Peak Allocated memory 1.0 KB
258
+ Peak Large allocation bytes 0 B
259
+ [ALLOC_TYPETREE_THREAD]
260
+ Peak usage frame count: [1.0 KB-2.0 KB]: 94141 frames, [2.0 KB-4.0 KB]: 1 frames
261
+ Requested Block Size 2.0 MB
262
+ Peak Block count 1
263
+ Peak Allocated memory 2.2 KB
264
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,424 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "SoccerTwos.Policy.Entropy.mean": {
5
+ "value": 1.6562832593917847,
6
+ "min": 1.6314400434494019,
7
+ "max": 1.8750160932540894,
8
+ "count": 500
9
+ },
10
+ "SoccerTwos.Policy.Entropy.sum": {
11
+ "value": 31853.640625,
12
+ "min": 28858.076171875,
13
+ "max": 42406.2265625,
14
+ "count": 500
15
+ },
16
+ "SoccerTwos.Environment.EpisodeLength.mean": {
17
+ "value": 63.11538461538461,
18
+ "min": 51.45161290322581,
19
+ "max": 101.14285714285714,
20
+ "count": 500
21
+ },
22
+ "SoccerTwos.Environment.EpisodeLength.sum": {
23
+ "value": 19692.0,
24
+ "min": 17704.0,
25
+ "max": 22064.0,
26
+ "count": 500
27
+ },
28
+ "SoccerTwos.Self-play.ELO.mean": {
29
+ "value": 1514.3005140133923,
30
+ "min": 1472.297814991086,
31
+ "max": 1553.713721455609,
32
+ "count": 500
33
+ },
34
+ "SoccerTwos.Self-play.ELO.sum": {
35
+ "value": 236230.8801860892,
36
+ "min": 149103.03121118248,
37
+ "max": 282468.9686071773,
38
+ "count": 500
39
+ },
40
+ "SoccerTwos.Step.mean": {
41
+ "value": 9999933.0,
42
+ "min": 5009998.0,
43
+ "max": 9999933.0,
44
+ "count": 500
45
+ },
46
+ "SoccerTwos.Step.sum": {
47
+ "value": 9999933.0,
48
+ "min": 5009998.0,
49
+ "max": 9999933.0,
50
+ "count": 500
51
+ },
52
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.mean": {
53
+ "value": -0.05249769985675812,
54
+ "min": -0.13148464262485504,
55
+ "max": 0.05596024543046951,
56
+ "count": 500
57
+ },
58
+ "SoccerTwos.Policy.ExtrinsicBaselineEstimate.sum": {
59
+ "value": -8.189640998840332,
60
+ "min": -17.235153198242188,
61
+ "max": 7.91728401184082,
62
+ "count": 500
63
+ },
64
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.mean": {
65
+ "value": -0.05584041401743889,
66
+ "min": -0.1335737258195877,
67
+ "max": 0.056299399584531784,
68
+ "count": 500
69
+ },
70
+ "SoccerTwos.Policy.ExtrinsicValueEstimate.sum": {
71
+ "value": -8.711104393005371,
72
+ "min": -17.356407165527344,
73
+ "max": 8.444910049438477,
74
+ "count": 500
75
+ },
76
+ "SoccerTwos.Environment.CumulativeReward.mean": {
77
+ "value": 0.0,
78
+ "min": 0.0,
79
+ "max": 0.0,
80
+ "count": 500
81
+ },
82
+ "SoccerTwos.Environment.CumulativeReward.sum": {
83
+ "value": 0.0,
84
+ "min": 0.0,
85
+ "max": 0.0,
86
+ "count": 500
87
+ },
88
+ "SoccerTwos.Policy.ExtrinsicReward.mean": {
89
+ "value": -0.08698461605952336,
90
+ "min": -0.37835263107952316,
91
+ "max": 0.25190099277118644,
92
+ "count": 500
93
+ },
94
+ "SoccerTwos.Policy.ExtrinsicReward.sum": {
95
+ "value": -13.569600105285645,
96
+ "min": -53.19479960203171,
97
+ "max": 37.885400235652924,
98
+ "count": 500
99
+ },
100
+ "SoccerTwos.Environment.GroupCumulativeReward.mean": {
101
+ "value": -0.08698461605952336,
102
+ "min": -0.37835263107952316,
103
+ "max": 0.25190099277118644,
104
+ "count": 500
105
+ },
106
+ "SoccerTwos.Environment.GroupCumulativeReward.sum": {
107
+ "value": -13.569600105285645,
108
+ "min": -53.19479960203171,
109
+ "max": 37.885400235652924,
110
+ "count": 500
111
+ },
112
+ "SoccerTwos.IsTraining.mean": {
113
+ "value": 1.0,
114
+ "min": 1.0,
115
+ "max": 1.0,
116
+ "count": 500
117
+ },
118
+ "SoccerTwos.IsTraining.sum": {
119
+ "value": 1.0,
120
+ "min": 1.0,
121
+ "max": 1.0,
122
+ "count": 500
123
+ },
124
+ "SoccerTwos.Losses.PolicyLoss.mean": {
125
+ "value": 0.02393716434792926,
126
+ "min": 0.014079737310142566,
127
+ "max": 0.02616255192551762,
128
+ "count": 242
129
+ },
130
+ "SoccerTwos.Losses.PolicyLoss.sum": {
131
+ "value": 0.02393716434792926,
132
+ "min": 0.014079737310142566,
133
+ "max": 0.02616255192551762,
134
+ "count": 242
135
+ },
136
+ "SoccerTwos.Losses.ValueLoss.mean": {
137
+ "value": 0.08583134735623996,
138
+ "min": 0.06973431346317133,
139
+ "max": 0.10001775523026785,
140
+ "count": 242
141
+ },
142
+ "SoccerTwos.Losses.ValueLoss.sum": {
143
+ "value": 0.08583134735623996,
144
+ "min": 0.06973431346317133,
145
+ "max": 0.10001775523026785,
146
+ "count": 242
147
+ },
148
+ "SoccerTwos.Losses.BaselineLoss.mean": {
149
+ "value": 0.08799832488099733,
150
+ "min": 0.07077779869238536,
151
+ "max": 0.1023145705461502,
152
+ "count": 242
153
+ },
154
+ "SoccerTwos.Losses.BaselineLoss.sum": {
155
+ "value": 0.08799832488099733,
156
+ "min": 0.07077779869238536,
157
+ "max": 0.1023145705461502,
158
+ "count": 242
159
+ },
160
+ "SoccerTwos.Policy.LearningRate.mean": {
161
+ "value": 0.0003,
162
+ "min": 0.0003,
163
+ "max": 0.0003,
164
+ "count": 242
165
+ },
166
+ "SoccerTwos.Policy.LearningRate.sum": {
167
+ "value": 0.0003,
168
+ "min": 0.0003,
169
+ "max": 0.0003,
170
+ "count": 242
171
+ },
172
+ "SoccerTwos.Policy.Epsilon.mean": {
173
+ "value": 0.20000000000000007,
174
+ "min": 0.20000000000000007,
175
+ "max": 0.20000000000000007,
176
+ "count": 242
177
+ },
178
+ "SoccerTwos.Policy.Epsilon.sum": {
179
+ "value": 0.20000000000000007,
180
+ "min": 0.20000000000000007,
181
+ "max": 0.20000000000000007,
182
+ "count": 242
183
+ },
184
+ "SoccerTwos.Policy.Beta.mean": {
185
+ "value": 0.005000000000000001,
186
+ "min": 0.005000000000000001,
187
+ "max": 0.005000000000000001,
188
+ "count": 242
189
+ },
190
+ "SoccerTwos.Policy.Beta.sum": {
191
+ "value": 0.005000000000000001,
192
+ "min": 0.005000000000000001,
193
+ "max": 0.005000000000000001,
194
+ "count": 242
195
+ }
196
+ },
197
+ "metadata": {
198
+ "timer_format_version": "0.1.0",
199
+ "start_time_seconds": "1679985522",
200
+ "python_version": "3.9.16 | packaged by conda-forge | (main, Feb 1 2023, 21:39:03) \n[GCC 11.3.0]",
201
+ "command_line_arguments": "/home/ringo/mambaforge/envs/hfrl/bin/mlagents-learn ./config/poca/SoccerTwos.yaml --env=./training-envs-executables/SoccerTwos/SoccerTwos.exe --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+cu102",
206
+ "numpy_version": "1.21.2",
207
+ "end_time_seconds": "1680016724"
208
+ },
209
+ "total": 24313.71771201497,
210
+ "count": 1,
211
+ "self": 2.9138656069990247,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.015369058004580438,
215
+ "count": 1,
216
+ "self": 0.015369058004580438
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 24310.788477349968,
220
+ "count": 1,
221
+ "self": 9.222995623131283,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 1.4797519982093945,
225
+ "count": 26,
226
+ "self": 1.4797519982093945
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 24299.41270082968,
230
+ "count": 342090,
231
+ "self": 9.934009993739892,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 7612.56840700563,
235
+ "count": 342090,
236
+ "self": 6056.9270176969585,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 1550.1477266561124,
240
+ "count": 342090,
241
+ "self": 61.78468085563509,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 1488.3630458004773,
245
+ "count": 627618,
246
+ "self": 1488.3630458004773
247
+ }
248
+ }
249
+ },
250
+ "workers": {
251
+ "total": 5.493662652559578,
252
+ "count": 342090,
253
+ "self": 0.0,
254
+ "children": {
255
+ "worker_root": {
256
+ "total": 24290.890230248508,
257
+ "count": 342090,
258
+ "is_parallel": true,
259
+ "self": 19264.375193852524,
260
+ "children": {
261
+ "run_training.setup": {
262
+ "total": 0.0,
263
+ "count": 0,
264
+ "is_parallel": true,
265
+ "self": 0.0,
266
+ "children": {
267
+ "steps_from_proto": {
268
+ "total": 0.0024053090601228178,
269
+ "count": 2,
270
+ "is_parallel": true,
271
+ "self": 0.0005294650327414274,
272
+ "children": {
273
+ "_process_rank_one_or_two_observation": {
274
+ "total": 0.0018758440273813903,
275
+ "count": 8,
276
+ "is_parallel": true,
277
+ "self": 0.0018758440273813903
278
+ }
279
+ }
280
+ },
281
+ "UnityEnvironment.step": {
282
+ "total": 0.040790316998027265,
283
+ "count": 1,
284
+ "is_parallel": true,
285
+ "self": 0.0009819030528888106,
286
+ "children": {
287
+ "UnityEnvironment._generate_step_input": {
288
+ "total": 0.0008409549482166767,
289
+ "count": 1,
290
+ "is_parallel": true,
291
+ "self": 0.0008409549482166767
292
+ },
293
+ "communicator.exchange": {
294
+ "total": 0.03553954302333295,
295
+ "count": 1,
296
+ "is_parallel": true,
297
+ "self": 0.03553954302333295
298
+ },
299
+ "steps_from_proto": {
300
+ "total": 0.0034279159735888243,
301
+ "count": 2,
302
+ "is_parallel": true,
303
+ "self": 0.0008762438665144145,
304
+ "children": {
305
+ "_process_rank_one_or_two_observation": {
306
+ "total": 0.0025516721070744097,
307
+ "count": 8,
308
+ "is_parallel": true,
309
+ "self": 0.0025516721070744097
310
+ }
311
+ }
312
+ }
313
+ }
314
+ }
315
+ }
316
+ },
317
+ "steps_from_proto": {
318
+ "total": 0.052746042085345834,
319
+ "count": 50,
320
+ "is_parallel": true,
321
+ "self": 0.009087739512324333,
322
+ "children": {
323
+ "_process_rank_one_or_two_observation": {
324
+ "total": 0.0436583025730215,
325
+ "count": 200,
326
+ "is_parallel": true,
327
+ "self": 0.0436583025730215
328
+ }
329
+ }
330
+ },
331
+ "UnityEnvironment.step": {
332
+ "total": 5026.462290353898,
333
+ "count": 342089,
334
+ "is_parallel": true,
335
+ "self": 324.2165042582201,
336
+ "children": {
337
+ "UnityEnvironment._generate_step_input": {
338
+ "total": 208.9578202543198,
339
+ "count": 342089,
340
+ "is_parallel": true,
341
+ "self": 208.9578202543198
342
+ },
343
+ "communicator.exchange": {
344
+ "total": 3586.169831904408,
345
+ "count": 342089,
346
+ "is_parallel": true,
347
+ "self": 3586.169831904408
348
+ },
349
+ "steps_from_proto": {
350
+ "total": 907.1181339369505,
351
+ "count": 684178,
352
+ "is_parallel": true,
353
+ "self": 171.8929641985451,
354
+ "children": {
355
+ "_process_rank_one_or_two_observation": {
356
+ "total": 735.2251697384054,
357
+ "count": 2736712,
358
+ "is_parallel": true,
359
+ "self": 735.2251697384054
360
+ }
361
+ }
362
+ }
363
+ }
364
+ }
365
+ }
366
+ }
367
+ }
368
+ }
369
+ }
370
+ },
371
+ "trainer_advance": {
372
+ "total": 16676.910283830308,
373
+ "count": 342090,
374
+ "self": 65.73303402314195,
375
+ "children": {
376
+ "process_trajectory": {
377
+ "total": 1852.718066975649,
378
+ "count": 342090,
379
+ "self": 1849.2685519036604,
380
+ "children": {
381
+ "RLTrainer._checkpoint": {
382
+ "total": 3.4495150719885714,
383
+ "count": 10,
384
+ "self": 3.4495150719885714
385
+ }
386
+ }
387
+ },
388
+ "_update_policy": {
389
+ "total": 14758.459182831517,
390
+ "count": 242,
391
+ "self": 871.5637143905624,
392
+ "children": {
393
+ "TorchPOCAOptimizer.update": {
394
+ "total": 13886.895468440955,
395
+ "count": 7260,
396
+ "self": 13886.895468440955
397
+ }
398
+ }
399
+ }
400
+ }
401
+ }
402
+ }
403
+ },
404
+ "trainer_threads": {
405
+ "total": 1.1409865692257881e-06,
406
+ "count": 1,
407
+ "self": 1.1409865692257881e-06
408
+ },
409
+ "TrainerController._save_models": {
410
+ "total": 0.6730277579627,
411
+ "count": 1,
412
+ "self": 0.004883406974840909,
413
+ "children": {
414
+ "RLTrainer._checkpoint": {
415
+ "total": 0.6681443509878591,
416
+ "count": 1,
417
+ "self": 0.6681443509878591
418
+ }
419
+ }
420
+ }
421
+ }
422
+ }
423
+ }
424
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SoccerTwos": {
3
+ "elo": 1510.5179322330282,
4
+ "checkpoints": [
5
+ {
6
+ "steps": 8499982,
7
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-8499982.onnx",
8
+ "reward": 0.0,
9
+ "creation_time": 1680008105.6476367,
10
+ "auxillary_file_paths": [
11
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-8499982.pt"
12
+ ]
13
+ },
14
+ {
15
+ "steps": 8999977,
16
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-8999977.onnx",
17
+ "reward": 0.0,
18
+ "creation_time": 1680010637.2626488,
19
+ "auxillary_file_paths": [
20
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-8999977.pt"
21
+ ]
22
+ },
23
+ {
24
+ "steps": 9499976,
25
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-9499976.onnx",
26
+ "reward": 0.0,
27
+ "creation_time": 1680013638.2338345,
28
+ "auxillary_file_paths": [
29
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-9499976.pt"
30
+ ]
31
+ },
32
+ {
33
+ "steps": 9999933,
34
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-9999933.onnx",
35
+ "reward": 0.0,
36
+ "creation_time": 1680016720.6113105,
37
+ "auxillary_file_paths": [
38
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-9999933.pt"
39
+ ]
40
+ },
41
+ {
42
+ "steps": 10000006,
43
+ "file_path": "results/SoccerTwos/SoccerTwos/SoccerTwos-10000006.onnx",
44
+ "reward": 0.0,
45
+ "creation_time": 1680016721.3603675,
46
+ "auxillary_file_paths": [
47
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-10000006.pt"
48
+ ]
49
+ }
50
+ ],
51
+ "final_checkpoint": {
52
+ "steps": 10000006,
53
+ "file_path": "results/SoccerTwos/SoccerTwos.onnx",
54
+ "reward": 0.0,
55
+ "creation_time": 1680016721.3603675,
56
+ "auxillary_file_paths": [
57
+ "results/SoccerTwos/SoccerTwos/SoccerTwos-10000006.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+cu102"
65
+ }
66
+ }