dimitarrskv commited on
Commit
5eecef0
1 Parent(s): b8e9dd5

First Push

Browse files
Pyramids.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bcfc7b6c8cded6088ba3e1efcc11b8907b42be659357716d4fb27f12d1ad92e7
3
+ size 1418184
Pyramids/Pyramids-60144.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bcfc7b6c8cded6088ba3e1efcc11b8907b42be659357716d4fb27f12d1ad92e7
3
+ size 1418184
Pyramids/Pyramids-60144.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:96c58cd891e31eb088c8879551864ecbb59434fb9da8168fdb19e12af1d34db6
3
+ size 9996910
Pyramids/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:96c58cd891e31eb088c8879551864ecbb59434fb9da8168fdb19e12af1d34db6
3
+ size 9996910
Pyramids/events.out.tfevents.1692966040.20936492b5b7.10436.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6e414668d6191a9b040cabd1c2a42a236b7d6cd18826b5eff4faa40f22711e66
3
+ size 12847
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: dimitarrskv/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": 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}}, "curiosity": {"gamma": 0.99, "strength": 0.02, "network_settings": {"normalize": false, "hidden_units": 256, "num_layers": 2, "vis_encode_type": "simple", "memory": null, "goal_conditioning_type": "hyper", "deterministic": false}, "learning_rate": 0.0003, "encoding_size": null}}, "init_path": null, "keep_checkpoints": 5, "even_checkpoints": false, "max_steps": 60000, "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, "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}, "environment_parameters": null, "checkpoint_settings": {"run_id": "Pyramids2", "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,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ curiosity:
39
+ gamma: 0.99
40
+ strength: 0.02
41
+ network_settings:
42
+ normalize: false
43
+ hidden_units: 256
44
+ num_layers: 2
45
+ vis_encode_type: simple
46
+ memory: null
47
+ goal_conditioning_type: hyper
48
+ deterministic: false
49
+ learning_rate: 0.0003
50
+ encoding_size: null
51
+ init_path: null
52
+ keep_checkpoints: 5
53
+ even_checkpoints: false
54
+ max_steps: 60000
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
+ seed: -1
67
+ max_lifetime_restarts: 10
68
+ restarts_rate_limit_n: 1
69
+ restarts_rate_limit_period_s: 60
70
+ engine_settings:
71
+ width: 84
72
+ height: 84
73
+ quality_level: 5
74
+ time_scale: 20
75
+ target_frame_rate: -1
76
+ capture_frame_rate: 60
77
+ no_graphics: true
78
+ environment_parameters: null
79
+ checkpoint_settings:
80
+ run_id: Pyramids2
81
+ initialize_from: null
82
+ load_model: false
83
+ resume: false
84
+ force: false
85
+ train_model: false
86
+ inference: false
87
+ results_dir: results
88
+ torch_settings:
89
+ device: null
90
+ debug: false
run_logs/Player-0.log ADDED
@@ -0,0 +1,314 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/content/ml-agents/training-envs-executables/linux/Pyramids/Pyramids_Data/Managed'
2
+ Mono config path = '/content/ml-agents/training-envs-executables/linux/Pyramids/Pyramids_Data/MonoBleedingEdge/etc'
3
+ Found 1 interfaces on host : 0) 172.28.0.12
4
+ Multi-casting "[IP] 172.28.0.12 [Port] 55057 [Flags] 2 [Guid] 463962379 [EditorId] 764847374 [Version] 1048832 [Id] LinuxPlayer(13,172.28.0.12) [Debug] 0 [PackageName] LinuxPlayer [ProjectName] UnityEnvironment" to [225.0.0.222:54997]...
5
+ Preloaded 'lib_burst_generated.so'
6
+ Preloaded 'libgrpc_csharp_ext.x64.so'
7
+ Initialize engine version: 2021.3.5f1 (40eb3a945986)
8
+ [Subsystems] Discovering subsystems at path /content/ml-agents/training-envs-executables/linux/Pyramids/Pyramids_Data/UnitySubsystems
9
+ Forcing GfxDevice: Null
10
+ GfxDevice: creating device client; threaded=0; jobified=0
11
+ NullGfxDevice:
12
+ Version: NULL 1.0 [1.0]
13
+ Renderer: Null Device
14
+ Vendor: Unity Technologies
15
+ ALSA lib confmisc.c:855:(parse_card) cannot find card '0'
16
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
17
+ ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
18
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
19
+ ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name
20
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
21
+ ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory
22
+ ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM default
23
+ FMOD failed to initialize the output device.: "Error initializing output device. " (60)
24
+ Forced to initialize FMOD to to the device driver's system output rate 48000, this may impact performance and/or give inconsistent experiences compared to selected sample rate 48000
25
+ ALSA lib confmisc.c:855:(parse_card) cannot find card '0'
26
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
27
+ ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
28
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
29
+ ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name
30
+ ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
31
+ ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory
32
+ ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM default
33
+ FMOD failed to initialize the output device.: "Error initializing output device. " (60)
34
+ FMOD initialized on nosound output
35
+ Begin MonoManager ReloadAssembly
36
+ - Completed reload, in 0.174 seconds
37
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
38
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
39
+ ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
40
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
41
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
42
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
43
+ ERROR: Shader Autodesk Interactive shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
44
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
45
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
46
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
47
+ WARNING: Shader Unsupported: 'Legacy Shaders/Diffuse' - All subshaders removed
48
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
49
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
50
+ ERROR: Shader Legacy Shaders/Diffuse shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
51
+ WARNING: Shader Unsupported: 'Legacy Shaders/Diffuse' - All subshaders removed
52
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
53
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
54
+ WARNING: Shader Unsupported: 'ML-Agents/GridPattern' - All subshaders removed
55
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
56
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
57
+ ERROR: Shader ML-Agents/GridPattern shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
58
+ WARNING: Shader Unsupported: 'ML-Agents/GridPattern' - All subshaders removed
59
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
60
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
61
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
62
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
63
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
64
+ ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
65
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
66
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
67
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
68
+ UnloadTime: 1.407904 ms
69
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
70
+ requesting resize 84 x 84
71
+ Setting up 1 worker threads for Enlighten.
72
+ PlayerConnection::CleanupMemory Statistics:
73
+ [ALLOC_TEMP_TLS] TLS Allocator
74
+ StackAllocators :
75
+ [ALLOC_TEMP_MAIN]
76
+ Peak usage frame count: [16.0 KB-32.0 KB]: 567 frames, [32.0 KB-64.0 KB]: 532 frames, [64.0 KB-128.0 KB]: 31 frames, [2.0 MB-4.0 MB]: 1 frames
77
+ Initial Block Size 4.0 MB
78
+ Current Block Size 4.0 MB
79
+ Peak Allocated Bytes 2.0 MB
80
+ Overflow Count 0
81
+ [ALLOC_TEMP_Background Job.Worker 8]
82
+ Initial Block Size 32.0 KB
83
+ Current Block Size 32.0 KB
84
+ Peak Allocated Bytes 0 B
85
+ Overflow Count 0
86
+ [ALLOC_TEMP_Background Job.Worker 10]
87
+ Initial Block Size 32.0 KB
88
+ Current Block Size 32.0 KB
89
+ Peak Allocated Bytes 0 B
90
+ Overflow Count 0
91
+ [ALLOC_TEMP_Background Job.Worker 6]
92
+ Initial Block Size 32.0 KB
93
+ Current Block Size 32.0 KB
94
+ Peak Allocated Bytes 0 B
95
+ Overflow Count 0
96
+ [ALLOC_TEMP_Background Job.Worker 1]
97
+ Initial Block Size 32.0 KB
98
+ Current Block Size 32.0 KB
99
+ Peak Allocated Bytes 0 B
100
+ Overflow Count 0
101
+ [ALLOC_TEMP_Background Job.Worker 11]
102
+ Initial Block Size 32.0 KB
103
+ Current Block Size 32.0 KB
104
+ Peak Allocated Bytes 0 B
105
+ Overflow Count 0
106
+ [ALLOC_TEMP_Background Job.Worker 3]
107
+ Initial Block Size 32.0 KB
108
+ Current Block Size 32.0 KB
109
+ Peak Allocated Bytes 0 B
110
+ Overflow Count 0
111
+ [ALLOC_TEMP_BatchDeleteObjects]
112
+ Initial Block Size 64.0 KB
113
+ Current Block Size 64.0 KB
114
+ Peak Allocated Bytes 0 B
115
+ Overflow Count 0
116
+ [ALLOC_TEMP_AUDIO_FMOD stream thread]
117
+ Initial Block Size 64.0 KB
118
+ Current Block Size 64.0 KB
119
+ Peak Allocated Bytes 0 B
120
+ Overflow Count 0
121
+ [ALLOC_TEMP_Background Job.Worker 2]
122
+ Initial Block Size 32.0 KB
123
+ Current Block Size 32.0 KB
124
+ Peak Allocated Bytes 0 B
125
+ Overflow Count 0
126
+ [ALLOC_TEMP_Background Job.Worker 7]
127
+ Initial Block Size 32.0 KB
128
+ Current Block Size 32.0 KB
129
+ Peak Allocated Bytes 0 B
130
+ Overflow Count 0
131
+ [ALLOC_TEMP_Background Job.Worker 15]
132
+ Initial Block Size 32.0 KB
133
+ Current Block Size 32.0 KB
134
+ Peak Allocated Bytes 0 B
135
+ Overflow Count 0
136
+ [ALLOC_TEMP_Loading.PreloadManager]
137
+ Initial Block Size 256.0 KB
138
+ Current Block Size 320.0 KB
139
+ Peak Allocated Bytes 251.5 KB
140
+ Overflow Count 4
141
+ [ALLOC_TEMP_Profiler.Dispatcher]
142
+ Initial Block Size 64.0 KB
143
+ Current Block Size 64.0 KB
144
+ Peak Allocated Bytes 0 B
145
+ Overflow Count 0
146
+ [ALLOC_TEMP_Background Job.Worker 12]
147
+ Initial Block Size 32.0 KB
148
+ Current Block Size 32.0 KB
149
+ Peak Allocated Bytes 0 B
150
+ Overflow Count 0
151
+ [ALLOC_TEMP_AssetGarbageCollectorHelper]
152
+ Initial Block Size 64.0 KB
153
+ Current Block Size 64.0 KB
154
+ Peak Allocated Bytes 0 B
155
+ Overflow Count 0
156
+ [ALLOC_TEMP_Background Job.Worker 5]
157
+ Initial Block Size 32.0 KB
158
+ Current Block Size 32.0 KB
159
+ Peak Allocated Bytes 0 B
160
+ Overflow Count 0
161
+ [ALLOC_TEMP_Background Job.Worker 13]
162
+ Initial Block Size 32.0 KB
163
+ Current Block Size 32.0 KB
164
+ Peak Allocated Bytes 0 B
165
+ Overflow Count 0
166
+ [ALLOC_TEMP_Background Job.Worker 0]
167
+ Initial Block Size 32.0 KB
168
+ Current Block Size 32.0 KB
169
+ Peak Allocated Bytes 0 B
170
+ Overflow Count 0
171
+ [ALLOC_TEMP_AUDIO_Audio Mixer Thread]
172
+ Initial Block Size 64.0 KB
173
+ Current Block Size 64.0 KB
174
+ Peak Allocated Bytes 0 B
175
+ Overflow Count 0
176
+ [ALLOC_TEMP_Background Job.Worker 4]
177
+ Initial Block Size 32.0 KB
178
+ Current Block Size 32.0 KB
179
+ Peak Allocated Bytes 0 B
180
+ Overflow Count 0
181
+ [ALLOC_TEMP_Job.Worker 0]
182
+ Initial Block Size 256.0 KB
183
+ Current Block Size 256.0 KB
184
+ Peak Allocated Bytes 0.8 KB
185
+ Overflow Count 0
186
+ [ALLOC_TEMP_Background Job.Worker 9]
187
+ Initial Block Size 32.0 KB
188
+ Current Block Size 32.0 KB
189
+ Peak Allocated Bytes 0 B
190
+ Overflow Count 0
191
+ [ALLOC_TEMP_Background Job.Worker 14]
192
+ Initial Block Size 32.0 KB
193
+ Current Block Size 32.0 KB
194
+ Peak Allocated Bytes 0 B
195
+ Overflow Count 0
196
+ [ALLOC_TEMP_EnlightenWorker]
197
+ Initial Block Size 64.0 KB
198
+ Current Block Size 64.0 KB
199
+ Peak Allocated Bytes 0 B
200
+ Overflow Count 0
201
+ [ALLOC_TEMP_Loading.AsyncRead]
202
+ Initial Block Size 64.0 KB
203
+ Current Block Size 64.0 KB
204
+ Peak Allocated Bytes 128 B
205
+ Overflow Count 0
206
+ [ALLOC_MEMORYPROFILER]
207
+ Peak usage frame count: [0.5 MB-1.0 MB]: 299 frames, [1.0 MB-2.0 MB]: 832 frames
208
+ Requested Block Size 1.0 MB
209
+ Peak Block count 2
210
+ Peak Allocated memory 1.6 MB
211
+ Peak Large allocation bytes 0 B
212
+ [ALLOC_DEFAULT] Dual Thread Allocator
213
+ Peak main deferred allocation count 11750
214
+ [ALLOC_BUCKET]
215
+ Large Block size 4.0 MB
216
+ Used Block count 1
217
+ Peak Allocated bytes 1.7 MB
218
+ [ALLOC_DEFAULT_MAIN]
219
+ Peak usage frame count: [8.0 MB-16.0 MB]: 1 frames, [16.0 MB-32.0 MB]: 1130 frames
220
+ Requested Block Size 16.0 MB
221
+ Peak Block count 3
222
+ Peak Allocated memory 30.7 MB
223
+ Peak Large allocation bytes 0 B
224
+ [ALLOC_DEFAULT_THREAD]
225
+ Peak usage frame count: [16.0 MB-32.0 MB]: 1131 frames
226
+ Requested Block Size 16.0 MB
227
+ Peak Block count 1
228
+ Peak Allocated memory 23.0 MB
229
+ Peak Large allocation bytes 16.0 MB
230
+ [ALLOC_TEMP_JOB_1_FRAME]
231
+ Initial Block Size 2.0 MB
232
+ Used Block Count 1
233
+ Overflow Count (too large) 0
234
+ Overflow Count (full) 0
235
+ [ALLOC_TEMP_JOB_2_FRAMES]
236
+ Initial Block Size 2.0 MB
237
+ Used Block Count 1
238
+ Overflow Count (too large) 0
239
+ Overflow Count (full) 0
240
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
241
+ Initial Block Size 2.0 MB
242
+ Used Block Count 2
243
+ Overflow Count (too large) 0
244
+ Overflow Count (full) 0
245
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
246
+ Initial Block Size 1.0 MB
247
+ Used Block Count 3
248
+ Overflow Count (too large) 0
249
+ Overflow Count (full) 0
250
+ [ALLOC_GFX] Dual Thread Allocator
251
+ Peak main deferred allocation count 0
252
+ [ALLOC_BUCKET]
253
+ Large Block size 4.0 MB
254
+ Used Block count 1
255
+ Peak Allocated bytes 1.7 MB
256
+ [ALLOC_GFX_MAIN]
257
+ Peak usage frame count: [32.0 KB-64.0 KB]: 1130 frames, [64.0 KB-128.0 KB]: 1 frames
258
+ Requested Block Size 16.0 MB
259
+ Peak Block count 1
260
+ Peak Allocated memory 67.0 KB
261
+ Peak Large allocation bytes 0 B
262
+ [ALLOC_GFX_THREAD]
263
+ Peak usage frame count: [64.0 KB-128.0 KB]: 1131 frames
264
+ Requested Block Size 16.0 MB
265
+ Peak Block count 1
266
+ Peak Allocated memory 67.7 KB
267
+ Peak Large allocation bytes 0 B
268
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
269
+ Peak main deferred allocation count 1
270
+ [ALLOC_BUCKET]
271
+ Large Block size 4.0 MB
272
+ Used Block count 1
273
+ Peak Allocated bytes 1.7 MB
274
+ [ALLOC_CACHEOBJECTS_MAIN]
275
+ Peak usage frame count: [0.5 MB-1.0 MB]: 299 frames, [1.0 MB-2.0 MB]: 832 frames
276
+ Requested Block Size 4.0 MB
277
+ Peak Block count 1
278
+ Peak Allocated memory 1.4 MB
279
+ Peak Large allocation bytes 0 B
280
+ [ALLOC_CACHEOBJECTS_THREAD]
281
+ Peak usage frame count: [1.0 MB-2.0 MB]: 1130 frames, [4.0 MB-8.0 MB]: 1 frames
282
+ Requested Block Size 4.0 MB
283
+ Peak Block count 2
284
+ Peak Allocated memory 4.2 MB
285
+ Peak Large allocation bytes 0 B
286
+ [ALLOC_TYPETREE] Dual Thread Allocator
287
+ Peak main deferred allocation count 0
288
+ [ALLOC_BUCKET]
289
+ Large Block size 4.0 MB
290
+ Used Block count 1
291
+ Peak Allocated bytes 1.7 MB
292
+ [ALLOC_TYPETREE_MAIN]
293
+ Peak usage frame count: [0-1.0 KB]: 1131 frames
294
+ Requested Block Size 2.0 MB
295
+ Peak Block count 1
296
+ Peak Allocated memory 1.0 KB
297
+ Peak Large allocation bytes 0 B
298
+ [ALLOC_TYPETREE_THREAD]
299
+ Peak usage frame count: [1.0 KB-2.0 KB]: 1131 frames
300
+ Requested Block Size 2.0 MB
301
+ Peak Block count 1
302
+ Peak Allocated memory 1.9 KB
303
+ Peak Large allocation bytes 0 B
304
+ [ALLOC_PROFILER]
305
+ Peak usage frame count: [16.0 KB-32.0 KB]: 1131 frames
306
+ Requested Block Size 16.0 MB
307
+ Peak Block count 1
308
+ Peak Allocated memory 28.5 KB
309
+ Peak Large allocation bytes 0 B
310
+ [ALLOC_PROFILER_BUCKET]
311
+ Large Block size 4.0 MB
312
+ Used Block count 1
313
+ Peak Allocated bytes 396 B
314
+ ##utp:{"type":"MemoryLeaks","version":2,"phase":"Immediate","time":1692966262813,"processId":10455,"allocatedMemory":1970134,"memoryLabels":[{"Default":9033},{"Permanent":1264},{"NewDelete":12801},{"Thread":34460},{"Manager":10604},{"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,403 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "Pyramids.Policy.Entropy.mean": {
5
+ "value": 1.0700390338897705,
6
+ "min": 1.0700390338897705,
7
+ "max": 1.4682573080062866,
8
+ "count": 2
9
+ },
10
+ "Pyramids.Policy.Entropy.sum": {
11
+ "value": 32049.80859375,
12
+ "min": 32049.80859375,
13
+ "max": 44541.0546875,
14
+ "count": 2
15
+ },
16
+ "Pyramids.Step.mean": {
17
+ "value": 59888.0,
18
+ "min": 29952.0,
19
+ "max": 59888.0,
20
+ "count": 2
21
+ },
22
+ "Pyramids.Step.sum": {
23
+ "value": 59888.0,
24
+ "min": 29952.0,
25
+ "max": 59888.0,
26
+ "count": 2
27
+ },
28
+ "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
29
+ "value": -0.03291097283363342,
30
+ "min": -0.03291097283363342,
31
+ "max": 0.10380222648382187,
32
+ "count": 2
33
+ },
34
+ "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
35
+ "value": -7.931544780731201,
36
+ "min": -7.931544780731201,
37
+ "max": 24.60112762451172,
38
+ "count": 2
39
+ },
40
+ "Pyramids.Policy.CuriosityValueEstimate.mean": {
41
+ "value": 0.49802446365356445,
42
+ "min": 0.3091415464878082,
43
+ "max": 0.49802446365356445,
44
+ "count": 2
45
+ },
46
+ "Pyramids.Policy.CuriosityValueEstimate.sum": {
47
+ "value": 120.02389526367188,
48
+ "min": 73.26654815673828,
49
+ "max": 120.02389526367188,
50
+ "count": 2
51
+ },
52
+ "Pyramids.Losses.PolicyLoss.mean": {
53
+ "value": 0.06751970424618535,
54
+ "min": 0.06751970424618535,
55
+ "max": 0.07114582863061501,
56
+ "count": 2
57
+ },
58
+ "Pyramids.Losses.PolicyLoss.sum": {
59
+ "value": 0.6076773382156682,
60
+ "min": 0.49802080041430513,
61
+ "max": 0.6076773382156682,
62
+ "count": 2
63
+ },
64
+ "Pyramids.Losses.ValueLoss.mean": {
65
+ "value": 0.0020629774291683815,
66
+ "min": 0.0020629774291683815,
67
+ "max": 0.004938054214438025,
68
+ "count": 2
69
+ },
70
+ "Pyramids.Losses.ValueLoss.sum": {
71
+ "value": 0.018566796862515434,
72
+ "min": 0.018566796862515434,
73
+ "max": 0.034566379501066176,
74
+ "count": 2
75
+ },
76
+ "Pyramids.Policy.LearningRate.mean": {
77
+ "value": 7.150896505259259e-05,
78
+ "min": 7.150896505259259e-05,
79
+ "max": 0.00021917716979809524,
80
+ "count": 2
81
+ },
82
+ "Pyramids.Policy.LearningRate.sum": {
83
+ "value": 0.0006435806854733333,
84
+ "min": 0.0006435806854733333,
85
+ "max": 0.0015342401885866668,
86
+ "count": 2
87
+ },
88
+ "Pyramids.Policy.Epsilon.mean": {
89
+ "value": 0.12383629629629632,
90
+ "min": 0.12383629629629632,
91
+ "max": 0.1730590476190476,
92
+ "count": 2
93
+ },
94
+ "Pyramids.Policy.Epsilon.sum": {
95
+ "value": 1.1145266666666669,
96
+ "min": 1.1145266666666669,
97
+ "max": 1.2114133333333332,
98
+ "count": 2
99
+ },
100
+ "Pyramids.Policy.Beta.mean": {
101
+ "value": 0.0023912460000000005,
102
+ "min": 0.0023912460000000005,
103
+ "max": 0.007308598857142857,
104
+ "count": 2
105
+ },
106
+ "Pyramids.Policy.Beta.sum": {
107
+ "value": 0.021521214000000004,
108
+ "min": 0.021521214000000004,
109
+ "max": 0.051160192,
110
+ "count": 2
111
+ },
112
+ "Pyramids.Losses.CuriosityForwardLoss.mean": {
113
+ "value": 0.17579102421779083,
114
+ "min": 0.17579102421779083,
115
+ "max": 0.4865021553633762,
116
+ "count": 2
117
+ },
118
+ "Pyramids.Losses.CuriosityForwardLoss.sum": {
119
+ "value": 1.5821192179601176,
120
+ "min": 1.5821192179601176,
121
+ "max": 3.4055150875436335,
122
+ "count": 2
123
+ },
124
+ "Pyramids.Losses.CuriosityInverseLoss.mean": {
125
+ "value": 0.48593344143560446,
126
+ "min": 0.48593344143560446,
127
+ "max": 0.7601708495264571,
128
+ "count": 2
129
+ },
130
+ "Pyramids.Losses.CuriosityInverseLoss.sum": {
131
+ "value": 4.37340097292044,
132
+ "min": 4.37340097292044,
133
+ "max": 5.3211959466852,
134
+ "count": 2
135
+ },
136
+ "Pyramids.Environment.EpisodeLength.mean": {
137
+ "value": 983.7272727272727,
138
+ "min": 983.7272727272727,
139
+ "max": 999.0,
140
+ "count": 2
141
+ },
142
+ "Pyramids.Environment.EpisodeLength.sum": {
143
+ "value": 32463.0,
144
+ "min": 15984.0,
145
+ "max": 32463.0,
146
+ "count": 2
147
+ },
148
+ "Pyramids.Environment.CumulativeReward.mean": {
149
+ "value": -0.8634485349510655,
150
+ "min": -1.0000000521540642,
151
+ "max": -0.8634485349510655,
152
+ "count": 2
153
+ },
154
+ "Pyramids.Environment.CumulativeReward.sum": {
155
+ "value": -28.493801653385162,
156
+ "min": -28.493801653385162,
157
+ "max": -16.000000834465027,
158
+ "count": 2
159
+ },
160
+ "Pyramids.Policy.ExtrinsicReward.mean": {
161
+ "value": -0.8634485349510655,
162
+ "min": -1.0000000521540642,
163
+ "max": -0.8634485349510655,
164
+ "count": 2
165
+ },
166
+ "Pyramids.Policy.ExtrinsicReward.sum": {
167
+ "value": -28.493801653385162,
168
+ "min": -28.493801653385162,
169
+ "max": -16.000000834465027,
170
+ "count": 2
171
+ },
172
+ "Pyramids.Policy.CuriosityReward.mean": {
173
+ "value": 5.174535974860191,
174
+ "min": 5.174535974860191,
175
+ "max": 7.066105825826526,
176
+ "count": 2
177
+ },
178
+ "Pyramids.Policy.CuriosityReward.sum": {
179
+ "value": 170.75968717038631,
180
+ "min": 113.05769321322441,
181
+ "max": 170.75968717038631,
182
+ "count": 2
183
+ },
184
+ "Pyramids.IsTraining.mean": {
185
+ "value": 1.0,
186
+ "min": 1.0,
187
+ "max": 1.0,
188
+ "count": 2
189
+ },
190
+ "Pyramids.IsTraining.sum": {
191
+ "value": 1.0,
192
+ "min": 1.0,
193
+ "max": 1.0,
194
+ "count": 2
195
+ }
196
+ },
197
+ "metadata": {
198
+ "timer_format_version": "0.1.0",
199
+ "start_time_seconds": "1692966038",
200
+ "python_version": "3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0]",
201
+ "command_line_arguments": "/usr/local/bin/mlagents-learn ./config/ppo/Pyramids.yaml --env=./training-envs-executables/linux/Pyramids/Pyramids --run-id=Pyramids2 --no-graphics",
202
+ "mlagents_version": "0.31.0.dev0",
203
+ "mlagents_envs_version": "0.31.0.dev0",
204
+ "communication_protocol_version": "1.5.0",
205
+ "pytorch_version": "1.11.0+cu102",
206
+ "numpy_version": "1.21.2",
207
+ "end_time_seconds": "1692966262"
208
+ },
209
+ "total": 224.27391621100014,
210
+ "count": 1,
211
+ "self": 0.6315550570002415,
212
+ "children": {
213
+ "run_training.setup": {
214
+ "total": 0.08380827600012708,
215
+ "count": 1,
216
+ "self": 0.08380827600012708
217
+ },
218
+ "TrainerController.start_learning": {
219
+ "total": 223.55855287799977,
220
+ "count": 1,
221
+ "self": 0.13295064800104228,
222
+ "children": {
223
+ "TrainerController._reset_env": {
224
+ "total": 1.920688992000123,
225
+ "count": 1,
226
+ "self": 1.920688992000123
227
+ },
228
+ "TrainerController.advance": {
229
+ "total": 221.3474071219989,
230
+ "count": 3771,
231
+ "self": 0.1512690069821474,
232
+ "children": {
233
+ "env_step": {
234
+ "total": 115.23695566300967,
235
+ "count": 3771,
236
+ "self": 105.65874966700358,
237
+ "children": {
238
+ "SubprocessEnvManager._take_step": {
239
+ "total": 9.493931704998886,
240
+ "count": 3771,
241
+ "self": 0.5221308799814324,
242
+ "children": {
243
+ "TorchPolicy.evaluate": {
244
+ "total": 8.971800825017453,
245
+ "count": 3768,
246
+ "self": 8.971800825017453
247
+ }
248
+ }
249
+ },
250
+ "workers": {
251
+ "total": 0.08427429100720474,
252
+ "count": 3771,
253
+ "self": 0.0,
254
+ "children": {
255
+ "worker_root": {
256
+ "total": 222.83126691800135,
257
+ "count": 3771,
258
+ "is_parallel": true,
259
+ "self": 127.8539943030014,
260
+ "children": {
261
+ "run_training.setup": {
262
+ "total": 0.0,
263
+ "count": 0,
264
+ "is_parallel": true,
265
+ "self": 0.0,
266
+ "children": {
267
+ "steps_from_proto": {
268
+ "total": 0.0032852160002221353,
269
+ "count": 1,
270
+ "is_parallel": true,
271
+ "self": 0.0009156420001090737,
272
+ "children": {
273
+ "_process_rank_one_or_two_observation": {
274
+ "total": 0.0023695740001130616,
275
+ "count": 8,
276
+ "is_parallel": true,
277
+ "self": 0.0023695740001130616
278
+ }
279
+ }
280
+ },
281
+ "UnityEnvironment.step": {
282
+ "total": 0.08681690100002015,
283
+ "count": 1,
284
+ "is_parallel": true,
285
+ "self": 0.0007335120003517659,
286
+ "children": {
287
+ "UnityEnvironment._generate_step_input": {
288
+ "total": 0.0006127110000306857,
289
+ "count": 1,
290
+ "is_parallel": true,
291
+ "self": 0.0006127110000306857
292
+ },
293
+ "communicator.exchange": {
294
+ "total": 0.08257545699962066,
295
+ "count": 1,
296
+ "is_parallel": true,
297
+ "self": 0.08257545699962066
298
+ },
299
+ "steps_from_proto": {
300
+ "total": 0.0028952210000170453,
301
+ "count": 1,
302
+ "is_parallel": true,
303
+ "self": 0.0005566630011344387,
304
+ "children": {
305
+ "_process_rank_one_or_two_observation": {
306
+ "total": 0.0023385579988826066,
307
+ "count": 8,
308
+ "is_parallel": true,
309
+ "self": 0.0023385579988826066
310
+ }
311
+ }
312
+ }
313
+ }
314
+ }
315
+ }
316
+ },
317
+ "UnityEnvironment.step": {
318
+ "total": 94.97727261499995,
319
+ "count": 3770,
320
+ "is_parallel": true,
321
+ "self": 2.8577311559938607,
322
+ "children": {
323
+ "UnityEnvironment._generate_step_input": {
324
+ "total": 1.614566963998186,
325
+ "count": 3770,
326
+ "is_parallel": true,
327
+ "self": 1.614566963998186
328
+ },
329
+ "communicator.exchange": {
330
+ "total": 81.64266818400392,
331
+ "count": 3770,
332
+ "is_parallel": true,
333
+ "self": 81.64266818400392
334
+ },
335
+ "steps_from_proto": {
336
+ "total": 8.862306311003977,
337
+ "count": 3770,
338
+ "is_parallel": true,
339
+ "self": 1.9190092660101072,
340
+ "children": {
341
+ "_process_rank_one_or_two_observation": {
342
+ "total": 6.943297044993869,
343
+ "count": 30160,
344
+ "is_parallel": true,
345
+ "self": 6.943297044993869
346
+ }
347
+ }
348
+ }
349
+ }
350
+ }
351
+ }
352
+ }
353
+ }
354
+ }
355
+ }
356
+ },
357
+ "trainer_advance": {
358
+ "total": 105.9591824520071,
359
+ "count": 3771,
360
+ "self": 0.18197155100051532,
361
+ "children": {
362
+ "process_trajectory": {
363
+ "total": 10.691621337007291,
364
+ "count": 3771,
365
+ "self": 10.691621337007291
366
+ },
367
+ "_update_policy": {
368
+ "total": 95.08558956399929,
369
+ "count": 16,
370
+ "self": 57.343644607001806,
371
+ "children": {
372
+ "TorchPPOOptimizer.update": {
373
+ "total": 37.741944956997486,
374
+ "count": 1356,
375
+ "self": 37.741944956997486
376
+ }
377
+ }
378
+ }
379
+ }
380
+ }
381
+ }
382
+ },
383
+ "trainer_threads": {
384
+ "total": 1.0899998414970469e-06,
385
+ "count": 1,
386
+ "self": 1.0899998414970469e-06
387
+ },
388
+ "TrainerController._save_models": {
389
+ "total": 0.1575050259998534,
390
+ "count": 1,
391
+ "self": 0.0022850939999443654,
392
+ "children": {
393
+ "RLTrainer._checkpoint": {
394
+ "total": 0.15521993199990902,
395
+ "count": 1,
396
+ "self": 0.15521993199990902
397
+ }
398
+ }
399
+ }
400
+ }
401
+ }
402
+ }
403
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Pyramids": {
3
+ "checkpoints": [
4
+ {
5
+ "steps": 60144,
6
+ "file_path": "results/Pyramids2/Pyramids/Pyramids-60144.onnx",
7
+ "reward": null,
8
+ "creation_time": 1692966262.256657,
9
+ "auxillary_file_paths": [
10
+ "results/Pyramids2/Pyramids/Pyramids-60144.pt"
11
+ ]
12
+ }
13
+ ],
14
+ "final_checkpoint": {
15
+ "steps": 60144,
16
+ "file_path": "results/Pyramids2/Pyramids.onnx",
17
+ "reward": null,
18
+ "creation_time": 1692966262.256657,
19
+ "auxillary_file_paths": [
20
+ "results/Pyramids2/Pyramids/Pyramids-60144.pt"
21
+ ]
22
+ }
23
+ },
24
+ "metadata": {
25
+ "stats_format_version": "0.3.0",
26
+ "mlagents_version": "0.31.0.dev0",
27
+ "torch_version": "1.11.0+cu102"
28
+ }
29
+ }