spenning commited on
Commit
c25f712
·
verified ·
1 Parent(s): 9c177e1

First Push

Browse files
Pyramids.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:758db8e00c70b3580b5c2a4c196d843f05732c8757f2fb11c8142e6a9ba54b7a
3
+ size 1420238
Pyramids/Pyramids-1000091.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:758db8e00c70b3580b5c2a4c196d843f05732c8757f2fb11c8142e6a9ba54b7a
3
+ size 1420238
Pyramids/Pyramids-1000091.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:404d4670520110797d036adf19f543d16ffd903ebb3b1ad875ed46fc57746113
3
+ size 8655228
Pyramids/Pyramids-499974.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2dcb2e3ea258831eb6be650eac64f2e9e71e8fd83bbf498f463f929552ba57a1
3
+ size 1420238
Pyramids/Pyramids-499974.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:454ef0f7b6db5f5a9962730c3947c6d2811ee2a03796c72b015eedab16608e7e
3
+ size 8655149
Pyramids/Pyramids-999963.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:758db8e00c70b3580b5c2a4c196d843f05732c8757f2fb11c8142e6a9ba54b7a
3
+ size 1420238
Pyramids/Pyramids-999963.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cabaaf17adc5791fff30006100b1afb2e98a77ab1910a232bb5ccdb09909955d
3
+ size 8655149
Pyramids/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:030de0b7715611cfef22f9c1b45db1cfb67267a5f027db6c7a76f8564351cc62
3
+ size 8654754
Pyramids/events.out.tfevents.1735928394.rl3.2527.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a9163322e18135c3cfa7963fffe2037d23d59759c420a7e17a3910308d6b441
3
+ size 304839
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: spenning/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": 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": 1000000, "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: 1000000
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,298 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/home/ubuntu/unit_5/ml-agents/training-envs-executables/linux/Pyramids/Pyramids_Data/Managed'
2
+ Mono config path = '/home/ubuntu/unit_5/ml-agents/training-envs-executables/linux/Pyramids/Pyramids_Data/MonoBleedingEdge/etc'
3
+ Found 1 interfaces on host : 0) 192.168.122.161
4
+ Multi-casting "[IP] 192.168.122.161 [Port] 55429 [Flags] 2 [Guid] 65411331 [EditorId] 764847374 [Version] 1048832 [Id] LinuxPlayer(13,192.168.122.161) [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: /home/ubuntu/.config/unity3d/Unity Technologies
8
+ PlayerPrefs - Creating folder: /home/ubuntu/.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 /home/ubuntu/unit_5/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
+ FMOD initialized on nosound output
19
+ Begin MonoManager ReloadAssembly
20
+ - Completed reload, in 0.073 seconds
21
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
22
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
23
+ ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
24
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
25
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
26
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
27
+ ERROR: Shader Autodesk Interactive shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
28
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
29
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
30
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
31
+ WARNING: Shader Unsupported: 'Legacy Shaders/Diffuse' - All subshaders removed
32
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
33
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
34
+ ERROR: Shader Legacy Shaders/Diffuse shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
35
+ WARNING: Shader Unsupported: 'Legacy Shaders/Diffuse' - All subshaders removed
36
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
37
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
38
+ WARNING: Shader Unsupported: 'ML-Agents/GridPattern' - All subshaders removed
39
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
40
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
41
+ ERROR: Shader ML-Agents/GridPattern shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
42
+ WARNING: Shader Unsupported: 'ML-Agents/GridPattern' - All subshaders removed
43
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
44
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
45
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
46
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
47
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
48
+ ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
49
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
50
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
51
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
52
+ UnloadTime: 0.630871 ms
53
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
54
+ requesting resize 84 x 84
55
+ Setting up 1 worker threads for Enlighten.
56
+ PlayerConnection::CleanupMemory Statistics:
57
+ [ALLOC_TEMP_TLS] TLS Allocator
58
+ StackAllocators :
59
+ [ALLOC_TEMP_MAIN]
60
+ Peak usage frame count: [16.0 KB-32.0 KB]: 3008 frames, [32.0 KB-64.0 KB]: 12982 frames, [64.0 KB-128.0 KB]: 2779 frames, [2.0 MB-4.0 MB]: 1 frames
61
+ Initial Block Size 4.0 MB
62
+ Current Block Size 4.0 MB
63
+ Peak Allocated Bytes 2.0 MB
64
+ Overflow Count 0
65
+ [ALLOC_TEMP_Background Job.Worker 8]
66
+ Initial Block Size 32.0 KB
67
+ Current Block Size 32.0 KB
68
+ Peak Allocated Bytes 0 B
69
+ Overflow Count 0
70
+ [ALLOC_TEMP_Background Job.Worker 10]
71
+ Initial Block Size 32.0 KB
72
+ Current Block Size 32.0 KB
73
+ Peak Allocated Bytes 0 B
74
+ Overflow Count 0
75
+ [ALLOC_TEMP_Background Job.Worker 6]
76
+ Initial Block Size 32.0 KB
77
+ Current Block Size 32.0 KB
78
+ Peak Allocated Bytes 0 B
79
+ Overflow Count 0
80
+ [ALLOC_TEMP_AUDIO_FMOD mixer thread]
81
+ Initial Block Size 64.0 KB
82
+ Current Block Size 64.0 KB
83
+ Peak Allocated Bytes 0 B
84
+ Overflow Count 0
85
+ [ALLOC_TEMP_Background Job.Worker 1]
86
+ Initial Block Size 32.0 KB
87
+ Current Block Size 32.0 KB
88
+ Peak Allocated Bytes 0 B
89
+ Overflow Count 0
90
+ [ALLOC_TEMP_Background Job.Worker 11]
91
+ Initial Block Size 32.0 KB
92
+ Current Block Size 32.0 KB
93
+ Peak Allocated Bytes 0 B
94
+ Overflow Count 0
95
+ [ALLOC_TEMP_Background Job.Worker 3]
96
+ Initial Block Size 32.0 KB
97
+ Current Block Size 32.0 KB
98
+ Peak Allocated Bytes 0 B
99
+ Overflow Count 0
100
+ [ALLOC_TEMP_BatchDeleteObjects]
101
+ Initial Block Size 64.0 KB
102
+ Current Block Size 64.0 KB
103
+ Peak Allocated Bytes 0 B
104
+ Overflow Count 0
105
+ [ALLOC_TEMP_AUDIO_FMOD stream thread]
106
+ Initial Block Size 64.0 KB
107
+ Current Block Size 64.0 KB
108
+ Peak Allocated Bytes 0 B
109
+ Overflow Count 0
110
+ [ALLOC_TEMP_Background Job.Worker 2]
111
+ Initial Block Size 32.0 KB
112
+ Current Block Size 32.0 KB
113
+ Peak Allocated Bytes 0 B
114
+ Overflow Count 0
115
+ [ALLOC_TEMP_Background Job.Worker 15]
116
+ Initial Block Size 32.0 KB
117
+ Current Block Size 32.0 KB
118
+ Peak Allocated Bytes 0 B
119
+ Overflow Count 0
120
+ [ALLOC_TEMP_Background Job.Worker 7]
121
+ Initial Block Size 32.0 KB
122
+ Current Block Size 32.0 KB
123
+ Peak Allocated Bytes 0 B
124
+ Overflow Count 0
125
+ [ALLOC_TEMP_Loading.PreloadManager]
126
+ Initial Block Size 256.0 KB
127
+ Current Block Size 320.0 KB
128
+ Peak Allocated Bytes 251.5 KB
129
+ Overflow Count 4
130
+ [ALLOC_TEMP_Profiler.Dispatcher]
131
+ Initial Block Size 64.0 KB
132
+ Current Block Size 64.0 KB
133
+ Peak Allocated Bytes 480 B
134
+ Overflow Count 0
135
+ [ALLOC_TEMP_Background Job.Worker 12]
136
+ Initial Block Size 32.0 KB
137
+ Current Block Size 32.0 KB
138
+ Peak Allocated Bytes 0 B
139
+ Overflow Count 0
140
+ [ALLOC_TEMP_AssetGarbageCollectorHelper]
141
+ Initial Block Size 64.0 KB
142
+ Current Block Size 64.0 KB
143
+ Peak Allocated Bytes 0 B
144
+ Overflow Count 0
145
+ [ALLOC_TEMP_Background Job.Worker 5]
146
+ Initial Block Size 32.0 KB
147
+ Current Block Size 32.0 KB
148
+ Peak Allocated Bytes 0 B
149
+ Overflow Count 0
150
+ [ALLOC_TEMP_Background Job.Worker 13]
151
+ Initial Block Size 32.0 KB
152
+ Current Block Size 32.0 KB
153
+ Peak Allocated Bytes 0 B
154
+ Overflow Count 0
155
+ [ALLOC_TEMP_Background Job.Worker 0]
156
+ Initial Block Size 32.0 KB
157
+ Current Block Size 32.0 KB
158
+ Peak Allocated Bytes 0 B
159
+ Overflow Count 0
160
+ [ALLOC_TEMP_Background Job.Worker 4]
161
+ Initial Block Size 32.0 KB
162
+ Current Block Size 32.0 KB
163
+ Peak Allocated Bytes 0 B
164
+ Overflow Count 0
165
+ [ALLOC_TEMP_Job.Worker 0]
166
+ Initial Block Size 256.0 KB
167
+ Current Block Size 256.0 KB
168
+ Peak Allocated Bytes 0.8 KB
169
+ Overflow Count 0
170
+ [ALLOC_TEMP_Background Job.Worker 14]
171
+ Initial Block Size 32.0 KB
172
+ Current Block Size 32.0 KB
173
+ Peak Allocated Bytes 0 B
174
+ Overflow Count 0
175
+ [ALLOC_TEMP_Background Job.Worker 9]
176
+ Initial Block Size 32.0 KB
177
+ Current Block Size 32.0 KB
178
+ Peak Allocated Bytes 0 B
179
+ Overflow Count 0
180
+ [ALLOC_TEMP_EnlightenWorker]
181
+ Initial Block Size 64.0 KB
182
+ Current Block Size 64.0 KB
183
+ Peak Allocated Bytes 0 B
184
+ Overflow Count 0
185
+ [ALLOC_TEMP_Loading.AsyncRead]
186
+ Initial Block Size 64.0 KB
187
+ Current Block Size 64.0 KB
188
+ Peak Allocated Bytes 128 B
189
+ Overflow Count 0
190
+ [ALLOC_MEMORYPROFILER]
191
+ Peak usage frame count: [0.5 MB-1.0 MB]: 299 frames, [1.0 MB-2.0 MB]: 18471 frames
192
+ Requested Block Size 1.0 MB
193
+ Peak Block count 2
194
+ Peak Allocated memory 1.6 MB
195
+ Peak Large allocation bytes 0 B
196
+ [ALLOC_DEFAULT] Dual Thread Allocator
197
+ Peak main deferred allocation count 11184
198
+ [ALLOC_BUCKET]
199
+ Large Block size 4.0 MB
200
+ Used Block count 1
201
+ Peak Allocated bytes 1.7 MB
202
+ [ALLOC_DEFAULT_MAIN]
203
+ Peak usage frame count: [8.0 MB-16.0 MB]: 1 frames, [16.0 MB-32.0 MB]: 18769 frames
204
+ Requested Block Size 16.0 MB
205
+ Peak Block count 3
206
+ Peak Allocated memory 30.3 MB
207
+ Peak Large allocation bytes 0 B
208
+ [ALLOC_DEFAULT_THREAD]
209
+ Peak usage frame count: [16.0 MB-32.0 MB]: 18770 frames
210
+ Requested Block Size 16.0 MB
211
+ Peak Block count 1
212
+ Peak Allocated memory 23.5 MB
213
+ Peak Large allocation bytes 16.0 MB
214
+ [ALLOC_TEMP_JOB_1_FRAME]
215
+ Initial Block Size 2.0 MB
216
+ Used Block Count 1
217
+ Overflow Count (too large) 0
218
+ Overflow Count (full) 0
219
+ [ALLOC_TEMP_JOB_2_FRAMES]
220
+ Initial Block Size 2.0 MB
221
+ Used Block Count 1
222
+ Overflow Count (too large) 0
223
+ Overflow Count (full) 0
224
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
225
+ Initial Block Size 2.0 MB
226
+ Used Block Count 2
227
+ Overflow Count (too large) 0
228
+ Overflow Count (full) 0
229
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
230
+ Initial Block Size 1.0 MB
231
+ Used Block Count 3
232
+ Overflow Count (too large) 0
233
+ Overflow Count (full) 0
234
+ [ALLOC_GFX] Dual Thread Allocator
235
+ Peak main deferred allocation count 0
236
+ [ALLOC_BUCKET]
237
+ Large Block size 4.0 MB
238
+ Used Block count 1
239
+ Peak Allocated bytes 1.7 MB
240
+ [ALLOC_GFX_MAIN]
241
+ Peak usage frame count: [32.0 KB-64.0 KB]: 18769 frames, [64.0 KB-128.0 KB]: 1 frames
242
+ Requested Block Size 16.0 MB
243
+ Peak Block count 1
244
+ Peak Allocated memory 67.0 KB
245
+ Peak Large allocation bytes 0 B
246
+ [ALLOC_GFX_THREAD]
247
+ Peak usage frame count: [64.0 KB-128.0 KB]: 18770 frames
248
+ Requested Block Size 16.0 MB
249
+ Peak Block count 1
250
+ Peak Allocated memory 67.7 KB
251
+ Peak Large allocation bytes 0 B
252
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
253
+ Peak main deferred allocation count 1
254
+ [ALLOC_BUCKET]
255
+ Large Block size 4.0 MB
256
+ Used Block count 1
257
+ Peak Allocated bytes 1.7 MB
258
+ [ALLOC_CACHEOBJECTS_MAIN]
259
+ Peak usage frame count: [0.5 MB-1.0 MB]: 299 frames, [1.0 MB-2.0 MB]: 18471 frames
260
+ Requested Block Size 4.0 MB
261
+ Peak Block count 1
262
+ Peak Allocated memory 1.4 MB
263
+ Peak Large allocation bytes 0 B
264
+ [ALLOC_CACHEOBJECTS_THREAD]
265
+ Peak usage frame count: [1.0 MB-2.0 MB]: 18769 frames, [4.0 MB-8.0 MB]: 1 frames
266
+ Requested Block Size 4.0 MB
267
+ Peak Block count 2
268
+ Peak Allocated memory 4.7 MB
269
+ Peak Large allocation bytes 0 B
270
+ [ALLOC_TYPETREE] Dual Thread Allocator
271
+ Peak main deferred allocation count 0
272
+ [ALLOC_BUCKET]
273
+ Large Block size 4.0 MB
274
+ Used Block count 1
275
+ Peak Allocated bytes 1.7 MB
276
+ [ALLOC_TYPETREE_MAIN]
277
+ Peak usage frame count: [0-1.0 KB]: 18770 frames
278
+ Requested Block Size 2.0 MB
279
+ Peak Block count 1
280
+ Peak Allocated memory 1.0 KB
281
+ Peak Large allocation bytes 0 B
282
+ [ALLOC_TYPETREE_THREAD]
283
+ Peak usage frame count: [1.0 KB-2.0 KB]: 18770 frames
284
+ Requested Block Size 2.0 MB
285
+ Peak Block count 1
286
+ Peak Allocated memory 1.9 KB
287
+ Peak Large allocation bytes 0 B
288
+ [ALLOC_PROFILER]
289
+ Peak usage frame count: [16.0 KB-32.0 KB]: 18770 frames
290
+ Requested Block Size 16.0 MB
291
+ Peak Block count 1
292
+ Peak Allocated memory 28.6 KB
293
+ Peak Large allocation bytes 0 B
294
+ [ALLOC_PROFILER_BUCKET]
295
+ Large Block size 4.0 MB
296
+ Used Block count 1
297
+ Peak Allocated bytes 396 B
298
+ ##utp:{"type":"MemoryLeaks","version":2,"phase":"Immediate","time":1735930159761,"processId":2534,"allocatedMemory":1970202,"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":3516},{"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.5360606908798218,
6
+ "min": 0.5360606908798218,
7
+ "max": 1.3728686571121216,
8
+ "count": 33
9
+ },
10
+ "Pyramids.Policy.Entropy.sum": {
11
+ "value": 15927.435546875,
12
+ "min": 15927.435546875,
13
+ "max": 41647.34375,
14
+ "count": 33
15
+ },
16
+ "Pyramids.Step.mean": {
17
+ "value": 989920.0,
18
+ "min": 29951.0,
19
+ "max": 989920.0,
20
+ "count": 33
21
+ },
22
+ "Pyramids.Step.sum": {
23
+ "value": 989920.0,
24
+ "min": 29951.0,
25
+ "max": 989920.0,
26
+ "count": 33
27
+ },
28
+ "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
29
+ "value": 0.6375973224639893,
30
+ "min": -0.10701658576726913,
31
+ "max": 0.6375973224639893,
32
+ "count": 33
33
+ },
34
+ "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
35
+ "value": 181.71524047851562,
36
+ "min": -25.790996551513672,
37
+ "max": 181.71524047851562,
38
+ "count": 33
39
+ },
40
+ "Pyramids.Policy.RndValueEstimate.mean": {
41
+ "value": 0.11850735545158386,
42
+ "min": -0.019594412297010422,
43
+ "max": 0.3461554944515228,
44
+ "count": 33
45
+ },
46
+ "Pyramids.Policy.RndValueEstimate.sum": {
47
+ "value": 33.77459716796875,
48
+ "min": -5.192519187927246,
49
+ "max": 83.07731628417969,
50
+ "count": 33
51
+ },
52
+ "Pyramids.Losses.PolicyLoss.mean": {
53
+ "value": 0.06710760621107603,
54
+ "min": 0.06511155605327629,
55
+ "max": 0.07524435755320798,
56
+ "count": 33
57
+ },
58
+ "Pyramids.Losses.PolicyLoss.sum": {
59
+ "value": 0.9395064869550644,
60
+ "min": 0.6019548604256638,
61
+ "max": 1.0148812293839142,
62
+ "count": 33
63
+ },
64
+ "Pyramids.Losses.ValueLoss.mean": {
65
+ "value": 0.015408437557641057,
66
+ "min": 9.127378901801838e-05,
67
+ "max": 0.01610930739097814,
68
+ "count": 33
69
+ },
70
+ "Pyramids.Losses.ValueLoss.sum": {
71
+ "value": 0.2157181258069748,
72
+ "min": 0.0012778330462522574,
73
+ "max": 0.22553030347369393,
74
+ "count": 33
75
+ },
76
+ "Pyramids.Policy.LearningRate.mean": {
77
+ "value": 7.255447581550005e-06,
78
+ "min": 7.255447581550005e-06,
79
+ "max": 0.0002952058890980375,
80
+ "count": 33
81
+ },
82
+ "Pyramids.Policy.LearningRate.sum": {
83
+ "value": 0.00010157626614170007,
84
+ "min": 0.00010157626614170007,
85
+ "max": 0.0035077472307509998,
86
+ "count": 33
87
+ },
88
+ "Pyramids.Policy.Epsilon.mean": {
89
+ "value": 0.10241845000000001,
90
+ "min": 0.10241845000000001,
91
+ "max": 0.19840196249999997,
92
+ "count": 33
93
+ },
94
+ "Pyramids.Policy.Epsilon.sum": {
95
+ "value": 1.4338583,
96
+ "min": 1.4338583,
97
+ "max": 2.569249,
98
+ "count": 33
99
+ },
100
+ "Pyramids.Policy.Beta.mean": {
101
+ "value": 0.0002516031550000002,
102
+ "min": 0.0002516031550000002,
103
+ "max": 0.00984035605375,
104
+ "count": 33
105
+ },
106
+ "Pyramids.Policy.Beta.sum": {
107
+ "value": 0.0035224441700000024,
108
+ "min": 0.0035224441700000024,
109
+ "max": 0.11694797509999999,
110
+ "count": 33
111
+ },
112
+ "Pyramids.Losses.RNDLoss.mean": {
113
+ "value": 0.011999146081507206,
114
+ "min": 0.011913491412997246,
115
+ "max": 0.4316900968551636,
116
+ "count": 33
117
+ },
118
+ "Pyramids.Losses.RNDLoss.sum": {
119
+ "value": 0.16798804700374603,
120
+ "min": 0.16678887605667114,
121
+ "max": 3.4535207748413086,
122
+ "count": 33
123
+ },
124
+ "Pyramids.Environment.EpisodeLength.mean": {
125
+ "value": 310.90625,
126
+ "min": 310.90625,
127
+ "max": 999.0,
128
+ "count": 33
129
+ },
130
+ "Pyramids.Environment.EpisodeLength.sum": {
131
+ "value": 29847.0,
132
+ "min": 15983.0,
133
+ "max": 32883.0,
134
+ "count": 33
135
+ },
136
+ "Pyramids.Environment.CumulativeReward.mean": {
137
+ "value": 1.6265708202651392,
138
+ "min": -1.0000000521540642,
139
+ "max": 1.6818171880578483,
140
+ "count": 33
141
+ },
142
+ "Pyramids.Environment.CumulativeReward.sum": {
143
+ "value": 156.15079874545336,
144
+ "min": -32.000001668930054,
145
+ "max": 166.48999809473753,
146
+ "count": 33
147
+ },
148
+ "Pyramids.Policy.ExtrinsicReward.mean": {
149
+ "value": 1.6265708202651392,
150
+ "min": -1.0000000521540642,
151
+ "max": 1.6818171880578483,
152
+ "count": 33
153
+ },
154
+ "Pyramids.Policy.ExtrinsicReward.sum": {
155
+ "value": 156.15079874545336,
156
+ "min": -32.000001668930054,
157
+ "max": 166.48999809473753,
158
+ "count": 33
159
+ },
160
+ "Pyramids.Policy.RndReward.mean": {
161
+ "value": 0.03878641929183383,
162
+ "min": 0.03878641929183383,
163
+ "max": 7.789232974871993,
164
+ "count": 33
165
+ },
166
+ "Pyramids.Policy.RndReward.sum": {
167
+ "value": 3.723496252016048,
168
+ "min": 3.6395793275296455,
169
+ "max": 124.62772759795189,
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": "1735928393",
188
+ "python_version": "3.10.12 (main, Nov 6 2024, 20:22:13) [GCC 11.4.0]",
189
+ "command_line_arguments": "/home/ubuntu/unit_5/.env/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.5.1+cu124",
194
+ "numpy_version": "1.23.5",
195
+ "end_time_seconds": "1735930160"
196
+ },
197
+ "total": 1766.3443184120001,
198
+ "count": 1,
199
+ "self": 0.9882328430003327,
200
+ "children": {
201
+ "run_training.setup": {
202
+ "total": 0.014750370999990992,
203
+ "count": 1,
204
+ "self": 0.014750370999990992
205
+ },
206
+ "TrainerController.start_learning": {
207
+ "total": 1765.3413351979998,
208
+ "count": 1,
209
+ "self": 1.2962511280206854,
210
+ "children": {
211
+ "TrainerController._reset_env": {
212
+ "total": 1.3722177240001656,
213
+ "count": 1,
214
+ "self": 1.3722177240001656
215
+ },
216
+ "TrainerController.advance": {
217
+ "total": 1762.6242180079794,
218
+ "count": 63698,
219
+ "self": 1.2372538119420824,
220
+ "children": {
221
+ "env_step": {
222
+ "total": 1154.2167012490122,
223
+ "count": 63698,
224
+ "self": 1063.93974330505,
225
+ "children": {
226
+ "SubprocessEnvManager._take_step": {
227
+ "total": 89.50726983799268,
228
+ "count": 63698,
229
+ "self": 3.672276922025958,
230
+ "children": {
231
+ "TorchPolicy.evaluate": {
232
+ "total": 85.83499291596672,
233
+ "count": 62566,
234
+ "self": 85.83499291596672
235
+ }
236
+ }
237
+ },
238
+ "workers": {
239
+ "total": 0.7696881059696352,
240
+ "count": 63698,
241
+ "self": 0.0,
242
+ "children": {
243
+ "worker_root": {
244
+ "total": 1762.9259412970118,
245
+ "count": 63698,
246
+ "is_parallel": true,
247
+ "self": 780.285789576008,
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.0013524559999495978,
257
+ "count": 1,
258
+ "is_parallel": true,
259
+ "self": 0.0005591369995272544,
260
+ "children": {
261
+ "_process_rank_one_or_two_observation": {
262
+ "total": 0.0007933190004223434,
263
+ "count": 8,
264
+ "is_parallel": true,
265
+ "self": 0.0007933190004223434
266
+ }
267
+ }
268
+ },
269
+ "UnityEnvironment.step": {
270
+ "total": 0.04354331800004729,
271
+ "count": 1,
272
+ "is_parallel": true,
273
+ "self": 0.0002454799996485235,
274
+ "children": {
275
+ "UnityEnvironment._generate_step_input": {
276
+ "total": 0.00023227700012284913,
277
+ "count": 1,
278
+ "is_parallel": true,
279
+ "self": 0.00023227700012284913
280
+ },
281
+ "communicator.exchange": {
282
+ "total": 0.04217320899988408,
283
+ "count": 1,
284
+ "is_parallel": true,
285
+ "self": 0.04217320899988408
286
+ },
287
+ "steps_from_proto": {
288
+ "total": 0.0008923520003918384,
289
+ "count": 1,
290
+ "is_parallel": true,
291
+ "self": 0.0002761410005405196,
292
+ "children": {
293
+ "_process_rank_one_or_two_observation": {
294
+ "total": 0.0006162109998513188,
295
+ "count": 8,
296
+ "is_parallel": true,
297
+ "self": 0.0006162109998513188
298
+ }
299
+ }
300
+ }
301
+ }
302
+ }
303
+ }
304
+ },
305
+ "UnityEnvironment.step": {
306
+ "total": 982.6401517210038,
307
+ "count": 63697,
308
+ "is_parallel": true,
309
+ "self": 15.334219500955442,
310
+ "children": {
311
+ "UnityEnvironment._generate_step_input": {
312
+ "total": 12.523818959964046,
313
+ "count": 63697,
314
+ "is_parallel": true,
315
+ "self": 12.523818959964046
316
+ },
317
+ "communicator.exchange": {
318
+ "total": 907.0659889330918,
319
+ "count": 63697,
320
+ "is_parallel": true,
321
+ "self": 907.0659889330918
322
+ },
323
+ "steps_from_proto": {
324
+ "total": 47.716124326992485,
325
+ "count": 63697,
326
+ "is_parallel": true,
327
+ "self": 11.441222403930624,
328
+ "children": {
329
+ "_process_rank_one_or_two_observation": {
330
+ "total": 36.27490192306186,
331
+ "count": 509576,
332
+ "is_parallel": true,
333
+ "self": 36.27490192306186
334
+ }
335
+ }
336
+ }
337
+ }
338
+ }
339
+ }
340
+ }
341
+ }
342
+ }
343
+ }
344
+ },
345
+ "trainer_advance": {
346
+ "total": 607.1702629470251,
347
+ "count": 63698,
348
+ "self": 2.199733846025083,
349
+ "children": {
350
+ "process_trajectory": {
351
+ "total": 90.25426579800387,
352
+ "count": 63698,
353
+ "self": 90.14351978800369,
354
+ "children": {
355
+ "RLTrainer._checkpoint": {
356
+ "total": 0.11074601000018447,
357
+ "count": 2,
358
+ "self": 0.11074601000018447
359
+ }
360
+ }
361
+ },
362
+ "_update_policy": {
363
+ "total": 514.7162633029961,
364
+ "count": 450,
365
+ "self": 206.63335311195306,
366
+ "children": {
367
+ "TorchPPOOptimizer.update": {
368
+ "total": 308.0829101910431,
369
+ "count": 22758,
370
+ "self": 308.0829101910431
371
+ }
372
+ }
373
+ }
374
+ }
375
+ }
376
+ }
377
+ },
378
+ "trainer_threads": {
379
+ "total": 9.4600000011269e-07,
380
+ "count": 1,
381
+ "self": 9.4600000011269e-07
382
+ },
383
+ "TrainerController._save_models": {
384
+ "total": 0.048647391999566025,
385
+ "count": 1,
386
+ "self": 0.0010855629993784532,
387
+ "children": {
388
+ "RLTrainer._checkpoint": {
389
+ "total": 0.04756182900018757,
390
+ "count": 1,
391
+ "self": 0.04756182900018757
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": 499974,
6
+ "file_path": "results/Pyramids Training/Pyramids/Pyramids-499974.onnx",
7
+ "reward": -1.0000000521540642,
8
+ "creation_time": 1735929194.0748048,
9
+ "auxillary_file_paths": [
10
+ "results/Pyramids Training/Pyramids/Pyramids-499974.pt"
11
+ ]
12
+ },
13
+ {
14
+ "steps": 999963,
15
+ "file_path": "results/Pyramids Training/Pyramids/Pyramids-999963.onnx",
16
+ "reward": 1.707428514957428,
17
+ "creation_time": 1735930159.2233205,
18
+ "auxillary_file_paths": [
19
+ "results/Pyramids Training/Pyramids/Pyramids-999963.pt"
20
+ ]
21
+ },
22
+ {
23
+ "steps": 1000091,
24
+ "file_path": "results/Pyramids Training/Pyramids/Pyramids-1000091.onnx",
25
+ "reward": 1.707428514957428,
26
+ "creation_time": 1735930159.2833781,
27
+ "auxillary_file_paths": [
28
+ "results/Pyramids Training/Pyramids/Pyramids-1000091.pt"
29
+ ]
30
+ }
31
+ ],
32
+ "final_checkpoint": {
33
+ "steps": 1000091,
34
+ "file_path": "results/Pyramids Training/Pyramids.onnx",
35
+ "reward": 1.707428514957428,
36
+ "creation_time": 1735930159.2833781,
37
+ "auxillary_file_paths": [
38
+ "results/Pyramids Training/Pyramids/Pyramids-1000091.pt"
39
+ ]
40
+ }
41
+ },
42
+ "metadata": {
43
+ "stats_format_version": "0.3.0",
44
+ "mlagents_version": "1.2.0.dev0",
45
+ "torch_version": "2.5.1+cu124"
46
+ }
47
+ }