AndrewK commited on
Commit
ebcec56
1 Parent(s): 8a624a6

First Pyramids

Browse files
Pyramids.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e967efcb43dd5a0ca2fdd3088d3273657c83fc09e99cd4fc7acd7ddfcf7932b4
3
+ size 1417437
Pyramids/Pyramids-499884.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:905b2839b34403ac0add0f5eb40b7c88333e3a2ff69783bb8ec5a3f145c3e4fa
3
+ size 1417437
Pyramids/Pyramids-499884.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a24bf4fc7df92977f9b47f6013f2784f123f9f26d1d2276e6af0f24814206551
3
+ size 8652382
Pyramids/Pyramids-900084.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e967efcb43dd5a0ca2fdd3088d3273657c83fc09e99cd4fc7acd7ddfcf7932b4
3
+ size 1417437
Pyramids/Pyramids-900084.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:803d4c8e241de1afee021023a60a590c83286443abb08af378e16035a5b04fc4
3
+ size 8652382
Pyramids/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:803d4c8e241de1afee021023a60a590c83286443abb08af378e16035a5b04fc4
3
+ size 8652382
Pyramids/events.out.tfevents.1657738494.306bb1de5573.551.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cfb18cc8840920cb6667adc29dd0ad84387a92f2bd2da46907fca8ac4c1ec836
3
+ size 292545
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: AndrewK/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": 900000, "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: 900000
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,314 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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] 55425 [Flags] 2 [Guid] 2776902480 [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
+ Initialize engine version: 2021.3.5f1 (40eb3a945986)
8
+ [Subsystems] Discovering subsystems at path /content/ml-agents/trained-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:767:(parse_card) cannot find card '0'
16
+ ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
17
+ ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
18
+ ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
19
+ ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
20
+ ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
21
+ ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
22
+ ALSA lib pcm.c:2495:(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:767:(parse_card) cannot find card '0'
26
+ ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
27
+ ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
28
+ ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
29
+ ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
30
+ ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
31
+ ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
32
+ ALSA lib pcm.c:2495:(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.082 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: 0.798566 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]: 2833 frames, [32.0 KB-64.0 KB]: 11679 frames, [64.0 KB-128.0 KB]: 2380 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_AUDIO_FMOD mixer thread]
97
+ Initial Block Size 64.0 KB
98
+ Current Block Size 64.0 KB
99
+ Peak Allocated Bytes 0 B
100
+ Overflow Count 0
101
+ [ALLOC_TEMP_Background Job.Worker 1]
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 11]
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_Background Job.Worker 3]
112
+ Initial Block Size 32.0 KB
113
+ Current Block Size 32.0 KB
114
+ Peak Allocated Bytes 0 B
115
+ Overflow Count 0
116
+ [ALLOC_TEMP_BatchDeleteObjects]
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_AUDIO_FMOD stream thread]
122
+ Initial Block Size 64.0 KB
123
+ Current Block Size 64.0 KB
124
+ Peak Allocated Bytes 0 B
125
+ Overflow Count 0
126
+ [ALLOC_TEMP_Background Job.Worker 2]
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_Background Job.Worker 7]
137
+ Initial Block Size 32.0 KB
138
+ Current Block Size 32.0 KB
139
+ Peak Allocated Bytes 0 B
140
+ Overflow Count 0
141
+ [ALLOC_TEMP_Loading.PreloadManager]
142
+ Initial Block Size 256.0 KB
143
+ Current Block Size 320.0 KB
144
+ Peak Allocated Bytes 251.5 KB
145
+ Overflow Count 4
146
+ [ALLOC_TEMP_Profiler.Dispatcher]
147
+ Initial Block Size 64.0 KB
148
+ Current Block Size 64.0 KB
149
+ Peak Allocated Bytes 0 B
150
+ Overflow Count 0
151
+ [ALLOC_TEMP_Background Job.Worker 12]
152
+ Initial Block Size 32.0 KB
153
+ Current Block Size 32.0 KB
154
+ Peak Allocated Bytes 0 B
155
+ Overflow Count 0
156
+ [ALLOC_TEMP_AssetGarbageCollectorHelper]
157
+ Initial Block Size 64.0 KB
158
+ Current Block Size 64.0 KB
159
+ Peak Allocated Bytes 0 B
160
+ Overflow Count 0
161
+ [ALLOC_TEMP_Background Job.Worker 5]
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 13]
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_Background Job.Worker 0]
172
+ Initial Block Size 32.0 KB
173
+ Current Block Size 32.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]: 16594 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 12082
214
+ [ALLOC_BUCKET]
215
+ Large Block size 4.0 MB
216
+ Used Block count 1
217
+ Peak Allocated bytes 1.5 MB
218
+ [ALLOC_DEFAULT_MAIN]
219
+ Peak usage frame count: [8.0 MB-16.0 MB]: 1 frames, [16.0 MB-32.0 MB]: 16892 frames
220
+ Requested Block Size 16.0 MB
221
+ Peak Block count 3
222
+ Peak Allocated memory 28.8 MB
223
+ Peak Large allocation bytes 0 B
224
+ [ALLOC_DEFAULT_THREAD]
225
+ Peak usage frame count: [16.0 MB-32.0 MB]: 16893 frames
226
+ Requested Block Size 16.0 MB
227
+ Peak Block count 1
228
+ Peak Allocated memory 24.4 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.5 MB
256
+ [ALLOC_GFX_MAIN]
257
+ Peak usage frame count: [32.0 KB-64.0 KB]: 16892 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]: 16893 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.5 MB
274
+ [ALLOC_CACHEOBJECTS_MAIN]
275
+ Peak usage frame count: [0.5 MB-1.0 MB]: 299 frames, [1.0 MB-2.0 MB]: 16594 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]: 16892 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.7 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.5 MB
292
+ [ALLOC_TYPETREE_MAIN]
293
+ Peak usage frame count: [0-1.0 KB]: 16893 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]: 16893 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]: 16893 frames
306
+ Requested Block Size 16.0 MB
307
+ Peak Block count 1
308
+ Peak Allocated memory 27.4 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":1657740373802,"processId":564,"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.39757049083709717,
6
+ "min": 0.39757049083709717,
7
+ "max": 1.3595595359802246,
8
+ "count": 30
9
+ },
10
+ "Pyramids.Policy.Entropy.sum": {
11
+ "value": 11920.75390625,
12
+ "min": 11920.75390625,
13
+ "max": 41243.59765625,
14
+ "count": 30
15
+ },
16
+ "Pyramids.Step.mean": {
17
+ "value": 899956.0,
18
+ "min": 29885.0,
19
+ "max": 899956.0,
20
+ "count": 30
21
+ },
22
+ "Pyramids.Step.sum": {
23
+ "value": 899956.0,
24
+ "min": 29885.0,
25
+ "max": 899956.0,
26
+ "count": 30
27
+ },
28
+ "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
29
+ "value": 0.4898543655872345,
30
+ "min": -0.0930364727973938,
31
+ "max": 0.5115171074867249,
32
+ "count": 30
33
+ },
34
+ "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
35
+ "value": 132.26068115234375,
36
+ "min": -22.421789169311523,
37
+ "max": 139.13265991210938,
38
+ "count": 30
39
+ },
40
+ "Pyramids.Policy.RndValueEstimate.mean": {
41
+ "value": -0.09477725625038147,
42
+ "min": -0.09477725625038147,
43
+ "max": 0.4064110219478607,
44
+ "count": 30
45
+ },
46
+ "Pyramids.Policy.RndValueEstimate.sum": {
47
+ "value": -25.589859008789062,
48
+ "min": -25.589859008789062,
49
+ "max": 96.31941223144531,
50
+ "count": 30
51
+ },
52
+ "Pyramids.Losses.PolicyLoss.mean": {
53
+ "value": 0.06938424920921939,
54
+ "min": 0.06483511217628184,
55
+ "max": 0.07380248141961257,
56
+ "count": 30
57
+ },
58
+ "Pyramids.Losses.PolicyLoss.sum": {
59
+ "value": 1.0407637381382908,
60
+ "min": 0.5904198513569006,
61
+ "max": 1.0407637381382908,
62
+ "count": 30
63
+ },
64
+ "Pyramids.Losses.ValueLoss.mean": {
65
+ "value": 0.015227381634112032,
66
+ "min": 0.0006474719040076074,
67
+ "max": 0.01643273844057971,
68
+ "count": 30
69
+ },
70
+ "Pyramids.Losses.ValueLoss.sum": {
71
+ "value": 0.22841072451168049,
72
+ "min": 0.008213004547359109,
73
+ "max": 0.23005833816811597,
74
+ "count": 30
75
+ },
76
+ "Pyramids.Policy.LearningRate.mean": {
77
+ "value": 4.973965008711112e-06,
78
+ "min": 4.973965008711112e-06,
79
+ "max": 0.00029417966860677773,
80
+ "count": 30
81
+ },
82
+ "Pyramids.Policy.LearningRate.sum": {
83
+ "value": 7.460947513066668e-05,
84
+ "min": 7.460947513066668e-05,
85
+ "max": 0.003448147817284111,
86
+ "count": 30
87
+ },
88
+ "Pyramids.Policy.Epsilon.mean": {
89
+ "value": 0.10165795555555555,
90
+ "min": 0.10165795555555555,
91
+ "max": 0.1980598888888889,
92
+ "count": 30
93
+ },
94
+ "Pyramids.Policy.Epsilon.sum": {
95
+ "value": 1.5248693333333334,
96
+ "min": 1.4705237777777782,
97
+ "max": 2.543327111111111,
98
+ "count": 30
99
+ },
100
+ "Pyramids.Policy.Beta.mean": {
101
+ "value": 0.00017562976,
102
+ "min": 0.00017562976,
103
+ "max": 0.009806182900000002,
104
+ "count": 30
105
+ },
106
+ "Pyramids.Policy.Beta.sum": {
107
+ "value": 0.0026344464,
108
+ "min": 0.0026344464,
109
+ "max": 0.1149533173,
110
+ "count": 30
111
+ },
112
+ "Pyramids.Losses.RNDLoss.mean": {
113
+ "value": 0.013464792631566525,
114
+ "min": 0.013354185037314892,
115
+ "max": 0.5027457475662231,
116
+ "count": 30
117
+ },
118
+ "Pyramids.Losses.RNDLoss.sum": {
119
+ "value": 0.2019718885421753,
120
+ "min": 0.18695859611034393,
121
+ "max": 4.021965980529785,
122
+ "count": 30
123
+ },
124
+ "Pyramids.Environment.EpisodeLength.mean": {
125
+ "value": 386.56,
126
+ "min": 353.8780487804878,
127
+ "max": 999.0,
128
+ "count": 30
129
+ },
130
+ "Pyramids.Environment.EpisodeLength.sum": {
131
+ "value": 28992.0,
132
+ "min": 17579.0,
133
+ "max": 33190.0,
134
+ "count": 30
135
+ },
136
+ "Pyramids.Environment.CumulativeReward.mean": {
137
+ "value": 1.560093317826589,
138
+ "min": -0.9999742455059483,
139
+ "max": 1.5994320809841156,
140
+ "count": 30
141
+ },
142
+ "Pyramids.Environment.CumulativeReward.sum": {
143
+ "value": 117.00699883699417,
144
+ "min": -31.995201662182808,
145
+ "max": 129.55399855971336,
146
+ "count": 30
147
+ },
148
+ "Pyramids.Policy.ExtrinsicReward.mean": {
149
+ "value": 1.560093317826589,
150
+ "min": -0.9999742455059483,
151
+ "max": 1.5994320809841156,
152
+ "count": 30
153
+ },
154
+ "Pyramids.Policy.ExtrinsicReward.sum": {
155
+ "value": 117.00699883699417,
156
+ "min": -31.995201662182808,
157
+ "max": 129.55399855971336,
158
+ "count": 30
159
+ },
160
+ "Pyramids.Policy.RndReward.mean": {
161
+ "value": 0.05361438301566523,
162
+ "min": 0.05361438301566523,
163
+ "max": 10.323105855948395,
164
+ "count": 30
165
+ },
166
+ "Pyramids.Policy.RndReward.sum": {
167
+ "value": 4.021078726174892,
168
+ "min": 4.021078726174892,
169
+ "max": 185.8159054070711,
170
+ "count": 30
171
+ },
172
+ "Pyramids.IsTraining.mean": {
173
+ "value": 1.0,
174
+ "min": 1.0,
175
+ "max": 1.0,
176
+ "count": 30
177
+ },
178
+ "Pyramids.IsTraining.sum": {
179
+ "value": 1.0,
180
+ "min": 1.0,
181
+ "max": 1.0,
182
+ "count": 30
183
+ }
184
+ },
185
+ "metadata": {
186
+ "timer_format_version": "0.1.0",
187
+ "start_time_seconds": "1657738490",
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": "1657740373"
196
+ },
197
+ "total": 1882.9600919249997,
198
+ "count": 1,
199
+ "self": 0.42833328099959544,
200
+ "children": {
201
+ "run_training.setup": {
202
+ "total": 0.054805991999728576,
203
+ "count": 1,
204
+ "self": 0.054805991999728576
205
+ },
206
+ "TrainerController.start_learning": {
207
+ "total": 1882.4769526520004,
208
+ "count": 1,
209
+ "self": 1.3027695909495378,
210
+ "children": {
211
+ "TrainerController._reset_env": {
212
+ "total": 6.473618197000178,
213
+ "count": 1,
214
+ "self": 6.473618197000178
215
+ },
216
+ "TrainerController.advance": {
217
+ "total": 1874.6021489080504,
218
+ "count": 57289,
219
+ "self": 1.4039689420374089,
220
+ "children": {
221
+ "env_step": {
222
+ "total": 1219.1033666070125,
223
+ "count": 57289,
224
+ "self": 1119.6238383419636,
225
+ "children": {
226
+ "SubprocessEnvManager._take_step": {
227
+ "total": 98.8068662120113,
228
+ "count": 57289,
229
+ "self": 4.268505632986944,
230
+ "children": {
231
+ "TorchPolicy.evaluate": {
232
+ "total": 94.53836057902436,
233
+ "count": 56309,
234
+ "self": 32.348266454005625,
235
+ "children": {
236
+ "TorchPolicy.sample_actions": {
237
+ "total": 62.19009412501873,
238
+ "count": 56309,
239
+ "self": 62.19009412501873
240
+ }
241
+ }
242
+ }
243
+ }
244
+ },
245
+ "workers": {
246
+ "total": 0.672662053037584,
247
+ "count": 57289,
248
+ "self": 0.0,
249
+ "children": {
250
+ "worker_root": {
251
+ "total": 1878.9325053499733,
252
+ "count": 57289,
253
+ "is_parallel": true,
254
+ "self": 852.3902138780068,
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.0019260659996689355,
264
+ "count": 1,
265
+ "is_parallel": true,
266
+ "self": 0.0007521909992647124,
267
+ "children": {
268
+ "_process_rank_one_or_two_observation": {
269
+ "total": 0.001173875000404223,
270
+ "count": 8,
271
+ "is_parallel": true,
272
+ "self": 0.001173875000404223
273
+ }
274
+ }
275
+ },
276
+ "UnityEnvironment.step": {
277
+ "total": 0.04927950499995859,
278
+ "count": 1,
279
+ "is_parallel": true,
280
+ "self": 0.00047984999901018455,
281
+ "children": {
282
+ "UnityEnvironment._generate_step_input": {
283
+ "total": 0.000427511000452796,
284
+ "count": 1,
285
+ "is_parallel": true,
286
+ "self": 0.000427511000452796
287
+ },
288
+ "communicator.exchange": {
289
+ "total": 0.04671544400025596,
290
+ "count": 1,
291
+ "is_parallel": true,
292
+ "self": 0.04671544400025596
293
+ },
294
+ "steps_from_proto": {
295
+ "total": 0.0016567000002396526,
296
+ "count": 1,
297
+ "is_parallel": true,
298
+ "self": 0.0004194039997855725,
299
+ "children": {
300
+ "_process_rank_one_or_two_observation": {
301
+ "total": 0.00123729600045408,
302
+ "count": 8,
303
+ "is_parallel": true,
304
+ "self": 0.00123729600045408
305
+ }
306
+ }
307
+ }
308
+ }
309
+ }
310
+ }
311
+ },
312
+ "UnityEnvironment.step": {
313
+ "total": 1026.5422914719666,
314
+ "count": 57288,
315
+ "is_parallel": true,
316
+ "self": 25.48484664891157,
317
+ "children": {
318
+ "UnityEnvironment._generate_step_input": {
319
+ "total": 21.37142343792675,
320
+ "count": 57288,
321
+ "is_parallel": true,
322
+ "self": 21.37142343792675
323
+ },
324
+ "communicator.exchange": {
325
+ "total": 894.4486843141308,
326
+ "count": 57288,
327
+ "is_parallel": true,
328
+ "self": 894.4486843141308
329
+ },
330
+ "steps_from_proto": {
331
+ "total": 85.23733707099746,
332
+ "count": 57288,
333
+ "is_parallel": true,
334
+ "self": 21.078682677283723,
335
+ "children": {
336
+ "_process_rank_one_or_two_observation": {
337
+ "total": 64.15865439371373,
338
+ "count": 458304,
339
+ "is_parallel": true,
340
+ "self": 64.15865439371373
341
+ }
342
+ }
343
+ }
344
+ }
345
+ }
346
+ }
347
+ }
348
+ }
349
+ }
350
+ }
351
+ },
352
+ "trainer_advance": {
353
+ "total": 654.0948133590005,
354
+ "count": 57289,
355
+ "self": 2.4162042220768853,
356
+ "children": {
357
+ "process_trajectory": {
358
+ "total": 149.28206904092258,
359
+ "count": 57289,
360
+ "self": 149.1674607319228,
361
+ "children": {
362
+ "RLTrainer._checkpoint": {
363
+ "total": 0.11460830899977736,
364
+ "count": 1,
365
+ "self": 0.11460830899977736
366
+ }
367
+ }
368
+ },
369
+ "_update_policy": {
370
+ "total": 502.396540096001,
371
+ "count": 408,
372
+ "self": 196.61358089001578,
373
+ "children": {
374
+ "TorchPPOOptimizer.update": {
375
+ "total": 305.7829592059852,
376
+ "count": 20532,
377
+ "self": 305.7829592059852
378
+ }
379
+ }
380
+ }
381
+ }
382
+ }
383
+ }
384
+ },
385
+ "trainer_threads": {
386
+ "total": 1.1089996405644342e-06,
387
+ "count": 1,
388
+ "self": 1.1089996405644342e-06
389
+ },
390
+ "TrainerController._save_models": {
391
+ "total": 0.0984148470006403,
392
+ "count": 1,
393
+ "self": 0.0017685410002741264,
394
+ "children": {
395
+ "RLTrainer._checkpoint": {
396
+ "total": 0.09664630600036617,
397
+ "count": 1,
398
+ "self": 0.09664630600036617
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": 499884,
6
+ "file_path": "results/Pyramids Training/Pyramids/Pyramids-499884.onnx",
7
+ "reward": -0.9994000494480133,
8
+ "creation_time": 1657739491.5743632,
9
+ "auxillary_file_paths": [
10
+ "results/Pyramids Training/Pyramids/Pyramids-499884.pt"
11
+ ]
12
+ },
13
+ {
14
+ "steps": 900084,
15
+ "file_path": "results/Pyramids Training/Pyramids/Pyramids-900084.onnx",
16
+ "reward": null,
17
+ "creation_time": 1657740373.4018667,
18
+ "auxillary_file_paths": [
19
+ "results/Pyramids Training/Pyramids/Pyramids-900084.pt"
20
+ ]
21
+ }
22
+ ],
23
+ "final_checkpoint": {
24
+ "steps": 900084,
25
+ "file_path": "results/Pyramids Training/Pyramids.onnx",
26
+ "reward": null,
27
+ "creation_time": 1657740373.4018667,
28
+ "auxillary_file_paths": [
29
+ "results/Pyramids Training/Pyramids/Pyramids-900084.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
+ }