Lendalf commited on
Commit
4a79d89
1 Parent(s): 87d7169

First run for pyramids env

Browse files
Pyramids.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b430d07264b29254b84225321b7e8a28ce7217992d2924eb32668809b98e6e6a
3
+ size 1418184
Pyramids/Pyramids-499956.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b430d07264b29254b84225321b7e8a28ce7217992d2924eb32668809b98e6e6a
3
+ size 1418184
Pyramids/Pyramids-499956.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:73a0ddcaa1672ffdc78d8910b89de62439d58e7fea9d2a649875278bfb04d8e1
3
+ size 8650158
Pyramids/Pyramids-500084.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b430d07264b29254b84225321b7e8a28ce7217992d2924eb32668809b98e6e6a
3
+ size 1418184
Pyramids/Pyramids-500084.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:785371beeae06e122468cdb6a85bb36d1b68c8b95315756f059afa0da52bfe56
3
+ size 8650158
Pyramids/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:785371beeae06e122468cdb6a85bb36d1b68c8b95315756f059afa0da52bfe56
3
+ size 8650158
Pyramids/events.out.tfevents.1671883067.Lennarts-MBP.29749.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f5ba1024e45960e2e5115ba1b0c61a3471c4f4ee3c7808e8d945efd5b5a781d3
3
+ size 138382
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-Pyramids
9
+ library_name: ml-agents
10
+ ---
11
+
12
+ # **ppo** Agent playing **Pyramids**
13
+ This is a trained model of a **ppo** agent playing **Pyramids** 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-Pyramids
28
+ 2. Step 1: Write your model_id: Lendalf/RLUnityPyramids
29
+ 3. Step 2: Select your *.nn /*.onnx file
30
+ 4. Click on Watch the agent play 👀
31
+
config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"default_settings": null, "behaviors": {"Pyramids": {"trainer_type": "ppo", "hyperparameters": {"batch_size": 128, "buffer_size": 2048, "learning_rate": 0.0003, "beta": 0.01, "epsilon": 0.2, "lambd": 0.95, "num_epoch": 3, "learning_rate_schedule": "linear", "beta_schedule": "linear", "epsilon_schedule": "linear"}, "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}}, "rnd": {"gamma": 0.99, "strength": 0.01, "network_settings": {"normalize": false, "hidden_units": 64, "num_layers": 3, "vis_encode_type": "simple", "memory": null, "goal_conditioning_type": "hyper", "deterministic": false}, "learning_rate": 0.0001, "encoding_size": null}}, "init_path": null, "keep_checkpoints": 5, "checkpoint_interval": 500000, "max_steps": 500000, "time_horizon": 128, "summary_freq": 30000, "threaded": false, "self_play": null, "behavioral_cloning": null}}, "env_settings": {"env_path": "Project/RL_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": "Run1", "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,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ default_settings: null
2
+ behaviors:
3
+ Pyramids:
4
+ trainer_type: ppo
5
+ hyperparameters:
6
+ batch_size: 128
7
+ buffer_size: 2048
8
+ learning_rate: 0.0003
9
+ beta: 0.01
10
+ epsilon: 0.2
11
+ lambd: 0.95
12
+ num_epoch: 3
13
+ learning_rate_schedule: linear
14
+ beta_schedule: linear
15
+ epsilon_schedule: linear
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
+ rnd:
37
+ gamma: 0.99
38
+ strength: 0.01
39
+ network_settings:
40
+ normalize: false
41
+ hidden_units: 64
42
+ num_layers: 3
43
+ vis_encode_type: simple
44
+ memory: null
45
+ goal_conditioning_type: hyper
46
+ deterministic: false
47
+ learning_rate: 0.0001
48
+ encoding_size: null
49
+ init_path: null
50
+ keep_checkpoints: 5
51
+ checkpoint_interval: 500000
52
+ max_steps: 500000
53
+ time_horizon: 128
54
+ summary_freq: 30000
55
+ threaded: false
56
+ self_play: null
57
+ behavioral_cloning: null
58
+ env_settings:
59
+ env_path: Project/RL_pyramids
60
+ env_args: null
61
+ base_port: 5005
62
+ num_envs: 1
63
+ num_areas: 1
64
+ seed: -1
65
+ max_lifetime_restarts: 10
66
+ restarts_rate_limit_n: 1
67
+ restarts_rate_limit_period_s: 60
68
+ engine_settings:
69
+ width: 84
70
+ height: 84
71
+ quality_level: 5
72
+ time_scale: 20
73
+ target_frame_rate: -1
74
+ capture_frame_rate: 60
75
+ no_graphics: true
76
+ environment_parameters: null
77
+ checkpoint_settings:
78
+ run_id: Run1
79
+ initialize_from: null
80
+ load_model: false
81
+ resume: false
82
+ force: true
83
+ train_model: false
84
+ inference: false
85
+ results_dir: results
86
+ torch_settings:
87
+ device: null
88
+ debug: false
run_logs/Player-0.log ADDED
@@ -0,0 +1,338 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/Users/lennart/Code/ml-agents/Project/RL_pyramids.app/Contents/Resources/Data/Managed'
2
+ Mono config path = '/Users/lennart/Code/ml-agents/Project/RL_pyramids.app/Contents/MonoBleedingEdge/etc'
3
+ Found 1 interfaces on host : 0) 192.168.2.18
4
+ Multi-casting "[IP] 192.168.2.18 [Port] 55476 [Flags] 2 [Guid] 1166201034 [EditorId] 4292253559 [Version] 1048832 [Id] OSXPlayer(1,Lennarts-MBP) [Debug] 0 [PackageName] OSXPlayer [ProjectName] UnityEnvironment" to [225.0.0.222:54997]...
5
+ New input system (experimental) initialized
6
+ Initialize engine version: 2022.1.22f1 (6b6e9fc2adda)
7
+ [Subsystems] Discovering subsystems at path /Users/lennart/Code/ml-agents/Project/RL_pyramids.app/Contents/Resources/Data/UnitySubsystems
8
+ Forcing GfxDevice: Null
9
+ GfxDevice: creating device client; threaded=0; jobified=0
10
+ NullGfxDevice:
11
+ Version: NULL 1.0 [1.0]
12
+ Renderer: Null Device
13
+ Vendor: Unity Technologies
14
+ Begin MonoManager ReloadAssembly
15
+ - Completed reload, in 0.066 seconds
16
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
17
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
18
+ ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
19
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
20
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
21
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
22
+ ERROR: Shader Autodesk Interactive shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
23
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
24
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
25
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
26
+ WARNING: Shader Unsupported: 'Legacy Shaders/Diffuse' - All subshaders removed
27
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
28
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
29
+ ERROR: Shader Legacy Shaders/Diffuse shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
30
+ WARNING: Shader Unsupported: 'Legacy Shaders/Diffuse' - All subshaders removed
31
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
32
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
33
+ WARNING: Shader Unsupported: 'ML-Agents/GridPattern' - All subshaders removed
34
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
35
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
36
+ ERROR: Shader ML-Agents/GridPattern shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
37
+ WARNING: Shader Unsupported: 'ML-Agents/GridPattern' - All subshaders removed
38
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
39
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
40
+ WARNING: Shader Unsupported: 'Standard' - 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 Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
44
+ WARNING: Shader Unsupported: 'Standard' - 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
+ UnloadTime: 0.298292 ms
48
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
49
+ Thread 0x170cfb000 may have been prematurely finalized
50
+ Setting up 5 worker threads for Enlighten.
51
+ PlayerConnection::CleanupMemory Statistics:
52
+ [ALLOC_TEMP_TLS] TLS Allocator
53
+ StackAllocators :
54
+ [ALLOC_TEMP_MAIN]
55
+ Peak usage frame count: [16.0 KB-32.0 KB]: 2041 frames, [32.0 KB-64.0 KB]: 6442 frames, [64.0 KB-128.0 KB]: 911 frames, [2.0 MB-4.0 MB]: 1 frames
56
+ Initial Block Size 4.0 MB
57
+ Current Block Size 4.0 MB
58
+ Peak Allocated Bytes 2.0 MB
59
+ Overflow Count 0
60
+ [ALLOC_TEMP_Background Job.Worker 8]
61
+ Initial Block Size 32.0 KB
62
+ Current Block Size 32.0 KB
63
+ Peak Allocated Bytes 0 B
64
+ Overflow Count 0
65
+ [ALLOC_TEMP_Background Job.Worker 10]
66
+ Initial Block Size 32.0 KB
67
+ Current Block Size 32.0 KB
68
+ Peak Allocated Bytes 0 B
69
+ Overflow Count 0
70
+ [ALLOC_TEMP_Job.Worker 4]
71
+ Initial Block Size 256.0 KB
72
+ Current Block Size 256.0 KB
73
+ Peak Allocated Bytes 0 B
74
+ Overflow Count 0
75
+ [ALLOC_TEMP_Background Job.Worker 6]
76
+ Initial Block Size 32.0 KB
77
+ Current Block Size 32.0 KB
78
+ Peak Allocated Bytes 0 B
79
+ Overflow Count 0
80
+ [ALLOC_TEMP_Background Job.Worker 1]
81
+ Initial Block Size 32.0 KB
82
+ Current Block Size 32.0 KB
83
+ Peak Allocated Bytes 0 B
84
+ Overflow Count 0
85
+ [ALLOC_TEMP_OSX HID Input]
86
+ Initial Block Size 64.0 KB
87
+ Current Block Size 64.0 KB
88
+ Peak Allocated Bytes 0 B
89
+ Overflow Count 0
90
+ [ALLOC_TEMP_Background Job.Worker 11]
91
+ Initial Block Size 32.0 KB
92
+ Current Block Size 32.0 KB
93
+ Peak Allocated Bytes 0 B
94
+ Overflow Count 0
95
+ [ALLOC_TEMP_Background Job.Worker 3]
96
+ Initial Block Size 32.0 KB
97
+ Current Block Size 32.0 KB
98
+ Peak Allocated Bytes 0 B
99
+ Overflow Count 0
100
+ [ALLOC_TEMP_BatchDeleteObjects]
101
+ Initial Block Size 64.0 KB
102
+ Current Block Size 64.0 KB
103
+ Peak Allocated Bytes 0 B
104
+ Overflow Count 0
105
+ [ALLOC_TEMP_AUDIO_FMOD stream thread]
106
+ Initial Block Size 64.0 KB
107
+ Current Block Size 64.0 KB
108
+ Peak Allocated Bytes 0 B
109
+ Overflow Count 0
110
+ [ALLOC_TEMP_Background Job.Worker 2]
111
+ Initial Block Size 32.0 KB
112
+ Current Block Size 32.0 KB
113
+ Peak Allocated Bytes 0 B
114
+ Overflow Count 0
115
+ [ALLOC_TEMP_Background Job.Worker 15]
116
+ Initial Block Size 32.0 KB
117
+ Current Block Size 32.0 KB
118
+ Peak Allocated Bytes 0 B
119
+ Overflow Count 0
120
+ [ALLOC_TEMP_Background Job.Worker 7]
121
+ Initial Block Size 32.0 KB
122
+ Current Block Size 32.0 KB
123
+ Peak Allocated Bytes 0 B
124
+ Overflow Count 0
125
+ [ALLOC_TEMP_Job.Worker 8]
126
+ Initial Block Size 256.0 KB
127
+ Current Block Size 256.0 KB
128
+ Peak Allocated Bytes 0 B
129
+ Overflow Count 0
130
+ [ALLOC_TEMP_Job.Worker 1]
131
+ Initial Block Size 256.0 KB
132
+ Current Block Size 256.0 KB
133
+ Peak Allocated Bytes 0.8 KB
134
+ Overflow Count 0
135
+ [ALLOC_TEMP_Loading.PreloadManager]
136
+ Initial Block Size 256.0 KB
137
+ Current Block Size 288.0 KB
138
+ Peak Allocated Bytes 211.0 KB
139
+ Overflow Count 5
140
+ [ALLOC_TEMP_Profiler.Dispatcher]
141
+ Initial Block Size 64.0 KB
142
+ Current Block Size 64.0 KB
143
+ Peak Allocated Bytes 444 B
144
+ Overflow Count 0
145
+ [ALLOC_TEMP_Job.Worker 3]
146
+ Initial Block Size 256.0 KB
147
+ Current Block Size 256.0 KB
148
+ Peak Allocated Bytes 0 B
149
+ Overflow Count 0
150
+ [ALLOC_TEMP_Background Job.Worker 12]
151
+ Initial Block Size 32.0 KB
152
+ Current Block Size 32.0 KB
153
+ Peak Allocated Bytes 0 B
154
+ Overflow Count 0
155
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 9
156
+ Initial Block Size 64.0 KB
157
+ Current Block Size 64.0 KB
158
+ Peak Allocated Bytes 0 B
159
+ Overflow Count 0
160
+ [ALLOC_TEMP_Background Job.Worker 5]
161
+ Initial Block Size 32.0 KB
162
+ Current Block Size 32.0 KB
163
+ Peak Allocated Bytes 0 B
164
+ Overflow Count 0
165
+ [ALLOC_TEMP_Background Job.Worker 13]
166
+ Initial Block Size 32.0 KB
167
+ Current Block Size 32.0 KB
168
+ Peak Allocated Bytes 0 B
169
+ Overflow Count 0
170
+ [ALLOC_TEMP_Job.Worker 2]
171
+ Initial Block Size 256.0 KB
172
+ Current Block Size 256.0 KB
173
+ Peak Allocated Bytes 0 B
174
+ Overflow Count 0
175
+ [ALLOC_TEMP_Background Job.Worker 0]
176
+ Initial Block Size 32.0 KB
177
+ Current Block Size 32.0 KB
178
+ Peak Allocated Bytes 0 B
179
+ Overflow Count 0
180
+ [ALLOC_TEMP_AUDIO_Audio Mixer Thread]
181
+ Initial Block Size 64.0 KB
182
+ Current Block Size 64.0 KB
183
+ Peak Allocated Bytes 0 B
184
+ Overflow Count 0
185
+ [ALLOC_TEMP_Background Job.Worker 4]
186
+ Initial Block Size 32.0 KB
187
+ Current Block Size 32.0 KB
188
+ Peak Allocated Bytes 0 B
189
+ Overflow Count 0
190
+ [ALLOC_TEMP_Job.Worker 0]
191
+ Initial Block Size 256.0 KB
192
+ Current Block Size 256.0 KB
193
+ Peak Allocated Bytes 0 B
194
+ Overflow Count 0
195
+ [ALLOC_TEMP_Job.Worker 5]
196
+ Initial Block Size 256.0 KB
197
+ Current Block Size 256.0 KB
198
+ Peak Allocated Bytes 0 B
199
+ Overflow Count 0
200
+ [ALLOC_TEMP_Background Job.Worker 14]
201
+ Initial Block Size 32.0 KB
202
+ Current Block Size 32.0 KB
203
+ Peak Allocated Bytes 0 B
204
+ Overflow Count 0
205
+ [ALLOC_TEMP_Job.Worker 6]
206
+ Initial Block Size 256.0 KB
207
+ Current Block Size 256.0 KB
208
+ Peak Allocated Bytes 0 B
209
+ Overflow Count 0
210
+ [ALLOC_TEMP_EnlightenWorker] x 5
211
+ Initial Block Size 64.0 KB
212
+ Current Block Size 64.0 KB
213
+ Peak Allocated Bytes 0 B
214
+ Overflow Count 0
215
+ [ALLOC_TEMP_Background Job.Worker 9]
216
+ Initial Block Size 32.0 KB
217
+ Current Block Size 32.0 KB
218
+ Peak Allocated Bytes 0 B
219
+ Overflow Count 0
220
+ [ALLOC_TEMP_Job.Worker 7]
221
+ Initial Block Size 256.0 KB
222
+ Current Block Size 256.0 KB
223
+ Peak Allocated Bytes 0 B
224
+ Overflow Count 0
225
+ [ALLOC_TEMP_Loading.AsyncRead]
226
+ Initial Block Size 64.0 KB
227
+ Current Block Size 64.0 KB
228
+ Peak Allocated Bytes 198 B
229
+ Overflow Count 0
230
+ [ALLOC_MEMORYPROFILER]
231
+ Peak usage frame count: [0.5 MB-1.0 MB]: 299 frames, [1.0 MB-2.0 MB]: 9096 frames
232
+ Requested Block Size 1.0 MB
233
+ Peak Block count 2
234
+ Peak Allocated memory 1.6 MB
235
+ Peak Large allocation bytes 0 B
236
+ [ALLOC_DEFAULT] Dual Thread Allocator
237
+ Peak main deferred allocation count 13251
238
+ [ALLOC_BUCKET]
239
+ Large Block size 4.0 MB
240
+ Used Block count 1
241
+ Peak Allocated bytes 1.7 MB
242
+ [ALLOC_DEFAULT_MAIN]
243
+ Peak usage frame count: [16.0 MB-32.0 MB]: 7244 frames, [32.0 MB-64.0 MB]: 2151 frames
244
+ Requested Block Size 16.0 MB
245
+ Peak Block count 3
246
+ Peak Allocated memory 38.1 MB
247
+ Peak Large allocation bytes 0 B
248
+ [ALLOC_DEFAULT_THREAD]
249
+ Peak usage frame count: [16.0 MB-32.0 MB]: 9395 frames
250
+ Requested Block Size 16.0 MB
251
+ Peak Block count 1
252
+ Peak Allocated memory 27.3 MB
253
+ Peak Large allocation bytes 16.0 MB
254
+ [ALLOC_TEMP_JOB_1_FRAME]
255
+ Initial Block Size 2.0 MB
256
+ Used Block Count 1
257
+ Overflow Count (too large) 0
258
+ Overflow Count (full) 0
259
+ [ALLOC_TEMP_JOB_2_FRAMES]
260
+ Initial Block Size 2.0 MB
261
+ Used Block Count 1
262
+ Overflow Count (too large) 0
263
+ Overflow Count (full) 0
264
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
265
+ Initial Block Size 2.0 MB
266
+ Used Block Count 2
267
+ Overflow Count (too large) 0
268
+ Overflow Count (full) 0
269
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
270
+ Initial Block Size 1.0 MB
271
+ Used Block Count 4
272
+ Overflow Count (too large) 0
273
+ Overflow Count (full) 0
274
+ [ALLOC_GFX] Dual Thread Allocator
275
+ Peak main deferred allocation count 0
276
+ [ALLOC_BUCKET]
277
+ Large Block size 4.0 MB
278
+ Used Block count 1
279
+ Peak Allocated bytes 1.7 MB
280
+ [ALLOC_GFX_MAIN]
281
+ Peak usage frame count: [32.0 KB-64.0 KB]: 9394 frames, [64.0 KB-128.0 KB]: 1 frames
282
+ Requested Block Size 16.0 MB
283
+ Peak Block count 1
284
+ Peak Allocated memory 67.0 KB
285
+ Peak Large allocation bytes 0 B
286
+ [ALLOC_GFX_THREAD]
287
+ Peak usage frame count: [64.0 KB-128.0 KB]: 9395 frames
288
+ Requested Block Size 16.0 MB
289
+ Peak Block count 1
290
+ Peak Allocated memory 67.7 KB
291
+ Peak Large allocation bytes 0 B
292
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
293
+ Peak main deferred allocation count 1
294
+ [ALLOC_BUCKET]
295
+ Large Block size 4.0 MB
296
+ Used Block count 1
297
+ Peak Allocated bytes 1.7 MB
298
+ [ALLOC_CACHEOBJECTS_MAIN]
299
+ Peak usage frame count: [0.5 MB-1.0 MB]: 299 frames, [1.0 MB-2.0 MB]: 9096 frames
300
+ Requested Block Size 4.0 MB
301
+ Peak Block count 1
302
+ Peak Allocated memory 1.4 MB
303
+ Peak Large allocation bytes 0 B
304
+ [ALLOC_CACHEOBJECTS_THREAD]
305
+ Peak usage frame count: [1.0 MB-2.0 MB]: 9394 frames, [2.0 MB-4.0 MB]: 1 frames
306
+ Requested Block Size 4.0 MB
307
+ Peak Block count 1
308
+ Peak Allocated memory 2.7 MB
309
+ Peak Large allocation bytes 0 B
310
+ [ALLOC_TYPETREE] Dual Thread Allocator
311
+ Peak main deferred allocation count 0
312
+ [ALLOC_BUCKET]
313
+ Large Block size 4.0 MB
314
+ Used Block count 1
315
+ Peak Allocated bytes 1.7 MB
316
+ [ALLOC_TYPETREE_MAIN]
317
+ Peak usage frame count: [0-1.0 KB]: 9395 frames
318
+ Requested Block Size 2.0 MB
319
+ Peak Block count 1
320
+ Peak Allocated memory 1.0 KB
321
+ Peak Large allocation bytes 0 B
322
+ [ALLOC_TYPETREE_THREAD]
323
+ Peak usage frame count: [1.0 KB-2.0 KB]: 9395 frames
324
+ Requested Block Size 2.0 MB
325
+ Peak Block count 1
326
+ Peak Allocated memory 1.9 KB
327
+ Peak Large allocation bytes 0 B
328
+ [ALLOC_PROFILER]
329
+ Peak usage frame count: [16.0 KB-32.0 KB]: 9395 frames
330
+ Requested Block Size 16.0 MB
331
+ Peak Block count 1
332
+ Peak Allocated memory 31.0 KB
333
+ Peak Large allocation bytes 0 B
334
+ [ALLOC_PROFILER_BUCKET]
335
+ Large Block size 4.0 MB
336
+ Used Block count 1
337
+ Peak Allocated bytes 0.6 KB
338
+ ##utp:{"type":"MemoryLeaks","version":2,"phase":"Immediate","time":1671883938646,"processId":29754,"allocatedMemory":10554018,"memoryLabels":[{"Default":8953},{"Permanent":1240},{"NewDelete":200972},{"Thread":34796},{"Manager":14692},{"VertexData":12},{"Geometry":280},{"Texture":16},{"Shader":68280},{"Material":24},{"GfxDevice":8424952},{"GfxThread":448},{"Animation":256},{"Audio":3904},{"Physics":328},{"Serialization":144},{"Input":9008},{"JobScheduler":200},{"Mono":40},{"ScriptingNativeRuntime":192},{"BaseObject":1609092},{"Resource":544},{"Renderer":2048},{"Transform":24},{"File":728},{"WebCam":40},{"Culling":40},{"Terrain":953},{"Wind":24},{"String":3352},{"DynamicArray":30316},{"HashMap":7680},{"Utility":3561},{"PoolAlloc":1072},{"TypeTree":1792},{"ScriptManager":80},{"RuntimeInitializeOnLoadManager":72},{"SpriteAtlas":112},{"GI":3136},{"Unet":16},{"Director":7736},{"WebRequest":816},{"VR":45433},{"SceneManager":424},{"Video":1056},{"LazyScriptCache":32},{"NativeArray":660},{"Camera":25},{"Secure":1},{"SerializationCache":624},{"APIUpdating":5872},{"Subsystems":384},{"VirtualTexturing":57504},{"AssetReference":32}]}
run_logs/timers.json ADDED
@@ -0,0 +1,363 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "Pyramids.Policy.Entropy.mean": {
5
+ "value": 0.7206080555915833,
6
+ "min": 0.7206080555915833,
7
+ "max": 1.463507056236267,
8
+ "count": 16
9
+ },
10
+ "Pyramids.Policy.Entropy.sum": {
11
+ "value": 21549.0625,
12
+ "min": 21549.0625,
13
+ "max": 44396.94921875,
14
+ "count": 16
15
+ },
16
+ "Pyramids.Step.mean": {
17
+ "value": 479997.0,
18
+ "min": 29952.0,
19
+ "max": 479997.0,
20
+ "count": 16
21
+ },
22
+ "Pyramids.Step.sum": {
23
+ "value": 479997.0,
24
+ "min": 29952.0,
25
+ "max": 479997.0,
26
+ "count": 16
27
+ },
28
+ "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
29
+ "value": 0.1874702423810959,
30
+ "min": -0.08975708484649658,
31
+ "max": 0.21668332815170288,
32
+ "count": 16
33
+ },
34
+ "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
35
+ "value": 46.86756134033203,
36
+ "min": -21.631458282470703,
37
+ "max": 55.037567138671875,
38
+ "count": 16
39
+ },
40
+ "Pyramids.Policy.RndValueEstimate.mean": {
41
+ "value": 0.020687760785222054,
42
+ "min": 0.011550032533705235,
43
+ "max": 0.3298008143901825,
44
+ "count": 16
45
+ },
46
+ "Pyramids.Policy.RndValueEstimate.sum": {
47
+ "value": 5.171940326690674,
48
+ "min": 2.9337081909179688,
49
+ "max": 78.16279602050781,
50
+ "count": 16
51
+ },
52
+ "Pyramids.Losses.PolicyLoss.mean": {
53
+ "value": 0.06982567651945372,
54
+ "min": 0.06627717401944498,
55
+ "max": 0.07250926116765993,
56
+ "count": 16
57
+ },
58
+ "Pyramids.Losses.PolicyLoss.sum": {
59
+ "value": 0.9775594712723521,
60
+ "min": 0.5003745376400719,
61
+ "max": 1.087638917514899,
62
+ "count": 16
63
+ },
64
+ "Pyramids.Losses.ValueLoss.mean": {
65
+ "value": 0.011309595999003195,
66
+ "min": 0.00059722600205701,
67
+ "max": 0.011309595999003195,
68
+ "count": 16
69
+ },
70
+ "Pyramids.Losses.ValueLoss.sum": {
71
+ "value": 0.15833434398604473,
72
+ "min": 0.004239162832879953,
73
+ "max": 0.1591349841777022,
74
+ "count": 16
75
+ },
76
+ "Pyramids.Policy.LearningRate.mean": {
77
+ "value": 2.0463264607514286e-05,
78
+ "min": 2.0463264607514286e-05,
79
+ "max": 0.00029030126037577137,
80
+ "count": 16
81
+ },
82
+ "Pyramids.Policy.LearningRate.sum": {
83
+ "value": 0.0002864857045052,
84
+ "min": 0.0002864857045052,
85
+ "max": 0.002607855430715,
86
+ "count": 16
87
+ },
88
+ "Pyramids.Policy.Epsilon.mean": {
89
+ "value": 0.10682105714285713,
90
+ "min": 0.10682105714285713,
91
+ "max": 0.19676708571428575,
92
+ "count": 16
93
+ },
94
+ "Pyramids.Policy.Epsilon.sum": {
95
+ "value": 1.4954947999999997,
96
+ "min": 1.3382272,
97
+ "max": 2.1692849999999995,
98
+ "count": 16
99
+ },
100
+ "Pyramids.Policy.Beta.mean": {
101
+ "value": 0.0006914236085714285,
102
+ "min": 0.0006914236085714285,
103
+ "max": 0.00967703186285714,
104
+ "count": 16
105
+ },
106
+ "Pyramids.Policy.Beta.sum": {
107
+ "value": 0.00967993052,
108
+ "min": 0.00967993052,
109
+ "max": 0.0869715715,
110
+ "count": 16
111
+ },
112
+ "Pyramids.Losses.RNDLoss.mean": {
113
+ "value": 0.02160811610519886,
114
+ "min": 0.021184373646974564,
115
+ "max": 0.41403502225875854,
116
+ "count": 16
117
+ },
118
+ "Pyramids.Losses.RNDLoss.sum": {
119
+ "value": 0.30251362919807434,
120
+ "min": 0.30251362919807434,
121
+ "max": 2.898245096206665,
122
+ "count": 16
123
+ },
124
+ "Pyramids.Environment.EpisodeLength.mean": {
125
+ "value": 607.734693877551,
126
+ "min": 607.734693877551,
127
+ "max": 999.0,
128
+ "count": 16
129
+ },
130
+ "Pyramids.Environment.EpisodeLength.sum": {
131
+ "value": 29779.0,
132
+ "min": 15984.0,
133
+ "max": 32077.0,
134
+ "count": 16
135
+ },
136
+ "Pyramids.Environment.CumulativeReward.mean": {
137
+ "value": 0.7957039652764797,
138
+ "min": -1.0000000521540642,
139
+ "max": 0.8623135967010801,
140
+ "count": 16
141
+ },
142
+ "Pyramids.Environment.CumulativeReward.sum": {
143
+ "value": 39.785198263823986,
144
+ "min": -32.000001668930054,
145
+ "max": 39.785198263823986,
146
+ "count": 16
147
+ },
148
+ "Pyramids.Policy.ExtrinsicReward.mean": {
149
+ "value": 0.7957039652764797,
150
+ "min": -1.0000000521540642,
151
+ "max": 0.8623135967010801,
152
+ "count": 16
153
+ },
154
+ "Pyramids.Policy.ExtrinsicReward.sum": {
155
+ "value": 39.785198263823986,
156
+ "min": -32.000001668930054,
157
+ "max": 39.785198263823986,
158
+ "count": 16
159
+ },
160
+ "Pyramids.Policy.RndReward.mean": {
161
+ "value": 0.13523935666307807,
162
+ "min": 0.13523935666307807,
163
+ "max": 8.042321138083935,
164
+ "count": 16
165
+ },
166
+ "Pyramids.Policy.RndReward.sum": {
167
+ "value": 6.7619678331539035,
168
+ "min": 6.144896588288248,
169
+ "max": 128.67713820934296,
170
+ "count": 16
171
+ },
172
+ "Pyramids.IsTraining.mean": {
173
+ "value": 1.0,
174
+ "min": 1.0,
175
+ "max": 1.0,
176
+ "count": 16
177
+ },
178
+ "Pyramids.IsTraining.sum": {
179
+ "value": 1.0,
180
+ "min": 1.0,
181
+ "max": 1.0,
182
+ "count": 16
183
+ }
184
+ },
185
+ "metadata": {
186
+ "timer_format_version": "0.1.0",
187
+ "start_time_seconds": "1671883066",
188
+ "python_version": "3.10.1 (v3.10.1:2cd268a3a9, Dec 6 2021, 14:28:59) [Clang 13.0.0 (clang-1300.0.29.3)]",
189
+ "command_line_arguments": "/Library/Frameworks/Python.framework/Versions/3.10/bin/mlagents-learn config/ppo/PyramidsRND.yaml --env=Project/RL_pyramids --run-id=Run1 --no-graphics --force",
190
+ "mlagents_version": "0.29.0.dev0",
191
+ "mlagents_envs_version": "0.29.0.dev0",
192
+ "communication_protocol_version": "1.5.0",
193
+ "pytorch_version": "1.11.0",
194
+ "numpy_version": "1.23.4",
195
+ "end_time_seconds": "1671883938"
196
+ },
197
+ "total": 872.4381035419938,
198
+ "count": 1,
199
+ "self": 0.27622999998857267,
200
+ "children": {
201
+ "run_training.setup": {
202
+ "total": 0.015691249995143153,
203
+ "count": 1,
204
+ "self": 0.015691249995143153
205
+ },
206
+ "TrainerController.start_learning": {
207
+ "total": 872.14618229201,
208
+ "count": 1,
209
+ "self": 0.27930660110723693,
210
+ "children": {
211
+ "TrainerController._reset_env": {
212
+ "total": 1.0129065410001203,
213
+ "count": 1,
214
+ "self": 1.0129065410001203
215
+ },
216
+ "TrainerController.advance": {
217
+ "total": 870.7933363169141,
218
+ "count": 31650,
219
+ "self": 0.2454130093101412,
220
+ "children": {
221
+ "env_step": {
222
+ "total": 708.8848299748206,
223
+ "count": 31650,
224
+ "self": 691.3094396025699,
225
+ "children": {
226
+ "SubprocessEnvManager._take_step": {
227
+ "total": 17.35078969274764,
228
+ "count": 31650,
229
+ "self": 0.8142677712166915,
230
+ "children": {
231
+ "TorchPolicy.evaluate": {
232
+ "total": 16.536521921530948,
233
+ "count": 31315,
234
+ "self": 3.034965333165019,
235
+ "children": {
236
+ "TorchPolicy.sample_actions": {
237
+ "total": 13.50155658836593,
238
+ "count": 31315,
239
+ "self": 13.50155658836593
240
+ }
241
+ }
242
+ }
243
+ }
244
+ },
245
+ "workers": {
246
+ "total": 0.2246006795030553,
247
+ "count": 31650,
248
+ "self": 0.0,
249
+ "children": {
250
+ "worker_root": {
251
+ "total": 870.6194659991743,
252
+ "count": 31650,
253
+ "is_parallel": true,
254
+ "self": 198.97912739841559,
255
+ "children": {
256
+ "steps_from_proto": {
257
+ "total": 0.00075270798697602,
258
+ "count": 1,
259
+ "is_parallel": true,
260
+ "self": 0.00016141899686772376,
261
+ "children": {
262
+ "_process_rank_one_or_two_observation": {
263
+ "total": 0.0005912889901082963,
264
+ "count": 8,
265
+ "is_parallel": true,
266
+ "self": 0.0005912889901082963
267
+ }
268
+ }
269
+ },
270
+ "UnityEnvironment.step": {
271
+ "total": 671.6395858927717,
272
+ "count": 31650,
273
+ "is_parallel": true,
274
+ "self": 2.0083917222364107,
275
+ "children": {
276
+ "UnityEnvironment._generate_step_input": {
277
+ "total": 10.448567773491959,
278
+ "count": 31650,
279
+ "is_parallel": true,
280
+ "self": 10.448567773491959
281
+ },
282
+ "communicator.exchange": {
283
+ "total": 639.7029029303667,
284
+ "count": 31650,
285
+ "is_parallel": true,
286
+ "self": 639.7029029303667
287
+ },
288
+ "steps_from_proto": {
289
+ "total": 19.47972346667666,
290
+ "count": 31650,
291
+ "is_parallel": true,
292
+ "self": 3.430760283721611,
293
+ "children": {
294
+ "_process_rank_one_or_two_observation": {
295
+ "total": 16.04896318295505,
296
+ "count": 253200,
297
+ "is_parallel": true,
298
+ "self": 16.04896318295505
299
+ }
300
+ }
301
+ }
302
+ }
303
+ }
304
+ }
305
+ }
306
+ }
307
+ }
308
+ }
309
+ },
310
+ "trainer_advance": {
311
+ "total": 161.66309333278332,
312
+ "count": 31650,
313
+ "self": 0.44237450808577705,
314
+ "children": {
315
+ "process_trajectory": {
316
+ "total": 31.569715538658784,
317
+ "count": 31650,
318
+ "self": 31.5208572466654,
319
+ "children": {
320
+ "RLTrainer._checkpoint": {
321
+ "total": 0.04885829199338332,
322
+ "count": 1,
323
+ "self": 0.04885829199338332
324
+ }
325
+ }
326
+ },
327
+ "_update_policy": {
328
+ "total": 129.65100328603876,
329
+ "count": 205,
330
+ "self": 38.5087801283662,
331
+ "children": {
332
+ "TorchPPOOptimizer.update": {
333
+ "total": 91.14222315767256,
334
+ "count": 11442,
335
+ "self": 91.14222315767256
336
+ }
337
+ }
338
+ }
339
+ }
340
+ }
341
+ }
342
+ },
343
+ "trainer_threads": {
344
+ "total": 3.749883035197854e-07,
345
+ "count": 1,
346
+ "self": 3.749883035197854e-07
347
+ },
348
+ "TrainerController._save_models": {
349
+ "total": 0.06063245800032746,
350
+ "count": 1,
351
+ "self": 0.000818957996671088,
352
+ "children": {
353
+ "RLTrainer._checkpoint": {
354
+ "total": 0.05981350000365637,
355
+ "count": 1,
356
+ "self": 0.05981350000365637
357
+ }
358
+ }
359
+ }
360
+ }
361
+ }
362
+ }
363
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Pyramids": {
3
+ "checkpoints": [
4
+ {
5
+ "steps": 499956,
6
+ "file_path": "results/Run1/Pyramids/Pyramids-499956.onnx",
7
+ "reward": 1.4287999749183655,
8
+ "creation_time": 1671883938.355791,
9
+ "auxillary_file_paths": [
10
+ "results/Run1/Pyramids/Pyramids-499956.pt"
11
+ ]
12
+ },
13
+ {
14
+ "steps": 500084,
15
+ "file_path": "results/Run1/Pyramids/Pyramids-500084.onnx",
16
+ "reward": 1.4287999749183655,
17
+ "creation_time": 1671883938.4243279,
18
+ "auxillary_file_paths": [
19
+ "results/Run1/Pyramids/Pyramids-500084.pt"
20
+ ]
21
+ }
22
+ ],
23
+ "final_checkpoint": {
24
+ "steps": 500084,
25
+ "file_path": "results/Run1/Pyramids.onnx",
26
+ "reward": 1.4287999749183655,
27
+ "creation_time": 1671883938.4243279,
28
+ "auxillary_file_paths": [
29
+ "results/Run1/Pyramids/Pyramids-500084.pt"
30
+ ]
31
+ }
32
+ },
33
+ "metadata": {
34
+ "stats_format_version": "0.3.0",
35
+ "mlagents_version": "0.29.0.dev0",
36
+ "torch_version": "1.11.0"
37
+ }
38
+ }