Lethargus commited on
Commit
c8125b4
·
1 Parent(s): 2bbf374

First Push

Browse files
Pyramids.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e237ba2b4e9a2c9ea582109997767b4fb89e1c6cfdfb8aac7f5693fd35899a0e
3
+ size 1420237
Pyramids/Pyramids-1000100.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e237ba2b4e9a2c9ea582109997767b4fb89e1c6cfdfb8aac7f5693fd35899a0e
3
+ size 1420237
Pyramids/Pyramids-1000100.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d74fa31e33e4e67ea79c637a9001050d2eab9db5160b7a9fb90a19f4e7ede6ae
3
+ size 8655801
Pyramids/Pyramids-499920.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a40c4f67a68451c462de51943f158ff36689574d54e999fa7fef5c564a13272
3
+ size 1420237
Pyramids/Pyramids-499920.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:839eabed8388404b70c10bece0eef2e296ebf02f476fddda8ce3eb66b6d6063a
3
+ size 8655724
Pyramids/Pyramids-999972.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e237ba2b4e9a2c9ea582109997767b4fb89e1c6cfdfb8aac7f5693fd35899a0e
3
+ size 1420237
Pyramids/Pyramids-999972.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a96fd572034915c4c5f94e898cf64f6a5ddcef76e63f0a3fe0e140b0ad491a5
3
+ size 8655724
Pyramids/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4fe44986050b8fb7816e154db406f191608492d366ff95ff2b2813fb5c858d72
3
+ size 8655339
Pyramids/events.out.tfevents.1694539621.vmgaming.11316.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e02f26637566be6eb157d91257497ef392c6a7c83912c57bd61b8a92270e624
3
+ size 147605
Pyramids/events.out.tfevents.1694541436.vmgaming.19840.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:db98459ea851432ed7ed728901a10defc927f5ceedf73b5a80d561e9b4e0ddad
3
+ size 167926
README.md ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: ml-agents
3
+ tags:
4
+ - Pyramids
5
+ - deep-reinforcement-learning
6
+ - reinforcement-learning
7
+ - ML-Agents-Pyramids
8
+ ---
9
+
10
+ # **ppo** Agent playing **Pyramids**
11
+ This is a trained model of a **ppo** agent playing **Pyramids**
12
+ using the [Unity ML-Agents Library](https://github.com/Unity-Technologies/ml-agents).
13
+
14
+ ## Usage (with ML-Agents)
15
+ The Documentation: https://unity-technologies.github.io/ml-agents/ML-Agents-Toolkit-Documentation/
16
+
17
+ We wrote a complete tutorial to learn to train your first agent using ML-Agents and publish it to the Hub:
18
+ - A *short tutorial* where you teach Huggy the Dog 🐶 to fetch the stick and then play with him directly in your
19
+ browser: https://huggingface.co/learn/deep-rl-course/unitbonus1/introduction
20
+ - A *longer tutorial* to understand how works ML-Agents:
21
+ https://huggingface.co/learn/deep-rl-course/unit5/introduction
22
+
23
+ ### Resume the training
24
+ ```bash
25
+ mlagents-learn <your_configuration_file_path.yaml> --run-id=<run_id> --resume
26
+ ```
27
+
28
+ ### Watch your Agent play
29
+ You can watch your agent **playing directly in your browser**
30
+
31
+ 1. If the environment is part of ML-Agents official environments, go to https://huggingface.co/unity
32
+ 2. Step 1: Find your model_id: Lethargus/Pyramids
33
+ 3. Step 2: Select your *.nn /*.onnx file
34
+ 4. Click on Watch the agent play 👀
35
+
config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"default_settings": null, "behaviors": {"Pyramids": {"trainer_type": "ppo", "hyperparameters": {"batch_size": 128, "buffer_size": 2048, "learning_rate": 0.0003, "beta": 0.01, "epsilon": 0.2, "lambd": 0.95, "num_epoch": 3, "shared_critic": false, "learning_rate_schedule": "linear", "beta_schedule": "linear", "epsilon_schedule": "linear"}, "checkpoint_interval": 500000, "network_settings": {"normalize": false, "hidden_units": 512, "num_layers": 2, "vis_encode_type": "simple", "memory": null, "goal_conditioning_type": "hyper", "deterministic": false}, "reward_signals": {"extrinsic": {"gamma": 0.99, "strength": 1.0, "network_settings": {"normalize": false, "hidden_units": 128, "num_layers": 2, "vis_encode_type": "simple", "memory": null, "goal_conditioning_type": "hyper", "deterministic": false}}, "rnd": {"gamma": 0.99, "strength": 0.01, "network_settings": {"normalize": false, "hidden_units": 64, "num_layers": 3, "vis_encode_type": "simple", "memory": null, "goal_conditioning_type": "hyper", "deterministic": false}, "learning_rate": 0.0001, "encoding_size": null}}, "init_path": null, "keep_checkpoints": 5, "even_checkpoints": false, "max_steps": 1000000, "time_horizon": 128, "summary_freq": 30000, "threaded": false, "self_play": null, "behavioral_cloning": null}}, "env_settings": {"env_path": "../Pyramids/UnityEnvironment.exe", "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": true, "force": false, "train_model": false, "inference": false, "results_dir": "results"}, "torch_settings": {"device": null}, "debug": false}
configuration.yaml ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ default_settings: null
2
+ behaviors:
3
+ Pyramids:
4
+ trainer_type: ppo
5
+ hyperparameters:
6
+ batch_size: 128
7
+ buffer_size: 2048
8
+ learning_rate: 0.0003
9
+ beta: 0.01
10
+ epsilon: 0.2
11
+ lambd: 0.95
12
+ num_epoch: 3
13
+ shared_critic: false
14
+ learning_rate_schedule: linear
15
+ beta_schedule: linear
16
+ epsilon_schedule: linear
17
+ checkpoint_interval: 500000
18
+ network_settings:
19
+ normalize: false
20
+ hidden_units: 512
21
+ num_layers: 2
22
+ vis_encode_type: simple
23
+ memory: null
24
+ goal_conditioning_type: hyper
25
+ deterministic: false
26
+ reward_signals:
27
+ extrinsic:
28
+ gamma: 0.99
29
+ strength: 1.0
30
+ network_settings:
31
+ normalize: false
32
+ hidden_units: 128
33
+ num_layers: 2
34
+ vis_encode_type: simple
35
+ memory: null
36
+ goal_conditioning_type: hyper
37
+ deterministic: false
38
+ rnd:
39
+ gamma: 0.99
40
+ strength: 0.01
41
+ network_settings:
42
+ normalize: false
43
+ hidden_units: 64
44
+ num_layers: 3
45
+ vis_encode_type: simple
46
+ memory: null
47
+ goal_conditioning_type: hyper
48
+ deterministic: false
49
+ learning_rate: 0.0001
50
+ encoding_size: null
51
+ init_path: null
52
+ keep_checkpoints: 5
53
+ even_checkpoints: false
54
+ max_steps: 1000000
55
+ time_horizon: 128
56
+ summary_freq: 30000
57
+ threaded: false
58
+ self_play: null
59
+ behavioral_cloning: null
60
+ env_settings:
61
+ env_path: ../Pyramids/UnityEnvironment.exe
62
+ env_args: null
63
+ base_port: 5005
64
+ num_envs: 1
65
+ num_areas: 1
66
+ seed: -1
67
+ max_lifetime_restarts: 10
68
+ restarts_rate_limit_n: 1
69
+ restarts_rate_limit_period_s: 60
70
+ engine_settings:
71
+ width: 84
72
+ height: 84
73
+ quality_level: 5
74
+ time_scale: 20
75
+ target_frame_rate: -1
76
+ capture_frame_rate: 60
77
+ no_graphics: true
78
+ environment_parameters: null
79
+ checkpoint_settings:
80
+ run_id: Pyramids Training
81
+ initialize_from: null
82
+ load_model: false
83
+ resume: true
84
+ force: false
85
+ train_model: false
86
+ inference: false
87
+ results_dir: results
88
+ torch_settings:
89
+ device: null
90
+ debug: false
run_logs/Player-0.log ADDED
@@ -0,0 +1,282 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = 'C:/Users/bdonn/Documents/DRL-Explore/Pyramids/UnityEnvironment_Data/Managed'
2
+ Mono config path = 'C:/Users/bdonn/Documents/DRL-Explore/Pyramids/MonoBleedingEdge/etc'
3
+ [Physics::Module] Initialized MultithreadedJobDispatcher with 3 workers.
4
+ Initialize engine version: 2023.1.12f1 (38370f5b2257)
5
+ [Subsystems] Discovering subsystems at path C:/Users/bdonn/Documents/DRL-Explore/Pyramids/UnityEnvironment_Data/UnitySubsystems
6
+ Forcing GfxDevice: Null
7
+ GfxDevice: creating device client; threaded=0; jobified=0
8
+ NullGfxDevice:
9
+ Version: NULL 1.0 [1.0]
10
+ Renderer: Null Device
11
+ Vendor: Unity Technologies
12
+ Begin MonoManager ReloadAssembly
13
+ C:\build\output\Unity-Technologies\mono\mono\metadata\icall.c:1842:
14
+ C:\build\output\Unity-Technologies\mono\mono\metadata\icall.c:1842:
15
+ C:\build\output\Unity-Technologies\mono\mono\metadata\icall.c:1842:
16
+ C:\build\output\Unity-Technologies\mono\mono\metadata\icall.c:1842:
17
+ C:\build\output\Unity-Technologies\mono\mono\metadata\icall.c:1842:
18
+ C:\build\output\Unity-Technologies\mono\mono\metadata\icall.c:1842:
19
+ C:\build\output\Unity-Technologies\mono\mono\metadata\icall.c:1842:
20
+ C:\build\output\Unity-Technologies\mono\mono\metadata\icall.c:1842:
21
+ C:\build\output\Unity-Technologies\mono\mono\metadata\icall.c:1842:
22
+ - Loaded All Assemblies, in 0.136 seconds
23
+ C:\build\output\Unity-Technologies\mono\mono\metadata\icall.c:1842:
24
+ C:\build\output\Unity-Technologies\mono\mono\metadata\icall.c:1842:
25
+ - Finished resetting the current domain, in 0.002 seconds
26
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
27
+ Microsoft Media Foundation video decoding to texture disabled: graphics device is Null, only Direct3D 11 and Direct3D 12 (only on desktop) are supported for hardware-accelerated video decoding.
28
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
29
+ ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
30
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - 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 Autodesk Interactive shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
34
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - 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: 'Legacy Shaders/Diffuse' - 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 Legacy Shaders/Diffuse shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
41
+ WARNING: Shader Unsupported: 'Legacy Shaders/Diffuse' - 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: 'ML-Agents/GridPattern' - 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 ML-Agents/GridPattern shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
48
+ WARNING: Shader Unsupported: 'ML-Agents/GridPattern' - 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
+ WARNING: Shader Unsupported: 'Standard' - 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
+ ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
55
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
56
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
57
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
58
+ UnloadTime: 0.677900 ms
59
+ Registered Communicator in Agent.
60
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
61
+ Setting up 2 worker threads for Enlighten.
62
+ Memory Statistics:
63
+ [ALLOC_TEMP_TLS] TLS Allocator
64
+ StackAllocators :
65
+ [ALLOC_TEMP_MAIN]
66
+ Peak usage frame count: [1.0 KB-2.0 KB]: 7845 frames, [64.0 KB-128.0 KB]: 1548 frames, [2.0 MB-4.0 MB]: 1 frames
67
+ Initial Block Size 4.0 MB
68
+ Current Block Size 4.0 MB
69
+ Peak Allocated Bytes 2.0 MB
70
+ Overflow Count 0
71
+ [ALLOC_TEMP_Background Job.worker 4]
72
+ Initial Block Size 32.0 KB
73
+ Current Block Size 32.0 KB
74
+ Peak Allocated Bytes 66 B
75
+ Overflow Count 0
76
+ [ALLOC_TEMP_Loading.PreloadManager]
77
+ Initial Block Size 256.0 KB
78
+ Current Block Size 312.0 KB
79
+ Peak Allocated Bytes 244.3 KB
80
+ Overflow Count 5
81
+ [ALLOC_TEMP_Background Job.worker 3]
82
+ Initial Block Size 32.0 KB
83
+ Current Block Size 32.0 KB
84
+ Peak Allocated Bytes 66 B
85
+ Overflow Count 0
86
+ [ALLOC_TEMP_Background Job.worker 11]
87
+ Initial Block Size 32.0 KB
88
+ Current Block Size 32.0 KB
89
+ Peak Allocated Bytes 66 B
90
+ Overflow Count 0
91
+ [ALLOC_TEMP_Background Job.worker 7]
92
+ Initial Block Size 32.0 KB
93
+ Current Block Size 32.0 KB
94
+ Peak Allocated Bytes 66 B
95
+ Overflow Count 0
96
+ [ALLOC_TEMP_Background Job.worker 6]
97
+ Initial Block Size 32.0 KB
98
+ Current Block Size 32.0 KB
99
+ Peak Allocated Bytes 66 B
100
+ Overflow Count 0
101
+ [ALLOC_TEMP_Background Job.worker 12]
102
+ Initial Block Size 32.0 KB
103
+ Current Block Size 32.0 KB
104
+ Peak Allocated Bytes 66 B
105
+ Overflow Count 0
106
+ [ALLOC_TEMP_Background Job.worker 2]
107
+ Initial Block Size 32.0 KB
108
+ Current Block Size 32.0 KB
109
+ Peak Allocated Bytes 66 B
110
+ Overflow Count 0
111
+ [ALLOC_TEMP_Background Job.worker 9]
112
+ Initial Block Size 32.0 KB
113
+ Current Block Size 32.0 KB
114
+ Peak Allocated Bytes 66 B
115
+ Overflow Count 0
116
+ [ALLOC_TEMP_Job.worker 0]
117
+ Initial Block Size 256.0 KB
118
+ Current Block Size 256.0 KB
119
+ Peak Allocated Bytes 0 B
120
+ Overflow Count 0
121
+ [ALLOC_TEMP_Background Job.worker 10]
122
+ Initial Block Size 32.0 KB
123
+ Current Block Size 32.0 KB
124
+ Peak Allocated Bytes 66 B
125
+ Overflow Count 0
126
+ [ALLOC_TEMP_Background Job.worker 8]
127
+ Initial Block Size 32.0 KB
128
+ Current Block Size 32.0 KB
129
+ Peak Allocated Bytes 66 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 66 B
135
+ Overflow Count 0
136
+ [ALLOC_TEMP_Background Job.worker 1]
137
+ Initial Block Size 32.0 KB
138
+ Current Block Size 32.0 KB
139
+ Peak Allocated Bytes 66 B
140
+ Overflow Count 0
141
+ [ALLOC_TEMP_EnlightenWorker] x 2
142
+ Initial Block Size 64.0 KB
143
+ Current Block Size 64.0 KB
144
+ Peak Allocated Bytes 0 B
145
+ Overflow Count 0
146
+ [ALLOC_TEMP_Job.worker 1]
147
+ Initial Block Size 256.0 KB
148
+ Current Block Size 256.0 KB
149
+ Peak Allocated Bytes 0.8 KB
150
+ Overflow Count 0
151
+ [ALLOC_TEMP_Background Job.worker 13]
152
+ Initial Block Size 32.0 KB
153
+ Current Block Size 32.0 KB
154
+ Peak Allocated Bytes 66 B
155
+ Overflow Count 0
156
+ [ALLOC_TEMP_Background Job.worker 5]
157
+ Initial Block Size 32.0 KB
158
+ Current Block Size 32.0 KB
159
+ Peak Allocated Bytes 66 B
160
+ Overflow Count 0
161
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 3
162
+ Initial Block Size 64.0 KB
163
+ Current Block Size 64.0 KB
164
+ Peak Allocated Bytes 66 B
165
+ Overflow Count 0
166
+ [ALLOC_TEMP_Job.worker 2]
167
+ Initial Block Size 256.0 KB
168
+ Current Block Size 256.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 66 B
175
+ Overflow Count 0
176
+ [ALLOC_TEMP_Background Job.worker 14]
177
+ Initial Block Size 32.0 KB
178
+ Current Block Size 32.0 KB
179
+ Peak Allocated Bytes 66 B
180
+ Overflow Count 0
181
+ [ALLOC_TEMP_Loading.AsyncRead]
182
+ Initial Block Size 64.0 KB
183
+ Current Block Size 64.0 KB
184
+ Peak Allocated Bytes 297 B
185
+ Overflow Count 0
186
+ [ALLOC_TEMP_BatchDeleteObjects]
187
+ Initial Block Size 64.0 KB
188
+ Current Block Size 64.0 KB
189
+ Peak Allocated Bytes 66 B
190
+ Overflow Count 0
191
+ [ALLOC_DEFAULT] Dual Thread Allocator
192
+ Peak main deferred allocation count 4767
193
+ [ALLOC_BUCKET]
194
+ Large Block size 4.0 MB
195
+ Used Block count 1
196
+ Peak Allocated bytes 2.3 MB
197
+ [ALLOC_DEFAULT_MAIN]
198
+ Peak usage frame count: [32.0 MB-64.0 MB]: 9394 frames
199
+ Requested Block Size 16.0 MB
200
+ Peak Block count 3
201
+ Peak Allocated memory 45.4 MB
202
+ Peak Large allocation bytes 16.0 MB
203
+ [ALLOC_DEFAULT_THREAD]
204
+ Peak usage frame count: [4.0 MB-8.0 MB]: 1 frames, [8.0 MB-16.0 MB]: 9393 frames
205
+ Requested Block Size 16.0 MB
206
+ Peak Block count 1
207
+ Peak Allocated memory 14.4 MB
208
+ Peak Large allocation bytes 0 B
209
+ [ALLOC_TEMP_JOB_1_FRAME]
210
+ Initial Block Size 2.0 MB
211
+ Used Block Count 1
212
+ Overflow Count (too large) 0
213
+ Overflow Count (full) 0
214
+ [ALLOC_TEMP_JOB_2_FRAMES]
215
+ Initial Block Size 2.0 MB
216
+ Used Block Count 0
217
+ Overflow Count (too large) 0
218
+ Overflow Count (full) 0
219
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
220
+ Initial Block Size 2.0 MB
221
+ Used Block Count 1
222
+ Overflow Count (too large) 0
223
+ Overflow Count (full) 0
224
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
225
+ Initial Block Size 1.0 MB
226
+ Used Block Count 1
227
+ Overflow Count (too large) 0
228
+ Overflow Count (full) 0
229
+ [ALLOC_GFX] Dual Thread Allocator
230
+ Peak main deferred allocation count 0
231
+ [ALLOC_BUCKET]
232
+ Large Block size 4.0 MB
233
+ Used Block count 1
234
+ Peak Allocated bytes 2.3 MB
235
+ [ALLOC_GFX_MAIN]
236
+ Peak usage frame count: [32.0 KB-64.0 KB]: 9393 frames, [64.0 KB-128.0 KB]: 1 frames
237
+ Requested Block Size 16.0 MB
238
+ Peak Block count 1
239
+ Peak Allocated memory 66.3 KB
240
+ Peak Large allocation bytes 0 B
241
+ [ALLOC_GFX_THREAD]
242
+ Peak usage frame count: [64.0 KB-128.0 KB]: 9394 frames
243
+ Requested Block Size 16.0 MB
244
+ Peak Block count 1
245
+ Peak Allocated memory 66.8 KB
246
+ Peak Large allocation bytes 0 B
247
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
248
+ Peak main deferred allocation count 3
249
+ [ALLOC_BUCKET]
250
+ Large Block size 4.0 MB
251
+ Used Block count 1
252
+ Peak Allocated bytes 2.3 MB
253
+ [ALLOC_CACHEOBJECTS_MAIN]
254
+ Peak usage frame count: [0.5 MB-1.0 MB]: 46 frames, [1.0 MB-2.0 MB]: 9348 frames
255
+ Requested Block Size 4.0 MB
256
+ Peak Block count 1
257
+ Peak Allocated memory 1.5 MB
258
+ Peak Large allocation bytes 0 B
259
+ [ALLOC_CACHEOBJECTS_THREAD]
260
+ Peak usage frame count: [1.0 MB-2.0 MB]: 9393 frames, [2.0 MB-4.0 MB]: 1 frames
261
+ Requested Block Size 4.0 MB
262
+ Peak Block count 1
263
+ Peak Allocated memory 3.8 MB
264
+ Peak Large allocation bytes 0 B
265
+ [ALLOC_TYPETREE] Dual Thread Allocator
266
+ Peak main deferred allocation count 0
267
+ [ALLOC_BUCKET]
268
+ Large Block size 4.0 MB
269
+ Used Block count 1
270
+ Peak Allocated bytes 2.3 MB
271
+ [ALLOC_TYPETREE_MAIN]
272
+ Peak usage frame count: [4.0 KB-8.0 KB]: 9394 frames
273
+ Requested Block Size 2.0 MB
274
+ Peak Block count 1
275
+ Peak Allocated memory 4.1 KB
276
+ Peak Large allocation bytes 0 B
277
+ [ALLOC_TYPETREE_THREAD]
278
+ Peak usage frame count: [1.0 KB-2.0 KB]: 9394 frames
279
+ Requested Block Size 2.0 MB
280
+ Peak Block count 1
281
+ Peak Allocated memory 1.9 KB
282
+ Peak Large allocation bytes 0 B
run_logs/timers.json ADDED
@@ -0,0 +1,356 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "Pyramids.Policy.Entropy.mean": {
5
+ "value": 0.4531543254852295,
6
+ "min": 0.4531543254852295,
7
+ "max": 1.0132265090942383,
8
+ "count": 17
9
+ },
10
+ "Pyramids.Policy.Entropy.sum": {
11
+ "value": 13427.869140625,
12
+ "min": 10796.94140625,
13
+ "max": 30436.46875,
14
+ "count": 17
15
+ },
16
+ "Pyramids.Step.mean": {
17
+ "value": 989961.0,
18
+ "min": 509993.0,
19
+ "max": 989961.0,
20
+ "count": 17
21
+ },
22
+ "Pyramids.Step.sum": {
23
+ "value": 989961.0,
24
+ "min": 509993.0,
25
+ "max": 989961.0,
26
+ "count": 17
27
+ },
28
+ "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
29
+ "value": 0.314156711101532,
30
+ "min": -0.020626777783036232,
31
+ "max": 0.3798234164714813,
32
+ "count": 17
33
+ },
34
+ "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
35
+ "value": 82.3090591430664,
36
+ "min": -1.6707689762115479,
37
+ "max": 98.75408935546875,
38
+ "count": 17
39
+ },
40
+ "Pyramids.Policy.RndValueEstimate.mean": {
41
+ "value": -0.033712223172187805,
42
+ "min": -0.033712223172187805,
43
+ "max": 0.04274001717567444,
44
+ "count": 17
45
+ },
46
+ "Pyramids.Policy.RndValueEstimate.sum": {
47
+ "value": -8.832602500915527,
48
+ "min": -8.832602500915527,
49
+ "max": 11.069664001464844,
50
+ "count": 17
51
+ },
52
+ "Pyramids.Environment.EpisodeLength.mean": {
53
+ "value": 486.42622950819674,
54
+ "min": 309.25,
55
+ "max": 834.025641025641,
56
+ "count": 17
57
+ },
58
+ "Pyramids.Environment.EpisodeLength.sum": {
59
+ "value": 29672.0,
60
+ "min": 1237.0,
61
+ "max": 32696.0,
62
+ "count": 17
63
+ },
64
+ "Pyramids.Environment.CumulativeReward.mean": {
65
+ "value": 1.1856098056572382,
66
+ "min": -0.11661030103762944,
67
+ "max": 1.690750002861023,
68
+ "count": 17
69
+ },
70
+ "Pyramids.Environment.CumulativeReward.sum": {
71
+ "value": 72.32219814509153,
72
+ "min": -4.547801740467548,
73
+ "max": 83.06279814988375,
74
+ "count": 17
75
+ },
76
+ "Pyramids.Policy.ExtrinsicReward.mean": {
77
+ "value": 1.1856098056572382,
78
+ "min": -0.11661030103762944,
79
+ "max": 1.690750002861023,
80
+ "count": 17
81
+ },
82
+ "Pyramids.Policy.ExtrinsicReward.sum": {
83
+ "value": 72.32219814509153,
84
+ "min": -4.547801740467548,
85
+ "max": 83.06279814988375,
86
+ "count": 17
87
+ },
88
+ "Pyramids.Policy.RndReward.mean": {
89
+ "value": 0.06454847306852825,
90
+ "min": 0.051007845118874684,
91
+ "max": 0.12605790901579894,
92
+ "count": 17
93
+ },
94
+ "Pyramids.Policy.RndReward.sum": {
95
+ "value": 3.937456857180223,
96
+ "min": 0.20403138047549874,
97
+ "max": 5.042316360631958,
98
+ "count": 17
99
+ },
100
+ "Pyramids.Losses.PolicyLoss.mean": {
101
+ "value": 0.06812104680284393,
102
+ "min": 0.06629444303351203,
103
+ "max": 0.07307606635534865,
104
+ "count": 17
105
+ },
106
+ "Pyramids.Losses.PolicyLoss.sum": {
107
+ "value": 0.953694655239815,
108
+ "min": 0.2923042654213946,
109
+ "max": 1.0957097937838018,
110
+ "count": 17
111
+ },
112
+ "Pyramids.Losses.ValueLoss.mean": {
113
+ "value": 0.013116745470878889,
114
+ "min": 0.0026308059390371535,
115
+ "max": 0.014184579108890222,
116
+ "count": 17
117
+ },
118
+ "Pyramids.Losses.ValueLoss.sum": {
119
+ "value": 0.18363443659230444,
120
+ "min": 0.010523223756148614,
121
+ "max": 0.19858410752446312,
122
+ "count": 17
123
+ },
124
+ "Pyramids.Policy.LearningRate.mean": {
125
+ "value": 7.550047483350001e-06,
126
+ "min": 7.550047483350001e-06,
127
+ "max": 0.00014832387555872498,
128
+ "count": 17
129
+ },
130
+ "Pyramids.Policy.LearningRate.sum": {
131
+ "value": 0.00010570066476690001,
132
+ "min": 0.00010570066476690001,
133
+ "max": 0.0018691090769639,
134
+ "count": 17
135
+ },
136
+ "Pyramids.Policy.Epsilon.mean": {
137
+ "value": 0.10251664999999999,
138
+ "min": 0.10251664999999999,
139
+ "max": 0.14944127500000004,
140
+ "count": 17
141
+ },
142
+ "Pyramids.Policy.Epsilon.sum": {
143
+ "value": 1.4352330999999998,
144
+ "min": 0.5977651000000002,
145
+ "max": 2.0230361000000006,
146
+ "count": 17
147
+ },
148
+ "Pyramids.Policy.Beta.mean": {
149
+ "value": 0.00026141333500000007,
150
+ "min": 0.00026141333500000007,
151
+ "max": 0.0049491833725,
152
+ "count": 17
153
+ },
154
+ "Pyramids.Policy.Beta.sum": {
155
+ "value": 0.003659786690000001,
156
+ "min": 0.003659786690000001,
157
+ "max": 0.06238130639,
158
+ "count": 17
159
+ },
160
+ "Pyramids.Losses.RNDLoss.mean": {
161
+ "value": 0.012849760241806507,
162
+ "min": 0.011811994947493076,
163
+ "max": 0.015293809585273266,
164
+ "count": 17
165
+ },
166
+ "Pyramids.Losses.RNDLoss.sum": {
167
+ "value": 0.17989663779735565,
168
+ "min": 0.05437934026122093,
169
+ "max": 0.21411333978176117,
170
+ "count": 17
171
+ },
172
+ "Pyramids.IsTraining.mean": {
173
+ "value": 1.0,
174
+ "min": 1.0,
175
+ "max": 1.0,
176
+ "count": 17
177
+ },
178
+ "Pyramids.IsTraining.sum": {
179
+ "value": 1.0,
180
+ "min": 1.0,
181
+ "max": 1.0,
182
+ "count": 17
183
+ }
184
+ },
185
+ "metadata": {
186
+ "timer_format_version": "0.1.0",
187
+ "start_time_seconds": "1694541431",
188
+ "python_version": "3.10.12 | packaged by Anaconda, Inc. | (main, Jul 5 2023, 19:01:18) [MSC v.1916 64 bit (AMD64)]",
189
+ "command_line_arguments": "\\\\?\\C:\\Users\\bdonn\\miniconda3\\envs\\DRL\\Scripts\\mlagents-learn ./config/ppo/PyramidsRND.yaml --env=../Pyramids/UnityEnvironment.exe --run-id=Pyramids Training --no-graphics --resume",
190
+ "mlagents_version": "0.31.0.dev0",
191
+ "mlagents_envs_version": "0.31.0.dev0",
192
+ "communication_protocol_version": "1.5.0",
193
+ "pytorch_version": "2.0.1",
194
+ "numpy_version": "1.25.2",
195
+ "end_time_seconds": "1694542605"
196
+ },
197
+ "total": 1173.3677240000106,
198
+ "count": 1,
199
+ "self": 0.3613532001618296,
200
+ "children": {
201
+ "run_training.setup": {
202
+ "total": 0.17205539997667074,
203
+ "count": 1,
204
+ "self": 0.17205539997667074
205
+ },
206
+ "TrainerController.start_learning": {
207
+ "total": 1172.8343153998721,
208
+ "count": 1,
209
+ "self": 1.0854164024349302,
210
+ "children": {
211
+ "TrainerController._reset_env": {
212
+ "total": 6.197830699849874,
213
+ "count": 1,
214
+ "self": 6.197830699849874
215
+ },
216
+ "TrainerController.advance": {
217
+ "total": 1165.4142691974994,
218
+ "count": 31986,
219
+ "self": 0.9317487992811948,
220
+ "children": {
221
+ "env_step": {
222
+ "total": 654.2052320900839,
223
+ "count": 31986,
224
+ "self": 524.4149543903768,
225
+ "children": {
226
+ "SubprocessEnvManager._take_step": {
227
+ "total": 129.08072021254338,
228
+ "count": 31986,
229
+ "self": 2.8359906140249223,
230
+ "children": {
231
+ "TorchPolicy.evaluate": {
232
+ "total": 126.24472959851846,
233
+ "count": 31312,
234
+ "self": 126.24472959851846
235
+ }
236
+ }
237
+ },
238
+ "workers": {
239
+ "total": 0.7095574871636927,
240
+ "count": 31986,
241
+ "self": 0.0,
242
+ "children": {
243
+ "worker_root": {
244
+ "total": 1166.8321079106536,
245
+ "count": 31986,
246
+ "is_parallel": true,
247
+ "self": 713.9999165155459,
248
+ "children": {
249
+ "steps_from_proto": {
250
+ "total": 0.0012974001001566648,
251
+ "count": 1,
252
+ "is_parallel": true,
253
+ "self": 0.0003544003702700138,
254
+ "children": {
255
+ "_process_rank_one_or_two_observation": {
256
+ "total": 0.000942999729886651,
257
+ "count": 8,
258
+ "is_parallel": true,
259
+ "self": 0.000942999729886651
260
+ }
261
+ }
262
+ },
263
+ "UnityEnvironment.step": {
264
+ "total": 452.8308939950075,
265
+ "count": 31986,
266
+ "is_parallel": true,
267
+ "self": 11.983218401670456,
268
+ "children": {
269
+ "UnityEnvironment._generate_step_input": {
270
+ "total": 9.725233814446256,
271
+ "count": 31986,
272
+ "is_parallel": true,
273
+ "self": 9.725233814446256
274
+ },
275
+ "communicator.exchange": {
276
+ "total": 396.8172612024937,
277
+ "count": 31986,
278
+ "is_parallel": true,
279
+ "self": 396.8172612024937
280
+ },
281
+ "steps_from_proto": {
282
+ "total": 34.305180576397106,
283
+ "count": 31986,
284
+ "is_parallel": true,
285
+ "self": 7.4639062327332795,
286
+ "children": {
287
+ "_process_rank_one_or_two_observation": {
288
+ "total": 26.841274343663827,
289
+ "count": 255888,
290
+ "is_parallel": true,
291
+ "self": 26.841274343663827
292
+ }
293
+ }
294
+ }
295
+ }
296
+ }
297
+ }
298
+ }
299
+ }
300
+ }
301
+ }
302
+ },
303
+ "trainer_advance": {
304
+ "total": 510.2772883081343,
305
+ "count": 31986,
306
+ "self": 2.3398887978401035,
307
+ "children": {
308
+ "process_trajectory": {
309
+ "total": 98.11965311155654,
310
+ "count": 31986,
311
+ "self": 97.80131631135009,
312
+ "children": {
313
+ "RLTrainer._checkpoint": {
314
+ "total": 0.3183368002064526,
315
+ "count": 2,
316
+ "self": 0.3183368002064526
317
+ }
318
+ }
319
+ },
320
+ "_update_policy": {
321
+ "total": 409.81774639873765,
322
+ "count": 234,
323
+ "self": 222.75601530075073,
324
+ "children": {
325
+ "TorchPPOOptimizer.update": {
326
+ "total": 187.06173109798692,
327
+ "count": 11346,
328
+ "self": 187.06173109798692
329
+ }
330
+ }
331
+ }
332
+ }
333
+ }
334
+ }
335
+ },
336
+ "trainer_threads": {
337
+ "total": 1.00000761449337e-06,
338
+ "count": 1,
339
+ "self": 1.00000761449337e-06
340
+ },
341
+ "TrainerController._save_models": {
342
+ "total": 0.1367981000803411,
343
+ "count": 1,
344
+ "self": 0.016386400209739804,
345
+ "children": {
346
+ "RLTrainer._checkpoint": {
347
+ "total": 0.1204116998706013,
348
+ "count": 1,
349
+ "self": 0.1204116998706013
350
+ }
351
+ }
352
+ }
353
+ }
354
+ }
355
+ }
356
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "stats_format_version": "0.3.0",
4
+ "mlagents_version": "0.31.0.dev0",
5
+ "torch_version": "2.0.1"
6
+ },
7
+ "Pyramids": {
8
+ "checkpoints": [
9
+ {
10
+ "steps": 499920,
11
+ "file_path": "results\\Pyramids Training\\Pyramids\\Pyramids-499920.onnx",
12
+ "reward": null,
13
+ "creation_time": 1694541442.2888396,
14
+ "auxillary_file_paths": [
15
+ "results\\Pyramids Training\\Pyramids\\Pyramids-499920.pt"
16
+ ]
17
+ },
18
+ {
19
+ "steps": 999972,
20
+ "file_path": "results\\Pyramids Training\\Pyramids\\Pyramids-999972.onnx",
21
+ "reward": -0.9994000494480133,
22
+ "creation_time": 1694542604.789448,
23
+ "auxillary_file_paths": [
24
+ "results\\Pyramids Training\\Pyramids\\Pyramids-999972.pt"
25
+ ]
26
+ },
27
+ {
28
+ "steps": 1000100,
29
+ "file_path": "results\\Pyramids Training\\Pyramids\\Pyramids-1000100.onnx",
30
+ "reward": -0.9994000494480133,
31
+ "creation_time": 1694542604.9472592,
32
+ "auxillary_file_paths": [
33
+ "results\\Pyramids Training\\Pyramids\\Pyramids-1000100.pt"
34
+ ]
35
+ }
36
+ ],
37
+ "final_checkpoint": {
38
+ "steps": 1000100,
39
+ "file_path": "results\\Pyramids Training\\Pyramids.onnx",
40
+ "reward": -0.9994000494480133,
41
+ "creation_time": 1694542604.9472592,
42
+ "auxillary_file_paths": [
43
+ "results\\Pyramids Training\\Pyramids\\Pyramids-1000100.pt"
44
+ ]
45
+ }
46
+ }
47
+ }