Roberto commited on
Commit
8af4bf7
1 Parent(s): 82b0537

First Push

Browse files
Pyramids.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f8367f97287f1bf7a972bfea70912722d8f0c4010320f8c2c539f109ace33d8
3
+ size 1417437
Pyramids/Pyramids-1000014.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f8367f97287f1bf7a972bfea70912722d8f0c4010320f8c2c539f109ace33d8
3
+ size 1417437
Pyramids/Pyramids-1000014.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b68e751ade120002cafc8663cd3164fc22094ca8256c42da24f46f3e2e642c6f
3
+ size 8651302
Pyramids/Pyramids-499885.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e0165bbbb000b5ace6b0945c7686933de0f64c0439854c8aebf9a2987f83fc9
3
+ size 1417437
Pyramids/Pyramids-499885.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a0fec0055f91e6911d9e3fe6d587b6b47ca6044e848dcf7140e4eb961f70c82
3
+ size 8651302
Pyramids/Pyramids-999886.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f8367f97287f1bf7a972bfea70912722d8f0c4010320f8c2c539f109ace33d8
3
+ size 1417437
Pyramids/Pyramids-999886.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f1fc8b2e5690231f2466347b997de9b931387504ca41febc89f63a2d00a12c9d
3
+ size 8651302
Pyramids/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b68e751ade120002cafc8663cd3164fc22094ca8256c42da24f46f3e2e642c6f
3
+ size 8651302
Pyramids/events.out.tfevents.1673803444.lamarmite.462937.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e8608019fa9f42a69e09b44d3422d3d638dc7ebefccb7781923f0e60887daa5
3
+ size 277184
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: Roberto/ppo-pyramids
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": 1000000, "time_horizon": 128, "summary_freq": 30000, "threaded": false, "self_play": null, "behavioral_cloning": null}}, "env_settings": {"env_path": "./training-envs-executables/linux/Pyramids/Pyramids", "env_args": null, "base_port": 5005, "num_envs": 1, "num_areas": 1, "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: 1000000
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: ./training-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,307 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/home/emmanuel/Documents/code/rl/ml-agents/training-envs-executables/linux/Pyramids/Pyramids_Data/Managed'
2
+ Mono config path = '/home/emmanuel/Documents/code/rl/ml-agents/training-envs-executables/linux/Pyramids/Pyramids_Data/MonoBleedingEdge/etc'
3
+ Found 10 interfaces on host : 0) 192.168.0.16 1) 172.18.0.1 2) 172.31.0.1 3) 172.27.0.1 4) 172.29.0.1 5) 172.26.0.1 6) 192.168.96.1 7) 172.20.0.1 8) 192.168.0.1 9) 192.168.112.1
4
+ Multi-casting "[IP] 192.168.0.16 [Port] 55006 [Flags] 2 [Guid] 4137369350 [EditorId] 764847374 [Version] 1048832 [Id] LinuxPlayer(13,192.168.0.16) [Debug] 0 [PackageName] LinuxPlayer [ProjectName] UnityEnvironment" to [225.0.0.222:54997]...
5
+ Preloaded 'lib_burst_generated.so'
6
+ Preloaded 'libgrpc_csharp_ext.x64.so'
7
+ PlayerPrefs - Creating folder: /home/emmanuel/.config/unity3d/Unity Technologies
8
+ PlayerPrefs - Creating folder: /home/emmanuel/.config/unity3d/Unity Technologies/UnityEnvironment
9
+ Unable to load player prefs
10
+ Initialize engine version: 2021.3.5f1 (40eb3a945986)
11
+ [Subsystems] Discovering subsystems at path /home/emmanuel/Documents/code/rl/ml-agents/training-envs-executables/linux/Pyramids/Pyramids_Data/UnitySubsystems
12
+ Forcing GfxDevice: Null
13
+ GfxDevice: creating device client; threaded=0; jobified=0
14
+ NullGfxDevice:
15
+ Version: NULL 1.0 [1.0]
16
+ Renderer: Null Device
17
+ Vendor: Unity Technologies
18
+ Begin MonoManager ReloadAssembly
19
+ - Completed reload, in 0.138 seconds
20
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
21
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
22
+ ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
23
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
24
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
25
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
26
+ ERROR: Shader Autodesk Interactive shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
27
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
28
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
29
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
30
+ WARNING: Shader Unsupported: 'Legacy Shaders/Diffuse' - All subshaders removed
31
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
32
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
33
+ ERROR: Shader Legacy Shaders/Diffuse shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
34
+ WARNING: Shader Unsupported: 'Legacy Shaders/Diffuse' - All subshaders removed
35
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
36
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
37
+ WARNING: Shader Unsupported: 'ML-Agents/GridPattern' - All subshaders removed
38
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
39
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
40
+ ERROR: Shader ML-Agents/GridPattern shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
41
+ WARNING: Shader Unsupported: 'ML-Agents/GridPattern' - All subshaders removed
42
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
43
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
44
+ WARNING: Shader Unsupported: 'Standard' - 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
+ ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
48
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
49
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
50
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
51
+ UnloadTime: 0.899568 ms
52
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
53
+ requesting resize 84 x 84
54
+ Setting up 2 worker threads for Enlighten.
55
+ PlayerConnection::CleanupMemory Statistics:
56
+ [ALLOC_TEMP_TLS] TLS Allocator
57
+ StackAllocators :
58
+ [ALLOC_TEMP_MAIN]
59
+ Peak usage frame count: [16.0 KB-32.0 KB]: 1847 frames, [32.0 KB-64.0 KB]: 13145 frames, [64.0 KB-128.0 KB]: 3775 frames, [2.0 MB-4.0 MB]: 1 frames
60
+ Initial Block Size 4.0 MB
61
+ Current Block Size 4.0 MB
62
+ Peak Allocated Bytes 2.0 MB
63
+ Overflow Count 0
64
+ [ALLOC_TEMP_Background Job.Worker 8]
65
+ Initial Block Size 32.0 KB
66
+ Current Block Size 32.0 KB
67
+ Peak Allocated Bytes 0 B
68
+ Overflow Count 0
69
+ [ALLOC_TEMP_Background Job.Worker 10]
70
+ Initial Block Size 32.0 KB
71
+ Current Block Size 32.0 KB
72
+ Peak Allocated Bytes 0 B
73
+ Overflow Count 0
74
+ [ALLOC_TEMP_Background Job.Worker 6]
75
+ Initial Block Size 32.0 KB
76
+ Current Block Size 32.0 KB
77
+ Peak Allocated Bytes 0 B
78
+ Overflow Count 0
79
+ [ALLOC_TEMP_Background Job.Worker 1]
80
+ Initial Block Size 32.0 KB
81
+ Current Block Size 32.0 KB
82
+ Peak Allocated Bytes 0 B
83
+ Overflow Count 0
84
+ [ALLOC_TEMP_Background Job.Worker 11]
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 3]
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_BatchDeleteObjects]
95
+ Initial Block Size 64.0 KB
96
+ Current Block Size 64.0 KB
97
+ Peak Allocated Bytes 0 B
98
+ Overflow Count 0
99
+ [ALLOC_TEMP_AUDIO_FMOD stream 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 2]
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 15]
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 7]
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_Job.Worker 1]
120
+ Initial Block Size 256.0 KB
121
+ Current Block Size 256.0 KB
122
+ Peak Allocated Bytes 0 B
123
+ Overflow Count 0
124
+ [ALLOC_TEMP_Loading.PreloadManager]
125
+ Initial Block Size 256.0 KB
126
+ Current Block Size 320.0 KB
127
+ Peak Allocated Bytes 251.6 KB
128
+ Overflow Count 4
129
+ [ALLOC_TEMP_AUDIO_FMOD PulseAudio Mixer]
130
+ Initial Block Size 64.0 KB
131
+ Current Block Size 64.0 KB
132
+ Peak Allocated Bytes 0 B
133
+ Overflow Count 0
134
+ [ALLOC_TEMP_Profiler.Dispatcher]
135
+ Initial Block Size 64.0 KB
136
+ Current Block Size 64.0 KB
137
+ Peak Allocated Bytes 480 B
138
+ Overflow Count 0
139
+ [ALLOC_TEMP_Background Job.Worker 12]
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_AssetGarbageCollectorHelper] x 3
145
+ Initial Block Size 64.0 KB
146
+ Current Block Size 64.0 KB
147
+ Peak Allocated Bytes 0 B
148
+ Overflow Count 0
149
+ [ALLOC_TEMP_Background Job.Worker 5]
150
+ Initial Block Size 32.0 KB
151
+ Current Block Size 32.0 KB
152
+ Peak Allocated Bytes 0 B
153
+ Overflow Count 0
154
+ [ALLOC_TEMP_Background Job.Worker 13]
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_Job.Worker 2]
160
+ Initial Block Size 256.0 KB
161
+ Current Block Size 256.0 KB
162
+ Peak Allocated Bytes 0 B
163
+ Overflow Count 0
164
+ [ALLOC_TEMP_Background Job.Worker 0]
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 4]
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_Job.Worker 0]
175
+ Initial Block Size 256.0 KB
176
+ Current Block Size 256.0 KB
177
+ Peak Allocated Bytes 0.8 KB
178
+ Overflow Count 0
179
+ [ALLOC_TEMP_Background Job.Worker 14]
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_Background Job.Worker 9]
185
+ Initial Block Size 32.0 KB
186
+ Current Block Size 32.0 KB
187
+ Peak Allocated Bytes 0 B
188
+ Overflow Count 0
189
+ [ALLOC_TEMP_EnlightenWorker] x 2
190
+ Initial Block Size 64.0 KB
191
+ Current Block Size 64.0 KB
192
+ Peak Allocated Bytes 0 B
193
+ Overflow Count 0
194
+ [ALLOC_TEMP_Loading.AsyncRead]
195
+ Initial Block Size 64.0 KB
196
+ Current Block Size 64.0 KB
197
+ Peak Allocated Bytes 128 B
198
+ Overflow Count 0
199
+ [ALLOC_MEMORYPROFILER]
200
+ Peak usage frame count: [0.5 MB-1.0 MB]: 299 frames, [1.0 MB-2.0 MB]: 18469 frames
201
+ Requested Block Size 1.0 MB
202
+ Peak Block count 2
203
+ Peak Allocated memory 1.6 MB
204
+ Peak Large allocation bytes 0 B
205
+ [ALLOC_DEFAULT] Dual Thread Allocator
206
+ Peak main deferred allocation count 12462
207
+ [ALLOC_BUCKET]
208
+ Large Block size 4.0 MB
209
+ Used Block count 1
210
+ Peak Allocated bytes 1.9 MB
211
+ [ALLOC_DEFAULT_MAIN]
212
+ Peak usage frame count: [8.0 MB-16.0 MB]: 1 frames, [16.0 MB-32.0 MB]: 18767 frames
213
+ Requested Block Size 16.0 MB
214
+ Peak Block count 3
215
+ Peak Allocated memory 31.3 MB
216
+ Peak Large allocation bytes 0 B
217
+ [ALLOC_DEFAULT_THREAD]
218
+ Peak usage frame count: [16.0 MB-32.0 MB]: 18768 frames
219
+ Requested Block Size 16.0 MB
220
+ Peak Block count 1
221
+ Peak Allocated memory 24.0 MB
222
+ Peak Large allocation bytes 16.0 MB
223
+ [ALLOC_TEMP_JOB_1_FRAME]
224
+ Initial Block Size 2.0 MB
225
+ Used Block Count 1
226
+ Overflow Count (too large) 0
227
+ Overflow Count (full) 0
228
+ [ALLOC_TEMP_JOB_2_FRAMES]
229
+ Initial Block Size 2.0 MB
230
+ Used Block Count 1
231
+ Overflow Count (too large) 0
232
+ Overflow Count (full) 0
233
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
234
+ Initial Block Size 2.0 MB
235
+ Used Block Count 2
236
+ Overflow Count (too large) 0
237
+ Overflow Count (full) 0
238
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
239
+ Initial Block Size 1.0 MB
240
+ Used Block Count 3
241
+ Overflow Count (too large) 0
242
+ Overflow Count (full) 0
243
+ [ALLOC_GFX] Dual Thread Allocator
244
+ Peak main deferred allocation count 0
245
+ [ALLOC_BUCKET]
246
+ Large Block size 4.0 MB
247
+ Used Block count 1
248
+ Peak Allocated bytes 1.9 MB
249
+ [ALLOC_GFX_MAIN]
250
+ Peak usage frame count: [32.0 KB-64.0 KB]: 18767 frames, [64.0 KB-128.0 KB]: 1 frames
251
+ Requested Block Size 16.0 MB
252
+ Peak Block count 1
253
+ Peak Allocated memory 67.0 KB
254
+ Peak Large allocation bytes 0 B
255
+ [ALLOC_GFX_THREAD]
256
+ Peak usage frame count: [64.0 KB-128.0 KB]: 18768 frames
257
+ Requested Block Size 16.0 MB
258
+ Peak Block count 1
259
+ Peak Allocated memory 67.7 KB
260
+ Peak Large allocation bytes 0 B
261
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
262
+ Peak main deferred allocation count 1
263
+ [ALLOC_BUCKET]
264
+ Large Block size 4.0 MB
265
+ Used Block count 1
266
+ Peak Allocated bytes 1.9 MB
267
+ [ALLOC_CACHEOBJECTS_MAIN]
268
+ Peak usage frame count: [0.5 MB-1.0 MB]: 299 frames, [1.0 MB-2.0 MB]: 18469 frames
269
+ Requested Block Size 4.0 MB
270
+ Peak Block count 1
271
+ Peak Allocated memory 1.4 MB
272
+ Peak Large allocation bytes 0 B
273
+ [ALLOC_CACHEOBJECTS_THREAD]
274
+ Peak usage frame count: [1.0 MB-2.0 MB]: 18767 frames, [4.0 MB-8.0 MB]: 1 frames
275
+ Requested Block Size 4.0 MB
276
+ Peak Block count 2
277
+ Peak Allocated memory 4.7 MB
278
+ Peak Large allocation bytes 0 B
279
+ [ALLOC_TYPETREE] Dual Thread Allocator
280
+ Peak main deferred allocation count 0
281
+ [ALLOC_BUCKET]
282
+ Large Block size 4.0 MB
283
+ Used Block count 1
284
+ Peak Allocated bytes 1.9 MB
285
+ [ALLOC_TYPETREE_MAIN]
286
+ Peak usage frame count: [0-1.0 KB]: 18768 frames
287
+ Requested Block Size 2.0 MB
288
+ Peak Block count 1
289
+ Peak Allocated memory 1.0 KB
290
+ Peak Large allocation bytes 0 B
291
+ [ALLOC_TYPETREE_THREAD]
292
+ Peak usage frame count: [1.0 KB-2.0 KB]: 18768 frames
293
+ Requested Block Size 2.0 MB
294
+ Peak Block count 1
295
+ Peak Allocated memory 1.9 KB
296
+ Peak Large allocation bytes 0 B
297
+ [ALLOC_PROFILER]
298
+ Peak usage frame count: [16.0 KB-32.0 KB]: 18768 frames
299
+ Requested Block Size 16.0 MB
300
+ Peak Block count 1
301
+ Peak Allocated memory 29.5 KB
302
+ Peak Large allocation bytes 0 B
303
+ [ALLOC_PROFILER_BUCKET]
304
+ Large Block size 4.0 MB
305
+ Used Block count 1
306
+ Peak Allocated bytes 396 B
307
+ ##utp:{"type":"MemoryLeaks","version":2,"phase":"Immediate","time":1673805435185,"processId":462956,"allocatedMemory":2209947,"memoryLabels":[{"Default":9033},{"Permanent":1264},{"NewDelete":250507},{"Thread":34516},{"Manager":11727},{"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":3559},{"DynamicArray":30868},{"HashMap":7680},{"Utility":2176},{"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.3336308002471924,
6
+ "min": 0.3336308002471924,
7
+ "max": 1.4739867448806763,
8
+ "count": 33
9
+ },
10
+ "Pyramids.Policy.Entropy.sum": {
11
+ "value": 9928.8525390625,
12
+ "min": 9928.8525390625,
13
+ "max": 44714.86328125,
14
+ "count": 33
15
+ },
16
+ "Pyramids.Step.mean": {
17
+ "value": 989914.0,
18
+ "min": 29952.0,
19
+ "max": 989914.0,
20
+ "count": 33
21
+ },
22
+ "Pyramids.Step.sum": {
23
+ "value": 989914.0,
24
+ "min": 29952.0,
25
+ "max": 989914.0,
26
+ "count": 33
27
+ },
28
+ "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
29
+ "value": 0.6524842977523804,
30
+ "min": -0.1032743901014328,
31
+ "max": 0.7222211360931396,
32
+ "count": 33
33
+ },
34
+ "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
35
+ "value": 185.95802307128906,
36
+ "min": -24.992403030395508,
37
+ "max": 207.2774658203125,
38
+ "count": 33
39
+ },
40
+ "Pyramids.Policy.RndValueEstimate.mean": {
41
+ "value": 0.014233765192329884,
42
+ "min": -0.014584774151444435,
43
+ "max": 0.5624263286590576,
44
+ "count": 33
45
+ },
46
+ "Pyramids.Policy.RndValueEstimate.sum": {
47
+ "value": 4.0566229820251465,
48
+ "min": -4.054567337036133,
49
+ "max": 133.2950439453125,
50
+ "count": 33
51
+ },
52
+ "Pyramids.Losses.PolicyLoss.mean": {
53
+ "value": 0.06715620267839191,
54
+ "min": 0.06391471691916471,
55
+ "max": 0.07474561396761079,
56
+ "count": 33
57
+ },
58
+ "Pyramids.Losses.PolicyLoss.sum": {
59
+ "value": 0.9401868374974868,
60
+ "min": 0.47236056482113614,
61
+ "max": 1.0600206978814837,
62
+ "count": 33
63
+ },
64
+ "Pyramids.Losses.ValueLoss.mean": {
65
+ "value": 0.015102194202599162,
66
+ "min": 0.00021988153755070396,
67
+ "max": 0.018140168579976326,
68
+ "count": 33
69
+ },
70
+ "Pyramids.Losses.ValueLoss.sum": {
71
+ "value": 0.21143071883638828,
72
+ "min": 0.0026385784506084476,
73
+ "max": 0.22722500430616346,
74
+ "count": 33
75
+ },
76
+ "Pyramids.Policy.LearningRate.mean": {
77
+ "value": 7.562433193507139e-06,
78
+ "min": 7.562433193507139e-06,
79
+ "max": 0.00029515063018788575,
80
+ "count": 33
81
+ },
82
+ "Pyramids.Policy.LearningRate.sum": {
83
+ "value": 0.00010587406470909995,
84
+ "min": 0.00010587406470909995,
85
+ "max": 0.0036317920894026992,
86
+ "count": 33
87
+ },
88
+ "Pyramids.Policy.Epsilon.mean": {
89
+ "value": 0.10252077857142858,
90
+ "min": 0.10252077857142858,
91
+ "max": 0.19838354285714285,
92
+ "count": 33
93
+ },
94
+ "Pyramids.Policy.Epsilon.sum": {
95
+ "value": 1.4352909,
96
+ "min": 1.3691136000000002,
97
+ "max": 2.6105973,
98
+ "count": 33
99
+ },
100
+ "Pyramids.Policy.Beta.mean": {
101
+ "value": 0.00026182577928571423,
102
+ "min": 0.00026182577928571423,
103
+ "max": 0.00983851593142857,
104
+ "count": 33
105
+ },
106
+ "Pyramids.Policy.Beta.sum": {
107
+ "value": 0.003665560909999999,
108
+ "min": 0.003665560909999999,
109
+ "max": 0.12107867027000001,
110
+ "count": 33
111
+ },
112
+ "Pyramids.Losses.RNDLoss.mean": {
113
+ "value": 0.013648114167153835,
114
+ "min": 0.013648114167153835,
115
+ "max": 0.729371190071106,
116
+ "count": 33
117
+ },
118
+ "Pyramids.Losses.RNDLoss.sum": {
119
+ "value": 0.19107359647750854,
120
+ "min": 0.19107359647750854,
121
+ "max": 5.105598449707031,
122
+ "count": 33
123
+ },
124
+ "Pyramids.Environment.EpisodeLength.mean": {
125
+ "value": 305.66336633663366,
126
+ "min": 261.74766355140184,
127
+ "max": 999.0,
128
+ "count": 33
129
+ },
130
+ "Pyramids.Environment.EpisodeLength.sum": {
131
+ "value": 30872.0,
132
+ "min": 15984.0,
133
+ "max": 33145.0,
134
+ "count": 33
135
+ },
136
+ "Pyramids.Environment.CumulativeReward.mean": {
137
+ "value": 1.6568646872160482,
138
+ "min": -1.0000000521540642,
139
+ "max": 1.738252324060859,
140
+ "count": 33
141
+ },
142
+ "Pyramids.Environment.CumulativeReward.sum": {
143
+ "value": 169.0001980960369,
144
+ "min": -32.000001668930054,
145
+ "max": 187.07699754834175,
146
+ "count": 33
147
+ },
148
+ "Pyramids.Policy.ExtrinsicReward.mean": {
149
+ "value": 1.6568646872160482,
150
+ "min": -1.0000000521540642,
151
+ "max": 1.738252324060859,
152
+ "count": 33
153
+ },
154
+ "Pyramids.Policy.ExtrinsicReward.sum": {
155
+ "value": 169.0001980960369,
156
+ "min": -32.000001668930054,
157
+ "max": 187.07699754834175,
158
+ "count": 33
159
+ },
160
+ "Pyramids.Policy.RndReward.mean": {
161
+ "value": 0.042576474308803236,
162
+ "min": 0.03839342447463423,
163
+ "max": 15.976162689737976,
164
+ "count": 33
165
+ },
166
+ "Pyramids.Policy.RndReward.sum": {
167
+ "value": 4.34280037949793,
168
+ "min": 4.108096418785863,
169
+ "max": 255.6186030358076,
170
+ "count": 33
171
+ },
172
+ "Pyramids.IsTraining.mean": {
173
+ "value": 1.0,
174
+ "min": 1.0,
175
+ "max": 1.0,
176
+ "count": 33
177
+ },
178
+ "Pyramids.IsTraining.sum": {
179
+ "value": 1.0,
180
+ "min": 1.0,
181
+ "max": 1.0,
182
+ "count": 33
183
+ }
184
+ },
185
+ "metadata": {
186
+ "timer_format_version": "0.1.0",
187
+ "start_time_seconds": "1673803442",
188
+ "python_version": "3.8.16 (default, Dec 7 2022, 01:12:06) \n[GCC 11.3.0]",
189
+ "command_line_arguments": "/home/emmanuel/Documents/code/rl/ml-agents/venv/bin/mlagents-learn ./config/ppo/PyramidsRND.yaml --env=./training-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.20.0",
195
+ "end_time_seconds": "1673805435"
196
+ },
197
+ "total": 1992.2478150590032,
198
+ "count": 1,
199
+ "self": 0.3718441579840146,
200
+ "children": {
201
+ "run_training.setup": {
202
+ "total": 0.25807200200506486,
203
+ "count": 1,
204
+ "self": 0.25807200200506486
205
+ },
206
+ "TrainerController.start_learning": {
207
+ "total": 1991.617898899014,
208
+ "count": 1,
209
+ "self": 1.5770891454594675,
210
+ "children": {
211
+ "TrainerController._reset_env": {
212
+ "total": 1.995607110002311,
213
+ "count": 1,
214
+ "self": 1.995607110002311
215
+ },
216
+ "TrainerController.advance": {
217
+ "total": 1987.8867047335661,
218
+ "count": 64181,
219
+ "self": 1.5895608359423932,
220
+ "children": {
221
+ "env_step": {
222
+ "total": 1147.5368528595136,
223
+ "count": 64181,
224
+ "self": 1056.775928500254,
225
+ "children": {
226
+ "SubprocessEnvManager._take_step": {
227
+ "total": 89.77668651469867,
228
+ "count": 64181,
229
+ "self": 4.4662404021655675,
230
+ "children": {
231
+ "TorchPolicy.evaluate": {
232
+ "total": 85.3104461125331,
233
+ "count": 62557,
234
+ "self": 19.557115692587104,
235
+ "children": {
236
+ "TorchPolicy.sample_actions": {
237
+ "total": 65.753330419946,
238
+ "count": 62557,
239
+ "self": 65.753330419946
240
+ }
241
+ }
242
+ }
243
+ }
244
+ },
245
+ "workers": {
246
+ "total": 0.9842378445609938,
247
+ "count": 64181,
248
+ "self": 0.0,
249
+ "children": {
250
+ "worker_root": {
251
+ "total": 1988.2228884786018,
252
+ "count": 64181,
253
+ "is_parallel": true,
254
+ "self": 1036.3317487975874,
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.002067510999040678,
264
+ "count": 1,
265
+ "is_parallel": true,
266
+ "self": 0.0006967409863136709,
267
+ "children": {
268
+ "_process_rank_one_or_two_observation": {
269
+ "total": 0.0013707700127270073,
270
+ "count": 8,
271
+ "is_parallel": true,
272
+ "self": 0.0013707700127270073
273
+ }
274
+ }
275
+ },
276
+ "UnityEnvironment.step": {
277
+ "total": 0.10326555199571885,
278
+ "count": 1,
279
+ "is_parallel": true,
280
+ "self": 0.0003784889995586127,
281
+ "children": {
282
+ "UnityEnvironment._generate_step_input": {
283
+ "total": 0.0008382520172744989,
284
+ "count": 1,
285
+ "is_parallel": true,
286
+ "self": 0.0008382520172744989
287
+ },
288
+ "communicator.exchange": {
289
+ "total": 0.10093908198177814,
290
+ "count": 1,
291
+ "is_parallel": true,
292
+ "self": 0.10093908198177814
293
+ },
294
+ "steps_from_proto": {
295
+ "total": 0.0011097289971075952,
296
+ "count": 1,
297
+ "is_parallel": true,
298
+ "self": 0.0002831730234902352,
299
+ "children": {
300
+ "_process_rank_one_or_two_observation": {
301
+ "total": 0.00082655597361736,
302
+ "count": 8,
303
+ "is_parallel": true,
304
+ "self": 0.00082655597361736
305
+ }
306
+ }
307
+ }
308
+ }
309
+ }
310
+ }
311
+ },
312
+ "UnityEnvironment.step": {
313
+ "total": 951.8911396810145,
314
+ "count": 64180,
315
+ "is_parallel": true,
316
+ "self": 22.411985482642194,
317
+ "children": {
318
+ "UnityEnvironment._generate_step_input": {
319
+ "total": 16.6701868257951,
320
+ "count": 64180,
321
+ "is_parallel": true,
322
+ "self": 16.6701868257951
323
+ },
324
+ "communicator.exchange": {
325
+ "total": 844.2288554826519,
326
+ "count": 64180,
327
+ "is_parallel": true,
328
+ "self": 844.2288554826519
329
+ },
330
+ "steps_from_proto": {
331
+ "total": 68.58011188992532,
332
+ "count": 64180,
333
+ "is_parallel": true,
334
+ "self": 17.461721953790402,
335
+ "children": {
336
+ "_process_rank_one_or_two_observation": {
337
+ "total": 51.11838993613492,
338
+ "count": 513440,
339
+ "is_parallel": true,
340
+ "self": 51.11838993613492
341
+ }
342
+ }
343
+ }
344
+ }
345
+ }
346
+ }
347
+ }
348
+ }
349
+ }
350
+ }
351
+ },
352
+ "trainer_advance": {
353
+ "total": 838.7602910381102,
354
+ "count": 64181,
355
+ "self": 2.867345807579113,
356
+ "children": {
357
+ "process_trajectory": {
358
+ "total": 148.39430403569713,
359
+ "count": 64181,
360
+ "self": 147.1580371716991,
361
+ "children": {
362
+ "RLTrainer._checkpoint": {
363
+ "total": 1.2362668639980257,
364
+ "count": 2,
365
+ "self": 1.2362668639980257
366
+ }
367
+ }
368
+ },
369
+ "_update_policy": {
370
+ "total": 687.4986411948339,
371
+ "count": 450,
372
+ "self": 217.11618643419934,
373
+ "children": {
374
+ "TorchPPOOptimizer.update": {
375
+ "total": 470.3824547606346,
376
+ "count": 22791,
377
+ "self": 470.3824547606346
378
+ }
379
+ }
380
+ }
381
+ }
382
+ }
383
+ }
384
+ },
385
+ "trainer_threads": {
386
+ "total": 1.000997144728899e-06,
387
+ "count": 1,
388
+ "self": 1.000997144728899e-06
389
+ },
390
+ "TrainerController._save_models": {
391
+ "total": 0.15849690898903646,
392
+ "count": 1,
393
+ "self": 0.0015820829721633345,
394
+ "children": {
395
+ "RLTrainer._checkpoint": {
396
+ "total": 0.15691482601687312,
397
+ "count": 1,
398
+ "self": 0.15691482601687312
399
+ }
400
+ }
401
+ }
402
+ }
403
+ }
404
+ }
405
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Pyramids": {
3
+ "checkpoints": [
4
+ {
5
+ "steps": 499885,
6
+ "file_path": "results/Pyramids Training/Pyramids/Pyramids-499885.onnx",
7
+ "reward": 1.5743333101272583,
8
+ "creation_time": 1673804440.9289463,
9
+ "auxillary_file_paths": [
10
+ "results/Pyramids Training/Pyramids/Pyramids-499885.pt"
11
+ ]
12
+ },
13
+ {
14
+ "steps": 999886,
15
+ "file_path": "results/Pyramids Training/Pyramids/Pyramids-999886.onnx",
16
+ "reward": 1.7849999815225601,
17
+ "creation_time": 1673805434.6301,
18
+ "auxillary_file_paths": [
19
+ "results/Pyramids Training/Pyramids/Pyramids-999886.pt"
20
+ ]
21
+ },
22
+ {
23
+ "steps": 1000014,
24
+ "file_path": "results/Pyramids Training/Pyramids/Pyramids-1000014.onnx",
25
+ "reward": 1.7849999815225601,
26
+ "creation_time": 1673805434.838566,
27
+ "auxillary_file_paths": [
28
+ "results/Pyramids Training/Pyramids/Pyramids-1000014.pt"
29
+ ]
30
+ }
31
+ ],
32
+ "final_checkpoint": {
33
+ "steps": 1000014,
34
+ "file_path": "results/Pyramids Training/Pyramids.onnx",
35
+ "reward": 1.7849999815225601,
36
+ "creation_time": 1673805434.838566,
37
+ "auxillary_file_paths": [
38
+ "results/Pyramids Training/Pyramids/Pyramids-1000014.pt"
39
+ ]
40
+ }
41
+ },
42
+ "metadata": {
43
+ "stats_format_version": "0.3.0",
44
+ "mlagents_version": "0.29.0.dev0",
45
+ "torch_version": "1.8.1+cu102"
46
+ }
47
+ }