code1phoenix commited on
Commit
279d4d9
·
verified ·
1 Parent(s): ffcefa9

First Push

Browse files
Pyramids.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4eafde6ac46c19bd500afbb4aa5c89ae7263bd09b7da76a31fde1245d6a7e9f7
3
+ size 1420238
Pyramids/Pyramids-1000085.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4eafde6ac46c19bd500afbb4aa5c89ae7263bd09b7da76a31fde1245d6a7e9f7
3
+ size 1420238
Pyramids/Pyramids-1000085.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f84e6144481942c04f2e97cb7a2a69b4724d8bcaa94e6ff3776098b14d7150d
3
+ size 8656079
Pyramids/Pyramids-499872.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6fd70af0b2934b800111124c67ecf351924aae194517c35d94532519f90027dc
3
+ size 1420238
Pyramids/Pyramids-499872.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:71d73b908df7e27bbbeea38c3ffcebe18ac8eb94d84d639810dded34f2f8a580
3
+ size 8656000
Pyramids/Pyramids-999957.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4eafde6ac46c19bd500afbb4aa5c89ae7263bd09b7da76a31fde1245d6a7e9f7
3
+ size 1420238
Pyramids/Pyramids-999957.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c180b8a0ab646119d233ff2f4db89d19bf31fec53f5f8ead5a6b0cd08558b158
3
+ size 8656000
Pyramids/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d75b441f03fa1903572258571434b5c18f9c416b332581ec014b7dc94000570
3
+ size 8655605
Pyramids/events.out.tfevents.1773883627.a60866c09756.34637.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b39c6ed6ee3b74b1723f2fb8b286194d18d4dac83a19645ecdfbfb355e1e832
3
+ size 295215
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: code1phoenix/ppo-pyramid
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,317 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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] 55413 [Flags] 2 [Guid] 1204079292 [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
+ PlayerPrefs - Creating folder: /root/.config/unity3d/Unity Technologies
8
+ PlayerPrefs - Creating folder: /root/.config/unity3d/Unity Technologies/UnityEnvironment
9
+ Unable to load player prefs
10
+ Initialize engine version: 2021.3.5f1 (40eb3a945986)
11
+ [Subsystems] Discovering subsystems at path /content/ml-agents/training-envs-executables/linux/Pyramids/Pyramids_Data/UnitySubsystems
12
+ Forcing GfxDevice: Null
13
+ GfxDevice: creating device client; threaded=0; jobified=0
14
+ NullGfxDevice:
15
+ Version: NULL 1.0 [1.0]
16
+ Renderer: Null Device
17
+ Vendor: Unity Technologies
18
+ ALSA lib confmisc.c:855:(parse_card) cannot find card '0'
19
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
20
+ ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
21
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
22
+ ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name
23
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
24
+ ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory
25
+ ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM default
26
+ FMOD failed to initialize the output device.: "Error initializing output device. " (60)
27
+ 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
28
+ ALSA lib confmisc.c:855:(parse_card) cannot find card '0'
29
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
30
+ ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
31
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
32
+ ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name
33
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
34
+ ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory
35
+ ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM default
36
+ FMOD failed to initialize the output device.: "Error initializing output device. " (60)
37
+ FMOD initialized on nosound output
38
+ Begin MonoManager ReloadAssembly
39
+ - Completed reload, in 0.091 seconds
40
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
41
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
42
+ ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
43
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
44
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
45
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
46
+ ERROR: Shader Autodesk Interactive shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
47
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - 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
+ WARNING: Shader Unsupported: 'Legacy Shaders/Diffuse' - All subshaders removed
51
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
52
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
53
+ ERROR: Shader Legacy Shaders/Diffuse shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
54
+ WARNING: Shader Unsupported: 'Legacy Shaders/Diffuse' - 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
+ WARNING: Shader Unsupported: 'ML-Agents/GridPattern' - All subshaders removed
58
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
59
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
60
+ ERROR: Shader ML-Agents/GridPattern shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
61
+ WARNING: Shader Unsupported: 'ML-Agents/GridPattern' - 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
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
65
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
66
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
67
+ ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
68
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
69
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
70
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
71
+ UnloadTime: 0.766032 ms
72
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
73
+ requesting resize 84 x 84
74
+ Setting up 1 worker threads for Enlighten.
75
+ PlayerConnection::CleanupMemory Statistics:
76
+ [ALLOC_TEMP_TLS] TLS Allocator
77
+ StackAllocators :
78
+ [ALLOC_TEMP_AUDIO_FMOD stream thread]
79
+ Initial Block Size 64.0 KB
80
+ Current Block Size 64.0 KB
81
+ Peak Allocated Bytes 0 B
82
+ Overflow Count 0
83
+ [ALLOC_TEMP_MAIN]
84
+ Peak usage frame count: [16.0 KB-32.0 KB]: 8930 frames, [32.0 KB-64.0 KB]: 8182 frames, [64.0 KB-128.0 KB]: 1661 frames, [2.0 MB-4.0 MB]: 1 frames
85
+ Initial Block Size 4.0 MB
86
+ Current Block Size 4.0 MB
87
+ Peak Allocated Bytes 2.0 MB
88
+ Overflow Count 0
89
+ [ALLOC_TEMP_Background Job.Worker 8]
90
+ Initial Block Size 32.0 KB
91
+ Current Block Size 32.0 KB
92
+ Peak Allocated Bytes 0 B
93
+ Overflow Count 0
94
+ [ALLOC_TEMP_Background Job.Worker 10]
95
+ Initial Block Size 32.0 KB
96
+ Current Block Size 32.0 KB
97
+ Peak Allocated Bytes 0 B
98
+ Overflow Count 0
99
+ [ALLOC_TEMP_Background Job.Worker 6]
100
+ Initial Block Size 32.0 KB
101
+ Current Block Size 32.0 KB
102
+ Peak Allocated Bytes 0 B
103
+ Overflow Count 0
104
+ [ALLOC_TEMP_AUDIO_FMOD mixer thread]
105
+ Initial Block Size 64.0 KB
106
+ Current Block Size 64.0 KB
107
+ Peak Allocated Bytes 0 B
108
+ Overflow Count 0
109
+ [ALLOC_TEMP_Background Job.Worker 1]
110
+ Initial Block Size 32.0 KB
111
+ Current Block Size 32.0 KB
112
+ Peak Allocated Bytes 0 B
113
+ Overflow Count 0
114
+ [ALLOC_TEMP_Background Job.Worker 11]
115
+ Initial Block Size 32.0 KB
116
+ Current Block Size 32.0 KB
117
+ Peak Allocated Bytes 0 B
118
+ Overflow Count 0
119
+ [ALLOC_TEMP_Background Job.Worker 3]
120
+ Initial Block Size 32.0 KB
121
+ Current Block Size 32.0 KB
122
+ Peak Allocated Bytes 0 B
123
+ Overflow Count 0
124
+ [ALLOC_TEMP_BatchDeleteObjects]
125
+ Initial Block Size 64.0 KB
126
+ Current Block Size 64.0 KB
127
+ Peak Allocated Bytes 0 B
128
+ Overflow Count 0
129
+ [ALLOC_TEMP_Background Job.Worker 2]
130
+ Initial Block Size 32.0 KB
131
+ Current Block Size 32.0 KB
132
+ Peak Allocated Bytes 0 B
133
+ Overflow Count 0
134
+ [ALLOC_TEMP_Background Job.Worker 7]
135
+ Initial Block Size 32.0 KB
136
+ Current Block Size 32.0 KB
137
+ Peak Allocated Bytes 0 B
138
+ Overflow Count 0
139
+ [ALLOC_TEMP_Background Job.Worker 15]
140
+ Initial Block Size 32.0 KB
141
+ Current Block Size 32.0 KB
142
+ Peak Allocated Bytes 0 B
143
+ Overflow Count 0
144
+ [ALLOC_TEMP_Loading.PreloadManager]
145
+ Initial Block Size 256.0 KB
146
+ Current Block Size 320.0 KB
147
+ Peak Allocated Bytes 251.5 KB
148
+ Overflow Count 4
149
+ [ALLOC_TEMP_Profiler.Dispatcher]
150
+ Initial Block Size 64.0 KB
151
+ Current Block Size 64.0 KB
152
+ Peak Allocated Bytes 240 B
153
+ Overflow Count 0
154
+ [ALLOC_TEMP_Background Job.Worker 12]
155
+ Initial Block Size 32.0 KB
156
+ Current Block Size 32.0 KB
157
+ Peak Allocated Bytes 0 B
158
+ Overflow Count 0
159
+ [ALLOC_TEMP_AssetGarbageCollectorHelper]
160
+ Initial Block Size 64.0 KB
161
+ Current Block Size 64.0 KB
162
+ Peak Allocated Bytes 0 B
163
+ Overflow Count 0
164
+ [ALLOC_TEMP_Background Job.Worker 5]
165
+ Initial Block Size 32.0 KB
166
+ Current Block Size 32.0 KB
167
+ Peak Allocated Bytes 0 B
168
+ Overflow Count 0
169
+ [ALLOC_TEMP_Background Job.Worker 13]
170
+ Initial Block Size 32.0 KB
171
+ Current Block Size 32.0 KB
172
+ Peak Allocated Bytes 0 B
173
+ Overflow Count 0
174
+ [ALLOC_TEMP_Background Job.Worker 0]
175
+ Initial Block Size 32.0 KB
176
+ Current Block Size 32.0 KB
177
+ Peak Allocated Bytes 0 B
178
+ Overflow Count 0
179
+ [ALLOC_TEMP_Background Job.Worker 4]
180
+ Initial Block Size 32.0 KB
181
+ Current Block Size 32.0 KB
182
+ Peak Allocated Bytes 0 B
183
+ Overflow Count 0
184
+ [ALLOC_TEMP_Job.Worker 0]
185
+ Initial Block Size 256.0 KB
186
+ Current Block Size 256.0 KB
187
+ Peak Allocated Bytes 0.8 KB
188
+ Overflow Count 0
189
+ [ALLOC_TEMP_Background Job.Worker 9]
190
+ Initial Block Size 32.0 KB
191
+ Current Block Size 32.0 KB
192
+ Peak Allocated Bytes 0 B
193
+ Overflow Count 0
194
+ [ALLOC_TEMP_Background Job.Worker 14]
195
+ Initial Block Size 32.0 KB
196
+ Current Block Size 32.0 KB
197
+ Peak Allocated Bytes 0 B
198
+ Overflow Count 0
199
+ [ALLOC_TEMP_EnlightenWorker]
200
+ Initial Block Size 64.0 KB
201
+ Current Block Size 64.0 KB
202
+ Peak Allocated Bytes 0 B
203
+ Overflow Count 0
204
+ [ALLOC_TEMP_Loading.AsyncRead]
205
+ Initial Block Size 64.0 KB
206
+ Current Block Size 64.0 KB
207
+ Peak Allocated Bytes 128 B
208
+ Overflow Count 0
209
+ [ALLOC_MEMORYPROFILER]
210
+ Peak usage frame count: [0.5 MB-1.0 MB]: 299 frames, [1.0 MB-2.0 MB]: 18475 frames
211
+ Requested Block Size 1.0 MB
212
+ Peak Block count 2
213
+ Peak Allocated memory 1.6 MB
214
+ Peak Large allocation bytes 0 B
215
+ [ALLOC_DEFAULT] Dual Thread Allocator
216
+ Peak main deferred allocation count 12845
217
+ [ALLOC_BUCKET]
218
+ Large Block size 4.0 MB
219
+ Used Block count 1
220
+ Peak Allocated bytes 1.7 MB
221
+ [ALLOC_DEFAULT_MAIN]
222
+ Peak usage frame count: [8.0 MB-16.0 MB]: 1 frames, [16.0 MB-32.0 MB]: 18773 frames
223
+ Requested Block Size 16.0 MB
224
+ Peak Block count 3
225
+ Peak Allocated memory 31.9 MB
226
+ Peak Large allocation bytes 0 B
227
+ [ALLOC_DEFAULT_THREAD]
228
+ Peak usage frame count: [16.0 MB-32.0 MB]: 18774 frames
229
+ Requested Block Size 16.0 MB
230
+ Peak Block count 1
231
+ Peak Allocated memory 22.1 MB
232
+ Peak Large allocation bytes 16.0 MB
233
+ [ALLOC_TEMP_JOB_1_FRAME]
234
+ Initial Block Size 2.0 MB
235
+ Used Block Count 1
236
+ Overflow Count (too large) 0
237
+ Overflow Count (full) 0
238
+ [ALLOC_TEMP_JOB_2_FRAMES]
239
+ Initial Block Size 2.0 MB
240
+ Used Block Count 1
241
+ Overflow Count (too large) 0
242
+ Overflow Count (full) 0
243
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
244
+ Initial Block Size 2.0 MB
245
+ Used Block Count 2
246
+ Overflow Count (too large) 0
247
+ Overflow Count (full) 0
248
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
249
+ Initial Block Size 1.0 MB
250
+ Used Block Count 3
251
+ Overflow Count (too large) 0
252
+ Overflow Count (full) 0
253
+ [ALLOC_GFX] Dual Thread Allocator
254
+ Peak main deferred allocation count 0
255
+ [ALLOC_BUCKET]
256
+ Large Block size 4.0 MB
257
+ Used Block count 1
258
+ Peak Allocated bytes 1.7 MB
259
+ [ALLOC_GFX_MAIN]
260
+ Peak usage frame count: [32.0 KB-64.0 KB]: 18773 frames, [64.0 KB-128.0 KB]: 1 frames
261
+ Requested Block Size 16.0 MB
262
+ Peak Block count 1
263
+ Peak Allocated memory 67.0 KB
264
+ Peak Large allocation bytes 0 B
265
+ [ALLOC_GFX_THREAD]
266
+ Peak usage frame count: [64.0 KB-128.0 KB]: 18774 frames
267
+ Requested Block Size 16.0 MB
268
+ Peak Block count 1
269
+ Peak Allocated memory 67.7 KB
270
+ Peak Large allocation bytes 0 B
271
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
272
+ Peak main deferred allocation count 1
273
+ [ALLOC_BUCKET]
274
+ Large Block size 4.0 MB
275
+ Used Block count 1
276
+ Peak Allocated bytes 1.7 MB
277
+ [ALLOC_CACHEOBJECTS_MAIN]
278
+ Peak usage frame count: [0.5 MB-1.0 MB]: 299 frames, [1.0 MB-2.0 MB]: 18475 frames
279
+ Requested Block Size 4.0 MB
280
+ Peak Block count 1
281
+ Peak Allocated memory 1.4 MB
282
+ Peak Large allocation bytes 0 B
283
+ [ALLOC_CACHEOBJECTS_THREAD]
284
+ Peak usage frame count: [1.0 MB-2.0 MB]: 18773 frames, [4.0 MB-8.0 MB]: 1 frames
285
+ Requested Block Size 4.0 MB
286
+ Peak Block count 2
287
+ Peak Allocated memory 4.7 MB
288
+ Peak Large allocation bytes 0 B
289
+ [ALLOC_TYPETREE] Dual Thread Allocator
290
+ Peak main deferred allocation count 0
291
+ [ALLOC_BUCKET]
292
+ Large Block size 4.0 MB
293
+ Used Block count 1
294
+ Peak Allocated bytes 1.7 MB
295
+ [ALLOC_TYPETREE_MAIN]
296
+ Peak usage frame count: [0-1.0 KB]: 18774 frames
297
+ Requested Block Size 2.0 MB
298
+ Peak Block count 1
299
+ Peak Allocated memory 1.0 KB
300
+ Peak Large allocation bytes 0 B
301
+ [ALLOC_TYPETREE_THREAD]
302
+ Peak usage frame count: [1.0 KB-2.0 KB]: 18774 frames
303
+ Requested Block Size 2.0 MB
304
+ Peak Block count 1
305
+ Peak Allocated memory 1.9 KB
306
+ Peak Large allocation bytes 0 B
307
+ [ALLOC_PROFILER]
308
+ Peak usage frame count: [16.0 KB-32.0 KB]: 18774 frames
309
+ Requested Block Size 16.0 MB
310
+ Peak Block count 1
311
+ Peak Allocated memory 29.2 KB
312
+ Peak Large allocation bytes 0 B
313
+ [ALLOC_PROFILER_BUCKET]
314
+ Large Block size 4.0 MB
315
+ Used Block count 1
316
+ Peak Allocated bytes 396 B
317
+ ##utp:{"type":"MemoryLeaks","version":2,"phase":"Immediate","time":1773885790980,"processId":34657,"allocatedMemory":1970545,"memoryLabels":[{"Default":9033},{"Permanent":1264},{"NewDelete":12801},{"Thread":34460},{"Manager":11015},{"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.4671494662761688,
6
+ "min": 0.4671494662761688,
7
+ "max": 1.3924988508224487,
8
+ "count": 33
9
+ },
10
+ "Pyramids.Policy.Entropy.sum": {
11
+ "value": 14074.279296875,
12
+ "min": 13929.384765625,
13
+ "max": 42242.84375,
14
+ "count": 33
15
+ },
16
+ "Pyramids.Step.mean": {
17
+ "value": 989969.0,
18
+ "min": 29952.0,
19
+ "max": 989969.0,
20
+ "count": 33
21
+ },
22
+ "Pyramids.Step.sum": {
23
+ "value": 989969.0,
24
+ "min": 29952.0,
25
+ "max": 989969.0,
26
+ "count": 33
27
+ },
28
+ "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
29
+ "value": 0.08507057279348373,
30
+ "min": -0.10575323551893234,
31
+ "max": 0.08507057279348373,
32
+ "count": 33
33
+ },
34
+ "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
35
+ "value": 21.097501754760742,
36
+ "min": -25.486530303955078,
37
+ "max": 21.097501754760742,
38
+ "count": 33
39
+ },
40
+ "Pyramids.Policy.RndValueEstimate.mean": {
41
+ "value": 0.05225399136543274,
42
+ "min": 0.022579381242394447,
43
+ "max": 0.7404017448425293,
44
+ "count": 33
45
+ },
46
+ "Pyramids.Policy.RndValueEstimate.sum": {
47
+ "value": 12.958990097045898,
48
+ "min": 5.509368896484375,
49
+ "max": 175.4752197265625,
50
+ "count": 33
51
+ },
52
+ "Pyramids.Losses.PolicyLoss.mean": {
53
+ "value": 0.0664102877469434,
54
+ "min": 0.06533160973142986,
55
+ "max": 0.07269938079838788,
56
+ "count": 33
57
+ },
58
+ "Pyramids.Losses.PolicyLoss.sum": {
59
+ "value": 0.9297440284572076,
60
+ "min": 0.4836040788146817,
61
+ "max": 1.0177913311774303,
62
+ "count": 33
63
+ },
64
+ "Pyramids.Losses.ValueLoss.mean": {
65
+ "value": 0.008111140180300848,
66
+ "min": 0.0001247202956558229,
67
+ "max": 0.01851770633556759,
68
+ "count": 33
69
+ },
70
+ "Pyramids.Losses.ValueLoss.sum": {
71
+ "value": 0.11355596252421188,
72
+ "min": 0.0016213638435256977,
73
+ "max": 0.12962394434897312,
74
+ "count": 33
75
+ },
76
+ "Pyramids.Policy.LearningRate.mean": {
77
+ "value": 7.503247498950002e-06,
78
+ "min": 7.503247498950002e-06,
79
+ "max": 0.00029515063018788575,
80
+ "count": 33
81
+ },
82
+ "Pyramids.Policy.LearningRate.sum": {
83
+ "value": 0.00010504546498530003,
84
+ "min": 0.00010504546498530003,
85
+ "max": 0.0035074136308621997,
86
+ "count": 33
87
+ },
88
+ "Pyramids.Policy.Epsilon.mean": {
89
+ "value": 0.10250105000000001,
90
+ "min": 0.10250105000000001,
91
+ "max": 0.19838354285714285,
92
+ "count": 33
93
+ },
94
+ "Pyramids.Policy.Epsilon.sum": {
95
+ "value": 1.4350147000000002,
96
+ "min": 1.3691136000000002,
97
+ "max": 2.5691378,
98
+ "count": 33
99
+ },
100
+ "Pyramids.Policy.Beta.mean": {
101
+ "value": 0.00025985489500000007,
102
+ "min": 0.00025985489500000007,
103
+ "max": 0.00983851593142857,
104
+ "count": 33
105
+ },
106
+ "Pyramids.Policy.Beta.sum": {
107
+ "value": 0.0036379685300000006,
108
+ "min": 0.0036379685300000006,
109
+ "max": 0.11693686622,
110
+ "count": 33
111
+ },
112
+ "Pyramids.Losses.RNDLoss.mean": {
113
+ "value": 0.022003738209605217,
114
+ "min": 0.022003738209605217,
115
+ "max": 0.7469258904457092,
116
+ "count": 33
117
+ },
118
+ "Pyramids.Losses.RNDLoss.sum": {
119
+ "value": 0.30805233120918274,
120
+ "min": 0.30805233120918274,
121
+ "max": 5.228481292724609,
122
+ "count": 33
123
+ },
124
+ "Pyramids.Environment.EpisodeLength.mean": {
125
+ "value": 786.421052631579,
126
+ "min": 756.8974358974359,
127
+ "max": 999.0,
128
+ "count": 33
129
+ },
130
+ "Pyramids.Environment.EpisodeLength.sum": {
131
+ "value": 29884.0,
132
+ "min": 15984.0,
133
+ "max": 34149.0,
134
+ "count": 33
135
+ },
136
+ "Pyramids.Environment.CumulativeReward.mean": {
137
+ "value": 0.23346662597778517,
138
+ "min": -1.0000000521540642,
139
+ "max": 0.26846662698647916,
140
+ "count": 33
141
+ },
142
+ "Pyramids.Environment.CumulativeReward.sum": {
143
+ "value": 9.105198413133621,
144
+ "min": -32.000001668930054,
145
+ "max": 10.470198452472687,
146
+ "count": 33
147
+ },
148
+ "Pyramids.Policy.ExtrinsicReward.mean": {
149
+ "value": 0.23346662597778517,
150
+ "min": -1.0000000521540642,
151
+ "max": 0.26846662698647916,
152
+ "count": 33
153
+ },
154
+ "Pyramids.Policy.ExtrinsicReward.sum": {
155
+ "value": 9.105198413133621,
156
+ "min": -32.000001668930054,
157
+ "max": 10.470198452472687,
158
+ "count": 33
159
+ },
160
+ "Pyramids.Policy.RndReward.mean": {
161
+ "value": 0.17855534232251394,
162
+ "min": 0.17855534232251394,
163
+ "max": 15.415195751935244,
164
+ "count": 33
165
+ },
166
+ "Pyramids.Policy.RndReward.sum": {
167
+ "value": 6.963658350578044,
168
+ "min": 6.3973067798651755,
169
+ "max": 246.6431320309639,
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": "1773883626",
188
+ "python_version": "3.10.13 (main, Sep 11 2023, 13:44:35) [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",
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": "1773885791"
196
+ },
197
+ "total": 2164.3104597379997,
198
+ "count": 1,
199
+ "self": 0.47904001399911067,
200
+ "children": {
201
+ "run_training.setup": {
202
+ "total": 0.022021775000212074,
203
+ "count": 1,
204
+ "self": 0.022021775000212074
205
+ },
206
+ "TrainerController.start_learning": {
207
+ "total": 2163.8093979490004,
208
+ "count": 1,
209
+ "self": 1.4262358291744022,
210
+ "children": {
211
+ "TrainerController._reset_env": {
212
+ "total": 2.123861572000351,
213
+ "count": 1,
214
+ "self": 2.123861572000351
215
+ },
216
+ "TrainerController.advance": {
217
+ "total": 2160.1749073568253,
218
+ "count": 63273,
219
+ "self": 1.4533864500081108,
220
+ "children": {
221
+ "env_step": {
222
+ "total": 1496.95250360284,
223
+ "count": 63273,
224
+ "self": 1346.1210723171043,
225
+ "children": {
226
+ "SubprocessEnvManager._take_step": {
227
+ "total": 150.03830692079373,
228
+ "count": 63273,
229
+ "self": 4.726816939822129,
230
+ "children": {
231
+ "TorchPolicy.evaluate": {
232
+ "total": 145.3114899809716,
233
+ "count": 62578,
234
+ "self": 145.3114899809716
235
+ }
236
+ }
237
+ },
238
+ "workers": {
239
+ "total": 0.793124364941832,
240
+ "count": 63273,
241
+ "self": 0.0,
242
+ "children": {
243
+ "worker_root": {
244
+ "total": 2157.451709145914,
245
+ "count": 63273,
246
+ "is_parallel": true,
247
+ "self": 927.189133171817,
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.0018153560004066094,
257
+ "count": 1,
258
+ "is_parallel": true,
259
+ "self": 0.0006085159993745037,
260
+ "children": {
261
+ "_process_rank_one_or_two_observation": {
262
+ "total": 0.0012068400010321056,
263
+ "count": 8,
264
+ "is_parallel": true,
265
+ "self": 0.0012068400010321056
266
+ }
267
+ }
268
+ },
269
+ "UnityEnvironment.step": {
270
+ "total": 0.05177770299997064,
271
+ "count": 1,
272
+ "is_parallel": true,
273
+ "self": 0.0005757780008934787,
274
+ "children": {
275
+ "UnityEnvironment._generate_step_input": {
276
+ "total": 0.0004963840001437347,
277
+ "count": 1,
278
+ "is_parallel": true,
279
+ "self": 0.0004963840001437347
280
+ },
281
+ "communicator.exchange": {
282
+ "total": 0.04906073899928742,
283
+ "count": 1,
284
+ "is_parallel": true,
285
+ "self": 0.04906073899928742
286
+ },
287
+ "steps_from_proto": {
288
+ "total": 0.0016448019996460062,
289
+ "count": 1,
290
+ "is_parallel": true,
291
+ "self": 0.0003346229987073457,
292
+ "children": {
293
+ "_process_rank_one_or_two_observation": {
294
+ "total": 0.0013101790009386605,
295
+ "count": 8,
296
+ "is_parallel": true,
297
+ "self": 0.0013101790009386605
298
+ }
299
+ }
300
+ }
301
+ }
302
+ }
303
+ }
304
+ },
305
+ "UnityEnvironment.step": {
306
+ "total": 1230.2625759740968,
307
+ "count": 63272,
308
+ "is_parallel": true,
309
+ "self": 33.370208038157216,
310
+ "children": {
311
+ "UnityEnvironment._generate_step_input": {
312
+ "total": 22.59027136504119,
313
+ "count": 63272,
314
+ "is_parallel": true,
315
+ "self": 22.59027136504119
316
+ },
317
+ "communicator.exchange": {
318
+ "total": 1066.9861452130917,
319
+ "count": 63272,
320
+ "is_parallel": true,
321
+ "self": 1066.9861452130917
322
+ },
323
+ "steps_from_proto": {
324
+ "total": 107.31595135780663,
325
+ "count": 63272,
326
+ "is_parallel": true,
327
+ "self": 22.45222959353123,
328
+ "children": {
329
+ "_process_rank_one_or_two_observation": {
330
+ "total": 84.8637217642754,
331
+ "count": 506176,
332
+ "is_parallel": true,
333
+ "self": 84.8637217642754
334
+ }
335
+ }
336
+ }
337
+ }
338
+ }
339
+ }
340
+ }
341
+ }
342
+ }
343
+ }
344
+ },
345
+ "trainer_advance": {
346
+ "total": 661.7690173039773,
347
+ "count": 63273,
348
+ "self": 2.560107305727797,
349
+ "children": {
350
+ "process_trajectory": {
351
+ "total": 125.24601274624274,
352
+ "count": 63273,
353
+ "self": 125.05573973524315,
354
+ "children": {
355
+ "RLTrainer._checkpoint": {
356
+ "total": 0.19027301099959004,
357
+ "count": 2,
358
+ "self": 0.19027301099959004
359
+ }
360
+ }
361
+ },
362
+ "_update_policy": {
363
+ "total": 533.9628972520068,
364
+ "count": 444,
365
+ "self": 295.8931594539463,
366
+ "children": {
367
+ "TorchPPOOptimizer.update": {
368
+ "total": 238.0697377980605,
369
+ "count": 22788,
370
+ "self": 238.0697377980605
371
+ }
372
+ }
373
+ }
374
+ }
375
+ }
376
+ }
377
+ },
378
+ "trainer_threads": {
379
+ "total": 9.320010576630011e-07,
380
+ "count": 1,
381
+ "self": 9.320010576630011e-07
382
+ },
383
+ "TrainerController._save_models": {
384
+ "total": 0.08439225899928715,
385
+ "count": 1,
386
+ "self": 0.0009278130000893725,
387
+ "children": {
388
+ "RLTrainer._checkpoint": {
389
+ "total": 0.08346444599919778,
390
+ "count": 1,
391
+ "self": 0.08346444599919778
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": 499872,
6
+ "file_path": "results/Pyramids Training/Pyramids/Pyramids-499872.onnx",
7
+ "reward": -0.9994000494480133,
8
+ "creation_time": 1773884681.4064288,
9
+ "auxillary_file_paths": [
10
+ "results/Pyramids Training/Pyramids/Pyramids-499872.pt"
11
+ ]
12
+ },
13
+ {
14
+ "steps": 999957,
15
+ "file_path": "results/Pyramids Training/Pyramids/Pyramids-999957.onnx",
16
+ "reward": -1.0000000521540642,
17
+ "creation_time": 1773885790.4449763,
18
+ "auxillary_file_paths": [
19
+ "results/Pyramids Training/Pyramids/Pyramids-999957.pt"
20
+ ]
21
+ },
22
+ {
23
+ "steps": 1000085,
24
+ "file_path": "results/Pyramids Training/Pyramids/Pyramids-1000085.onnx",
25
+ "reward": -1.0000000521540642,
26
+ "creation_time": 1773885790.5404437,
27
+ "auxillary_file_paths": [
28
+ "results/Pyramids Training/Pyramids/Pyramids-1000085.pt"
29
+ ]
30
+ }
31
+ ],
32
+ "final_checkpoint": {
33
+ "steps": 1000085,
34
+ "file_path": "results/Pyramids Training/Pyramids.onnx",
35
+ "reward": -1.0000000521540642,
36
+ "creation_time": 1773885790.5404437,
37
+ "auxillary_file_paths": [
38
+ "results/Pyramids Training/Pyramids/Pyramids-1000085.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
+ }