Alexander Chernyavskiy commited on
Commit
fb7365e
1 Parent(s): 83376f3

Trained Pyramids agent

Browse files
Pyramids.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48b48169d31a0eeffe2eb0b27c3906697168005f4b2af4d3da417863a05a091e
3
+ size 1417678
Pyramids/Pyramids-1000046.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48b48169d31a0eeffe2eb0b27c3906697168005f4b2af4d3da417863a05a091e
3
+ size 1417678
Pyramids/Pyramids-1000046.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2bd80a1147720d58c5607c34a6b87ffd63404abdd063320adce1a185e59d2b00
3
+ size 8650094
Pyramids/Pyramids-499991.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:81c12baa8f1b377b4a6762c6471fb24931a597dcce9f95f73a4915d734255b04
3
+ size 1417678
Pyramids/Pyramids-499991.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3f46b96e3f15cda9828e30e9265666b8abea16d2a47ffb94d75adc9c2bdd7c7d
3
+ size 8650094
Pyramids/Pyramids-999918.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48b48169d31a0eeffe2eb0b27c3906697168005f4b2af4d3da417863a05a091e
3
+ size 1417678
Pyramids/Pyramids-999918.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:17666fcac5fd0f99eee53857d0f34e7a82c78fec64dfbea96d4be841229b5eef
3
+ size 8650094
Pyramids/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2bd80a1147720d58c5607c34a6b87ffd63404abdd063320adce1a185e59d2b00
3
+ size 8650094
Pyramids/events.out.tfevents.1656054583.DESKTOP-8V48N2L.16984.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9fefabbe327a4e9235061cb1719856ac1d0a48149473e64142248d9e70de61a9
3
+ size 313896
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: AlexChe/MLAgents-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": "trained-envs-executables\\windows\\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": "The run", "initialize_from": null, "load_model": false, "resume": false, "force": true, "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: trained-envs-executables\windows\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: The run
79
+ initialize_from: null
80
+ load_model: false
81
+ resume: false
82
+ force: true
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,327 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = 'C:/Users/Alexander/Documents/ml-agents/trained-envs-executables/windows/Pyramids/Pyramids_Data/Managed'
2
+ Mono config path = 'C:/Users/Alexander/Documents/ml-agents/trained-envs-executables/windows/Pyramids/MonoBleedingEdge/etc'
3
+ Found 3 interfaces on host : 0) 172.25.144.1 1) 172.29.160.1 2) 10.55.123.64
4
+ Multi-casting "[IP] 172.25.144.1 [Port] 55176 [Flags] 2 [Guid] 3856249137 [EditorId] 924393121 [Version] 1048832 [Id] WindowsPlayer(2,DESKTOP-8V48N2L) [Debug] 0 [PackageName] WindowsPlayer [ProjectName] Pyramids" to [225.0.0.222:54997]...
5
+ Initialize engine version: 2021.3.4f1 (cb45f9cae8b7)
6
+ [Subsystems] Discovering subsystems at path C:/Users/Alexander/Documents/ml-agents/trained-envs-executables/windows/Pyramids/Pyramids_Data/UnitySubsystems
7
+ Forcing GfxDevice: Null
8
+ GfxDevice: creating device client; threaded=0; jobified=0
9
+ NullGfxDevice:
10
+ Version: NULL 1.0 [1.0]
11
+ Renderer: Null Device
12
+ Vendor: Unity Technologies
13
+ Begin MonoManager ReloadAssembly
14
+ - Completed reload, in 0.141 seconds
15
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
16
+ 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.
17
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
18
+ ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
19
+ WARNING: Shader Unsupported: 'Legacy Shaders/Diffuse' - All subshaders removed
20
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
21
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
22
+ ERROR: Shader Legacy Shaders/Diffuse shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
23
+ WARNING: Shader Unsupported: 'Legacy Shaders/Diffuse' - 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
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
27
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
28
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
29
+ ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
30
+ WARNING: Shader Unsupported: 'Standard' - 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
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
34
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
35
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
36
+ ERROR: Shader Autodesk Interactive shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
37
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - 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
+ WARNING: Shader Unsupported: 'ML-Agents/GridPattern' - 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 ML-Agents/GridPattern shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
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
+ UnloadTime: 1.112500 ms
48
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
49
+ Setting up 4 worker threads for Enlighten.
50
+ PlayerConnection::CleanupMemory Statistics:
51
+ [ALLOC_TEMP_TLS] TLS Allocator
52
+ StackAllocators :
53
+ [ALLOC_TEMP_MAIN]
54
+ Peak usage frame count: [16.0 KB-32.0 KB]: 4001 frames, [32.0 KB-64.0 KB]: 11988 frames, [64.0 KB-128.0 KB]: 2776 frames, [2.0 MB-4.0 MB]: 1 frames
55
+ Initial Block Size 4.0 MB
56
+ Current Block Size 4.0 MB
57
+ Peak Allocated Bytes 2.0 MB
58
+ Overflow Count 0
59
+ [ALLOC_TEMP_Background Job.Worker 8]
60
+ Initial Block Size 32.0 KB
61
+ Current Block Size 32.0 KB
62
+ Peak Allocated Bytes 54 B
63
+ Overflow Count 0
64
+ [ALLOC_TEMP_Background Job.Worker 10]
65
+ Initial Block Size 32.0 KB
66
+ Current Block Size 32.0 KB
67
+ Peak Allocated Bytes 54 B
68
+ Overflow Count 0
69
+ [ALLOC_TEMP_Job.Worker 4]
70
+ Initial Block Size 256.0 KB
71
+ Current Block Size 256.0 KB
72
+ Peak Allocated Bytes 0 B
73
+ Overflow Count 0
74
+ [ALLOC_TEMP_AUDIO_FMOD (WASAPI) feeder thread]
75
+ Initial Block Size 64.0 KB
76
+ Current Block Size 64.0 KB
77
+ Peak Allocated Bytes 168 B
78
+ Overflow Count 0
79
+ [ALLOC_TEMP_AUDIO_FMOD mixer thread]
80
+ Initial Block Size 64.0 KB
81
+ Current Block Size 64.0 KB
82
+ Peak Allocated Bytes 54 B
83
+ Overflow Count 0
84
+ [ALLOC_TEMP_Background Job.Worker 1]
85
+ Initial Block Size 32.0 KB
86
+ Current Block Size 32.0 KB
87
+ Peak Allocated Bytes 54 B
88
+ Overflow Count 0
89
+ [ALLOC_TEMP_Background Job.Worker 6]
90
+ Initial Block Size 32.0 KB
91
+ Current Block Size 32.0 KB
92
+ Peak Allocated Bytes 54 B
93
+ Overflow Count 0
94
+ [ALLOC_TEMP_Background Job.Worker 11]
95
+ Initial Block Size 32.0 KB
96
+ Current Block Size 32.0 KB
97
+ Peak Allocated Bytes 54 B
98
+ Overflow Count 0
99
+ [ALLOC_TEMP_Background Job.Worker 3]
100
+ Initial Block Size 32.0 KB
101
+ Current Block Size 32.0 KB
102
+ Peak Allocated Bytes 54 B
103
+ Overflow Count 0
104
+ [ALLOC_TEMP_BatchDeleteObjects]
105
+ Initial Block Size 64.0 KB
106
+ Current Block Size 64.0 KB
107
+ Peak Allocated Bytes 54 B
108
+ Overflow Count 0
109
+ [ALLOC_TEMP_AUDIO_FMOD stream thread]
110
+ Initial Block Size 64.0 KB
111
+ Current Block Size 64.0 KB
112
+ Peak Allocated Bytes 54 B
113
+ Overflow Count 0
114
+ [ALLOC_TEMP_Background Job.Worker 15]
115
+ Initial Block Size 32.0 KB
116
+ Current Block Size 32.0 KB
117
+ Peak Allocated Bytes 54 B
118
+ Overflow Count 0
119
+ [ALLOC_TEMP_Background Job.Worker 7]
120
+ Initial Block Size 32.0 KB
121
+ Current Block Size 32.0 KB
122
+ Peak Allocated Bytes 54 B
123
+ Overflow Count 0
124
+ [ALLOC_TEMP_Background Job.Worker 2]
125
+ Initial Block Size 32.0 KB
126
+ Current Block Size 32.0 KB
127
+ Peak Allocated Bytes 54 B
128
+ Overflow Count 0
129
+ [ALLOC_TEMP_Job.Worker 1]
130
+ Initial Block Size 256.0 KB
131
+ Current Block Size 256.0 KB
132
+ Peak Allocated Bytes 0 B
133
+ Overflow Count 0
134
+ [ALLOC_TEMP_Loading.PreloadManager]
135
+ Initial Block Size 256.0 KB
136
+ Current Block Size 296.0 KB
137
+ Peak Allocated Bytes 227.7 KB
138
+ Overflow Count 4
139
+ [ALLOC_TEMP_Profiler.Dispatcher]
140
+ Initial Block Size 64.0 KB
141
+ Current Block Size 64.0 KB
142
+ Peak Allocated Bytes 0 B
143
+ Overflow Count 0
144
+ [ALLOC_TEMP_Job.Worker 3]
145
+ Initial Block Size 256.0 KB
146
+ Current Block Size 256.0 KB
147
+ Peak Allocated Bytes 0.9 KB
148
+ Overflow Count 0
149
+ [ALLOC_TEMP_Background Job.Worker 12]
150
+ Initial Block Size 32.0 KB
151
+ Current Block Size 32.0 KB
152
+ Peak Allocated Bytes 54 B
153
+ Overflow Count 0
154
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 7
155
+ Initial Block Size 64.0 KB
156
+ Current Block Size 64.0 KB
157
+ Peak Allocated Bytes 0 B
158
+ Overflow Count 0
159
+ [ALLOC_TEMP_Background Job.Worker 5]
160
+ Initial Block Size 32.0 KB
161
+ Current Block Size 32.0 KB
162
+ Peak Allocated Bytes 54 B
163
+ Overflow Count 0
164
+ [ALLOC_TEMP_Background Job.Worker 13]
165
+ Initial Block Size 32.0 KB
166
+ Current Block Size 32.0 KB
167
+ Peak Allocated Bytes 54 B
168
+ Overflow Count 0
169
+ [ALLOC_TEMP_Job.Worker 2]
170
+ Initial Block Size 256.0 KB
171
+ Current Block Size 256.0 KB
172
+ Peak Allocated Bytes 0 B
173
+ Overflow Count 0
174
+ [ALLOC_TEMP_Background Job.Worker 0]
175
+ Initial Block Size 32.0 KB
176
+ Current Block Size 32.0 KB
177
+ Peak Allocated Bytes 54 B
178
+ Overflow Count 0
179
+ [ALLOC_TEMP_Background Job.Worker 4]
180
+ Initial Block Size 32.0 KB
181
+ Current Block Size 32.0 KB
182
+ Peak Allocated Bytes 54 B
183
+ Overflow Count 0
184
+ [ALLOC_TEMP_Job.Worker 0]
185
+ Initial Block Size 256.0 KB
186
+ Current Block Size 256.0 KB
187
+ Peak Allocated Bytes 0 B
188
+ Overflow Count 0
189
+ [ALLOC_TEMP_Job.Worker 6]
190
+ Initial Block Size 256.0 KB
191
+ Current Block Size 256.0 KB
192
+ Peak Allocated Bytes 0 B
193
+ Overflow Count 0
194
+ [ALLOC_TEMP_Job.Worker 5]
195
+ Initial Block Size 256.0 KB
196
+ Current Block Size 256.0 KB
197
+ Peak Allocated Bytes 0 B
198
+ Overflow Count 0
199
+ [ALLOC_TEMP_Background Job.Worker 9]
200
+ Initial Block Size 32.0 KB
201
+ Current Block Size 32.0 KB
202
+ Peak Allocated Bytes 54 B
203
+ Overflow Count 0
204
+ [ALLOC_TEMP_Background Job.Worker 14]
205
+ Initial Block Size 32.0 KB
206
+ Current Block Size 32.0 KB
207
+ Peak Allocated Bytes 54 B
208
+ Overflow Count 0
209
+ [ALLOC_TEMP_EnlightenWorker] x 4
210
+ Initial Block Size 64.0 KB
211
+ Current Block Size 64.0 KB
212
+ Peak Allocated Bytes 54 B
213
+ Overflow Count 0
214
+ [ALLOC_TEMP_Loading.AsyncRead]
215
+ Initial Block Size 64.0 KB
216
+ Current Block Size 64.0 KB
217
+ Peak Allocated Bytes 363 B
218
+ Overflow Count 0
219
+ [ALLOC_MEMORYPROFILER]
220
+ Peak usage frame count: [0.5 MB-1.0 MB]: 299 frames, [1.0 MB-2.0 MB]: 18467 frames
221
+ Requested Block Size 1.0 MB
222
+ Peak Block count 2
223
+ Peak Allocated memory 1.6 MB
224
+ Peak Large allocation bytes 0 B
225
+ [ALLOC_DEFAULT] Dual Thread Allocator
226
+ Peak main deferred allocation count 11826
227
+ [ALLOC_BUCKET]
228
+ Large Block size 4.0 MB
229
+ Used Block count 1
230
+ Peak Allocated bytes 1.6 MB
231
+ [ALLOC_DEFAULT_MAIN]
232
+ Peak usage frame count: [8.0 MB-16.0 MB]: 1 frames, [16.0 MB-32.0 MB]: 18765 frames
233
+ Requested Block Size 16.0 MB
234
+ Peak Block count 3
235
+ Peak Allocated memory 30.8 MB
236
+ Peak Large allocation bytes 0 B
237
+ [ALLOC_DEFAULT_THREAD]
238
+ Peak usage frame count: [16.0 MB-32.0 MB]: 18766 frames
239
+ Requested Block Size 16.0 MB
240
+ Peak Block count 1
241
+ Peak Allocated memory 26.2 MB
242
+ Peak Large allocation bytes 16.0 MB
243
+ [ALLOC_TEMP_JOB_1_FRAME]
244
+ Initial Block Size 2.0 MB
245
+ Used Block Count 1
246
+ Overflow Count (too large) 0
247
+ Overflow Count (full) 0
248
+ [ALLOC_TEMP_JOB_2_FRAMES]
249
+ Initial Block Size 2.0 MB
250
+ Used Block Count 1
251
+ Overflow Count (too large) 0
252
+ Overflow Count (full) 0
253
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
254
+ Initial Block Size 2.0 MB
255
+ Used Block Count 2
256
+ Overflow Count (too large) 0
257
+ Overflow Count (full) 0
258
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
259
+ Initial Block Size 1.0 MB
260
+ Used Block Count 3
261
+ Overflow Count (too large) 0
262
+ Overflow Count (full) 0
263
+ [ALLOC_GFX] Dual Thread Allocator
264
+ Peak main deferred allocation count 0
265
+ [ALLOC_BUCKET]
266
+ Large Block size 4.0 MB
267
+ Used Block count 1
268
+ Peak Allocated bytes 1.6 MB
269
+ [ALLOC_GFX_MAIN]
270
+ Peak usage frame count: [32.0 KB-64.0 KB]: 18765 frames, [64.0 KB-128.0 KB]: 1 frames
271
+ Requested Block Size 16.0 MB
272
+ Peak Block count 1
273
+ Peak Allocated memory 67.0 KB
274
+ Peak Large allocation bytes 0 B
275
+ [ALLOC_GFX_THREAD]
276
+ Peak usage frame count: [64.0 KB-128.0 KB]: 18766 frames
277
+ Requested Block Size 16.0 MB
278
+ Peak Block count 1
279
+ Peak Allocated memory 67.7 KB
280
+ Peak Large allocation bytes 0 B
281
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
282
+ Peak main deferred allocation count 3
283
+ [ALLOC_BUCKET]
284
+ Large Block size 4.0 MB
285
+ Used Block count 1
286
+ Peak Allocated bytes 1.6 MB
287
+ [ALLOC_CACHEOBJECTS_MAIN]
288
+ Peak usage frame count: [0.5 MB-1.0 MB]: 299 frames, [1.0 MB-2.0 MB]: 18467 frames
289
+ Requested Block Size 4.0 MB
290
+ Peak Block count 1
291
+ Peak Allocated memory 1.4 MB
292
+ Peak Large allocation bytes 0 B
293
+ [ALLOC_CACHEOBJECTS_THREAD]
294
+ Peak usage frame count: [1.0 MB-2.0 MB]: 18765 frames, [4.0 MB-8.0 MB]: 1 frames
295
+ Requested Block Size 4.0 MB
296
+ Peak Block count 2
297
+ Peak Allocated memory 4.2 MB
298
+ Peak Large allocation bytes 0 B
299
+ [ALLOC_TYPETREE] Dual Thread Allocator
300
+ Peak main deferred allocation count 0
301
+ [ALLOC_BUCKET]
302
+ Large Block size 4.0 MB
303
+ Used Block count 1
304
+ Peak Allocated bytes 1.6 MB
305
+ [ALLOC_TYPETREE_MAIN]
306
+ Peak usage frame count: [0-1.0 KB]: 18766 frames
307
+ Requested Block Size 2.0 MB
308
+ Peak Block count 1
309
+ Peak Allocated memory 1.0 KB
310
+ Peak Large allocation bytes 0 B
311
+ [ALLOC_TYPETREE_THREAD]
312
+ Peak usage frame count: [1.0 KB-2.0 KB]: 18766 frames
313
+ Requested Block Size 2.0 MB
314
+ Peak Block count 1
315
+ Peak Allocated memory 1.9 KB
316
+ Peak Large allocation bytes 0 B
317
+ [ALLOC_PROFILER]
318
+ Peak usage frame count: [32.0 KB-64.0 KB]: 18766 frames
319
+ Requested Block Size 16.0 MB
320
+ Peak Block count 1
321
+ Peak Allocated memory 34.0 KB
322
+ Peak Large allocation bytes 0 B
323
+ [ALLOC_PROFILER_BUCKET]
324
+ Large Block size 4.0 MB
325
+ Used Block count 1
326
+ Peak Allocated bytes 425 B
327
+ ##utp:{"type":"MemoryLeaks","version":2,"phase":"Immediate","time":1656057978268,"processId":15108,"allocatedMemory":6207009,"memoryLabels":[{"Default":9421},{"Permanent":10160},{"NewDelete":11832},{"Thread":4228876},{"Manager":14640},{"VertexData":12},{"Geometry":560},{"Texture":16},{"Shader":68616},{"Material":24},{"GfxDevice":49488},{"Animation":240},{"Audio":3928},{"Physics":304},{"Serialization":288},{"Input":14208},{"JobScheduler":200},{"Mono":40},{"ScriptingNativeRuntime":216},{"BaseObject":1617364},{"Resource":688},{"Renderer":1960},{"Transform":16},{"File":840},{"WebCam":40},{"Culling":40},{"Terrain":953},{"Wind":24},{"STL":48},{"String":3956},{"DynamicArray":30868},{"HashMap":7680},{"Utility":2976},{"PoolAlloc":1368},{"TypeTree":1792},{"ScriptManager":80},{"RuntimeInitializeOnLoadManager":80},{"SpriteAtlas":128},{"GI":3688},{"Unet":16},{"Director":7776},{"WebRequest":688},{"VR":45521},{"SceneManager":424},{"Video":32},{"LazyScriptCache":40},{"NativeArray":12},{"Camera":25},{"Secure":1},{"SerializationCache":624},{"APIUpdating":5872},{"Subsystems":392},{"VirtualTexturing":57888},{"AssetReference":40}]}
run_logs/timers.json ADDED
@@ -0,0 +1,363 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "Pyramids.Policy.Entropy.mean": {
5
+ "value": 0.5217984914779663,
6
+ "min": 0.5217984914779663,
7
+ "max": 1.3929883241653442,
8
+ "count": 33
9
+ },
10
+ "Pyramids.Policy.Entropy.sum": {
11
+ "value": 15478.630859375,
12
+ "min": 15478.630859375,
13
+ "max": 42257.6953125,
14
+ "count": 33
15
+ },
16
+ "Pyramids.Step.mean": {
17
+ "value": 989951.0,
18
+ "min": 29952.0,
19
+ "max": 989951.0,
20
+ "count": 33
21
+ },
22
+ "Pyramids.Step.sum": {
23
+ "value": 989951.0,
24
+ "min": 29952.0,
25
+ "max": 989951.0,
26
+ "count": 33
27
+ },
28
+ "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
29
+ "value": 0.3243556022644043,
30
+ "min": -0.09963350743055344,
31
+ "max": 0.38994845747947693,
32
+ "count": 33
33
+ },
34
+ "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
35
+ "value": 84.98117065429688,
36
+ "min": -24.111309051513672,
37
+ "max": 103.72628784179688,
38
+ "count": 33
39
+ },
40
+ "Pyramids.Policy.RndValueEstimate.mean": {
41
+ "value": 5.876914024353027,
42
+ "min": -0.23564189672470093,
43
+ "max": 5.9755659103393555,
44
+ "count": 33
45
+ },
46
+ "Pyramids.Policy.RndValueEstimate.sum": {
47
+ "value": 1539.75146484375,
48
+ "min": -61.26689147949219,
49
+ "max": 1607.42724609375,
50
+ "count": 33
51
+ },
52
+ "Pyramids.Losses.PolicyLoss.mean": {
53
+ "value": 0.06546258268799927,
54
+ "min": 0.06444343320279595,
55
+ "max": 0.07492467084329081,
56
+ "count": 33
57
+ },
58
+ "Pyramids.Losses.PolicyLoss.sum": {
59
+ "value": 0.9164761576319898,
60
+ "min": 0.5244726959030357,
61
+ "max": 1.0482152824891575,
62
+ "count": 33
63
+ },
64
+ "Pyramids.Losses.ValueLoss.mean": {
65
+ "value": 3.497891251159524,
66
+ "min": 0.0001863230602106107,
67
+ "max": 4.027044673893778,
68
+ "count": 33
69
+ },
70
+ "Pyramids.Losses.ValueLoss.sum": {
71
+ "value": 48.97047751623334,
72
+ "min": 0.002422199782737939,
73
+ "max": 56.3786254345129,
74
+ "count": 33
75
+ },
76
+ "Pyramids.Policy.LearningRate.mean": {
77
+ "value": 7.755911700442857e-06,
78
+ "min": 7.755911700442857e-06,
79
+ "max": 0.00029515063018788575,
80
+ "count": 33
81
+ },
82
+ "Pyramids.Policy.LearningRate.sum": {
83
+ "value": 0.0001085827638062,
84
+ "min": 0.0001085827638062,
85
+ "max": 0.003507080330973299,
86
+ "count": 33
87
+ },
88
+ "Pyramids.Policy.Epsilon.mean": {
89
+ "value": 0.10258527142857142,
90
+ "min": 0.10258527142857142,
91
+ "max": 0.19838354285714285,
92
+ "count": 33
93
+ },
94
+ "Pyramids.Policy.Epsilon.sum": {
95
+ "value": 1.4361937999999999,
96
+ "min": 1.3886848,
97
+ "max": 2.5690267,
98
+ "count": 33
99
+ },
100
+ "Pyramids.Policy.Beta.mean": {
101
+ "value": 0.00026826861571428576,
102
+ "min": 0.00026826861571428576,
103
+ "max": 0.00983851593142857,
104
+ "count": 33
105
+ },
106
+ "Pyramids.Policy.Beta.sum": {
107
+ "value": 0.0037557606200000005,
108
+ "min": 0.0037557606200000005,
109
+ "max": 0.11692576732999999,
110
+ "count": 33
111
+ },
112
+ "Pyramids.Losses.RNDLoss.mean": {
113
+ "value": 0.00835955236107111,
114
+ "min": 0.00835955236107111,
115
+ "max": 0.49735310673713684,
116
+ "count": 33
117
+ },
118
+ "Pyramids.Losses.RNDLoss.sum": {
119
+ "value": 0.11703372746706009,
120
+ "min": 0.11703372746706009,
121
+ "max": 3.4814717769622803,
122
+ "count": 33
123
+ },
124
+ "Pyramids.Environment.EpisodeLength.mean": {
125
+ "value": 499.78333333333336,
126
+ "min": 430.3857142857143,
127
+ "max": 999.0,
128
+ "count": 33
129
+ },
130
+ "Pyramids.Environment.EpisodeLength.sum": {
131
+ "value": 29987.0,
132
+ "min": 15984.0,
133
+ "max": 33016.0,
134
+ "count": 33
135
+ },
136
+ "Pyramids.Environment.CumulativeReward.mean": {
137
+ "value": 1.1334366284310817,
138
+ "min": -1.0000000521540642,
139
+ "max": 1.4329558625159895,
140
+ "count": 33
141
+ },
142
+ "Pyramids.Environment.CumulativeReward.sum": {
143
+ "value": 68.0061977058649,
144
+ "min": -31.99640166759491,
145
+ "max": 99.86939814686775,
146
+ "count": 33
147
+ },
148
+ "Pyramids.Policy.ExtrinsicReward.mean": {
149
+ "value": 1.1334366284310817,
150
+ "min": -1.0000000521540642,
151
+ "max": 1.4329558625159895,
152
+ "count": 33
153
+ },
154
+ "Pyramids.Policy.ExtrinsicReward.sum": {
155
+ "value": 68.0061977058649,
156
+ "min": -31.99640166759491,
157
+ "max": 99.86939814686775,
158
+ "count": 33
159
+ },
160
+ "Pyramids.Policy.RndReward.mean": {
161
+ "value": 0.044238226128557774,
162
+ "min": 0.0390701954407525,
163
+ "max": 10.392275916412473,
164
+ "count": 33
165
+ },
166
+ "Pyramids.Policy.RndReward.sum": {
167
+ "value": 2.6542935677134665,
168
+ "min": 2.6542935677134665,
169
+ "max": 166.27641466259956,
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": "1656054580",
188
+ "python_version": "3.9.7 (tags/v3.9.7:1016ef3, Aug 30 2021, 20:19:38) [MSC v.1929 64 bit (AMD64)]",
189
+ "command_line_arguments": "C:\\Users\\Alexander\\AppData\\Local\\Programs\\Python\\Python39\\Scripts\\mlagents-learn --force config\\ppo\\PyramidsRND.yaml --env=trained-envs-executables\\windows\\Pyramids --no-graphics --run-id=The run",
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.10.2+cpu",
194
+ "numpy_version": "1.21.2",
195
+ "end_time_seconds": "1656057978"
196
+ },
197
+ "total": 3398.14364,
198
+ "count": 1,
199
+ "self": 4.84618829999954,
200
+ "children": {
201
+ "run_training.setup": {
202
+ "total": 0.20310749999999977,
203
+ "count": 1,
204
+ "self": 0.20310749999999977
205
+ },
206
+ "TrainerController.start_learning": {
207
+ "total": 3393.0943442000003,
208
+ "count": 1,
209
+ "self": 2.6902043000154663,
210
+ "children": {
211
+ "TrainerController._reset_env": {
212
+ "total": 3.5748520999999998,
213
+ "count": 1,
214
+ "self": 3.5748520999999998
215
+ },
216
+ "TrainerController.advance": {
217
+ "total": 3386.4623875999846,
218
+ "count": 63483,
219
+ "self": 2.702206699967519,
220
+ "children": {
221
+ "env_step": {
222
+ "total": 1720.0373506999936,
223
+ "count": 63483,
224
+ "self": 1557.9982408000124,
225
+ "children": {
226
+ "SubprocessEnvManager._take_step": {
227
+ "total": 160.42501390000155,
228
+ "count": 63483,
229
+ "self": 7.455559199983156,
230
+ "children": {
231
+ "TorchPolicy.evaluate": {
232
+ "total": 152.9694547000184,
233
+ "count": 62551,
234
+ "self": 33.34210999997191,
235
+ "children": {
236
+ "TorchPolicy.sample_actions": {
237
+ "total": 119.62734470004648,
238
+ "count": 62551,
239
+ "self": 119.62734470004648
240
+ }
241
+ }
242
+ }
243
+ }
244
+ },
245
+ "workers": {
246
+ "total": 1.6140959999795896,
247
+ "count": 63483,
248
+ "self": 0.0,
249
+ "children": {
250
+ "worker_root": {
251
+ "total": 3385.259170400034,
252
+ "count": 63483,
253
+ "is_parallel": true,
254
+ "self": 2011.913537600056,
255
+ "children": {
256
+ "steps_from_proto": {
257
+ "total": 0.001860600000000101,
258
+ "count": 1,
259
+ "is_parallel": true,
260
+ "self": 0.0004859000000001501,
261
+ "children": {
262
+ "_process_rank_one_or_two_observation": {
263
+ "total": 0.001374699999999951,
264
+ "count": 8,
265
+ "is_parallel": true,
266
+ "self": 0.001374699999999951
267
+ }
268
+ }
269
+ },
270
+ "UnityEnvironment.step": {
271
+ "total": 1373.3437721999776,
272
+ "count": 63483,
273
+ "is_parallel": true,
274
+ "self": 43.198415599947566,
275
+ "children": {
276
+ "UnityEnvironment._generate_step_input": {
277
+ "total": 31.394529399984755,
278
+ "count": 63483,
279
+ "is_parallel": true,
280
+ "self": 31.394529399984755
281
+ },
282
+ "communicator.exchange": {
283
+ "total": 1170.637535500011,
284
+ "count": 63483,
285
+ "is_parallel": true,
286
+ "self": 1170.637535500011
287
+ },
288
+ "steps_from_proto": {
289
+ "total": 128.11329170003435,
290
+ "count": 63483,
291
+ "is_parallel": true,
292
+ "self": 31.663106400046075,
293
+ "children": {
294
+ "_process_rank_one_or_two_observation": {
295
+ "total": 96.45018529998828,
296
+ "count": 507864,
297
+ "is_parallel": true,
298
+ "self": 96.45018529998828
299
+ }
300
+ }
301
+ }
302
+ }
303
+ }
304
+ }
305
+ }
306
+ }
307
+ }
308
+ }
309
+ },
310
+ "trainer_advance": {
311
+ "total": 1663.7228302000233,
312
+ "count": 63483,
313
+ "self": 4.467717300024333,
314
+ "children": {
315
+ "process_trajectory": {
316
+ "total": 301.0592478999946,
317
+ "count": 63483,
318
+ "self": 300.59151829999485,
319
+ "children": {
320
+ "RLTrainer._checkpoint": {
321
+ "total": 0.46772959999975683,
322
+ "count": 2,
323
+ "self": 0.46772959999975683
324
+ }
325
+ }
326
+ },
327
+ "_update_policy": {
328
+ "total": 1358.1958650000045,
329
+ "count": 446,
330
+ "self": 393.2782437999815,
331
+ "children": {
332
+ "TorchPPOOptimizer.update": {
333
+ "total": 964.917621200023,
334
+ "count": 22803,
335
+ "self": 964.917621200023
336
+ }
337
+ }
338
+ }
339
+ }
340
+ }
341
+ }
342
+ },
343
+ "trainer_threads": {
344
+ "total": 1.2000000424450263e-06,
345
+ "count": 1,
346
+ "self": 1.2000000424450263e-06
347
+ },
348
+ "TrainerController._save_models": {
349
+ "total": 0.3668990000001031,
350
+ "count": 1,
351
+ "self": 0.05187500000010914,
352
+ "children": {
353
+ "RLTrainer._checkpoint": {
354
+ "total": 0.315023999999994,
355
+ "count": 1,
356
+ "self": 0.315023999999994
357
+ }
358
+ }
359
+ }
360
+ }
361
+ }
362
+ }
363
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Pyramids": {
3
+ "checkpoints": [
4
+ {
5
+ "steps": 499991,
6
+ "file_path": "results\\The run\\Pyramids\\Pyramids-499991.onnx",
7
+ "reward": null,
8
+ "creation_time": 1656056241.5160513,
9
+ "auxillary_file_paths": [
10
+ "results\\The run\\Pyramids\\Pyramids-499991.pt"
11
+ ]
12
+ },
13
+ {
14
+ "steps": 999918,
15
+ "file_path": "results\\The run\\Pyramids\\Pyramids-999918.onnx",
16
+ "reward": 0.8754499480128288,
17
+ "creation_time": 1656057973.0411096,
18
+ "auxillary_file_paths": [
19
+ "results\\The run\\Pyramids\\Pyramids-999918.pt"
20
+ ]
21
+ },
22
+ {
23
+ "steps": 1000046,
24
+ "file_path": "results\\The run\\Pyramids\\Pyramids-1000046.onnx",
25
+ "reward": 0.8754499480128288,
26
+ "creation_time": 1656057973.4131114,
27
+ "auxillary_file_paths": [
28
+ "results\\The run\\Pyramids\\Pyramids-1000046.pt"
29
+ ]
30
+ }
31
+ ],
32
+ "final_checkpoint": {
33
+ "steps": 1000046,
34
+ "file_path": "results\\The run\\Pyramids.onnx",
35
+ "reward": 0.8754499480128288,
36
+ "creation_time": 1656057973.4131114,
37
+ "auxillary_file_paths": [
38
+ "results\\The run\\Pyramids\\Pyramids-1000046.pt"
39
+ ]
40
+ }
41
+ },
42
+ "metadata": {
43
+ "stats_format_version": "0.3.0",
44
+ "mlagents_version": "0.29.0.dev0",
45
+ "torch_version": "1.10.2+cpu"
46
+ }
47
+ }