PhoenixA commited on
Commit
20ade3f
·
verified ·
1 Parent(s): 0651e79

First Commit

Browse files
Pyramids.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7aaa8e962941f6e6185645d5a1933f144bd46c20881eabe03aaf562958082582
3
+ size 1420238
Pyramids/Pyramids-0.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f97dbe147c8d4fe468146920de9ab9d3715aaa0ae829ddc24973a8686a4ab709
3
+ size 1418249
Pyramids/Pyramids-0.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:94b6072e93461d2d194e2f83b42574108e93e9f86edaad495b7e7409abed3717
3
+ size 2995381
Pyramids/Pyramids-1000030.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7aaa8e962941f6e6185645d5a1933f144bd46c20881eabe03aaf562958082582
3
+ size 1420238
Pyramids/Pyramids-1000030.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5ce107cc809f7cc6efcce85a3bdaba4ec80d7a6a8ab93d866a46faa86f165003
3
+ size 8656079
Pyramids/Pyramids-499949.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9619f3613ebc0fe13b550040127d6b9bbf5986d1051fd32160919b60b71922de
3
+ size 1420238
Pyramids/Pyramids-499949.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:14d1f69fb4fc711b72d27e97320e6291aa47bdf64fb78e70b026b4ca0ee4e088
3
+ size 8656000
Pyramids/Pyramids-999902.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7aaa8e962941f6e6185645d5a1933f144bd46c20881eabe03aaf562958082582
3
+ size 1420238
Pyramids/Pyramids-999902.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2e46c9f318dc903abd0560a33badcb0e727d141d458615896add1951c498dd5c
3
+ size 8656000
Pyramids/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7f9f5a98a23ad94af756d92c4c6f2af7f8a230d80676a1aef2cf4841df5d76ee
3
+ size 8655605
Pyramids/events.out.tfevents.1769209798.97c1c2e62a8d.4229.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:be96d8c8f4e887b54355b6ff3b87670fbc049aefae0cbf92800598eb73b81bfb
3
+ size 314185
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: PhoenixA/PyramidsRND
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
+ {"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"}, "network_settings": {"normalize": false, "hidden_units": 512, "num_layers": 2, "vis_encode_type": "simple"}, "reward_signals": {"extrinsic": {"gamma": 0.99, "strength": 1.0}, "rnd": {"gamma": 0.99, "strength": 0.01, "network_settings": {"hidden_units": 64, "num_layers": 3}, "learning_rate": 0.0001}}, "keep_checkpoints": 5, "max_steps": 1000000, "time_horizon": 128, "summary_freq": 30000}}}
configuration.yaml ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ behaviors:
2
+ Pyramids:
3
+ trainer_type: ppo
4
+ hyperparameters:
5
+ batch_size: 128
6
+ buffer_size: 2048
7
+ learning_rate: 0.0003
8
+ beta: 0.01
9
+ epsilon: 0.2
10
+ lambd: 0.95
11
+ num_epoch: 3
12
+ learning_rate_schedule: linear
13
+ network_settings:
14
+ normalize: false
15
+ hidden_units: 512
16
+ num_layers: 2
17
+ vis_encode_type: simple
18
+ reward_signals:
19
+ extrinsic:
20
+ gamma: 0.99
21
+ strength: 1.0
22
+ rnd:
23
+ gamma: 0.99
24
+ strength: 0.01
25
+ network_settings:
26
+ hidden_units: 64
27
+ num_layers: 3
28
+ learning_rate: 0.0001
29
+ keep_checkpoints: 5
30
+ max_steps: 1000000
31
+ time_horizon: 128
32
+ summary_freq: 30000
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] 55076 [Flags] 2 [Guid] 220046982 [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.088 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: 0.809769 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]: 5986 frames, [32.0 KB-64.0 KB]: 10657 frames, [64.0 KB-128.0 KB]: 2124 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 15]
127
+ Initial Block Size 32.0 KB
128
+ Current Block Size 32.0 KB
129
+ Peak Allocated Bytes 0 B
130
+ Overflow Count 0
131
+ [ALLOC_TEMP_Background Job.Worker 2]
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 7]
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 240 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]: 18469 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 13491
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]: 18766 frames, [32.0 MB-64.0 MB]: 1 frames
220
+ Requested Block Size 16.0 MB
221
+ Peak Block count 3
222
+ Peak Allocated memory 32.3 MB
223
+ Peak Large allocation bytes 0 B
224
+ [ALLOC_DEFAULT_THREAD]
225
+ Peak usage frame count: [16.0 MB-32.0 MB]: 18768 frames
226
+ Requested Block Size 16.0 MB
227
+ Peak Block count 1
228
+ Peak Allocated memory 22.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]: 18767 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]: 18768 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]: 18469 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]: 18767 frames, [4.0 MB-8.0 MB]: 1 frames
282
+ Requested Block Size 4.0 MB
283
+ Peak Block count 2
284
+ Peak Allocated memory 4.7 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]: 18768 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]: 18768 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]: 18768 frames
306
+ Requested Block Size 16.0 MB
307
+ Peak Block count 1
308
+ Peak Allocated memory 27.4 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":1769211899850,"processId":4245,"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,398 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "Pyramids.Policy.Entropy.mean": {
5
+ "value": 0.4391878545284271,
6
+ "min": 0.41794779896736145,
7
+ "max": 1.39289391040802,
8
+ "count": 33
9
+ },
10
+ "Pyramids.Policy.Entropy.sum": {
11
+ "value": 13154.5546875,
12
+ "min": 12525.0595703125,
13
+ "max": 42254.828125,
14
+ "count": 33
15
+ },
16
+ "Pyramids.Step.mean": {
17
+ "value": 989983.0,
18
+ "min": 29952.0,
19
+ "max": 989983.0,
20
+ "count": 33
21
+ },
22
+ "Pyramids.Step.sum": {
23
+ "value": 989983.0,
24
+ "min": 29952.0,
25
+ "max": 989983.0,
26
+ "count": 33
27
+ },
28
+ "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
29
+ "value": 0.36080309748649597,
30
+ "min": -0.09824856370687485,
31
+ "max": 0.36080309748649597,
32
+ "count": 33
33
+ },
34
+ "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
35
+ "value": 93.80880737304688,
36
+ "min": -23.67790412902832,
37
+ "max": 94.2880630493164,
38
+ "count": 33
39
+ },
40
+ "Pyramids.Policy.RndValueEstimate.mean": {
41
+ "value": 0.04486580565571785,
42
+ "min": 0.0038332301191985607,
43
+ "max": 0.450874000787735,
44
+ "count": 33
45
+ },
46
+ "Pyramids.Policy.RndValueEstimate.sum": {
47
+ "value": 11.665109634399414,
48
+ "min": 1.0043063163757324,
49
+ "max": 106.85713958740234,
50
+ "count": 33
51
+ },
52
+ "Pyramids.Losses.PolicyLoss.mean": {
53
+ "value": 0.06930078392144337,
54
+ "min": 0.06425229468020714,
55
+ "max": 0.07463606191542022,
56
+ "count": 33
57
+ },
58
+ "Pyramids.Losses.PolicyLoss.sum": {
59
+ "value": 0.9702109749002071,
60
+ "min": 0.4872680443302921,
61
+ "max": 1.0419525219893366,
62
+ "count": 33
63
+ },
64
+ "Pyramids.Losses.ValueLoss.mean": {
65
+ "value": 0.010651661275395392,
66
+ "min": 0.00016920833289093773,
67
+ "max": 0.015199702214999705,
68
+ "count": 33
69
+ },
70
+ "Pyramids.Losses.ValueLoss.sum": {
71
+ "value": 0.14912325785553548,
72
+ "min": 0.002030499994691253,
73
+ "max": 0.22239673477209482,
74
+ "count": 33
75
+ },
76
+ "Pyramids.Policy.LearningRate.mean": {
77
+ "value": 7.283390429378574e-06,
78
+ "min": 7.283390429378574e-06,
79
+ "max": 0.00029515063018788575,
80
+ "count": 33
81
+ },
82
+ "Pyramids.Policy.LearningRate.sum": {
83
+ "value": 0.00010196746601130003,
84
+ "min": 0.00010196746601130003,
85
+ "max": 0.0033762532745822997,
86
+ "count": 33
87
+ },
88
+ "Pyramids.Policy.Epsilon.mean": {
89
+ "value": 0.1024277642857143,
90
+ "min": 0.1024277642857143,
91
+ "max": 0.19838354285714285,
92
+ "count": 33
93
+ },
94
+ "Pyramids.Policy.Epsilon.sum": {
95
+ "value": 1.4339887000000002,
96
+ "min": 1.3886848,
97
+ "max": 2.4432207,
98
+ "count": 33
99
+ },
100
+ "Pyramids.Policy.Beta.mean": {
101
+ "value": 0.00025253365214285723,
102
+ "min": 0.00025253365214285723,
103
+ "max": 0.00983851593142857,
104
+ "count": 33
105
+ },
106
+ "Pyramids.Policy.Beta.sum": {
107
+ "value": 0.0035354711300000013,
108
+ "min": 0.0035354711300000013,
109
+ "max": 0.11255922823,
110
+ "count": 33
111
+ },
112
+ "Pyramids.Losses.RNDLoss.mean": {
113
+ "value": 0.010318094864487648,
114
+ "min": 0.01031502801924944,
115
+ "max": 0.6120495796203613,
116
+ "count": 33
117
+ },
118
+ "Pyramids.Losses.RNDLoss.sum": {
119
+ "value": 0.14445333182811737,
120
+ "min": 0.1444103866815567,
121
+ "max": 4.284347057342529,
122
+ "count": 33
123
+ },
124
+ "Pyramids.Environment.EpisodeLength.mean": {
125
+ "value": 505.85714285714283,
126
+ "min": 442.36764705882354,
127
+ "max": 999.0,
128
+ "count": 33
129
+ },
130
+ "Pyramids.Environment.EpisodeLength.sum": {
131
+ "value": 28328.0,
132
+ "min": 15984.0,
133
+ "max": 33764.0,
134
+ "count": 33
135
+ },
136
+ "Pyramids.Environment.CumulativeReward.mean": {
137
+ "value": 1.3195613705013927,
138
+ "min": -1.0000000521540642,
139
+ "max": 1.3786507227749967,
140
+ "count": 33
141
+ },
142
+ "Pyramids.Environment.CumulativeReward.sum": {
143
+ "value": 75.21499811857939,
144
+ "min": -31.995201647281647,
145
+ "max": 92.36959842592478,
146
+ "count": 33
147
+ },
148
+ "Pyramids.Policy.ExtrinsicReward.mean": {
149
+ "value": 1.3195613705013927,
150
+ "min": -1.0000000521540642,
151
+ "max": 1.3786507227749967,
152
+ "count": 33
153
+ },
154
+ "Pyramids.Policy.ExtrinsicReward.sum": {
155
+ "value": 75.21499811857939,
156
+ "min": -31.995201647281647,
157
+ "max": 92.36959842592478,
158
+ "count": 33
159
+ },
160
+ "Pyramids.Policy.RndReward.mean": {
161
+ "value": 0.05383677301997842,
162
+ "min": 0.049256335091292805,
163
+ "max": 13.50219471566379,
164
+ "count": 33
165
+ },
166
+ "Pyramids.Policy.RndReward.sum": {
167
+ "value": 3.0686960621387698,
168
+ "min": 3.0686960621387698,
169
+ "max": 216.03511545062065,
170
+ "count": 33
171
+ },
172
+ "Pyramids.IsTraining.mean": {
173
+ "value": 1.0,
174
+ "min": 1.0,
175
+ "max": 1.0,
176
+ "count": 33
177
+ },
178
+ "Pyramids.IsTraining.sum": {
179
+ "value": 1.0,
180
+ "min": 1.0,
181
+ "max": 1.0,
182
+ "count": 33
183
+ }
184
+ },
185
+ "metadata": {
186
+ "timer_format_version": "0.1.0",
187
+ "start_time_seconds": "1769209797",
188
+ "python_version": "3.10.12 (main, Jul 5 2023, 18:54:27) [GCC 11.2.0]",
189
+ "command_line_arguments": "/usr/local/bin/mlagents-learn ./config/ppo/PyramidsRND.yaml --env=./training-envs-executables/linux/Pyramids/Pyramids --run-id=Pyramids Training --no-graphics --force",
190
+ "mlagents_version": "1.2.0.dev0",
191
+ "mlagents_envs_version": "1.2.0.dev0",
192
+ "communication_protocol_version": "1.5.0",
193
+ "pytorch_version": "2.8.0+cu128",
194
+ "numpy_version": "1.23.5",
195
+ "end_time_seconds": "1769211899"
196
+ },
197
+ "total": 2102.082265533,
198
+ "count": 1,
199
+ "self": 0.4794251049997911,
200
+ "children": {
201
+ "run_training.setup": {
202
+ "total": 0.022532119000061357,
203
+ "count": 1,
204
+ "self": 0.022532119000061357
205
+ },
206
+ "TrainerController.start_learning": {
207
+ "total": 2101.580308309,
208
+ "count": 1,
209
+ "self": 1.5074309599704065,
210
+ "children": {
211
+ "TrainerController._reset_env": {
212
+ "total": 2.14139627499992,
213
+ "count": 1,
214
+ "self": 2.14139627499992
215
+ },
216
+ "TrainerController.advance": {
217
+ "total": 2097.8526599940296,
218
+ "count": 63460,
219
+ "self": 1.541979396082752,
220
+ "children": {
221
+ "env_step": {
222
+ "total": 1444.8048169729827,
223
+ "count": 63460,
224
+ "self": 1288.2826343280703,
225
+ "children": {
226
+ "SubprocessEnvManager._take_step": {
227
+ "total": 155.6027454629384,
228
+ "count": 63460,
229
+ "self": 4.805475674950003,
230
+ "children": {
231
+ "TorchPolicy.evaluate": {
232
+ "total": 150.7972697879884,
233
+ "count": 62560,
234
+ "self": 150.7972697879884
235
+ }
236
+ }
237
+ },
238
+ "workers": {
239
+ "total": 0.9194371819738762,
240
+ "count": 63460,
241
+ "self": 0.0,
242
+ "children": {
243
+ "worker_root": {
244
+ "total": 2094.948446758984,
245
+ "count": 63460,
246
+ "is_parallel": true,
247
+ "self": 925.3449679729883,
248
+ "children": {
249
+ "run_training.setup": {
250
+ "total": 0.0,
251
+ "count": 0,
252
+ "is_parallel": true,
253
+ "self": 0.0,
254
+ "children": {
255
+ "steps_from_proto": {
256
+ "total": 0.0019360850000111895,
257
+ "count": 1,
258
+ "is_parallel": true,
259
+ "self": 0.0005717410000443124,
260
+ "children": {
261
+ "_process_rank_one_or_two_observation": {
262
+ "total": 0.0013643439999668772,
263
+ "count": 8,
264
+ "is_parallel": true,
265
+ "self": 0.0013643439999668772
266
+ }
267
+ }
268
+ },
269
+ "UnityEnvironment.step": {
270
+ "total": 0.04806159999998272,
271
+ "count": 1,
272
+ "is_parallel": true,
273
+ "self": 0.0006606250000231739,
274
+ "children": {
275
+ "UnityEnvironment._generate_step_input": {
276
+ "total": 0.0005053439999755938,
277
+ "count": 1,
278
+ "is_parallel": true,
279
+ "self": 0.0005053439999755938
280
+ },
281
+ "communicator.exchange": {
282
+ "total": 0.0451225169999816,
283
+ "count": 1,
284
+ "is_parallel": true,
285
+ "self": 0.0451225169999816
286
+ },
287
+ "steps_from_proto": {
288
+ "total": 0.0017731140000023515,
289
+ "count": 1,
290
+ "is_parallel": true,
291
+ "self": 0.00040791499975512124,
292
+ "children": {
293
+ "_process_rank_one_or_two_observation": {
294
+ "total": 0.0013651990002472303,
295
+ "count": 8,
296
+ "is_parallel": true,
297
+ "self": 0.0013651990002472303
298
+ }
299
+ }
300
+ }
301
+ }
302
+ }
303
+ }
304
+ },
305
+ "UnityEnvironment.step": {
306
+ "total": 1169.6034787859958,
307
+ "count": 63459,
308
+ "is_parallel": true,
309
+ "self": 33.23648674001697,
310
+ "children": {
311
+ "UnityEnvironment._generate_step_input": {
312
+ "total": 22.35937546100331,
313
+ "count": 63459,
314
+ "is_parallel": true,
315
+ "self": 22.35937546100331
316
+ },
317
+ "communicator.exchange": {
318
+ "total": 1009.720432573948,
319
+ "count": 63459,
320
+ "is_parallel": true,
321
+ "self": 1009.720432573948
322
+ },
323
+ "steps_from_proto": {
324
+ "total": 104.28718401102742,
325
+ "count": 63459,
326
+ "is_parallel": true,
327
+ "self": 22.173314661068503,
328
+ "children": {
329
+ "_process_rank_one_or_two_observation": {
330
+ "total": 82.11386934995892,
331
+ "count": 507672,
332
+ "is_parallel": true,
333
+ "self": 82.11386934995892
334
+ }
335
+ }
336
+ }
337
+ }
338
+ }
339
+ }
340
+ }
341
+ }
342
+ }
343
+ }
344
+ },
345
+ "trainer_advance": {
346
+ "total": 651.5058636249639,
347
+ "count": 63460,
348
+ "self": 3.0051067289683715,
349
+ "children": {
350
+ "process_trajectory": {
351
+ "total": 120.72163768099415,
352
+ "count": 63460,
353
+ "self": 120.53827111999396,
354
+ "children": {
355
+ "RLTrainer._checkpoint": {
356
+ "total": 0.18336656100018445,
357
+ "count": 2,
358
+ "self": 0.18336656100018445
359
+ }
360
+ }
361
+ },
362
+ "_update_policy": {
363
+ "total": 527.7791192150014,
364
+ "count": 446,
365
+ "self": 293.3733732189967,
366
+ "children": {
367
+ "TorchPPOOptimizer.update": {
368
+ "total": 234.40574599600473,
369
+ "count": 22824,
370
+ "self": 234.40574599600473
371
+ }
372
+ }
373
+ }
374
+ }
375
+ }
376
+ }
377
+ },
378
+ "trainer_threads": {
379
+ "total": 8.600000001024455e-07,
380
+ "count": 1,
381
+ "self": 8.600000001024455e-07
382
+ },
383
+ "TrainerController._save_models": {
384
+ "total": 0.07882022000012512,
385
+ "count": 1,
386
+ "self": 0.001300997000271309,
387
+ "children": {
388
+ "RLTrainer._checkpoint": {
389
+ "total": 0.07751922299985381,
390
+ "count": 1,
391
+ "self": 0.07751922299985381
392
+ }
393
+ }
394
+ }
395
+ }
396
+ }
397
+ }
398
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Pyramids": {
3
+ "checkpoints": [
4
+ {
5
+ "steps": 499949,
6
+ "file_path": "results/Pyramids Training/Pyramids/Pyramids-499949.onnx",
7
+ "reward": null,
8
+ "creation_time": 1769210812.6448529,
9
+ "auxillary_file_paths": [
10
+ "results/Pyramids Training/Pyramids/Pyramids-499949.pt"
11
+ ]
12
+ },
13
+ {
14
+ "steps": 999902,
15
+ "file_path": "results/Pyramids Training/Pyramids/Pyramids-999902.onnx",
16
+ "reward": 1.6747500002384186,
17
+ "creation_time": 1769211899.3371246,
18
+ "auxillary_file_paths": [
19
+ "results/Pyramids Training/Pyramids/Pyramids-999902.pt"
20
+ ]
21
+ },
22
+ {
23
+ "steps": 1000030,
24
+ "file_path": "results/Pyramids Training/Pyramids/Pyramids-1000030.onnx",
25
+ "reward": 1.6747500002384186,
26
+ "creation_time": 1769211899.4265282,
27
+ "auxillary_file_paths": [
28
+ "results/Pyramids Training/Pyramids/Pyramids-1000030.pt"
29
+ ]
30
+ }
31
+ ],
32
+ "final_checkpoint": {
33
+ "steps": 1000030,
34
+ "file_path": "results/Pyramids Training/Pyramids.onnx",
35
+ "reward": 1.6747500002384186,
36
+ "creation_time": 1769211899.4265282,
37
+ "auxillary_file_paths": [
38
+ "results/Pyramids Training/Pyramids/Pyramids-1000030.pt"
39
+ ]
40
+ }
41
+ },
42
+ "metadata": {
43
+ "stats_format_version": "0.3.0",
44
+ "mlagents_version": "1.2.0.dev0",
45
+ "torch_version": "2.8.0+cu128"
46
+ }
47
+ }