Alejandra2005 commited on
Commit
7a69866
·
verified ·
1 Parent(s): 5477f4e

Push to Hub

Browse files
Pyramids.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7b8fc4312d93564819c0069c5bf2258f94a00d0413db577e2249ace26c2d4cfa
3
+ size 162254
Pyramids/Pyramids-499999.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7b8fc4312d93564819c0069c5bf2258f94a00d0413db577e2249ace26c2d4cfa
3
+ size 162254
Pyramids/Pyramids-499999.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:db28ba8ad453cf3b622327a9e20d85bb2e24333eb5d70c487af70d752a36f41f
3
+ size 955740
Pyramids/Pyramids-500063.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7b8fc4312d93564819c0069c5bf2258f94a00d0413db577e2249ace26c2d4cfa
3
+ size 162254
Pyramids/Pyramids-500063.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5583e1e396722551156827f93ea2864a1d1d88beccef448ca07e803e0d5c97ad
3
+ size 955740
Pyramids/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6f19a860ff92fe79f0548ea4493fa47ce68d232b09254620a40e28f9452824cd
3
+ size 955445
Pyramids/events.out.tfevents.1792705074.b129535d18d8.13768.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae0d61f02e846362e8d541539b2bf43252dcd9baea577425de89b9b80ae3c8bd
3
+ size 43676
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: Alejandra2005/ppo-Pyramids
33
+ 3. Step 2: Select your *.nn /*.onnx file
34
+ 4. Click on Watch the agent play 👀
35
+
config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"default_settings": null, "behaviors": {"Pyramids": {"trainer_type": "ppo", "hyperparameters": {"batch_size": 128, "buffer_size": 2048, "learning_rate": 0.0003, "beta": 0.01, "epsilon": 0.2, "lambd": 0.95, "num_epoch": 3, "shared_critic": false, "learning_rate_schedule": "linear", "beta_schedule": "linear", "epsilon_schedule": "linear"}, "checkpoint_interval": 500000, "network_settings": {"normalize": false, "hidden_units": 128, "num_layers": 2, "vis_encode_type": "simple", "memory": null, "goal_conditioning_type": "hyper", "deterministic": false}, "reward_signals": {"extrinsic": {"gamma": 0.99, "strength": 1.0, "network_settings": {"normalize": false, "hidden_units": 128, "num_layers": 2, "vis_encode_type": "simple", "memory": null, "goal_conditioning_type": "hyper", "deterministic": false}}}, "init_path": null, "keep_checkpoints": 5, "even_checkpoints": false, "max_steps": 500000, "time_horizon": 64, "summary_freq": 10000, "threaded": false, "self_play": null, "behavioral_cloning": null}}, "env_settings": {"env_path": "training-envs-executables/linux/Pyramids/Pyramids", "env_args": null, "base_port": 5005, "num_envs": 1, "num_areas": 1, "timeout_wait": 60, "seed": -1, "max_lifetime_restarts": 0, "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, "no_graphics_monitor": false}, "environment_parameters": null, "checkpoint_settings": {"run_id": "Pyramids1", "initialize_from": null, "load_model": false, "resume": false, "force": false, "train_model": false, "inference": false, "results_dir": "results"}, "torch_settings": {"device": null}, "debug": false}
configuration.yaml ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ shared_critic: false
14
+ learning_rate_schedule: linear
15
+ beta_schedule: linear
16
+ epsilon_schedule: linear
17
+ checkpoint_interval: 500000
18
+ network_settings:
19
+ normalize: false
20
+ hidden_units: 128
21
+ num_layers: 2
22
+ vis_encode_type: simple
23
+ memory: null
24
+ goal_conditioning_type: hyper
25
+ deterministic: false
26
+ reward_signals:
27
+ extrinsic:
28
+ gamma: 0.99
29
+ strength: 1.0
30
+ network_settings:
31
+ normalize: false
32
+ hidden_units: 128
33
+ num_layers: 2
34
+ vis_encode_type: simple
35
+ memory: null
36
+ goal_conditioning_type: hyper
37
+ deterministic: false
38
+ init_path: null
39
+ keep_checkpoints: 5
40
+ even_checkpoints: false
41
+ max_steps: 500000
42
+ time_horizon: 64
43
+ summary_freq: 10000
44
+ threaded: false
45
+ self_play: null
46
+ behavioral_cloning: null
47
+ env_settings:
48
+ env_path: training-envs-executables/linux/Pyramids/Pyramids
49
+ env_args: null
50
+ base_port: 5005
51
+ num_envs: 1
52
+ num_areas: 1
53
+ timeout_wait: 60
54
+ seed: -1
55
+ max_lifetime_restarts: 0
56
+ restarts_rate_limit_n: 1
57
+ restarts_rate_limit_period_s: 60
58
+ engine_settings:
59
+ width: 84
60
+ height: 84
61
+ quality_level: 5
62
+ time_scale: 20
63
+ target_frame_rate: -1
64
+ capture_frame_rate: 60
65
+ no_graphics: true
66
+ no_graphics_monitor: false
67
+ environment_parameters: null
68
+ checkpoint_settings:
69
+ run_id: Pyramids1
70
+ initialize_from: null
71
+ load_model: false
72
+ resume: false
73
+ force: false
74
+ train_model: false
75
+ inference: false
76
+ results_dir: results
77
+ torch_settings:
78
+ device: null
79
+ debug: false
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] 55019 [Flags] 2 [Guid] 162697760 [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:5208:(_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:5208:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
22
+ ALSA lib confmisc.c:1342:(snd_func_refer) error evaluating name
23
+ ALSA lib conf.c:5208:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
24
+ ALSA lib conf.c:5731:(snd_config_expand) Evaluate error: No such file or directory
25
+ ALSA lib pcm.c:2721:(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:5208:(_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:5208:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
32
+ ALSA lib confmisc.c:1342:(snd_func_refer) error evaluating name
33
+ ALSA lib conf.c:5208:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
34
+ ALSA lib conf.c:5731:(snd_config_expand) Evaluate error: No such file or directory
35
+ ALSA lib pcm.c:2721:(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.466 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: 4.522686 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_MAIN]
79
+ Peak usage frame count: [16.0 KB-32.0 KB]: 2677 frames, [32.0 KB-64.0 KB]: 6509 frames, [64.0 KB-128.0 KB]: 191 frames, [2.0 MB-4.0 MB]: 1 frames
80
+ Initial Block Size 4.0 MB
81
+ Current Block Size 4.0 MB
82
+ Peak Allocated Bytes 2.0 MB
83
+ Overflow Count 0
84
+ [ALLOC_TEMP_Background Job.Worker 8]
85
+ Initial Block Size 32.0 KB
86
+ Current Block Size 32.0 KB
87
+ Peak Allocated Bytes 0 B
88
+ Overflow Count 0
89
+ [ALLOC_TEMP_Background Job.Worker 10]
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 6]
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_AUDIO_FMOD mixer thread]
100
+ Initial Block Size 64.0 KB
101
+ Current Block Size 64.0 KB
102
+ Peak Allocated Bytes 0 B
103
+ Overflow Count 0
104
+ [ALLOC_TEMP_Background Job.Worker 1]
105
+ Initial Block Size 32.0 KB
106
+ Current Block Size 32.0 KB
107
+ Peak Allocated Bytes 0 B
108
+ Overflow Count 0
109
+ [ALLOC_TEMP_Background Job.Worker 11]
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 3]
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_BatchDeleteObjects]
120
+ Initial Block Size 64.0 KB
121
+ Current Block Size 64.0 KB
122
+ Peak Allocated Bytes 0 B
123
+ Overflow Count 0
124
+ [ALLOC_TEMP_AUDIO_FMOD stream thread]
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 0 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]: 9079 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 13352
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]: 9377 frames
223
+ Requested Block Size 16.0 MB
224
+ Peak Block count 3
225
+ Peak Allocated memory 31.8 MB
226
+ Peak Large allocation bytes 0 B
227
+ [ALLOC_DEFAULT_THREAD]
228
+ Peak usage frame count: [16.0 MB-32.0 MB]: 9378 frames
229
+ Requested Block Size 16.0 MB
230
+ Peak Block count 1
231
+ Peak Allocated memory 22.5 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]: 9377 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]: 9378 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]: 9079 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]: 9377 frames, [2.0 MB-4.0 MB]: 1 frames
285
+ Requested Block Size 4.0 MB
286
+ Peak Block count 1
287
+ Peak Allocated memory 3.9 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]: 9378 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]: 9378 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]: 9378 frames
309
+ Requested Block Size 16.0 MB
310
+ Peak Block count 1
311
+ Peak Allocated memory 27.4 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":1792706043826,"processId":13791,"allocatedMemory":1970133,"memoryLabels":[{"Default":9033},{"Permanent":1264},{"NewDelete":12801},{"Thread":34460},{"Manager":10603},{"VertexData":12},{"Geometry":280},{"Texture":16},{"Shader":69173},{"Material":24},{"GfxDevice":35248},{"Animation":304},{"Audio":3976},{"Physics":288},{"Serialization":216},{"Input":9176},{"JobScheduler":200},{"Mono":40},{"ScriptingNativeRuntime":216},{"BaseObject":1609212},{"Resource":592},{"Renderer":1936},{"Transform":48},{"File":800},{"WebCam":24},{"Culling":40},{"Terrain":953},{"Wind":24},{"String":3447},{"DynamicArray":30868},{"HashMap":7680},{"Utility":1360},{"PoolAlloc":1160},{"TypeTree":1792},{"ScriptManager":80},{"RuntimeInitializeOnLoadManager":72},{"SpriteAtlas":112},{"GI":3272},{"Unet":16},{"Director":7760},{"WebRequest":720},{"VR":45473},{"SceneManager":424},{"Video":32},{"LazyScriptCache":32},{"NativeArray":384},{"Camera":25},{"Secure":1},{"SerializationCache":624},{"APIUpdating":5872},{"Subsystems":384},{"VirtualTexturing":57552},{"AssetReference":32}]}
run_logs/timers.json ADDED
@@ -0,0 +1,362 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "Pyramids.Policy.Entropy.mean": {
5
+ "value": 1.2501046657562256,
6
+ "min": 1.1939489841461182,
7
+ "max": 1.5913022756576538,
8
+ "count": 50
9
+ },
10
+ "Pyramids.Policy.Entropy.sum": {
11
+ "value": 12381.037109375,
12
+ "min": 11790.4853515625,
13
+ "max": 16294.935546875,
14
+ "count": 50
15
+ },
16
+ "Pyramids.Step.mean": {
17
+ "value": 499999.0,
18
+ "min": 9984.0,
19
+ "max": 499999.0,
20
+ "count": 50
21
+ },
22
+ "Pyramids.Step.sum": {
23
+ "value": 499999.0,
24
+ "min": 9984.0,
25
+ "max": 499999.0,
26
+ "count": 50
27
+ },
28
+ "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
29
+ "value": -0.09566681832075119,
30
+ "min": -0.10525472462177277,
31
+ "max": -0.0065712472423911095,
32
+ "count": 50
33
+ },
34
+ "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
35
+ "value": -15.5936918258667,
36
+ "min": -16.94601058959961,
37
+ "max": -1.0251145362854004,
38
+ "count": 50
39
+ },
40
+ "Pyramids.Losses.PolicyLoss.mean": {
41
+ "value": 0.06379649303669699,
42
+ "min": 0.058526400409863094,
43
+ "max": 0.07473665089303351,
44
+ "count": 50
45
+ },
46
+ "Pyramids.Losses.PolicyLoss.sum": {
47
+ "value": 0.31898246518348494,
48
+ "min": 0.17557920122958928,
49
+ "max": 0.31898246518348494,
50
+ "count": 50
51
+ },
52
+ "Pyramids.Losses.ValueLoss.mean": {
53
+ "value": 2.9341412917011963e-05,
54
+ "min": 6.6490340257827375e-06,
55
+ "max": 0.01349384894597784,
56
+ "count": 50
57
+ },
58
+ "Pyramids.Losses.ValueLoss.sum": {
59
+ "value": 0.0001467070645850598,
60
+ "min": 2.106097124378865e-05,
61
+ "max": 0.04048154683793352,
62
+ "count": 50
63
+ },
64
+ "Pyramids.Policy.LearningRate.mean": {
65
+ "value": 3.260858913079994e-06,
66
+ "min": 3.260858913079994e-06,
67
+ "max": 0.00029631360122879996,
68
+ "count": 50
69
+ },
70
+ "Pyramids.Policy.LearningRate.sum": {
71
+ "value": 1.630429456539997e-05,
72
+ "min": 1.630429456539997e-05,
73
+ "max": 0.0011168256277248,
74
+ "count": 50
75
+ },
76
+ "Pyramids.Policy.Epsilon.mean": {
77
+ "value": 0.10108692,
78
+ "min": 0.10108692,
79
+ "max": 0.1987712,
80
+ "count": 50
81
+ },
82
+ "Pyramids.Policy.Epsilon.sum": {
83
+ "value": 0.5054346,
84
+ "min": 0.3514752,
85
+ "max": 0.7722752,
86
+ "count": 50
87
+ },
88
+ "Pyramids.Policy.Beta.mean": {
89
+ "value": 0.0001185833079999998,
90
+ "min": 0.0001185833079999998,
91
+ "max": 0.00987724288,
92
+ "count": 50
93
+ },
94
+ "Pyramids.Policy.Beta.sum": {
95
+ "value": 0.000592916539999999,
96
+ "min": 0.000592916539999999,
97
+ "max": 0.037230292479999996,
98
+ "count": 50
99
+ },
100
+ "Pyramids.IsTraining.mean": {
101
+ "value": 1.0,
102
+ "min": 1.0,
103
+ "max": 1.0,
104
+ "count": 50
105
+ },
106
+ "Pyramids.IsTraining.sum": {
107
+ "value": 1.0,
108
+ "min": 1.0,
109
+ "max": 1.0,
110
+ "count": 50
111
+ },
112
+ "Pyramids.Environment.EpisodeLength.mean": {
113
+ "value": 999.0,
114
+ "min": 746.0,
115
+ "max": 999.0,
116
+ "count": 33
117
+ },
118
+ "Pyramids.Environment.EpisodeLength.sum": {
119
+ "value": 15984.0,
120
+ "min": 746.0,
121
+ "max": 15984.0,
122
+ "count": 33
123
+ },
124
+ "Pyramids.Environment.CumulativeReward.mean": {
125
+ "value": -0.9999375445768237,
126
+ "min": -1.0000000447034836,
127
+ "max": 1.253999911248684,
128
+ "count": 38
129
+ },
130
+ "Pyramids.Environment.CumulativeReward.sum": {
131
+ "value": -15.99900071322918,
132
+ "min": -16.000000715255737,
133
+ "max": 1.253999911248684,
134
+ "count": 38
135
+ },
136
+ "Pyramids.Policy.ExtrinsicReward.mean": {
137
+ "value": -0.9999375445768237,
138
+ "min": -1.0000000447034836,
139
+ "max": 1.253999911248684,
140
+ "count": 38
141
+ },
142
+ "Pyramids.Policy.ExtrinsicReward.sum": {
143
+ "value": -15.99900071322918,
144
+ "min": -16.000000715255737,
145
+ "max": 1.253999911248684,
146
+ "count": 38
147
+ }
148
+ },
149
+ "metadata": {
150
+ "timer_format_version": "0.1.0",
151
+ "start_time_seconds": "1792705072",
152
+ "python_version": "3.10.12 (main, Jul 5 2023, 18:54:27) [GCC 11.2.0]",
153
+ "command_line_arguments": "/usr/local/bin/mlagents-learn config/ppo/Pyramids.yaml --env=training-envs-executables/linux/Pyramids/Pyramids --run-id=Pyramids1 --no-graphics --max-lifetime-restarts=0",
154
+ "mlagents_version": "1.2.0.dev0",
155
+ "mlagents_envs_version": "1.2.0.dev0",
156
+ "communication_protocol_version": "1.5.0",
157
+ "pytorch_version": "2.8.0+cu128",
158
+ "numpy_version": "1.23.5",
159
+ "end_time_seconds": "1792706043"
160
+ },
161
+ "total": 971.5753852080002,
162
+ "count": 1,
163
+ "self": 1.224815710000712,
164
+ "children": {
165
+ "run_training.setup": {
166
+ "total": 0.039954345999831276,
167
+ "count": 1,
168
+ "self": 0.039954345999831276
169
+ },
170
+ "TrainerController.start_learning": {
171
+ "total": 970.3106151519996,
172
+ "count": 1,
173
+ "self": 0.9546815610224257,
174
+ "children": {
175
+ "TrainerController._reset_env": {
176
+ "total": 5.233627830000387,
177
+ "count": 1,
178
+ "self": 5.233627830000387
179
+ },
180
+ "TrainerController.advance": {
181
+ "total": 964.0717236049777,
182
+ "count": 31266,
183
+ "self": 1.1823989049526062,
184
+ "children": {
185
+ "env_step": {
186
+ "total": 760.9018197400419,
187
+ "count": 31266,
188
+ "self": 702.4233536260522,
189
+ "children": {
190
+ "SubprocessEnvManager._take_step": {
191
+ "total": 57.84238519898872,
192
+ "count": 31266,
193
+ "self": 2.555585806970612,
194
+ "children": {
195
+ "TorchPolicy.evaluate": {
196
+ "total": 55.28679939201811,
197
+ "count": 31259,
198
+ "self": 55.28679939201811
199
+ }
200
+ }
201
+ },
202
+ "workers": {
203
+ "total": 0.6360809150010027,
204
+ "count": 31266,
205
+ "self": 0.0,
206
+ "children": {
207
+ "worker_root": {
208
+ "total": 966.6629856819791,
209
+ "count": 31266,
210
+ "is_parallel": true,
211
+ "self": 337.1782518049654,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.0,
215
+ "count": 0,
216
+ "is_parallel": true,
217
+ "self": 0.0,
218
+ "children": {
219
+ "steps_from_proto": {
220
+ "total": 0.004418220000388828,
221
+ "count": 1,
222
+ "is_parallel": true,
223
+ "self": 0.0011062109992963087,
224
+ "children": {
225
+ "_process_rank_one_or_two_observation": {
226
+ "total": 0.0033120090010925196,
227
+ "count": 8,
228
+ "is_parallel": true,
229
+ "self": 0.0033120090010925196
230
+ }
231
+ }
232
+ },
233
+ "UnityEnvironment.step": {
234
+ "total": 0.06671823400029098,
235
+ "count": 1,
236
+ "is_parallel": true,
237
+ "self": 0.0005583110005318304,
238
+ "children": {
239
+ "UnityEnvironment._generate_step_input": {
240
+ "total": 0.0005306699999891862,
241
+ "count": 1,
242
+ "is_parallel": true,
243
+ "self": 0.0005306699999891862
244
+ },
245
+ "communicator.exchange": {
246
+ "total": 0.06134799399978874,
247
+ "count": 1,
248
+ "is_parallel": true,
249
+ "self": 0.06134799399978874
250
+ },
251
+ "steps_from_proto": {
252
+ "total": 0.004281258999981219,
253
+ "count": 1,
254
+ "is_parallel": true,
255
+ "self": 0.00035039899967159727,
256
+ "children": {
257
+ "_process_rank_one_or_two_observation": {
258
+ "total": 0.003930860000309622,
259
+ "count": 8,
260
+ "is_parallel": true,
261
+ "self": 0.003930860000309622
262
+ }
263
+ }
264
+ }
265
+ }
266
+ }
267
+ }
268
+ },
269
+ "UnityEnvironment.step": {
270
+ "total": 629.4847338770137,
271
+ "count": 31265,
272
+ "is_parallel": true,
273
+ "self": 18.183061656024165,
274
+ "children": {
275
+ "UnityEnvironment._generate_step_input": {
276
+ "total": 12.60300877101281,
277
+ "count": 31265,
278
+ "is_parallel": true,
279
+ "self": 12.60300877101281
280
+ },
281
+ "communicator.exchange": {
282
+ "total": 545.9632927780003,
283
+ "count": 31265,
284
+ "is_parallel": true,
285
+ "self": 545.9632927780003
286
+ },
287
+ "steps_from_proto": {
288
+ "total": 52.7353706719764,
289
+ "count": 31265,
290
+ "is_parallel": true,
291
+ "self": 11.924669101853851,
292
+ "children": {
293
+ "_process_rank_one_or_two_observation": {
294
+ "total": 40.810701570122546,
295
+ "count": 250120,
296
+ "is_parallel": true,
297
+ "self": 40.810701570122546
298
+ }
299
+ }
300
+ }
301
+ }
302
+ }
303
+ }
304
+ }
305
+ }
306
+ }
307
+ }
308
+ },
309
+ "trainer_advance": {
310
+ "total": 201.9875049599832,
311
+ "count": 31266,
312
+ "self": 1.2953820219277077,
313
+ "children": {
314
+ "process_trajectory": {
315
+ "total": 43.992623443059074,
316
+ "count": 31266,
317
+ "self": 43.63490549005883,
318
+ "children": {
319
+ "RLTrainer._checkpoint": {
320
+ "total": 0.3577179530002468,
321
+ "count": 1,
322
+ "self": 0.3577179530002468
323
+ }
324
+ }
325
+ },
326
+ "_update_policy": {
327
+ "total": 156.69949949499642,
328
+ "count": 172,
329
+ "self": 81.5224108859843,
330
+ "children": {
331
+ "TorchPPOOptimizer.update": {
332
+ "total": 75.17708860901212,
333
+ "count": 11655,
334
+ "self": 75.17708860901212
335
+ }
336
+ }
337
+ }
338
+ }
339
+ }
340
+ }
341
+ },
342
+ "trainer_threads": {
343
+ "total": 9.99999429041054e-07,
344
+ "count": 1,
345
+ "self": 9.99999429041054e-07
346
+ },
347
+ "TrainerController._save_models": {
348
+ "total": 0.05058115599968005,
349
+ "count": 1,
350
+ "self": 0.0012254599996595061,
351
+ "children": {
352
+ "RLTrainer._checkpoint": {
353
+ "total": 0.049355696000020544,
354
+ "count": 1,
355
+ "self": 0.049355696000020544
356
+ }
357
+ }
358
+ }
359
+ }
360
+ }
361
+ }
362
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Pyramids": {
3
+ "checkpoints": [
4
+ {
5
+ "steps": 499999,
6
+ "file_path": "results/Pyramids1/Pyramids/Pyramids-499999.onnx",
7
+ "reward": null,
8
+ "creation_time": 1792706042.6253247,
9
+ "auxillary_file_paths": [
10
+ "results/Pyramids1/Pyramids/Pyramids-499999.pt"
11
+ ]
12
+ },
13
+ {
14
+ "steps": 500063,
15
+ "file_path": "results/Pyramids1/Pyramids/Pyramids-500063.onnx",
16
+ "reward": null,
17
+ "creation_time": 1792706042.6840599,
18
+ "auxillary_file_paths": [
19
+ "results/Pyramids1/Pyramids/Pyramids-500063.pt"
20
+ ]
21
+ }
22
+ ],
23
+ "final_checkpoint": {
24
+ "steps": 500063,
25
+ "file_path": "results/Pyramids1/Pyramids.onnx",
26
+ "reward": null,
27
+ "creation_time": 1792706042.6840599,
28
+ "auxillary_file_paths": [
29
+ "results/Pyramids1/Pyramids/Pyramids-500063.pt"
30
+ ]
31
+ }
32
+ },
33
+ "metadata": {
34
+ "stats_format_version": "0.3.0",
35
+ "mlagents_version": "1.2.0.dev0",
36
+ "torch_version": "2.8.0+cu128"
37
+ }
38
+ }