yepengsun commited on
Commit
5bc474e
·
verified ·
1 Parent(s): 23a82bb

First Push

Browse files
Pyramids.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e200aba32909616483ce9275cbc4d130be96bea9817a855c7981a40c5f74c75d
3
+ size 1420238
Pyramids/Pyramids-22144.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e200aba32909616483ce9275cbc4d130be96bea9817a855c7981a40c5f74c75d
3
+ size 1420238
Pyramids/Pyramids-22144.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a18a764d5ab1f7efa7e3a8ac2bdc27e4db16fa08ce43b9f8e97309684f70fdb8
3
+ size 8656569
Pyramids/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1681a3e5b895c063e8d220ed6cce3a8baddfde8512d32e786c42fa004dc3e5d8
3
+ size 8656181
Pyramids/events.out.tfevents.1757641724.5be77e2c3e17.12199.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:90aaf4816dc64ef7805691f307d3541049d649589c052c98b472fc0911642a6d
3
+ size 1423
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: yepengsun/ppo-Pyramids-training
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": 512, "num_layers": 2, "vis_encode_type": "simple", "memory": null, "goal_conditioning_type": "hyper", "deterministic": false}, "reward_signals": {"extrinsic": {"gamma": 0.99, "strength": 1.0, "network_settings": {"normalize": false, "hidden_units": 128, "num_layers": 2, "vis_encode_type": "simple", "memory": null, "goal_conditioning_type": "hyper", "deterministic": false}}, "rnd": {"gamma": 0.99, "strength": 0.01, "network_settings": {"normalize": false, "hidden_units": 64, "num_layers": 3, "vis_encode_type": "simple", "memory": null, "goal_conditioning_type": "hyper", "deterministic": false}, "learning_rate": 0.0001, "encoding_size": null}}, "init_path": null, "keep_checkpoints": 5, "even_checkpoints": false, "max_steps": 3000000, "time_horizon": 128, "summary_freq": 30000, "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": 10, "restarts_rate_limit_n": 1, "restarts_rate_limit_period_s": 60}, "engine_settings": {"width": 84, "height": 84, "quality_level": 5, "time_scale": 20, "target_frame_rate": -1, "capture_frame_rate": 60, "no_graphics": true, "no_graphics_monitor": false}, "environment_parameters": null, "checkpoint_settings": {"run_id": "Pyramids Training", "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,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: 512
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
+ rnd:
39
+ gamma: 0.99
40
+ strength: 0.01
41
+ network_settings:
42
+ normalize: false
43
+ hidden_units: 64
44
+ num_layers: 3
45
+ vis_encode_type: simple
46
+ memory: null
47
+ goal_conditioning_type: hyper
48
+ deterministic: false
49
+ learning_rate: 0.0001
50
+ encoding_size: null
51
+ init_path: null
52
+ keep_checkpoints: 5
53
+ even_checkpoints: false
54
+ max_steps: 3000000
55
+ time_horizon: 128
56
+ summary_freq: 30000
57
+ threaded: false
58
+ self_play: null
59
+ behavioral_cloning: null
60
+ env_settings:
61
+ env_path: ./training-envs-executables/linux/Pyramids/Pyramids
62
+ env_args: null
63
+ base_port: 5005
64
+ num_envs: 1
65
+ num_areas: 1
66
+ timeout_wait: 60
67
+ seed: -1
68
+ max_lifetime_restarts: 10
69
+ restarts_rate_limit_n: 1
70
+ restarts_rate_limit_period_s: 60
71
+ engine_settings:
72
+ width: 84
73
+ height: 84
74
+ quality_level: 5
75
+ time_scale: 20
76
+ target_frame_rate: -1
77
+ capture_frame_rate: 60
78
+ no_graphics: true
79
+ no_graphics_monitor: false
80
+ environment_parameters: null
81
+ checkpoint_settings:
82
+ run_id: Pyramids Training
83
+ initialize_from: null
84
+ load_model: false
85
+ resume: false
86
+ force: false
87
+ train_model: false
88
+ inference: false
89
+ results_dir: results
90
+ torch_settings:
91
+ device: null
92
+ debug: false
run_logs/Player-0.log ADDED
@@ -0,0 +1,367 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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] 55435 [Flags] 2 [Guid] 2903871952 [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.093 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.878383 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 6 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]: 206 frames, [32.0 KB-64.0 KB]: 234 frames, [64.0 KB-128.0 KB]: 7 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_Job.Worker 4]
95
+ Initial Block Size 256.0 KB
96
+ Current Block Size 256.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_AUDIO_FMOD stream thread]
130
+ Initial Block Size 64.0 KB
131
+ Current Block Size 64.0 KB
132
+ Peak Allocated Bytes 0 B
133
+ Overflow Count 0
134
+ [ALLOC_TEMP_Background Job.Worker 15]
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 7]
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_Job.Worker 8]
145
+ Initial Block Size 256.0 KB
146
+ Current Block Size 256.0 KB
147
+ Peak Allocated Bytes 0 B
148
+ Overflow Count 0
149
+ [ALLOC_TEMP_Job.Worker 1]
150
+ Initial Block Size 256.0 KB
151
+ Current Block Size 256.0 KB
152
+ Peak Allocated Bytes 0 B
153
+ Overflow Count 0
154
+ [ALLOC_TEMP_Job.Worker 10]
155
+ Initial Block Size 256.0 KB
156
+ Current Block Size 256.0 KB
157
+ Peak Allocated Bytes 0 B
158
+ Overflow Count 0
159
+ [ALLOC_TEMP_Loading.PreloadManager]
160
+ Initial Block Size 256.0 KB
161
+ Current Block Size 320.0 KB
162
+ Peak Allocated Bytes 251.5 KB
163
+ Overflow Count 4
164
+ [ALLOC_TEMP_Background Job.Worker 2]
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_Profiler.Dispatcher]
170
+ Initial Block Size 64.0 KB
171
+ Current Block Size 64.0 KB
172
+ Peak Allocated Bytes 0 B
173
+ Overflow Count 0
174
+ [ALLOC_TEMP_Job.Worker 3]
175
+ Initial Block Size 256.0 KB
176
+ Current Block Size 256.0 KB
177
+ Peak Allocated Bytes 0 B
178
+ Overflow Count 0
179
+ [ALLOC_TEMP_Background Job.Worker 12]
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_AssetGarbageCollectorHelper] x 11
185
+ Initial Block Size 64.0 KB
186
+ Current Block Size 64.0 KB
187
+ Peak Allocated Bytes 0 B
188
+ Overflow Count 0
189
+ [ALLOC_TEMP_Background Job.Worker 5]
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 13]
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_Job.Worker 2]
200
+ Initial Block Size 256.0 KB
201
+ Current Block Size 256.0 KB
202
+ Peak Allocated Bytes 0 B
203
+ Overflow Count 0
204
+ [ALLOC_TEMP_Background Job.Worker 0]
205
+ Initial Block Size 32.0 KB
206
+ Current Block Size 32.0 KB
207
+ Peak Allocated Bytes 0 B
208
+ Overflow Count 0
209
+ [ALLOC_TEMP_Background Job.Worker 4]
210
+ Initial Block Size 32.0 KB
211
+ Current Block Size 32.0 KB
212
+ Peak Allocated Bytes 0 B
213
+ Overflow Count 0
214
+ [ALLOC_TEMP_Job.Worker 6]
215
+ Initial Block Size 256.0 KB
216
+ Current Block Size 256.0 KB
217
+ Peak Allocated Bytes 0 B
218
+ Overflow Count 0
219
+ [ALLOC_TEMP_Job.Worker 0]
220
+ Initial Block Size 256.0 KB
221
+ Current Block Size 256.0 KB
222
+ Peak Allocated Bytes 0 B
223
+ Overflow Count 0
224
+ [ALLOC_TEMP_Job.Worker 5]
225
+ Initial Block Size 256.0 KB
226
+ Current Block Size 256.0 KB
227
+ Peak Allocated Bytes 0 B
228
+ Overflow Count 0
229
+ [ALLOC_TEMP_Background Job.Worker 9]
230
+ Initial Block Size 32.0 KB
231
+ Current Block Size 32.0 KB
232
+ Peak Allocated Bytes 0 B
233
+ Overflow Count 0
234
+ [ALLOC_TEMP_Background Job.Worker 14]
235
+ Initial Block Size 32.0 KB
236
+ Current Block Size 32.0 KB
237
+ Peak Allocated Bytes 0 B
238
+ Overflow Count 0
239
+ [ALLOC_TEMP_EnlightenWorker] x 6
240
+ Initial Block Size 64.0 KB
241
+ Current Block Size 64.0 KB
242
+ Peak Allocated Bytes 0 B
243
+ Overflow Count 0
244
+ [ALLOC_TEMP_Job.Worker 9]
245
+ Initial Block Size 256.0 KB
246
+ Current Block Size 256.0 KB
247
+ Peak Allocated Bytes 0.8 KB
248
+ Overflow Count 0
249
+ [ALLOC_TEMP_Job.Worker 7]
250
+ Initial Block Size 256.0 KB
251
+ Current Block Size 256.0 KB
252
+ Peak Allocated Bytes 0 B
253
+ Overflow Count 0
254
+ [ALLOC_TEMP_Loading.AsyncRead]
255
+ Initial Block Size 64.0 KB
256
+ Current Block Size 64.0 KB
257
+ Peak Allocated Bytes 128 B
258
+ Overflow Count 0
259
+ [ALLOC_MEMORYPROFILER]
260
+ Peak usage frame count: [0.5 MB-1.0 MB]: 299 frames, [1.0 MB-2.0 MB]: 149 frames
261
+ Requested Block Size 1.0 MB
262
+ Peak Block count 2
263
+ Peak Allocated memory 1.6 MB
264
+ Peak Large allocation bytes 0 B
265
+ [ALLOC_DEFAULT] Dual Thread Allocator
266
+ Peak main deferred allocation count 3200
267
+ [ALLOC_BUCKET]
268
+ Large Block size 4.0 MB
269
+ Used Block count 1
270
+ Peak Allocated bytes 1.7 MB
271
+ [ALLOC_DEFAULT_MAIN]
272
+ Peak usage frame count: [8.0 MB-16.0 MB]: 1 frames, [16.0 MB-32.0 MB]: 447 frames
273
+ Requested Block Size 16.0 MB
274
+ Peak Block count 2
275
+ Peak Allocated memory 26.3 MB
276
+ Peak Large allocation bytes 0 B
277
+ [ALLOC_DEFAULT_THREAD]
278
+ Peak usage frame count: [16.0 MB-32.0 MB]: 448 frames
279
+ Requested Block Size 16.0 MB
280
+ Peak Block count 1
281
+ Peak Allocated memory 27.0 MB
282
+ Peak Large allocation bytes 16.0 MB
283
+ [ALLOC_TEMP_JOB_1_FRAME]
284
+ Initial Block Size 2.0 MB
285
+ Used Block Count 1
286
+ Overflow Count (too large) 0
287
+ Overflow Count (full) 0
288
+ [ALLOC_TEMP_JOB_2_FRAMES]
289
+ Initial Block Size 2.0 MB
290
+ Used Block Count 1
291
+ Overflow Count (too large) 0
292
+ Overflow Count (full) 0
293
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
294
+ Initial Block Size 2.0 MB
295
+ Used Block Count 2
296
+ Overflow Count (too large) 0
297
+ Overflow Count (full) 0
298
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
299
+ Initial Block Size 1.0 MB
300
+ Used Block Count 3
301
+ Overflow Count (too large) 0
302
+ Overflow Count (full) 0
303
+ [ALLOC_GFX] Dual Thread Allocator
304
+ Peak main deferred allocation count 0
305
+ [ALLOC_BUCKET]
306
+ Large Block size 4.0 MB
307
+ Used Block count 1
308
+ Peak Allocated bytes 1.7 MB
309
+ [ALLOC_GFX_MAIN]
310
+ Peak usage frame count: [32.0 KB-64.0 KB]: 447 frames, [64.0 KB-128.0 KB]: 1 frames
311
+ Requested Block Size 16.0 MB
312
+ Peak Block count 1
313
+ Peak Allocated memory 67.0 KB
314
+ Peak Large allocation bytes 0 B
315
+ [ALLOC_GFX_THREAD]
316
+ Peak usage frame count: [64.0 KB-128.0 KB]: 448 frames
317
+ Requested Block Size 16.0 MB
318
+ Peak Block count 1
319
+ Peak Allocated memory 67.7 KB
320
+ Peak Large allocation bytes 0 B
321
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
322
+ Peak main deferred allocation count 1
323
+ [ALLOC_BUCKET]
324
+ Large Block size 4.0 MB
325
+ Used Block count 1
326
+ Peak Allocated bytes 1.7 MB
327
+ [ALLOC_CACHEOBJECTS_MAIN]
328
+ Peak usage frame count: [0.5 MB-1.0 MB]: 299 frames, [1.0 MB-2.0 MB]: 149 frames
329
+ Requested Block Size 4.0 MB
330
+ Peak Block count 1
331
+ Peak Allocated memory 1.4 MB
332
+ Peak Large allocation bytes 0 B
333
+ [ALLOC_CACHEOBJECTS_THREAD]
334
+ Peak usage frame count: [1.0 MB-2.0 MB]: 447 frames, [4.0 MB-8.0 MB]: 1 frames
335
+ Requested Block Size 4.0 MB
336
+ Peak Block count 2
337
+ Peak Allocated memory 4.7 MB
338
+ Peak Large allocation bytes 0 B
339
+ [ALLOC_TYPETREE] Dual Thread Allocator
340
+ Peak main deferred allocation count 0
341
+ [ALLOC_BUCKET]
342
+ Large Block size 4.0 MB
343
+ Used Block count 1
344
+ Peak Allocated bytes 1.7 MB
345
+ [ALLOC_TYPETREE_MAIN]
346
+ Peak usage frame count: [0-1.0 KB]: 448 frames
347
+ Requested Block Size 2.0 MB
348
+ Peak Block count 1
349
+ Peak Allocated memory 1.0 KB
350
+ Peak Large allocation bytes 0 B
351
+ [ALLOC_TYPETREE_THREAD]
352
+ Peak usage frame count: [1.0 KB-2.0 KB]: 448 frames
353
+ Requested Block Size 2.0 MB
354
+ Peak Block count 1
355
+ Peak Allocated memory 1.9 KB
356
+ Peak Large allocation bytes 0 B
357
+ [ALLOC_PROFILER]
358
+ Peak usage frame count: [32.0 KB-64.0 KB]: 448 frames
359
+ Requested Block Size 16.0 MB
360
+ Peak Block count 1
361
+ Peak Allocated memory 35.2 KB
362
+ Peak Large allocation bytes 0 B
363
+ [ALLOC_PROFILER_BUCKET]
364
+ Large Block size 4.0 MB
365
+ Used Block count 1
366
+ Peak Allocated bytes 396 B
367
+ ##utp:{"type":"MemoryLeaks","version":2,"phase":"Immediate","time":1757641760294,"processId":12245,"allocatedMemory":1980093,"memoryLabels":[{"Default":9033},{"Permanent":1264},{"NewDelete":12801},{"Thread":34740},{"Manager":16203},{"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":5440},{"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,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "metadata": {
4
+ "timer_format_version": "0.1.0",
5
+ "start_time_seconds": "1757641723",
6
+ "python_version": "3.10.12 (main, Jul 5 2023, 18:54:27) [GCC 11.2.0]",
7
+ "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",
8
+ "mlagents_version": "1.2.0.dev0",
9
+ "mlagents_envs_version": "1.2.0.dev0",
10
+ "communication_protocol_version": "1.5.0",
11
+ "pytorch_version": "2.8.0+cu128",
12
+ "numpy_version": "1.23.5",
13
+ "end_time_seconds": "1757641760"
14
+ },
15
+ "total": 36.4317104859997,
16
+ "count": 1,
17
+ "self": 0.21089216100017438,
18
+ "children": {
19
+ "run_training.setup": {
20
+ "total": 0.022395624999717256,
21
+ "count": 1,
22
+ "self": 0.022395624999717256
23
+ },
24
+ "TrainerController.start_learning": {
25
+ "total": 36.19842269999981,
26
+ "count": 1,
27
+ "self": 0.02610622400379725,
28
+ "children": {
29
+ "TrainerController._reset_env": {
30
+ "total": 2.103652128000249,
31
+ "count": 1,
32
+ "self": 2.103652128000249
33
+ },
34
+ "TrainerController.advance": {
35
+ "total": 33.95796223799607,
36
+ "count": 1492,
37
+ "self": 0.026589855007841834,
38
+ "children": {
39
+ "env_step": {
40
+ "total": 21.06942381398676,
41
+ "count": 1492,
42
+ "self": 17.71239265198801,
43
+ "children": {
44
+ "SubprocessEnvManager._take_step": {
45
+ "total": 3.3411463689949414,
46
+ "count": 1492,
47
+ "self": 0.0992639009823506,
48
+ "children": {
49
+ "TorchPolicy.evaluate": {
50
+ "total": 3.241882468012591,
51
+ "count": 1492,
52
+ "self": 3.241882468012591
53
+ }
54
+ }
55
+ },
56
+ "workers": {
57
+ "total": 0.015884793003806408,
58
+ "count": 1491,
59
+ "self": 0.0,
60
+ "children": {
61
+ "worker_root": {
62
+ "total": 36.04512019600725,
63
+ "count": 1491,
64
+ "is_parallel": true,
65
+ "self": 20.311299017993406,
66
+ "children": {
67
+ "run_training.setup": {
68
+ "total": 0.0,
69
+ "count": 0,
70
+ "is_parallel": true,
71
+ "self": 0.0,
72
+ "children": {
73
+ "steps_from_proto": {
74
+ "total": 0.0018522639998082013,
75
+ "count": 1,
76
+ "is_parallel": true,
77
+ "self": 0.0006129929997769068,
78
+ "children": {
79
+ "_process_rank_one_or_two_observation": {
80
+ "total": 0.0012392710000312945,
81
+ "count": 8,
82
+ "is_parallel": true,
83
+ "self": 0.0012392710000312945
84
+ }
85
+ }
86
+ },
87
+ "UnityEnvironment.step": {
88
+ "total": 0.03517509899984361,
89
+ "count": 1,
90
+ "is_parallel": true,
91
+ "self": 0.00033470899961685063,
92
+ "children": {
93
+ "UnityEnvironment._generate_step_input": {
94
+ "total": 0.0003099690002272837,
95
+ "count": 1,
96
+ "is_parallel": true,
97
+ "self": 0.0003099690002272837
98
+ },
99
+ "communicator.exchange": {
100
+ "total": 0.03348615799995969,
101
+ "count": 1,
102
+ "is_parallel": true,
103
+ "self": 0.03348615799995969
104
+ },
105
+ "steps_from_proto": {
106
+ "total": 0.0010442630000397912,
107
+ "count": 1,
108
+ "is_parallel": true,
109
+ "self": 0.00025534899987178505,
110
+ "children": {
111
+ "_process_rank_one_or_two_observation": {
112
+ "total": 0.0007889140001680062,
113
+ "count": 8,
114
+ "is_parallel": true,
115
+ "self": 0.0007889140001680062
116
+ }
117
+ }
118
+ }
119
+ }
120
+ }
121
+ }
122
+ },
123
+ "UnityEnvironment.step": {
124
+ "total": 15.73382117801384,
125
+ "count": 1490,
126
+ "is_parallel": true,
127
+ "self": 0.4480130580141122,
128
+ "children": {
129
+ "UnityEnvironment._generate_step_input": {
130
+ "total": 0.3202367619951474,
131
+ "count": 1490,
132
+ "is_parallel": true,
133
+ "self": 0.3202367619951474
134
+ },
135
+ "communicator.exchange": {
136
+ "total": 13.62650583200275,
137
+ "count": 1490,
138
+ "is_parallel": true,
139
+ "self": 13.62650583200275
140
+ },
141
+ "steps_from_proto": {
142
+ "total": 1.339065526001832,
143
+ "count": 1490,
144
+ "is_parallel": true,
145
+ "self": 0.28065136999066453,
146
+ "children": {
147
+ "_process_rank_one_or_two_observation": {
148
+ "total": 1.0584141560111675,
149
+ "count": 11920,
150
+ "is_parallel": true,
151
+ "self": 1.0584141560111675
152
+ }
153
+ }
154
+ }
155
+ }
156
+ }
157
+ }
158
+ }
159
+ }
160
+ }
161
+ }
162
+ },
163
+ "trainer_advance": {
164
+ "total": 12.86194856900147,
165
+ "count": 1491,
166
+ "self": 0.03044504200306619,
167
+ "children": {
168
+ "process_trajectory": {
169
+ "total": 2.4885163209983148,
170
+ "count": 1491,
171
+ "self": 2.4885163209983148
172
+ },
173
+ "_update_policy": {
174
+ "total": 10.342987206000089,
175
+ "count": 5,
176
+ "self": 5.611499314000866,
177
+ "children": {
178
+ "TorchPPOOptimizer.update": {
179
+ "total": 4.7314878919992225,
180
+ "count": 471,
181
+ "self": 4.7314878919992225
182
+ }
183
+ }
184
+ }
185
+ }
186
+ }
187
+ }
188
+ },
189
+ "trainer_threads": {
190
+ "total": 1.1469996934465598e-06,
191
+ "count": 1,
192
+ "self": 1.1469996934465598e-06
193
+ },
194
+ "TrainerController._save_models": {
195
+ "total": 0.11070096299999932,
196
+ "count": 1,
197
+ "self": 0.0011625470001490612,
198
+ "children": {
199
+ "RLTrainer._checkpoint": {
200
+ "total": 0.10953841599985026,
201
+ "count": 1,
202
+ "self": 0.10953841599985026
203
+ }
204
+ }
205
+ }
206
+ }
207
+ }
208
+ }
209
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Pyramids": {
3
+ "checkpoints": [
4
+ {
5
+ "steps": 22144,
6
+ "file_path": "results/Pyramids Training/Pyramids/Pyramids-22144.onnx",
7
+ "reward": null,
8
+ "creation_time": 1757641760.121075,
9
+ "auxillary_file_paths": [
10
+ "results/Pyramids Training/Pyramids/Pyramids-22144.pt"
11
+ ]
12
+ }
13
+ ],
14
+ "final_checkpoint": {
15
+ "steps": 22144,
16
+ "file_path": "results/Pyramids Training/Pyramids.onnx",
17
+ "reward": null,
18
+ "creation_time": 1757641760.121075,
19
+ "auxillary_file_paths": [
20
+ "results/Pyramids Training/Pyramids/Pyramids-22144.pt"
21
+ ]
22
+ }
23
+ },
24
+ "metadata": {
25
+ "stats_format_version": "0.3.0",
26
+ "mlagents_version": "1.2.0.dev0",
27
+ "torch_version": "2.8.0+cu128"
28
+ }
29
+ }