jefsnacker commited on
Commit
0c50251
1 Parent(s): dd04d52

First Pyramids

Browse files
Pyramids.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cfc8875098838b96eb81d6cd7954523602e76fd8d933193dd19d1cd211fcb684
3
+ size 1417437
Pyramids/Pyramids-499925.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cfc8875098838b96eb81d6cd7954523602e76fd8d933193dd19d1cd211fcb684
3
+ size 1417437
Pyramids/Pyramids-499925.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6a7b2c9a0888cc4f8b382c3b18fcdb77765b03f0c06f52713980d87ac1bef492
3
+ size 8652382
Pyramids/Pyramids-500029.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cfc8875098838b96eb81d6cd7954523602e76fd8d933193dd19d1cd211fcb684
3
+ size 1417437
Pyramids/Pyramids-500029.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:74154dff71e745df95032b7c9c9da70cbc87e986cbd7290c7f5c849856203696
3
+ size 8652382
Pyramids/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:74154dff71e745df95032b7c9c9da70cbc87e986cbd7290c7f5c849856203696
3
+ size 8652382
Pyramids/events.out.tfevents.1659684754.67db6b0c9e54.259.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:334634adba61f462428298574296f6c642b773bda12801e53fd5b16fb889196e
3
+ size 128697
README.md ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ tags:
4
+ - unity-ml-agents
5
+ - ml-agents
6
+ - deep-reinforcement-learning
7
+ - reinforcement-learning
8
+ - ML-Agents-Pyramids
9
+ library_name: ml-agents
10
+ ---
11
+
12
+ # **ppo** Agent playing **Pyramids**
13
+ This is a trained model of a **ppo** agent playing **Pyramids** using the [Unity ML-Agents Library](https://github.com/Unity-Technologies/ml-agents).
14
+
15
+ ## Usage (with ML-Agents)
16
+ The Documentation: https://github.com/huggingface/ml-agents#get-started
17
+ We wrote a complete tutorial to learn to train your first agent using ML-Agents and publish it to the Hub:
18
+
19
+
20
+ ### Resume the training
21
+ ```
22
+ mlagents-learn <your_configuration_file_path.yaml> --run-id=<run_id> --resume
23
+ ```
24
+ ### Watch your Agent play
25
+ You can watch your agent **playing directly in your browser:**.
26
+
27
+ 1. Go to https://huggingface.co/spaces/unity/ML-Agents-Pyramids
28
+ 2. Step 1: Write your model_id: jefsnacker/testpyramidsrnd
29
+ 3. Step 2: Select your *.nn /*.onnx file
30
+ 4. Click on Watch the agent play 👀
31
+
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, "learning_rate_schedule": "linear", "beta_schedule": "linear", "epsilon_schedule": "linear"}, "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, "checkpoint_interval": 500000, "max_steps": 500000, "time_horizon": 128, "summary_freq": 30000, "threaded": false, "self_play": null, "behavioral_cloning": null}}, "env_settings": {"env_path": "./trained-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": "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,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ learning_rate_schedule: linear
14
+ beta_schedule: linear
15
+ epsilon_schedule: linear
16
+ network_settings:
17
+ normalize: false
18
+ hidden_units: 512
19
+ num_layers: 2
20
+ vis_encode_type: simple
21
+ memory: null
22
+ goal_conditioning_type: hyper
23
+ deterministic: false
24
+ reward_signals:
25
+ extrinsic:
26
+ gamma: 0.99
27
+ strength: 1.0
28
+ network_settings:
29
+ normalize: false
30
+ hidden_units: 128
31
+ num_layers: 2
32
+ vis_encode_type: simple
33
+ memory: null
34
+ goal_conditioning_type: hyper
35
+ deterministic: false
36
+ rnd:
37
+ gamma: 0.99
38
+ strength: 0.01
39
+ network_settings:
40
+ normalize: false
41
+ hidden_units: 64
42
+ num_layers: 3
43
+ vis_encode_type: simple
44
+ memory: null
45
+ goal_conditioning_type: hyper
46
+ deterministic: false
47
+ learning_rate: 0.0001
48
+ encoding_size: null
49
+ init_path: null
50
+ keep_checkpoints: 5
51
+ checkpoint_interval: 500000
52
+ max_steps: 500000
53
+ time_horizon: 128
54
+ summary_freq: 30000
55
+ threaded: false
56
+ self_play: null
57
+ behavioral_cloning: null
58
+ env_settings:
59
+ env_path: ./trained-envs-executables/linux/Pyramids/Pyramids
60
+ env_args: null
61
+ base_port: 5005
62
+ num_envs: 1
63
+ num_areas: 1
64
+ seed: -1
65
+ max_lifetime_restarts: 10
66
+ restarts_rate_limit_n: 1
67
+ restarts_rate_limit_period_s: 60
68
+ engine_settings:
69
+ width: 84
70
+ height: 84
71
+ quality_level: 5
72
+ time_scale: 20
73
+ target_frame_rate: -1
74
+ capture_frame_rate: 60
75
+ no_graphics: true
76
+ environment_parameters: null
77
+ checkpoint_settings:
78
+ run_id: Pyramids Training
79
+ initialize_from: null
80
+ load_model: false
81
+ resume: false
82
+ force: false
83
+ train_model: false
84
+ inference: false
85
+ results_dir: results
86
+ torch_settings:
87
+ device: null
88
+ debug: false
run_logs/Player-0.log ADDED
@@ -0,0 +1,317 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/content/ml-agents/trained-envs-executables/linux/Pyramids/Pyramids_Data/Managed'
2
+ Mono config path = '/content/ml-agents/trained-envs-executables/linux/Pyramids/Pyramids_Data/MonoBleedingEdge/etc'
3
+ Found 1 interfaces on host : 0) 172.28.0.2
4
+ Multi-casting "[IP] 172.28.0.2 [Port] 55477 [Flags] 2 [Guid] 819462822 [EditorId] 764847374 [Version] 1048832 [Id] LinuxPlayer(13,172.28.0.2) [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/trained-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:767:(parse_card) cannot find card '0'
19
+ ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
20
+ ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
21
+ ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
22
+ ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
23
+ ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
24
+ ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
25
+ ALSA lib pcm.c:2495:(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:767:(parse_card) cannot find card '0'
29
+ ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
30
+ ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
31
+ ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
32
+ ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
33
+ ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
34
+ ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
35
+ ALSA lib pcm.c:2495:(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.090 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.903533 ms
72
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
73
+ requesting resize 84 x 84
74
+ Setting up 1 worker threads for Enlighten.
75
+ PlayerConnection::CleanupMemory Statistics:
76
+ [ALLOC_TEMP_TLS] TLS Allocator
77
+ StackAllocators :
78
+ [ALLOC_TEMP_MAIN]
79
+ Peak usage frame count: [16.0 KB-32.0 KB]: 4678 frames, [32.0 KB-64.0 KB]: 4166 frames, [64.0 KB-128.0 KB]: 548 frames, [2.0 MB-4.0 MB]: 1 frames
80
+ Initial Block Size 4.0 MB
81
+ Current Block Size 4.0 MB
82
+ Peak Allocated Bytes 2.0 MB
83
+ Overflow Count 0
84
+ [ALLOC_TEMP_Background Job.Worker 8]
85
+ Initial Block Size 32.0 KB
86
+ Current Block Size 32.0 KB
87
+ Peak Allocated Bytes 0 B
88
+ Overflow Count 0
89
+ [ALLOC_TEMP_Background Job.Worker 10]
90
+ Initial Block Size 32.0 KB
91
+ Current Block Size 32.0 KB
92
+ Peak Allocated Bytes 0 B
93
+ Overflow Count 0
94
+ [ALLOC_TEMP_Background Job.Worker 6]
95
+ Initial Block Size 32.0 KB
96
+ Current Block Size 32.0 KB
97
+ Peak Allocated Bytes 0 B
98
+ Overflow Count 0
99
+ [ALLOC_TEMP_AUDIO_FMOD mixer thread]
100
+ Initial Block Size 64.0 KB
101
+ Current Block Size 64.0 KB
102
+ Peak Allocated Bytes 0 B
103
+ Overflow Count 0
104
+ [ALLOC_TEMP_Background Job.Worker 1]
105
+ Initial Block Size 32.0 KB
106
+ Current Block Size 32.0 KB
107
+ Peak Allocated Bytes 0 B
108
+ Overflow Count 0
109
+ [ALLOC_TEMP_Background Job.Worker 11]
110
+ Initial Block Size 32.0 KB
111
+ Current Block Size 32.0 KB
112
+ Peak Allocated Bytes 0 B
113
+ Overflow Count 0
114
+ [ALLOC_TEMP_Background Job.Worker 3]
115
+ Initial Block Size 32.0 KB
116
+ Current Block Size 32.0 KB
117
+ Peak Allocated Bytes 0 B
118
+ Overflow Count 0
119
+ [ALLOC_TEMP_BatchDeleteObjects]
120
+ Initial Block Size 64.0 KB
121
+ Current Block Size 64.0 KB
122
+ Peak Allocated Bytes 0 B
123
+ Overflow Count 0
124
+ [ALLOC_TEMP_AUDIO_FMOD stream thread]
125
+ Initial Block Size 64.0 KB
126
+ Current Block Size 64.0 KB
127
+ Peak Allocated Bytes 0 B
128
+ Overflow Count 0
129
+ [ALLOC_TEMP_Background Job.Worker 2]
130
+ Initial Block Size 32.0 KB
131
+ Current Block Size 32.0 KB
132
+ Peak Allocated Bytes 0 B
133
+ Overflow Count 0
134
+ [ALLOC_TEMP_Background Job.Worker 7]
135
+ Initial Block Size 32.0 KB
136
+ Current Block Size 32.0 KB
137
+ Peak Allocated Bytes 0 B
138
+ Overflow Count 0
139
+ [ALLOC_TEMP_Background Job.Worker 15]
140
+ Initial Block Size 32.0 KB
141
+ Current Block Size 32.0 KB
142
+ Peak Allocated Bytes 0 B
143
+ Overflow Count 0
144
+ [ALLOC_TEMP_Loading.PreloadManager]
145
+ Initial Block Size 256.0 KB
146
+ Current Block Size 320.0 KB
147
+ Peak Allocated Bytes 251.5 KB
148
+ Overflow Count 4
149
+ [ALLOC_TEMP_Profiler.Dispatcher]
150
+ Initial Block Size 64.0 KB
151
+ Current Block Size 64.0 KB
152
+ Peak Allocated Bytes 240 B
153
+ Overflow Count 0
154
+ [ALLOC_TEMP_Background Job.Worker 12]
155
+ Initial Block Size 32.0 KB
156
+ Current Block Size 32.0 KB
157
+ Peak Allocated Bytes 0 B
158
+ Overflow Count 0
159
+ [ALLOC_TEMP_AssetGarbageCollectorHelper]
160
+ Initial Block Size 64.0 KB
161
+ Current Block Size 64.0 KB
162
+ Peak Allocated Bytes 0 B
163
+ Overflow Count 0
164
+ [ALLOC_TEMP_Background Job.Worker 5]
165
+ Initial Block Size 32.0 KB
166
+ Current Block Size 32.0 KB
167
+ Peak Allocated Bytes 0 B
168
+ Overflow Count 0
169
+ [ALLOC_TEMP_Background Job.Worker 13]
170
+ Initial Block Size 32.0 KB
171
+ Current Block Size 32.0 KB
172
+ Peak Allocated Bytes 0 B
173
+ Overflow Count 0
174
+ [ALLOC_TEMP_Background Job.Worker 0]
175
+ Initial Block Size 32.0 KB
176
+ Current Block Size 32.0 KB
177
+ Peak Allocated Bytes 0 B
178
+ Overflow Count 0
179
+ [ALLOC_TEMP_Background Job.Worker 4]
180
+ Initial Block Size 32.0 KB
181
+ Current Block Size 32.0 KB
182
+ Peak Allocated Bytes 0 B
183
+ Overflow Count 0
184
+ [ALLOC_TEMP_Job.Worker 0]
185
+ Initial Block Size 256.0 KB
186
+ Current Block Size 256.0 KB
187
+ Peak Allocated Bytes 0.8 KB
188
+ Overflow Count 0
189
+ [ALLOC_TEMP_Background Job.Worker 9]
190
+ Initial Block Size 32.0 KB
191
+ Current Block Size 32.0 KB
192
+ Peak Allocated Bytes 0 B
193
+ Overflow Count 0
194
+ [ALLOC_TEMP_Background Job.Worker 14]
195
+ Initial Block Size 32.0 KB
196
+ Current Block Size 32.0 KB
197
+ Peak Allocated Bytes 0 B
198
+ Overflow Count 0
199
+ [ALLOC_TEMP_EnlightenWorker]
200
+ Initial Block Size 64.0 KB
201
+ Current Block Size 64.0 KB
202
+ Peak Allocated Bytes 0 B
203
+ Overflow Count 0
204
+ [ALLOC_TEMP_Loading.AsyncRead]
205
+ Initial Block Size 64.0 KB
206
+ Current Block Size 64.0 KB
207
+ Peak Allocated Bytes 128 B
208
+ Overflow Count 0
209
+ [ALLOC_MEMORYPROFILER]
210
+ Peak usage frame count: [0.5 MB-1.0 MB]: 299 frames, [1.0 MB-2.0 MB]: 9094 frames
211
+ Requested Block Size 1.0 MB
212
+ Peak Block count 2
213
+ Peak Allocated memory 1.6 MB
214
+ Peak Large allocation bytes 0 B
215
+ [ALLOC_DEFAULT] Dual Thread Allocator
216
+ Peak main deferred allocation count 12058
217
+ [ALLOC_BUCKET]
218
+ Large Block size 4.0 MB
219
+ Used Block count 1
220
+ Peak Allocated bytes 1.5 MB
221
+ [ALLOC_DEFAULT_MAIN]
222
+ Peak usage frame count: [8.0 MB-16.0 MB]: 1 frames, [16.0 MB-32.0 MB]: 9391 frames, [32.0 MB-64.0 MB]: 1 frames
223
+ Requested Block Size 16.0 MB
224
+ Peak Block count 3
225
+ Peak Allocated memory 32.2 MB
226
+ Peak Large allocation bytes 0 B
227
+ [ALLOC_DEFAULT_THREAD]
228
+ Peak usage frame count: [16.0 MB-32.0 MB]: 9393 frames
229
+ Requested Block Size 16.0 MB
230
+ Peak Block count 1
231
+ Peak Allocated memory 22.0 MB
232
+ Peak Large allocation bytes 16.0 MB
233
+ [ALLOC_TEMP_JOB_1_FRAME]
234
+ Initial Block Size 2.0 MB
235
+ Used Block Count 1
236
+ Overflow Count (too large) 0
237
+ Overflow Count (full) 0
238
+ [ALLOC_TEMP_JOB_2_FRAMES]
239
+ Initial Block Size 2.0 MB
240
+ Used Block Count 1
241
+ Overflow Count (too large) 0
242
+ Overflow Count (full) 0
243
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
244
+ Initial Block Size 2.0 MB
245
+ Used Block Count 2
246
+ Overflow Count (too large) 0
247
+ Overflow Count (full) 0
248
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
249
+ Initial Block Size 1.0 MB
250
+ Used Block Count 3
251
+ Overflow Count (too large) 0
252
+ Overflow Count (full) 0
253
+ [ALLOC_GFX] Dual Thread Allocator
254
+ Peak main deferred allocation count 0
255
+ [ALLOC_BUCKET]
256
+ Large Block size 4.0 MB
257
+ Used Block count 1
258
+ Peak Allocated bytes 1.5 MB
259
+ [ALLOC_GFX_MAIN]
260
+ Peak usage frame count: [32.0 KB-64.0 KB]: 9392 frames, [64.0 KB-128.0 KB]: 1 frames
261
+ Requested Block Size 16.0 MB
262
+ Peak Block count 1
263
+ Peak Allocated memory 67.0 KB
264
+ Peak Large allocation bytes 0 B
265
+ [ALLOC_GFX_THREAD]
266
+ Peak usage frame count: [64.0 KB-128.0 KB]: 9393 frames
267
+ Requested Block Size 16.0 MB
268
+ Peak Block count 1
269
+ Peak Allocated memory 67.7 KB
270
+ Peak Large allocation bytes 0 B
271
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
272
+ Peak main deferred allocation count 1
273
+ [ALLOC_BUCKET]
274
+ Large Block size 4.0 MB
275
+ Used Block count 1
276
+ Peak Allocated bytes 1.5 MB
277
+ [ALLOC_CACHEOBJECTS_MAIN]
278
+ Peak usage frame count: [0.5 MB-1.0 MB]: 299 frames, [1.0 MB-2.0 MB]: 9094 frames
279
+ Requested Block Size 4.0 MB
280
+ Peak Block count 1
281
+ Peak Allocated memory 1.4 MB
282
+ Peak Large allocation bytes 0 B
283
+ [ALLOC_CACHEOBJECTS_THREAD]
284
+ Peak usage frame count: [1.0 MB-2.0 MB]: 9392 frames, [4.0 MB-8.0 MB]: 1 frames
285
+ Requested Block Size 4.0 MB
286
+ Peak Block count 2
287
+ Peak Allocated memory 4.7 MB
288
+ Peak Large allocation bytes 0 B
289
+ [ALLOC_TYPETREE] Dual Thread Allocator
290
+ Peak main deferred allocation count 0
291
+ [ALLOC_BUCKET]
292
+ Large Block size 4.0 MB
293
+ Used Block count 1
294
+ Peak Allocated bytes 1.5 MB
295
+ [ALLOC_TYPETREE_MAIN]
296
+ Peak usage frame count: [0-1.0 KB]: 9393 frames
297
+ Requested Block Size 2.0 MB
298
+ Peak Block count 1
299
+ Peak Allocated memory 1.0 KB
300
+ Peak Large allocation bytes 0 B
301
+ [ALLOC_TYPETREE_THREAD]
302
+ Peak usage frame count: [1.0 KB-2.0 KB]: 9393 frames
303
+ Requested Block Size 2.0 MB
304
+ Peak Block count 1
305
+ Peak Allocated memory 1.9 KB
306
+ Peak Large allocation bytes 0 B
307
+ [ALLOC_PROFILER]
308
+ Peak usage frame count: [16.0 KB-32.0 KB]: 9393 frames
309
+ Requested Block Size 16.0 MB
310
+ Peak Block count 1
311
+ Peak Allocated memory 27.4 KB
312
+ Peak Large allocation bytes 0 B
313
+ [ALLOC_PROFILER_BUCKET]
314
+ Large Block size 4.0 MB
315
+ Used Block count 1
316
+ Peak Allocated bytes 396 B
317
+ ##utp:{"type":"MemoryLeaks","version":2,"phase":"Immediate","time":1659685764990,"processId":270,"allocatedMemory":1957329,"memoryLabels":[{"Default":9033},{"Permanent":1264},{"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":3444},{"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,405 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "Pyramids.Policy.Entropy.mean": {
5
+ "value": 0.7851873636245728,
6
+ "min": 0.7851873636245728,
7
+ "max": 1.4540584087371826,
8
+ "count": 16
9
+ },
10
+ "Pyramids.Policy.Entropy.sum": {
11
+ "value": 23819.443359375,
12
+ "min": 23819.443359375,
13
+ "max": 44110.31640625,
14
+ "count": 16
15
+ },
16
+ "Pyramids.Step.mean": {
17
+ "value": 479944.0,
18
+ "min": 29952.0,
19
+ "max": 479944.0,
20
+ "count": 16
21
+ },
22
+ "Pyramids.Step.sum": {
23
+ "value": 479944.0,
24
+ "min": 29952.0,
25
+ "max": 479944.0,
26
+ "count": 16
27
+ },
28
+ "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
29
+ "value": -0.031167738139629364,
30
+ "min": -0.10386452823877335,
31
+ "max": -0.026366449892520905,
32
+ "count": 16
33
+ },
34
+ "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
35
+ "value": -7.604928016662598,
36
+ "min": -25.03135108947754,
37
+ "max": -6.2488484382629395,
38
+ "count": 16
39
+ },
40
+ "Pyramids.Policy.RndValueEstimate.mean": {
41
+ "value": 0.020234858617186546,
42
+ "min": 0.019129112362861633,
43
+ "max": 0.3567693531513214,
44
+ "count": 16
45
+ },
46
+ "Pyramids.Policy.RndValueEstimate.sum": {
47
+ "value": 4.937305450439453,
48
+ "min": 4.610116004943848,
49
+ "max": 84.55433654785156,
50
+ "count": 16
51
+ },
52
+ "Pyramids.Losses.PolicyLoss.mean": {
53
+ "value": 0.06687085133145479,
54
+ "min": 0.06539174301451967,
55
+ "max": 0.07206835802735213,
56
+ "count": 16
57
+ },
58
+ "Pyramids.Losses.PolicyLoss.sum": {
59
+ "value": 0.936191918640367,
60
+ "min": 0.502553692424734,
61
+ "max": 1.0006661192371178,
62
+ "count": 16
63
+ },
64
+ "Pyramids.Losses.ValueLoss.mean": {
65
+ "value": 0.005077030967125854,
66
+ "min": 7.983953352077971e-05,
67
+ "max": 0.006991841792820816,
68
+ "count": 16
69
+ },
70
+ "Pyramids.Losses.ValueLoss.sum": {
71
+ "value": 0.07107843353976195,
72
+ "min": 0.0010379139357701362,
73
+ "max": 0.07107843353976195,
74
+ "count": 16
75
+ },
76
+ "Pyramids.Policy.LearningRate.mean": {
77
+ "value": 2.1557278528557146e-05,
78
+ "min": 2.1557278528557146e-05,
79
+ "max": 0.00029030126037577137,
80
+ "count": 16
81
+ },
82
+ "Pyramids.Policy.LearningRate.sum": {
83
+ "value": 0.00030180189939980006,
84
+ "min": 0.00030180189939980006,
85
+ "max": 0.0027322200892599996,
86
+ "count": 16
87
+ },
88
+ "Pyramids.Policy.Epsilon.mean": {
89
+ "value": 0.10718572857142857,
90
+ "min": 0.10718572857142857,
91
+ "max": 0.19676708571428575,
92
+ "count": 16
93
+ },
94
+ "Pyramids.Policy.Epsilon.sum": {
95
+ "value": 1.5006001999999998,
96
+ "min": 1.3773696000000002,
97
+ "max": 2.2546508000000003,
98
+ "count": 16
99
+ },
100
+ "Pyramids.Policy.Beta.mean": {
101
+ "value": 0.0007278542842857142,
102
+ "min": 0.0007278542842857142,
103
+ "max": 0.00967703186285714,
104
+ "count": 16
105
+ },
106
+ "Pyramids.Policy.Beta.sum": {
107
+ "value": 0.01018995998,
108
+ "min": 0.01018995998,
109
+ "max": 0.09108292599999998,
110
+ "count": 16
111
+ },
112
+ "Pyramids.Losses.RNDLoss.mean": {
113
+ "value": 0.01972959376871586,
114
+ "min": 0.01972959376871586,
115
+ "max": 0.3845566213130951,
116
+ "count": 16
117
+ },
118
+ "Pyramids.Losses.RNDLoss.sum": {
119
+ "value": 0.2762143015861511,
120
+ "min": 0.2762143015861511,
121
+ "max": 2.691896438598633,
122
+ "count": 16
123
+ },
124
+ "Pyramids.Environment.EpisodeLength.mean": {
125
+ "value": 892.4705882352941,
126
+ "min": 892.4705882352941,
127
+ "max": 999.0,
128
+ "count": 16
129
+ },
130
+ "Pyramids.Environment.EpisodeLength.sum": {
131
+ "value": 30344.0,
132
+ "min": 15984.0,
133
+ "max": 32641.0,
134
+ "count": 16
135
+ },
136
+ "Pyramids.Environment.CumulativeReward.mean": {
137
+ "value": -0.245823575731586,
138
+ "min": -1.0000000521540642,
139
+ "max": -0.245823575731586,
140
+ "count": 16
141
+ },
142
+ "Pyramids.Environment.CumulativeReward.sum": {
143
+ "value": -8.358001574873924,
144
+ "min": -32.000001668930054,
145
+ "max": -8.358001574873924,
146
+ "count": 16
147
+ },
148
+ "Pyramids.Policy.ExtrinsicReward.mean": {
149
+ "value": -0.245823575731586,
150
+ "min": -1.0000000521540642,
151
+ "max": -0.245823575731586,
152
+ "count": 16
153
+ },
154
+ "Pyramids.Policy.ExtrinsicReward.sum": {
155
+ "value": -8.358001574873924,
156
+ "min": -32.000001668930054,
157
+ "max": -8.358001574873924,
158
+ "count": 16
159
+ },
160
+ "Pyramids.Policy.RndReward.mean": {
161
+ "value": 0.18277410391772933,
162
+ "min": 0.18277410391772933,
163
+ "max": 7.908946003764868,
164
+ "count": 16
165
+ },
166
+ "Pyramids.Policy.RndReward.sum": {
167
+ "value": 6.214319533202797,
168
+ "min": 5.403899558354169,
169
+ "max": 126.54313606023788,
170
+ "count": 16
171
+ },
172
+ "Pyramids.IsTraining.mean": {
173
+ "value": 1.0,
174
+ "min": 1.0,
175
+ "max": 1.0,
176
+ "count": 16
177
+ },
178
+ "Pyramids.IsTraining.sum": {
179
+ "value": 1.0,
180
+ "min": 1.0,
181
+ "max": 1.0,
182
+ "count": 16
183
+ }
184
+ },
185
+ "metadata": {
186
+ "timer_format_version": "0.1.0",
187
+ "start_time_seconds": "1659684746",
188
+ "python_version": "3.7.13 (default, Apr 24 2022, 01:04:09) \n[GCC 7.5.0]",
189
+ "command_line_arguments": "/usr/local/bin/mlagents-learn ./config/ppo/PyramidsRND.yaml --env=./trained-envs-executables/linux/Pyramids/Pyramids --run-id=Pyramids Training --no-graphics",
190
+ "mlagents_version": "0.29.0.dev0",
191
+ "mlagents_envs_version": "0.29.0.dev0",
192
+ "communication_protocol_version": "1.5.0",
193
+ "pytorch_version": "1.8.1+cu102",
194
+ "numpy_version": "1.21.6",
195
+ "end_time_seconds": "1659685765"
196
+ },
197
+ "total": 1018.1117139600001,
198
+ "count": 1,
199
+ "self": 0.4774004690000311,
200
+ "children": {
201
+ "run_training.setup": {
202
+ "total": 0.04712810199998785,
203
+ "count": 1,
204
+ "self": 0.04712810199998785
205
+ },
206
+ "TrainerController.start_learning": {
207
+ "total": 1017.5871853890001,
208
+ "count": 1,
209
+ "self": 0.6701485680084716,
210
+ "children": {
211
+ "TrainerController._reset_env": {
212
+ "total": 10.718063395000058,
213
+ "count": 1,
214
+ "self": 10.718063395000058
215
+ },
216
+ "TrainerController.advance": {
217
+ "total": 1006.0956249069915,
218
+ "count": 31482,
219
+ "self": 0.7644480889990746,
220
+ "children": {
221
+ "env_step": {
222
+ "total": 624.2122641070015,
223
+ "count": 31482,
224
+ "self": 568.9598278630161,
225
+ "children": {
226
+ "SubprocessEnvManager._take_step": {
227
+ "total": 54.8890075549898,
228
+ "count": 31482,
229
+ "self": 2.3571348710074744,
230
+ "children": {
231
+ "TorchPolicy.evaluate": {
232
+ "total": 52.53187268398233,
233
+ "count": 31309,
234
+ "self": 18.117443744989487,
235
+ "children": {
236
+ "TorchPolicy.sample_actions": {
237
+ "total": 34.41442893899284,
238
+ "count": 31309,
239
+ "self": 34.41442893899284
240
+ }
241
+ }
242
+ }
243
+ }
244
+ },
245
+ "workers": {
246
+ "total": 0.3634286889955547,
247
+ "count": 31482,
248
+ "self": 0.0,
249
+ "children": {
250
+ "worker_root": {
251
+ "total": 1015.4995136029981,
252
+ "count": 31482,
253
+ "is_parallel": true,
254
+ "self": 499.2866687210152,
255
+ "children": {
256
+ "run_training.setup": {
257
+ "total": 0.0,
258
+ "count": 0,
259
+ "is_parallel": true,
260
+ "self": 0.0,
261
+ "children": {
262
+ "steps_from_proto": {
263
+ "total": 0.00521917300000041,
264
+ "count": 1,
265
+ "is_parallel": true,
266
+ "self": 0.00383673400006046,
267
+ "children": {
268
+ "_process_rank_one_or_two_observation": {
269
+ "total": 0.00138243899993995,
270
+ "count": 8,
271
+ "is_parallel": true,
272
+ "self": 0.00138243899993995
273
+ }
274
+ }
275
+ },
276
+ "UnityEnvironment.step": {
277
+ "total": 0.05082542000002377,
278
+ "count": 1,
279
+ "is_parallel": true,
280
+ "self": 0.0005431330000646994,
281
+ "children": {
282
+ "UnityEnvironment._generate_step_input": {
283
+ "total": 0.0005073309999943376,
284
+ "count": 1,
285
+ "is_parallel": true,
286
+ "self": 0.0005073309999943376
287
+ },
288
+ "communicator.exchange": {
289
+ "total": 0.04812579199995071,
290
+ "count": 1,
291
+ "is_parallel": true,
292
+ "self": 0.04812579199995071
293
+ },
294
+ "steps_from_proto": {
295
+ "total": 0.001649164000014025,
296
+ "count": 1,
297
+ "is_parallel": true,
298
+ "self": 0.0004118050001125084,
299
+ "children": {
300
+ "_process_rank_one_or_two_observation": {
301
+ "total": 0.0012373589999015167,
302
+ "count": 8,
303
+ "is_parallel": true,
304
+ "self": 0.0012373589999015167
305
+ }
306
+ }
307
+ }
308
+ }
309
+ }
310
+ }
311
+ },
312
+ "UnityEnvironment.step": {
313
+ "total": 516.212844881983,
314
+ "count": 31481,
315
+ "is_parallel": true,
316
+ "self": 14.454701665019911,
317
+ "children": {
318
+ "UnityEnvironment._generate_step_input": {
319
+ "total": 12.572270211995033,
320
+ "count": 31481,
321
+ "is_parallel": true,
322
+ "self": 12.572270211995033
323
+ },
324
+ "communicator.exchange": {
325
+ "total": 440.39413743998034,
326
+ "count": 31481,
327
+ "is_parallel": true,
328
+ "self": 440.39413743998034
329
+ },
330
+ "steps_from_proto": {
331
+ "total": 48.791735564987675,
332
+ "count": 31481,
333
+ "is_parallel": true,
334
+ "self": 11.984529846011469,
335
+ "children": {
336
+ "_process_rank_one_or_two_observation": {
337
+ "total": 36.807205718976206,
338
+ "count": 251848,
339
+ "is_parallel": true,
340
+ "self": 36.807205718976206
341
+ }
342
+ }
343
+ }
344
+ }
345
+ }
346
+ }
347
+ }
348
+ }
349
+ }
350
+ }
351
+ },
352
+ "trainer_advance": {
353
+ "total": 381.1189127109909,
354
+ "count": 31482,
355
+ "self": 1.1163813750029021,
356
+ "children": {
357
+ "process_trajectory": {
358
+ "total": 84.23886265898852,
359
+ "count": 31482,
360
+ "self": 84.12159932498855,
361
+ "children": {
362
+ "RLTrainer._checkpoint": {
363
+ "total": 0.11726333399997202,
364
+ "count": 1,
365
+ "self": 0.11726333399997202
366
+ }
367
+ }
368
+ },
369
+ "_update_policy": {
370
+ "total": 295.7636686769995,
371
+ "count": 206,
372
+ "self": 117.42508072300336,
373
+ "children": {
374
+ "TorchPPOOptimizer.update": {
375
+ "total": 178.33858795399613,
376
+ "count": 11520,
377
+ "self": 178.33858795399613
378
+ }
379
+ }
380
+ }
381
+ }
382
+ }
383
+ }
384
+ },
385
+ "trainer_threads": {
386
+ "total": 1.1360000371496426e-06,
387
+ "count": 1,
388
+ "self": 1.1360000371496426e-06
389
+ },
390
+ "TrainerController._save_models": {
391
+ "total": 0.10334738300002755,
392
+ "count": 1,
393
+ "self": 0.0017385480000484677,
394
+ "children": {
395
+ "RLTrainer._checkpoint": {
396
+ "total": 0.10160883499997908,
397
+ "count": 1,
398
+ "self": 0.10160883499997908
399
+ }
400
+ }
401
+ }
402
+ }
403
+ }
404
+ }
405
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Pyramids": {
3
+ "checkpoints": [
4
+ {
5
+ "steps": 499925,
6
+ "file_path": "results/Pyramids Training/Pyramids/Pyramids-499925.onnx",
7
+ "reward": -0.21680005888144174,
8
+ "creation_time": 1659685764.4419153,
9
+ "auxillary_file_paths": [
10
+ "results/Pyramids Training/Pyramids/Pyramids-499925.pt"
11
+ ]
12
+ },
13
+ {
14
+ "steps": 500029,
15
+ "file_path": "results/Pyramids Training/Pyramids/Pyramids-500029.onnx",
16
+ "reward": -0.41260005719959736,
17
+ "creation_time": 1659685764.5591733,
18
+ "auxillary_file_paths": [
19
+ "results/Pyramids Training/Pyramids/Pyramids-500029.pt"
20
+ ]
21
+ }
22
+ ],
23
+ "final_checkpoint": {
24
+ "steps": 500029,
25
+ "file_path": "results/Pyramids Training/Pyramids.onnx",
26
+ "reward": -0.41260005719959736,
27
+ "creation_time": 1659685764.5591733,
28
+ "auxillary_file_paths": [
29
+ "results/Pyramids Training/Pyramids/Pyramids-500029.pt"
30
+ ]
31
+ }
32
+ },
33
+ "metadata": {
34
+ "stats_format_version": "0.3.0",
35
+ "mlagents_version": "0.29.0.dev0",
36
+ "torch_version": "1.8.1+cu102"
37
+ }
38
+ }