bwilkie commited on
Commit
c0dbfa8
·
1 Parent(s): a673640

First Push

Browse files
Pyramids.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b3d6da5d13565fede4ef063e488bbc8e42fc4848c8db6d9bca9033a84fb6f3d8
3
+ size 160200
Pyramids/Pyramids-499968.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b3d6da5d13565fede4ef063e488bbc8e42fc4848c8db6d9bca9033a84fb6f3d8
3
+ size 160200
Pyramids/Pyramids-499968.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6745d3899463ec21260f59334e3baf4d961acb841edc9354099e1bfceafd0553
3
+ size 951652
Pyramids/Pyramids-500096.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b3d6da5d13565fede4ef063e488bbc8e42fc4848c8db6d9bca9033a84fb6f3d8
3
+ size 160200
Pyramids/Pyramids-500096.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f9ef8d23b9237aaed414eb693a09b1e1947c7d9735ac936c96c4f82c8f7c1ec1
3
+ size 951652
Pyramids/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f9ef8d23b9237aaed414eb693a09b1e1947c7d9735ac936c96c4f82c8f7c1ec1
3
+ size 951652
Pyramids/events.out.tfevents.1689786296.90a0c33ecba0.5243.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1430a830a338afeb8739f297071525d53663195ba4762989a2ed79b6402da2c3
3
+ size 8668
README.md ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: ml-agents
3
+ tags:
4
+ - Pyramids
5
+ - deep-reinforcement-learning
6
+ - reinforcement-learning
7
+ - ML-Agents-Pyramids
8
+ ---
9
+
10
+ # **ppo** Agent playing **Pyramids**
11
+ This is a trained model of a **ppo** agent playing **Pyramids**
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: bwilkie/ppo-Pyramids
33
+ 3. Step 2: Select your *.nn /*.onnx file
34
+ 4. Click on Watch the agent play 👀
35
+
config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"default_settings": null, "behaviors": {"Pyramids": {"trainer_type": "ppo", "hyperparameters": {"batch_size": 1024, "buffer_size": 10240, "learning_rate": 0.0003, "beta": 0.005, "epsilon": 0.2, "lambd": 0.95, "num_epoch": 3, "shared_critic": false, "learning_rate_schedule": "linear", "beta_schedule": "linear", "epsilon_schedule": "linear"}, "checkpoint_interval": 500000, "network_settings": {"normalize": false, "hidden_units": 128, "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": 500000, "time_horizon": 128, "summary_freq": 50000, "threaded": false, "self_play": null, "behavioral_cloning": null}}, "env_settings": {"env_path": "./training-envs-executables/linux/Pyramids/Pyramids", "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": "Pyramids Training", "initialize_from": null, "load_model": false, "resume": false, "force": true, "train_model": false, "inference": false, "results_dir": "results"}, "torch_settings": {"device": null}, "debug": false}
configuration.yaml ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ default_settings: null
2
+ behaviors:
3
+ Pyramids:
4
+ trainer_type: ppo
5
+ hyperparameters:
6
+ batch_size: 1024
7
+ buffer_size: 10240
8
+ learning_rate: 0.0003
9
+ beta: 0.005
10
+ epsilon: 0.2
11
+ lambd: 0.95
12
+ num_epoch: 3
13
+ shared_critic: false
14
+ learning_rate_schedule: linear
15
+ beta_schedule: linear
16
+ epsilon_schedule: linear
17
+ checkpoint_interval: 500000
18
+ network_settings:
19
+ normalize: false
20
+ hidden_units: 128
21
+ num_layers: 2
22
+ vis_encode_type: simple
23
+ memory: null
24
+ goal_conditioning_type: hyper
25
+ deterministic: false
26
+ reward_signals:
27
+ extrinsic:
28
+ gamma: 0.99
29
+ strength: 1.0
30
+ network_settings:
31
+ normalize: false
32
+ hidden_units: 128
33
+ num_layers: 2
34
+ vis_encode_type: simple
35
+ memory: null
36
+ goal_conditioning_type: hyper
37
+ deterministic: false
38
+ init_path: null
39
+ keep_checkpoints: 5
40
+ even_checkpoints: false
41
+ max_steps: 500000
42
+ time_horizon: 128
43
+ summary_freq: 50000
44
+ threaded: false
45
+ self_play: null
46
+ behavioral_cloning: null
47
+ env_settings:
48
+ env_path: ./training-envs-executables/linux/Pyramids/Pyramids
49
+ env_args: null
50
+ base_port: 5005
51
+ num_envs: 1
52
+ num_areas: 1
53
+ seed: -1
54
+ max_lifetime_restarts: 10
55
+ restarts_rate_limit_n: 1
56
+ restarts_rate_limit_period_s: 60
57
+ engine_settings:
58
+ width: 84
59
+ height: 84
60
+ quality_level: 5
61
+ time_scale: 20
62
+ target_frame_rate: -1
63
+ capture_frame_rate: 60
64
+ no_graphics: true
65
+ environment_parameters: null
66
+ checkpoint_settings:
67
+ run_id: Pyramids Training
68
+ initialize_from: null
69
+ load_model: false
70
+ resume: false
71
+ force: true
72
+ train_model: false
73
+ inference: false
74
+ results_dir: results
75
+ torch_settings:
76
+ device: null
77
+ debug: false
run_logs/Player-0.log ADDED
@@ -0,0 +1,314 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/content/ml-agents/training-envs-executables/linux/Pyramids/Pyramids_Data/Managed'
2
+ Mono config path = '/content/ml-agents/training-envs-executables/linux/Pyramids/Pyramids_Data/MonoBleedingEdge/etc'
3
+ Found 1 interfaces on host : 0) 172.28.0.12
4
+ Multi-casting "[IP] 172.28.0.12 [Port] 55469 [Flags] 2 [Guid] 2751586646 [EditorId] 764847374 [Version] 1048832 [Id] LinuxPlayer(13,172.28.0.12) [Debug] 0 [PackageName] LinuxPlayer [ProjectName] UnityEnvironment" to [225.0.0.222:54997]...
5
+ Preloaded 'lib_burst_generated.so'
6
+ Preloaded 'libgrpc_csharp_ext.x64.so'
7
+ Initialize engine version: 2021.3.5f1 (40eb3a945986)
8
+ [Subsystems] Discovering subsystems at path /content/ml-agents/training-envs-executables/linux/Pyramids/Pyramids_Data/UnitySubsystems
9
+ Forcing GfxDevice: Null
10
+ GfxDevice: creating device client; threaded=0; jobified=0
11
+ NullGfxDevice:
12
+ Version: NULL 1.0 [1.0]
13
+ Renderer: Null Device
14
+ Vendor: Unity Technologies
15
+ ALSA lib confmisc.c:855:(parse_card) cannot find card '0'
16
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
17
+ ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
18
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
19
+ ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name
20
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
21
+ ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory
22
+ ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM default
23
+ FMOD failed to initialize the output device.: "Error initializing output device. " (60)
24
+ Forced to initialize FMOD to to the device driver's system output rate 48000, this may impact performance and/or give inconsistent experiences compared to selected sample rate 48000
25
+ ALSA lib confmisc.c:855:(parse_card) cannot find card '0'
26
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
27
+ ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
28
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
29
+ ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name
30
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
31
+ ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory
32
+ ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM default
33
+ FMOD failed to initialize the output device.: "Error initializing output device. " (60)
34
+ FMOD initialized on nosound output
35
+ Begin MonoManager ReloadAssembly
36
+ - Completed reload, in 0.142 seconds
37
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
38
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
39
+ ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
40
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
41
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
42
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
43
+ ERROR: Shader Autodesk Interactive shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
44
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
45
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
46
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
47
+ WARNING: Shader Unsupported: 'Legacy Shaders/Diffuse' - All subshaders removed
48
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
49
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
50
+ ERROR: Shader Legacy Shaders/Diffuse shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
51
+ WARNING: Shader Unsupported: 'Legacy Shaders/Diffuse' - All subshaders removed
52
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
53
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
54
+ WARNING: Shader Unsupported: 'ML-Agents/GridPattern' - All subshaders removed
55
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
56
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
57
+ ERROR: Shader ML-Agents/GridPattern shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
58
+ WARNING: Shader Unsupported: 'ML-Agents/GridPattern' - All subshaders removed
59
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
60
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
61
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
62
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
63
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
64
+ ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
65
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
66
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
67
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
68
+ UnloadTime: 1.249569 ms
69
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
70
+ requesting resize 84 x 84
71
+ Setting up 1 worker threads for Enlighten.
72
+ PlayerConnection::CleanupMemory Statistics:
73
+ [ALLOC_TEMP_TLS] TLS Allocator
74
+ StackAllocators :
75
+ [ALLOC_TEMP_MAIN]
76
+ Peak usage frame count: [16.0 KB-32.0 KB]: 2890 frames, [32.0 KB-64.0 KB]: 6420 frames, [64.0 KB-128.0 KB]: 66 frames, [2.0 MB-4.0 MB]: 1 frames
77
+ Initial Block Size 4.0 MB
78
+ Current Block Size 4.0 MB
79
+ Peak Allocated Bytes 2.0 MB
80
+ Overflow Count 0
81
+ [ALLOC_TEMP_Background Job.Worker 8]
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 10]
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_Background Job.Worker 6]
92
+ Initial Block Size 32.0 KB
93
+ Current Block Size 32.0 KB
94
+ Peak Allocated Bytes 0 B
95
+ Overflow Count 0
96
+ [ALLOC_TEMP_AUDIO_FMOD mixer thread]
97
+ Initial Block Size 64.0 KB
98
+ Current Block Size 64.0 KB
99
+ Peak Allocated Bytes 0 B
100
+ Overflow Count 0
101
+ [ALLOC_TEMP_Background Job.Worker 1]
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_Background Job.Worker 11]
107
+ Initial Block Size 32.0 KB
108
+ Current Block Size 32.0 KB
109
+ Peak Allocated Bytes 0 B
110
+ Overflow Count 0
111
+ [ALLOC_TEMP_Background Job.Worker 3]
112
+ Initial Block Size 32.0 KB
113
+ Current Block Size 32.0 KB
114
+ Peak Allocated Bytes 0 B
115
+ Overflow Count 0
116
+ [ALLOC_TEMP_BatchDeleteObjects]
117
+ Initial Block Size 64.0 KB
118
+ Current Block Size 64.0 KB
119
+ Peak Allocated Bytes 0 B
120
+ Overflow Count 0
121
+ [ALLOC_TEMP_AUDIO_FMOD stream thread]
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 2]
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 7]
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 15]
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_Loading.PreloadManager]
142
+ Initial Block Size 256.0 KB
143
+ Current Block Size 320.0 KB
144
+ Peak Allocated Bytes 251.5 KB
145
+ Overflow Count 4
146
+ [ALLOC_TEMP_Profiler.Dispatcher]
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 12]
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_AssetGarbageCollectorHelper]
157
+ Initial Block Size 64.0 KB
158
+ Current Block Size 64.0 KB
159
+ Peak Allocated Bytes 0 B
160
+ Overflow Count 0
161
+ [ALLOC_TEMP_Background Job.Worker 5]
162
+ Initial Block Size 32.0 KB
163
+ Current Block Size 32.0 KB
164
+ Peak Allocated Bytes 0 B
165
+ Overflow Count 0
166
+ [ALLOC_TEMP_Background Job.Worker 13]
167
+ Initial Block Size 32.0 KB
168
+ Current Block Size 32.0 KB
169
+ Peak Allocated Bytes 0 B
170
+ Overflow Count 0
171
+ [ALLOC_TEMP_Background Job.Worker 0]
172
+ Initial Block Size 32.0 KB
173
+ Current Block Size 32.0 KB
174
+ Peak Allocated Bytes 0 B
175
+ Overflow Count 0
176
+ [ALLOC_TEMP_Background Job.Worker 4]
177
+ Initial Block Size 32.0 KB
178
+ Current Block Size 32.0 KB
179
+ Peak Allocated Bytes 0 B
180
+ Overflow Count 0
181
+ [ALLOC_TEMP_Job.Worker 0]
182
+ Initial Block Size 256.0 KB
183
+ Current Block Size 256.0 KB
184
+ Peak Allocated Bytes 0.8 KB
185
+ Overflow Count 0
186
+ [ALLOC_TEMP_Background Job.Worker 14]
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 9]
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_EnlightenWorker]
197
+ Initial Block Size 64.0 KB
198
+ Current Block Size 64.0 KB
199
+ Peak Allocated Bytes 0 B
200
+ Overflow Count 0
201
+ [ALLOC_TEMP_Loading.AsyncRead]
202
+ Initial Block Size 64.0 KB
203
+ Current Block Size 64.0 KB
204
+ Peak Allocated Bytes 128 B
205
+ Overflow Count 0
206
+ [ALLOC_MEMORYPROFILER]
207
+ Peak usage frame count: [0.5 MB-1.0 MB]: 299 frames, [1.0 MB-2.0 MB]: 9078 frames
208
+ Requested Block Size 1.0 MB
209
+ Peak Block count 2
210
+ Peak Allocated memory 1.6 MB
211
+ Peak Large allocation bytes 0 B
212
+ [ALLOC_DEFAULT] Dual Thread Allocator
213
+ Peak main deferred allocation count 12554
214
+ [ALLOC_BUCKET]
215
+ Large Block size 4.0 MB
216
+ Used Block count 1
217
+ Peak Allocated bytes 1.7 MB
218
+ [ALLOC_DEFAULT_MAIN]
219
+ Peak usage frame count: [8.0 MB-16.0 MB]: 1 frames, [16.0 MB-32.0 MB]: 9376 frames
220
+ Requested Block Size 16.0 MB
221
+ Peak Block count 3
222
+ Peak Allocated memory 31.0 MB
223
+ Peak Large allocation bytes 0 B
224
+ [ALLOC_DEFAULT_THREAD]
225
+ Peak usage frame count: [16.0 MB-32.0 MB]: 9377 frames
226
+ Requested Block Size 16.0 MB
227
+ Peak Block count 1
228
+ Peak Allocated memory 23.0 MB
229
+ Peak Large allocation bytes 16.0 MB
230
+ [ALLOC_TEMP_JOB_1_FRAME]
231
+ Initial Block Size 2.0 MB
232
+ Used Block Count 1
233
+ Overflow Count (too large) 0
234
+ Overflow Count (full) 0
235
+ [ALLOC_TEMP_JOB_2_FRAMES]
236
+ Initial Block Size 2.0 MB
237
+ Used Block Count 1
238
+ Overflow Count (too large) 0
239
+ Overflow Count (full) 0
240
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
241
+ Initial Block Size 2.0 MB
242
+ Used Block Count 2
243
+ Overflow Count (too large) 0
244
+ Overflow Count (full) 0
245
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
246
+ Initial Block Size 1.0 MB
247
+ Used Block Count 3
248
+ Overflow Count (too large) 0
249
+ Overflow Count (full) 0
250
+ [ALLOC_GFX] Dual Thread Allocator
251
+ Peak main deferred allocation count 0
252
+ [ALLOC_BUCKET]
253
+ Large Block size 4.0 MB
254
+ Used Block count 1
255
+ Peak Allocated bytes 1.7 MB
256
+ [ALLOC_GFX_MAIN]
257
+ Peak usage frame count: [32.0 KB-64.0 KB]: 9376 frames, [64.0 KB-128.0 KB]: 1 frames
258
+ Requested Block Size 16.0 MB
259
+ Peak Block count 1
260
+ Peak Allocated memory 67.0 KB
261
+ Peak Large allocation bytes 0 B
262
+ [ALLOC_GFX_THREAD]
263
+ Peak usage frame count: [64.0 KB-128.0 KB]: 9377 frames
264
+ Requested Block Size 16.0 MB
265
+ Peak Block count 1
266
+ Peak Allocated memory 67.7 KB
267
+ Peak Large allocation bytes 0 B
268
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
269
+ Peak main deferred allocation count 1
270
+ [ALLOC_BUCKET]
271
+ Large Block size 4.0 MB
272
+ Used Block count 1
273
+ Peak Allocated bytes 1.7 MB
274
+ [ALLOC_CACHEOBJECTS_MAIN]
275
+ Peak usage frame count: [0.5 MB-1.0 MB]: 299 frames, [1.0 MB-2.0 MB]: 9078 frames
276
+ Requested Block Size 4.0 MB
277
+ Peak Block count 1
278
+ Peak Allocated memory 1.4 MB
279
+ Peak Large allocation bytes 0 B
280
+ [ALLOC_CACHEOBJECTS_THREAD]
281
+ Peak usage frame count: [1.0 MB-2.0 MB]: 9376 frames, [2.0 MB-4.0 MB]: 1 frames
282
+ Requested Block Size 4.0 MB
283
+ Peak Block count 1
284
+ Peak Allocated memory 3.9 MB
285
+ Peak Large allocation bytes 0 B
286
+ [ALLOC_TYPETREE] Dual Thread Allocator
287
+ Peak main deferred allocation count 0
288
+ [ALLOC_BUCKET]
289
+ Large Block size 4.0 MB
290
+ Used Block count 1
291
+ Peak Allocated bytes 1.7 MB
292
+ [ALLOC_TYPETREE_MAIN]
293
+ Peak usage frame count: [0-1.0 KB]: 9377 frames
294
+ Requested Block Size 2.0 MB
295
+ Peak Block count 1
296
+ Peak Allocated memory 1.0 KB
297
+ Peak Large allocation bytes 0 B
298
+ [ALLOC_TYPETREE_THREAD]
299
+ Peak usage frame count: [1.0 KB-2.0 KB]: 9377 frames
300
+ Requested Block Size 2.0 MB
301
+ Peak Block count 1
302
+ Peak Allocated memory 1.9 KB
303
+ Peak Large allocation bytes 0 B
304
+ [ALLOC_PROFILER]
305
+ Peak usage frame count: [16.0 KB-32.0 KB]: 9377 frames
306
+ Requested Block Size 16.0 MB
307
+ Peak Block count 1
308
+ Peak Allocated memory 29.2 KB
309
+ Peak Large allocation bytes 0 B
310
+ [ALLOC_PROFILER_BUCKET]
311
+ Large Block size 4.0 MB
312
+ Used Block count 1
313
+ Peak Allocated bytes 396 B
314
+ ##utp:{"type":"MemoryLeaks","version":2,"phase":"Immediate","time":1689787308623,"processId":5262,"allocatedMemory":1970133,"memoryLabels":[{"Default":9033},{"Permanent":1264},{"NewDelete":12801},{"Thread":34460},{"Manager":10603},{"VertexData":12},{"Geometry":280},{"Texture":16},{"Shader":69173},{"Material":24},{"GfxDevice":35248},{"Animation":304},{"Audio":3976},{"Physics":288},{"Serialization":216},{"Input":9176},{"JobScheduler":200},{"Mono":40},{"ScriptingNativeRuntime":216},{"BaseObject":1609212},{"Resource":592},{"Renderer":1936},{"Transform":48},{"File":800},{"WebCam":24},{"Culling":40},{"Terrain":953},{"Wind":24},{"String":3447},{"DynamicArray":30868},{"HashMap":7680},{"Utility":1360},{"PoolAlloc":1160},{"TypeTree":1792},{"ScriptManager":80},{"RuntimeInitializeOnLoadManager":72},{"SpriteAtlas":112},{"GI":3272},{"Unet":16},{"Director":7760},{"WebRequest":720},{"VR":45473},{"SceneManager":424},{"Video":32},{"LazyScriptCache":32},{"NativeArray":384},{"Camera":25},{"Secure":1},{"SerializationCache":624},{"APIUpdating":5872},{"Subsystems":384},{"VirtualTexturing":57552},{"AssetReference":32}]}
run_logs/timers.json ADDED
@@ -0,0 +1,362 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "Pyramids.Policy.Entropy.mean": {
5
+ "value": 1.3937236070632935,
6
+ "min": 1.3937236070632935,
7
+ "max": 1.5890371799468994,
8
+ "count": 10
9
+ },
10
+ "Pyramids.Policy.Entropy.sum": {
11
+ "value": 69753.078125,
12
+ "min": 69709.3984375,
13
+ "max": 79528.1328125,
14
+ "count": 10
15
+ },
16
+ "Pyramids.Step.mean": {
17
+ "value": 499968.0,
18
+ "min": 49920.0,
19
+ "max": 499968.0,
20
+ "count": 10
21
+ },
22
+ "Pyramids.Step.sum": {
23
+ "value": 499968.0,
24
+ "min": 49920.0,
25
+ "max": 499968.0,
26
+ "count": 10
27
+ },
28
+ "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
29
+ "value": -0.09940119087696075,
30
+ "min": -0.09940119087696075,
31
+ "max": 0.06577372550964355,
32
+ "count": 10
33
+ },
34
+ "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
35
+ "value": -39.760475158691406,
36
+ "min": -39.760475158691406,
37
+ "max": 26.243717193603516,
38
+ "count": 10
39
+ },
40
+ "Pyramids.Losses.PolicyLoss.mean": {
41
+ "value": 0.02394913114425656,
42
+ "min": 0.021691647771424898,
43
+ "max": 0.028071414444400374,
44
+ "count": 10
45
+ },
46
+ "Pyramids.Losses.PolicyLoss.sum": {
47
+ "value": 0.09579652457702624,
48
+ "min": 0.08676659108569959,
49
+ "max": 0.11643507294744876,
50
+ "count": 10
51
+ },
52
+ "Pyramids.Losses.ValueLoss.mean": {
53
+ "value": 3.9693593952037965e-05,
54
+ "min": 3.9693593952037965e-05,
55
+ "max": 0.0026047847794034903,
56
+ "count": 10
57
+ },
58
+ "Pyramids.Losses.ValueLoss.sum": {
59
+ "value": 0.00015877437580815186,
60
+ "min": 0.00015877437580815186,
61
+ "max": 0.010419139117613961,
62
+ "count": 10
63
+ },
64
+ "Pyramids.Policy.LearningRate.mean": {
65
+ "value": 1.55136948288e-05,
66
+ "min": 1.55136948288e-05,
67
+ "max": 0.00028191360602879996,
68
+ "count": 10
69
+ },
70
+ "Pyramids.Policy.LearningRate.sum": {
71
+ "value": 6.20547793152e-05,
72
+ "min": 6.20547793152e-05,
73
+ "max": 0.0011276544241151998,
74
+ "count": 10
75
+ },
76
+ "Pyramids.Policy.Epsilon.mean": {
77
+ "value": 0.10517120000000002,
78
+ "min": 0.10517120000000002,
79
+ "max": 0.1939712,
80
+ "count": 10
81
+ },
82
+ "Pyramids.Policy.Epsilon.sum": {
83
+ "value": 0.4206848000000001,
84
+ "min": 0.4206848000000001,
85
+ "max": 0.7758848,
86
+ "count": 10
87
+ },
88
+ "Pyramids.Policy.Beta.mean": {
89
+ "value": 0.0002680428800000001,
90
+ "min": 0.0002680428800000001,
91
+ "max": 0.004699162880000001,
92
+ "count": 10
93
+ },
94
+ "Pyramids.Policy.Beta.sum": {
95
+ "value": 0.0010721715200000003,
96
+ "min": 0.0010721715200000003,
97
+ "max": 0.018796651520000002,
98
+ "count": 10
99
+ },
100
+ "Pyramids.Environment.EpisodeLength.mean": {
101
+ "value": 999.0,
102
+ "min": 999.0,
103
+ "max": 999.0,
104
+ "count": 10
105
+ },
106
+ "Pyramids.Environment.EpisodeLength.sum": {
107
+ "value": 47952.0,
108
+ "min": 47952.0,
109
+ "max": 63936.0,
110
+ "count": 10
111
+ },
112
+ "Pyramids.Environment.CumulativeReward.mean": {
113
+ "value": -1.0000000521540642,
114
+ "min": -1.0000000521540642,
115
+ "max": -1.0000000521540642,
116
+ "count": 10
117
+ },
118
+ "Pyramids.Environment.CumulativeReward.sum": {
119
+ "value": -48.00000250339508,
120
+ "min": -63.00000328570604,
121
+ "max": -48.00000250339508,
122
+ "count": 10
123
+ },
124
+ "Pyramids.Policy.ExtrinsicReward.mean": {
125
+ "value": -1.0000000521540642,
126
+ "min": -1.0000000521540642,
127
+ "max": -1.0000000521540642,
128
+ "count": 10
129
+ },
130
+ "Pyramids.Policy.ExtrinsicReward.sum": {
131
+ "value": -48.00000250339508,
132
+ "min": -63.00000328570604,
133
+ "max": -48.00000250339508,
134
+ "count": 10
135
+ },
136
+ "Pyramids.IsTraining.mean": {
137
+ "value": 1.0,
138
+ "min": 1.0,
139
+ "max": 1.0,
140
+ "count": 10
141
+ },
142
+ "Pyramids.IsTraining.sum": {
143
+ "value": 1.0,
144
+ "min": 1.0,
145
+ "max": 1.0,
146
+ "count": 10
147
+ }
148
+ },
149
+ "metadata": {
150
+ "timer_format_version": "0.1.0",
151
+ "start_time_seconds": "1689786295",
152
+ "python_version": "3.10.6 (main, May 29 2023, 11:10:38) [GCC 11.3.0]",
153
+ "command_line_arguments": "/usr/local/bin/mlagents-learn ./config/ppo/PyramidsRND.yaml --env=./training-envs-executables/linux/Pyramids/Pyramids --force --run-id=Pyramids Training --no-graphics",
154
+ "mlagents_version": "0.31.0.dev0",
155
+ "mlagents_envs_version": "0.31.0.dev0",
156
+ "communication_protocol_version": "1.5.0",
157
+ "pytorch_version": "1.11.0+cu102",
158
+ "numpy_version": "1.21.2",
159
+ "end_time_seconds": "1689787308"
160
+ },
161
+ "total": 1013.613986283,
162
+ "count": 1,
163
+ "self": 0.536947930000224,
164
+ "children": {
165
+ "run_training.setup": {
166
+ "total": 0.03985256200007825,
167
+ "count": 1,
168
+ "self": 0.03985256200007825
169
+ },
170
+ "TrainerController.start_learning": {
171
+ "total": 1013.0371857909997,
172
+ "count": 1,
173
+ "self": 1.2283353200023157,
174
+ "children": {
175
+ "TrainerController._reset_env": {
176
+ "total": 1.4102321279999614,
177
+ "count": 1,
178
+ "self": 1.4102321279999614
179
+ },
180
+ "TrainerController.advance": {
181
+ "total": 1010.3314114759969,
182
+ "count": 31256,
183
+ "self": 1.1762683250083228,
184
+ "children": {
185
+ "env_step": {
186
+ "total": 764.154593203998,
187
+ "count": 31256,
188
+ "self": 707.2820088429914,
189
+ "children": {
190
+ "SubprocessEnvManager._take_step": {
191
+ "total": 56.16116271201349,
192
+ "count": 31256,
193
+ "self": 3.510930706048157,
194
+ "children": {
195
+ "TorchPolicy.evaluate": {
196
+ "total": 52.650232005965336,
197
+ "count": 31256,
198
+ "self": 52.650232005965336
199
+ }
200
+ }
201
+ },
202
+ "workers": {
203
+ "total": 0.7114216489931096,
204
+ "count": 31256,
205
+ "self": 0.0,
206
+ "children": {
207
+ "worker_root": {
208
+ "total": 1009.7733735070146,
209
+ "count": 31256,
210
+ "is_parallel": true,
211
+ "self": 385.3697634270302,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.0,
215
+ "count": 0,
216
+ "is_parallel": true,
217
+ "self": 0.0,
218
+ "children": {
219
+ "steps_from_proto": {
220
+ "total": 0.0026957669999774225,
221
+ "count": 1,
222
+ "is_parallel": true,
223
+ "self": 0.0009450680004192691,
224
+ "children": {
225
+ "_process_rank_one_or_two_observation": {
226
+ "total": 0.0017506989995581534,
227
+ "count": 8,
228
+ "is_parallel": true,
229
+ "self": 0.0017506989995581534
230
+ }
231
+ }
232
+ },
233
+ "UnityEnvironment.step": {
234
+ "total": 0.059914064999929906,
235
+ "count": 1,
236
+ "is_parallel": true,
237
+ "self": 0.0007067689998621063,
238
+ "children": {
239
+ "UnityEnvironment._generate_step_input": {
240
+ "total": 0.0006153689998882328,
241
+ "count": 1,
242
+ "is_parallel": true,
243
+ "self": 0.0006153689998882328
244
+ },
245
+ "communicator.exchange": {
246
+ "total": 0.05625404600004913,
247
+ "count": 1,
248
+ "is_parallel": true,
249
+ "self": 0.05625404600004913
250
+ },
251
+ "steps_from_proto": {
252
+ "total": 0.0023378810001304373,
253
+ "count": 1,
254
+ "is_parallel": true,
255
+ "self": 0.00042086400026164483,
256
+ "children": {
257
+ "_process_rank_one_or_two_observation": {
258
+ "total": 0.0019170169998687925,
259
+ "count": 8,
260
+ "is_parallel": true,
261
+ "self": 0.0019170169998687925
262
+ }
263
+ }
264
+ }
265
+ }
266
+ }
267
+ }
268
+ },
269
+ "UnityEnvironment.step": {
270
+ "total": 624.4036100799844,
271
+ "count": 31255,
272
+ "is_parallel": true,
273
+ "self": 22.193880366982512,
274
+ "children": {
275
+ "UnityEnvironment._generate_step_input": {
276
+ "total": 12.079053457035116,
277
+ "count": 31255,
278
+ "is_parallel": true,
279
+ "self": 12.079053457035116
280
+ },
281
+ "communicator.exchange": {
282
+ "total": 524.1716127559969,
283
+ "count": 31255,
284
+ "is_parallel": true,
285
+ "self": 524.1716127559969
286
+ },
287
+ "steps_from_proto": {
288
+ "total": 65.95906349996994,
289
+ "count": 31255,
290
+ "is_parallel": true,
291
+ "self": 14.176395434028791,
292
+ "children": {
293
+ "_process_rank_one_or_two_observation": {
294
+ "total": 51.78266806594115,
295
+ "count": 250040,
296
+ "is_parallel": true,
297
+ "self": 51.78266806594115
298
+ }
299
+ }
300
+ }
301
+ }
302
+ }
303
+ }
304
+ }
305
+ }
306
+ }
307
+ }
308
+ },
309
+ "trainer_advance": {
310
+ "total": 245.00054994699053,
311
+ "count": 31256,
312
+ "self": 1.3030557610077267,
313
+ "children": {
314
+ "process_trajectory": {
315
+ "total": 52.78492470198307,
316
+ "count": 31256,
317
+ "self": 52.64763206198313,
318
+ "children": {
319
+ "RLTrainer._checkpoint": {
320
+ "total": 0.13729263999994146,
321
+ "count": 1,
322
+ "self": 0.13729263999994146
323
+ }
324
+ }
325
+ },
326
+ "_update_policy": {
327
+ "total": 190.91256948399973,
328
+ "count": 41,
329
+ "self": 147.90679110099722,
330
+ "children": {
331
+ "TorchPPOOptimizer.update": {
332
+ "total": 43.00577838300251,
333
+ "count": 1386,
334
+ "self": 43.00577838300251
335
+ }
336
+ }
337
+ }
338
+ }
339
+ }
340
+ }
341
+ },
342
+ "trainer_threads": {
343
+ "total": 1.1040001481887884e-06,
344
+ "count": 1,
345
+ "self": 1.1040001481887884e-06
346
+ },
347
+ "TrainerController._save_models": {
348
+ "total": 0.06720576300040193,
349
+ "count": 1,
350
+ "self": 0.0006139710008028487,
351
+ "children": {
352
+ "RLTrainer._checkpoint": {
353
+ "total": 0.06659179199959908,
354
+ "count": 1,
355
+ "self": 0.06659179199959908
356
+ }
357
+ }
358
+ }
359
+ }
360
+ }
361
+ }
362
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Pyramids": {
3
+ "checkpoints": [
4
+ {
5
+ "steps": 499968,
6
+ "file_path": "results/Pyramids Training/Pyramids/Pyramids-499968.onnx",
7
+ "reward": -1.0000000521540642,
8
+ "creation_time": 1689787308.0478237,
9
+ "auxillary_file_paths": [
10
+ "results/Pyramids Training/Pyramids/Pyramids-499968.pt"
11
+ ]
12
+ },
13
+ {
14
+ "steps": 500096,
15
+ "file_path": "results/Pyramids Training/Pyramids/Pyramids-500096.onnx",
16
+ "reward": -1.0000000521540642,
17
+ "creation_time": 1689787308.123996,
18
+ "auxillary_file_paths": [
19
+ "results/Pyramids Training/Pyramids/Pyramids-500096.pt"
20
+ ]
21
+ }
22
+ ],
23
+ "final_checkpoint": {
24
+ "steps": 500096,
25
+ "file_path": "results/Pyramids Training/Pyramids.onnx",
26
+ "reward": -1.0000000521540642,
27
+ "creation_time": 1689787308.123996,
28
+ "auxillary_file_paths": [
29
+ "results/Pyramids Training/Pyramids/Pyramids-500096.pt"
30
+ ]
31
+ }
32
+ },
33
+ "metadata": {
34
+ "stats_format_version": "0.3.0",
35
+ "mlagents_version": "0.31.0.dev0",
36
+ "torch_version": "1.11.0+cu102"
37
+ }
38
+ }