SGme commited on
Commit
3a5ff69
·
1 Parent(s): d5f7432
Pyramids.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4b6c31bca8d5be03ad8eaa4d011b6e17f79cbfbb0a48200aa9b34367a586d61f
3
+ size 1417432
Pyramids/Pyramids-1000089.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4b6c31bca8d5be03ad8eaa4d011b6e17f79cbfbb0a48200aa9b34367a586d61f
3
+ size 1417432
Pyramids/Pyramids-1000089.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1cea8fc10b421bff949c00496ef6f77a33e817618b28b6b7ee5741e76ee3b23d
3
+ size 8652759
Pyramids/Pyramids-16256.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b982fe75943debd337df2b3f87c644df6805f1154cc87b974531483df1a0e780
3
+ size 8652759
Pyramids/Pyramids-4096.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3570211716dbc3797d8b930d2c4f5050be1db16a07c7861766938ef41d0548d2
3
+ size 1416189
Pyramids/Pyramids-4096.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4fd9f62a9b325f8154829d249b4c2b7ac48e940a633417f6bc0295e250631d67
3
+ size 8654724
Pyramids/Pyramids-499923.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:44578fbc467454668dd49eb56c6163441cd97c0b7a24b5ce3789786843acca5f
3
+ size 1417432
Pyramids/Pyramids-499923.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fec317dbe752a6df9d4237852bb2b773c88a4e34734a754b7dd51ca8ba45b557
3
+ size 8652759
Pyramids/Pyramids-999961.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4b6c31bca8d5be03ad8eaa4d011b6e17f79cbfbb0a48200aa9b34367a586d61f
3
+ size 1417432
Pyramids/Pyramids-999961.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4733e6a2dc8f335e4a6b4ea3aafd7d8babd05e0466d2fbd2a5614aa70096b801
3
+ size 8652759
Pyramids/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1cea8fc10b421bff949c00496ef6f77a33e817618b28b6b7ee5741e76ee3b23d
3
+ size 8652759
Pyramids/events.out.tfevents.1658945813.sgrz.15884.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:16c7897ca09c51e9930b6a29ff645ea1ac5934918d224a59732b41f87b98c86e
3
+ size 266383
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: SGme/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.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": false}, "environment_parameters": null, "checkpoint_settings": {"run_id": "First Training", "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.exe
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: false
76
+ environment_parameters: null
77
+ checkpoint_settings:
78
+ run_id: First Training
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,329 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = 'C:/Users/sgstq/work_code/hugfrl/ml-agents/trained-envs-executables/windows/Pyramids_Data/Managed'
2
+ Mono config path = 'C:/Users/sgstq/work_code/hugfrl/ml-agents/trained-envs-executables/windows/MonoBleedingEdge/etc'
3
+ Found 2 interfaces on host : 0) 172.18.176.1 1) 192.168.9.132
4
+ Multi-casting "[IP] 172.18.176.1 [Port] 55296 [Flags] 2 [Guid] 1591754741 [EditorId] 924393121 [Version] 1048832 [Id] WindowsPlayer(2,sgrz) [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/sgstq/work_code/hugfrl/ml-agents/trained-envs-executables/windows/Pyramids_Data/UnitySubsystems
7
+ GfxDevice: creating device client; threaded=1; jobified=0
8
+ Direct3D:
9
+ Version: Direct3D 11.0 [level 11.1]
10
+ Renderer: NVIDIA GeForce GTX 1660 Ti (ID=0x2191)
11
+ Vendor: NVIDIA
12
+ VRAM: 5991 MB
13
+ Driver: 30.0.14.7180
14
+ Begin MonoManager ReloadAssembly
15
+ - Completed reload, in 0.232 seconds
16
+ <RI> Initializing input.
17
+ New input system (experimental) initialized
18
+ <RI> Input initialized.
19
+ <RI> Initialized touch support.
20
+ UnloadTime: 1.764300 ms
21
+ Setting up 6 worker threads for Enlighten.
22
+ PlayerConnection::CleanupMemory Statistics:
23
+ [ALLOC_TEMP_TLS] TLS Allocator
24
+ StackAllocators :
25
+ [ALLOC_TEMP_MAIN]
26
+ Peak usage frame count: [16.0 KB-32.0 KB]: 1769 frames, [32.0 KB-64.0 KB]: 4263 frames, [64.0 KB-128.0 KB]: 594 frames, [2.0 MB-4.0 MB]: 1 frames
27
+ Initial Block Size 4.0 MB
28
+ Current Block Size 4.0 MB
29
+ Peak Allocated Bytes 2.0 MB
30
+ Overflow Count 0
31
+ [ALLOC_TEMP_Background Job.Worker 8]
32
+ Initial Block Size 32.0 KB
33
+ Current Block Size 32.0 KB
34
+ Peak Allocated Bytes 54 B
35
+ Overflow Count 0
36
+ [ALLOC_TEMP_Background Job.Worker 10]
37
+ Initial Block Size 32.0 KB
38
+ Current Block Size 32.0 KB
39
+ Peak Allocated Bytes 54 B
40
+ Overflow Count 0
41
+ [ALLOC_TEMP_Job.Worker 4]
42
+ Initial Block Size 256.0 KB
43
+ Current Block Size 256.0 KB
44
+ Peak Allocated Bytes 12.0 KB
45
+ Overflow Count 0
46
+ [ALLOC_TEMP_AUDIO_FMOD (WASAPI) feeder thread]
47
+ Initial Block Size 64.0 KB
48
+ Current Block Size 64.0 KB
49
+ Peak Allocated Bytes 168 B
50
+ Overflow Count 0
51
+ [ALLOC_TEMP_AUDIO_FMOD mixer thread]
52
+ Initial Block Size 64.0 KB
53
+ Current Block Size 64.0 KB
54
+ Peak Allocated Bytes 54 B
55
+ Overflow Count 0
56
+ [ALLOC_TEMP_Background Job.Worker 1]
57
+ Initial Block Size 32.0 KB
58
+ Current Block Size 32.0 KB
59
+ Peak Allocated Bytes 54 B
60
+ Overflow Count 0
61
+ [ALLOC_TEMP_Background Job.Worker 6]
62
+ Initial Block Size 32.0 KB
63
+ Current Block Size 32.0 KB
64
+ Peak Allocated Bytes 54 B
65
+ Overflow Count 0
66
+ [ALLOC_TEMP_Background Job.Worker 11]
67
+ Initial Block Size 32.0 KB
68
+ Current Block Size 32.0 KB
69
+ Peak Allocated Bytes 54 B
70
+ Overflow Count 0
71
+ [ALLOC_TEMP_Background Job.Worker 3]
72
+ Initial Block Size 32.0 KB
73
+ Current Block Size 32.0 KB
74
+ Peak Allocated Bytes 54 B
75
+ Overflow Count 0
76
+ [ALLOC_TEMP_BatchDeleteObjects]
77
+ Initial Block Size 64.0 KB
78
+ Current Block Size 64.0 KB
79
+ Peak Allocated Bytes 54 B
80
+ Overflow Count 0
81
+ [ALLOC_TEMP_AUDIO_FMOD stream thread]
82
+ Initial Block Size 64.0 KB
83
+ Current Block Size 64.0 KB
84
+ Peak Allocated Bytes 54 B
85
+ Overflow Count 0
86
+ [ALLOC_TEMP_Background Job.Worker 15]
87
+ Initial Block Size 32.0 KB
88
+ Current Block Size 32.0 KB
89
+ Peak Allocated Bytes 54 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 54 B
95
+ Overflow Count 0
96
+ [ALLOC_TEMP_Job.Worker 8]
97
+ Initial Block Size 256.0 KB
98
+ Current Block Size 256.0 KB
99
+ Peak Allocated Bytes 12.0 KB
100
+ Overflow Count 0
101
+ [ALLOC_TEMP_Job.Worker 1]
102
+ Initial Block Size 256.0 KB
103
+ Current Block Size 256.0 KB
104
+ Peak Allocated Bytes 12.0 KB
105
+ Overflow Count 0
106
+ [ALLOC_TEMP_Job.Worker 10]
107
+ Initial Block Size 256.0 KB
108
+ Current Block Size 256.0 KB
109
+ Peak Allocated Bytes 12.0 KB
110
+ Overflow Count 0
111
+ [ALLOC_TEMP_Loading.PreloadManager]
112
+ Initial Block Size 256.0 KB
113
+ Current Block Size 272.0 KB
114
+ Peak Allocated Bytes 203.0 KB
115
+ Overflow Count 4
116
+ [ALLOC_TEMP_Background Job.Worker 2]
117
+ Initial Block Size 32.0 KB
118
+ Current Block Size 32.0 KB
119
+ Peak Allocated Bytes 54 B
120
+ Overflow Count 0
121
+ [ALLOC_TEMP_Profiler.Dispatcher]
122
+ Initial Block Size 64.0 KB
123
+ Current Block Size 64.0 KB
124
+ Peak Allocated Bytes 0 B
125
+ Overflow Count 0
126
+ [ALLOC_TEMP_Job.Worker 3]
127
+ Initial Block Size 256.0 KB
128
+ Current Block Size 256.0 KB
129
+ Peak Allocated Bytes 12.0 KB
130
+ Overflow Count 0
131
+ [ALLOC_TEMP_Background Job.Worker 12]
132
+ Initial Block Size 32.0 KB
133
+ Current Block Size 32.0 KB
134
+ Peak Allocated Bytes 54 B
135
+ Overflow Count 0
136
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 11
137
+ Initial Block Size 64.0 KB
138
+ Current Block Size 64.0 KB
139
+ Peak Allocated Bytes 0 B
140
+ Overflow Count 0
141
+ [ALLOC_TEMP_Background Job.Worker 5]
142
+ Initial Block Size 32.0 KB
143
+ Current Block Size 32.0 KB
144
+ Peak Allocated Bytes 54 B
145
+ Overflow Count 0
146
+ [ALLOC_TEMP_Background Job.Worker 13]
147
+ Initial Block Size 32.0 KB
148
+ Current Block Size 32.0 KB
149
+ Peak Allocated Bytes 54 B
150
+ Overflow Count 0
151
+ [ALLOC_TEMP_Job.Worker 2]
152
+ Initial Block Size 256.0 KB
153
+ Current Block Size 256.0 KB
154
+ Peak Allocated Bytes 12.0 KB
155
+ Overflow Count 0
156
+ [ALLOC_TEMP_Background Job.Worker 0]
157
+ Initial Block Size 32.0 KB
158
+ Current Block Size 32.0 KB
159
+ Peak Allocated Bytes 54 B
160
+ Overflow Count 0
161
+ [ALLOC_TEMP_Background Job.Worker 4]
162
+ Initial Block Size 32.0 KB
163
+ Current Block Size 32.0 KB
164
+ Peak Allocated Bytes 54 B
165
+ Overflow Count 0
166
+ [ALLOC_TEMP_Job.Worker 0]
167
+ Initial Block Size 256.0 KB
168
+ Current Block Size 256.0 KB
169
+ Peak Allocated Bytes 12.0 KB
170
+ Overflow Count 0
171
+ [ALLOC_TEMP_Job.Worker 6]
172
+ Initial Block Size 256.0 KB
173
+ Current Block Size 256.0 KB
174
+ Peak Allocated Bytes 12.0 KB
175
+ Overflow Count 0
176
+ [ALLOC_TEMP_Job.Worker 5]
177
+ Initial Block Size 256.0 KB
178
+ Current Block Size 256.0 KB
179
+ Peak Allocated Bytes 12.0 KB
180
+ Overflow Count 0
181
+ [ALLOC_TEMP_Background Job.Worker 9]
182
+ Initial Block Size 32.0 KB
183
+ Current Block Size 32.0 KB
184
+ Peak Allocated Bytes 54 B
185
+ Overflow Count 0
186
+ [ALLOC_TEMP_Background Job.Worker 14]
187
+ Initial Block Size 32.0 KB
188
+ Current Block Size 32.0 KB
189
+ Peak Allocated Bytes 54 B
190
+ Overflow Count 0
191
+ [ALLOC_TEMP_EnlightenWorker] x 6
192
+ Initial Block Size 64.0 KB
193
+ Current Block Size 64.0 KB
194
+ Peak Allocated Bytes 54 B
195
+ Overflow Count 0
196
+ [ALLOC_TEMP_UnityGfxDeviceWorker]
197
+ Initial Block Size 256.0 KB
198
+ Current Block Size 256.0 KB
199
+ Peak Allocated Bytes 14.0 KB
200
+ Overflow Count 0
201
+ [ALLOC_TEMP_Job.Worker 9]
202
+ Initial Block Size 256.0 KB
203
+ Current Block Size 256.0 KB
204
+ Peak Allocated Bytes 12.0 KB
205
+ Overflow Count 0
206
+ [ALLOC_TEMP_Job.Worker 7]
207
+ Initial Block Size 256.0 KB
208
+ Current Block Size 256.0 KB
209
+ Peak Allocated Bytes 12.0 KB
210
+ Overflow Count 0
211
+ [ALLOC_TEMP_HIDInput]
212
+ Initial Block Size 64.0 KB
213
+ Current Block Size 64.0 KB
214
+ Peak Allocated Bytes 11.8 KB
215
+ Overflow Count 0
216
+ [ALLOC_TEMP_Loading.AsyncRead]
217
+ Initial Block Size 64.0 KB
218
+ Current Block Size 64.0 KB
219
+ Peak Allocated Bytes 345 B
220
+ Overflow Count 0
221
+ [ALLOC_MEMORYPROFILER]
222
+ Peak usage frame count: [0.5 MB-1.0 MB]: 299 frames, [1.0 MB-2.0 MB]: 6328 frames
223
+ Requested Block Size 1.0 MB
224
+ Peak Block count 2
225
+ Peak Allocated memory 1.6 MB
226
+ Peak Large allocation bytes 0 B
227
+ [ALLOC_DEFAULT] Dual Thread Allocator
228
+ Peak main deferred allocation count 12082
229
+ [ALLOC_BUCKET]
230
+ Large Block size 4.0 MB
231
+ Used Block count 1
232
+ Peak Allocated bytes 1.8 MB
233
+ [ALLOC_DEFAULT_MAIN]
234
+ Peak usage frame count: [16.0 MB-32.0 MB]: 299 frames, [32.0 MB-64.0 MB]: 6328 frames
235
+ Requested Block Size 16.0 MB
236
+ Peak Block count 3
237
+ Peak Allocated memory 39.9 MB
238
+ Peak Large allocation bytes 0 B
239
+ [ALLOC_DEFAULT_THREAD]
240
+ Peak usage frame count: [16.0 MB-32.0 MB]: 6627 frames
241
+ Requested Block Size 16.0 MB
242
+ Peak Block count 1
243
+ Peak Allocated memory 27.4 MB
244
+ Peak Large allocation bytes 16.0 MB
245
+ [ALLOC_TEMP_JOB_1_FRAME]
246
+ Initial Block Size 2.0 MB
247
+ Used Block Count 1
248
+ Overflow Count (too large) 0
249
+ Overflow Count (full) 0
250
+ [ALLOC_TEMP_JOB_2_FRAMES]
251
+ Initial Block Size 2.0 MB
252
+ Used Block Count 1
253
+ Overflow Count (too large) 0
254
+ Overflow Count (full) 0
255
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
256
+ Initial Block Size 2.0 MB
257
+ Used Block Count 5
258
+ Overflow Count (too large) 0
259
+ Overflow Count (full) 0
260
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
261
+ Initial Block Size 1.0 MB
262
+ Used Block Count 3
263
+ Overflow Count (too large) 0
264
+ Overflow Count (full) 0
265
+ [ALLOC_GFX] Dual Thread Allocator
266
+ Peak main deferred allocation count 1
267
+ [ALLOC_BUCKET]
268
+ Large Block size 4.0 MB
269
+ Used Block count 1
270
+ Peak Allocated bytes 1.8 MB
271
+ [ALLOC_GFX_MAIN]
272
+ Peak usage frame count: [32.0 KB-64.0 KB]: 6626 frames, [2.0 MB-4.0 MB]: 1 frames
273
+ Requested Block Size 16.0 MB
274
+ Peak Block count 1
275
+ Peak Allocated memory 2.7 MB
276
+ Peak Large allocation bytes 0 B
277
+ [ALLOC_GFX_THREAD]
278
+ Peak usage frame count: [64.0 KB-128.0 KB]: 6627 frames
279
+ Requested Block Size 16.0 MB
280
+ Peak Block count 1
281
+ Peak Allocated memory 69.7 KB
282
+ Peak Large allocation bytes 0 B
283
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
284
+ Peak main deferred allocation count 2
285
+ [ALLOC_BUCKET]
286
+ Large Block size 4.0 MB
287
+ Used Block count 1
288
+ Peak Allocated bytes 1.8 MB
289
+ [ALLOC_CACHEOBJECTS_MAIN]
290
+ Peak usage frame count: [1.0 MB-2.0 MB]: 6627 frames
291
+ Requested Block Size 4.0 MB
292
+ Peak Block count 1
293
+ Peak Allocated memory 1.9 MB
294
+ Peak Large allocation bytes 0 B
295
+ [ALLOC_CACHEOBJECTS_THREAD]
296
+ Peak usage frame count: [2.0 MB-4.0 MB]: 6626 frames, [4.0 MB-8.0 MB]: 1 frames
297
+ Requested Block Size 4.0 MB
298
+ Peak Block count 2
299
+ Peak Allocated memory 4.2 MB
300
+ Peak Large allocation bytes 0 B
301
+ [ALLOC_TYPETREE] Dual Thread Allocator
302
+ Peak main deferred allocation count 0
303
+ [ALLOC_BUCKET]
304
+ Large Block size 4.0 MB
305
+ Used Block count 1
306
+ Peak Allocated bytes 1.8 MB
307
+ [ALLOC_TYPETREE_MAIN]
308
+ Peak usage frame count: [1.0 KB-2.0 KB]: 6627 frames
309
+ Requested Block Size 2.0 MB
310
+ Peak Block count 1
311
+ Peak Allocated memory 2.0 KB
312
+ Peak Large allocation bytes 0 B
313
+ [ALLOC_TYPETREE_THREAD]
314
+ Peak usage frame count: [1.0 KB-2.0 KB]: 6627 frames
315
+ Requested Block Size 2.0 MB
316
+ Peak Block count 1
317
+ Peak Allocated memory 1.9 KB
318
+ Peak Large allocation bytes 0 B
319
+ [ALLOC_PROFILER]
320
+ Peak usage frame count: [32.0 KB-64.0 KB]: 6627 frames
321
+ Requested Block Size 16.0 MB
322
+ Peak Block count 1
323
+ Peak Allocated memory 42.7 KB
324
+ Peak Large allocation bytes 0 B
325
+ [ALLOC_PROFILER_BUCKET]
326
+ Large Block size 4.0 MB
327
+ Used Block count 1
328
+ Peak Allocated bytes 425 B
329
+ ##utp:{"type":"MemoryLeaks","version":2,"phase":"Immediate","time":1658949175169,"processId":19480,"allocatedMemory":6210194,"memoryLabels":[{"Default":9421},{"Permanent":10160},{"NewDelete":11808},{"Thread":4229060},{"Manager":17232},{"VertexData":12},{"Geometry":560},{"Texture":16},{"Shader":67176},{"Material":24},{"GfxDevice":49488},{"Animation":240},{"Audio":3928},{"Physics":304},{"Serialization":744},{"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":3913},{"DynamicArray":30868},{"HashMap":7680},{"Utility":4064},{"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":384},{"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.6858731508255005,
6
+ "min": 0.6802798509597778,
7
+ "max": 1.3942458629608154,
8
+ "count": 33
9
+ },
10
+ "Pyramids.Policy.Entropy.sum": {
11
+ "value": 20674.9609375,
12
+ "min": 20546.462890625,
13
+ "max": 42295.84375,
14
+ "count": 33
15
+ },
16
+ "Pyramids.Step.mean": {
17
+ "value": 989941.0,
18
+ "min": 29952.0,
19
+ "max": 989941.0,
20
+ "count": 33
21
+ },
22
+ "Pyramids.Step.sum": {
23
+ "value": 989941.0,
24
+ "min": 29952.0,
25
+ "max": 989941.0,
26
+ "count": 33
27
+ },
28
+ "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
29
+ "value": 0.024597879499197006,
30
+ "min": -0.13248559832572937,
31
+ "max": 0.024597879499197006,
32
+ "count": 33
33
+ },
34
+ "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
35
+ "value": 6.001882553100586,
36
+ "min": -31.39908790588379,
37
+ "max": 6.001882553100586,
38
+ "count": 33
39
+ },
40
+ "Pyramids.Policy.RndValueEstimate.mean": {
41
+ "value": 0.022965509444475174,
42
+ "min": 0.015016665682196617,
43
+ "max": 0.30718544125556946,
44
+ "count": 33
45
+ },
46
+ "Pyramids.Policy.RndValueEstimate.sum": {
47
+ "value": 5.603584289550781,
48
+ "min": 3.619016408920288,
49
+ "max": 74.03169250488281,
50
+ "count": 33
51
+ },
52
+ "Pyramids.Losses.PolicyLoss.mean": {
53
+ "value": 0.06884264806746107,
54
+ "min": 0.06543262210868282,
55
+ "max": 0.07405936573156563,
56
+ "count": 33
57
+ },
58
+ "Pyramids.Losses.PolicyLoss.sum": {
59
+ "value": 0.963797072944455,
60
+ "min": 0.48560728723331803,
61
+ "max": 1.046625895714433,
62
+ "count": 33
63
+ },
64
+ "Pyramids.Losses.ValueLoss.mean": {
65
+ "value": 0.004749224507946711,
66
+ "min": 6.643410630810209e-05,
67
+ "max": 0.009164674884044056,
68
+ "count": 33
69
+ },
70
+ "Pyramids.Losses.ValueLoss.sum": {
71
+ "value": 0.06648914311125396,
72
+ "min": 0.0009300774883134293,
73
+ "max": 0.10142323369200312,
74
+ "count": 33
75
+ },
76
+ "Pyramids.Policy.LearningRate.mean": {
77
+ "value": 7.344354694771429e-06,
78
+ "min": 7.344354694771429e-06,
79
+ "max": 0.00029515063018788575,
80
+ "count": 33
81
+ },
82
+ "Pyramids.Policy.LearningRate.sum": {
83
+ "value": 0.00010282096572680001,
84
+ "min": 0.00010282096572680001,
85
+ "max": 0.003140721553092899,
86
+ "count": 33
87
+ },
88
+ "Pyramids.Policy.Epsilon.mean": {
89
+ "value": 0.10244808571428572,
90
+ "min": 0.10244808571428572,
91
+ "max": 0.19838354285714285,
92
+ "count": 33
93
+ },
94
+ "Pyramids.Policy.Epsilon.sum": {
95
+ "value": 1.4342732,
96
+ "min": 1.3265935999999998,
97
+ "max": 2.3469071,
98
+ "count": 33
99
+ },
100
+ "Pyramids.Policy.Beta.mean": {
101
+ "value": 0.00025456376285714293,
102
+ "min": 0.00025456376285714293,
103
+ "max": 0.00983851593142857,
104
+ "count": 33
105
+ },
106
+ "Pyramids.Policy.Beta.sum": {
107
+ "value": 0.0035638926800000007,
108
+ "min": 0.0035638926800000007,
109
+ "max": 0.10471601928999999,
110
+ "count": 33
111
+ },
112
+ "Pyramids.Losses.RNDLoss.mean": {
113
+ "value": 0.01644657738506794,
114
+ "min": 0.01644657738506794,
115
+ "max": 0.4698963463306427,
116
+ "count": 33
117
+ },
118
+ "Pyramids.Losses.RNDLoss.sum": {
119
+ "value": 0.23025208711624146,
120
+ "min": 0.18557105958461761,
121
+ "max": 3.2892744541168213,
122
+ "count": 33
123
+ },
124
+ "Pyramids.Environment.EpisodeLength.mean": {
125
+ "value": 877.2424242424242,
126
+ "min": 807.578947368421,
127
+ "max": 999.0,
128
+ "count": 33
129
+ },
130
+ "Pyramids.Environment.EpisodeLength.sum": {
131
+ "value": 28949.0,
132
+ "min": 15984.0,
133
+ "max": 33067.0,
134
+ "count": 33
135
+ },
136
+ "Pyramids.Environment.CumulativeReward.mean": {
137
+ "value": -0.27149700689496414,
138
+ "min": -1.2281125732697546,
139
+ "max": 0.13946838108332535,
140
+ "count": 33
141
+ },
142
+ "Pyramids.Environment.CumulativeReward.sum": {
143
+ "value": -8.959401227533817,
144
+ "min": -39.29960234463215,
145
+ "max": 5.299798481166363,
146
+ "count": 33
147
+ },
148
+ "Pyramids.Policy.ExtrinsicReward.mean": {
149
+ "value": -0.27149700689496414,
150
+ "min": -1.2281125732697546,
151
+ "max": 0.13946838108332535,
152
+ "count": 33
153
+ },
154
+ "Pyramids.Policy.ExtrinsicReward.sum": {
155
+ "value": -8.959401227533817,
156
+ "min": -39.29960234463215,
157
+ "max": 5.299798481166363,
158
+ "count": 33
159
+ },
160
+ "Pyramids.Policy.RndReward.mean": {
161
+ "value": 0.14775762952525506,
162
+ "min": 0.14236713737390297,
163
+ "max": 9.939638264477253,
164
+ "count": 33
165
+ },
166
+ "Pyramids.Policy.RndReward.sum": {
167
+ "value": 4.876001774333417,
168
+ "min": 3.6765784872695804,
169
+ "max": 159.03421223163605,
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": "1658945802",
188
+ "python_version": "3.8.13 (default, Mar 28 2022, 06:59:08) [MSC v.1916 64 bit (AMD64)]",
189
+ "command_line_arguments": "C:\\Users\\sgstq\\miniconda3\\envs\\hugfrl\\Scripts\\mlagents-learn config/ppo/PyramidsRND.yaml --env=.\\trained-envs-executables\\windows\\Pyramids.exe --run-id=First Training --force",
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.7.1+cu110",
194
+ "numpy_version": "1.23.1",
195
+ "end_time_seconds": "1658949175"
196
+ },
197
+ "total": 3372.5849983,
198
+ "count": 1,
199
+ "self": 0.5663061999998718,
200
+ "children": {
201
+ "run_training.setup": {
202
+ "total": 0.2578105000000006,
203
+ "count": 1,
204
+ "self": 0.2578105000000006
205
+ },
206
+ "TrainerController.start_learning": {
207
+ "total": 3371.7608816,
208
+ "count": 1,
209
+ "self": 2.47262139997747,
210
+ "children": {
211
+ "TrainerController._reset_env": {
212
+ "total": 13.3283053,
213
+ "count": 1,
214
+ "self": 13.3283053
215
+ },
216
+ "TrainerController.advance": {
217
+ "total": 3355.8058921000224,
218
+ "count": 63024,
219
+ "self": 2.5802328000731904,
220
+ "children": {
221
+ "env_step": {
222
+ "total": 1706.6492662999535,
223
+ "count": 63024,
224
+ "self": 1377.5888684999454,
225
+ "children": {
226
+ "SubprocessEnvManager._take_step": {
227
+ "total": 327.46906000000337,
228
+ "count": 63025,
229
+ "self": 8.441055599959043,
230
+ "children": {
231
+ "TorchPolicy.evaluate": {
232
+ "total": 319.0280044000443,
233
+ "count": 62611,
234
+ "self": 104.92986340007155,
235
+ "children": {
236
+ "TorchPolicy.sample_actions": {
237
+ "total": 214.09814099997277,
238
+ "count": 62611,
239
+ "self": 214.09814099997277
240
+ }
241
+ }
242
+ }
243
+ }
244
+ },
245
+ "workers": {
246
+ "total": 1.591337800004851,
247
+ "count": 63024,
248
+ "self": 0.0,
249
+ "children": {
250
+ "worker_root": {
251
+ "total": 3346.181029500018,
252
+ "count": 63024,
253
+ "is_parallel": true,
254
+ "self": 2157.7525975000017,
255
+ "children": {
256
+ "steps_from_proto": {
257
+ "total": 0.003304900000000721,
258
+ "count": 2,
259
+ "is_parallel": true,
260
+ "self": 0.0008608999999992761,
261
+ "children": {
262
+ "_process_rank_one_or_two_observation": {
263
+ "total": 0.002444000000001445,
264
+ "count": 16,
265
+ "is_parallel": true,
266
+ "self": 0.002444000000001445
267
+ }
268
+ }
269
+ },
270
+ "UnityEnvironment.step": {
271
+ "total": 1188.4251271000164,
272
+ "count": 63024,
273
+ "is_parallel": true,
274
+ "self": 34.4306848000208,
275
+ "children": {
276
+ "UnityEnvironment._generate_step_input": {
277
+ "total": 27.589346599993707,
278
+ "count": 63024,
279
+ "is_parallel": true,
280
+ "self": 27.589346599993707
281
+ },
282
+ "communicator.exchange": {
283
+ "total": 1023.3885093000114,
284
+ "count": 63024,
285
+ "is_parallel": true,
286
+ "self": 1023.3885093000114
287
+ },
288
+ "steps_from_proto": {
289
+ "total": 103.0165863999904,
290
+ "count": 63024,
291
+ "is_parallel": true,
292
+ "self": 28.484447699989104,
293
+ "children": {
294
+ "_process_rank_one_or_two_observation": {
295
+ "total": 74.5321387000013,
296
+ "count": 504192,
297
+ "is_parallel": true,
298
+ "self": 74.5321387000013
299
+ }
300
+ }
301
+ }
302
+ }
303
+ }
304
+ }
305
+ }
306
+ }
307
+ }
308
+ }
309
+ },
310
+ "trainer_advance": {
311
+ "total": 1646.5763929999957,
312
+ "count": 63024,
313
+ "self": 3.765892799990752,
314
+ "children": {
315
+ "process_trajectory": {
316
+ "total": 293.12345880000424,
317
+ "count": 63024,
318
+ "self": 292.754084600004,
319
+ "children": {
320
+ "RLTrainer._checkpoint": {
321
+ "total": 0.3693742000002658,
322
+ "count": 2,
323
+ "self": 0.3693742000002658
324
+ }
325
+ }
326
+ },
327
+ "_update_policy": {
328
+ "total": 1349.6870414000007,
329
+ "count": 417,
330
+ "self": 326.9591998999887,
331
+ "children": {
332
+ "TorchPPOOptimizer.update": {
333
+ "total": 1022.727841500012,
334
+ "count": 22980,
335
+ "self": 1022.727841500012
336
+ }
337
+ }
338
+ }
339
+ }
340
+ }
341
+ }
342
+ },
343
+ "trainer_threads": {
344
+ "total": 1.500000053056283e-06,
345
+ "count": 1,
346
+ "self": 1.500000053056283e-06
347
+ },
348
+ "TrainerController._save_models": {
349
+ "total": 0.15406130000019402,
350
+ "count": 1,
351
+ "self": 0.010607400000026246,
352
+ "children": {
353
+ "RLTrainer._checkpoint": {
354
+ "total": 0.14345390000016778,
355
+ "count": 1,
356
+ "self": 0.14345390000016778
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": 499923,
6
+ "file_path": "results\\First Training\\Pyramids\\Pyramids-499923.onnx",
7
+ "reward": null,
8
+ "creation_time": 1658947582.2946725,
9
+ "auxillary_file_paths": [
10
+ "results\\First Training\\Pyramids\\Pyramids-499923.pt"
11
+ ]
12
+ },
13
+ {
14
+ "steps": 999961,
15
+ "file_path": "results\\First Training\\Pyramids\\Pyramids-999961.onnx",
16
+ "reward": null,
17
+ "creation_time": 1658949174.4928527,
18
+ "auxillary_file_paths": [
19
+ "results\\First Training\\Pyramids\\Pyramids-999961.pt"
20
+ ]
21
+ },
22
+ {
23
+ "steps": 1000089,
24
+ "file_path": "results\\First Training\\Pyramids\\Pyramids-1000089.onnx",
25
+ "reward": null,
26
+ "creation_time": 1658949174.667627,
27
+ "auxillary_file_paths": [
28
+ "results\\First Training\\Pyramids\\Pyramids-1000089.pt"
29
+ ]
30
+ }
31
+ ],
32
+ "final_checkpoint": {
33
+ "steps": 1000089,
34
+ "file_path": "results\\First Training\\Pyramids.onnx",
35
+ "reward": null,
36
+ "creation_time": 1658949174.667627,
37
+ "auxillary_file_paths": [
38
+ "results\\First Training\\Pyramids\\Pyramids-1000089.pt"
39
+ ]
40
+ }
41
+ },
42
+ "metadata": {
43
+ "stats_format_version": "0.3.0",
44
+ "mlagents_version": "0.29.0.dev0",
45
+ "torch_version": "1.7.1+cu110"
46
+ }
47
+ }