bsenst commited on
Commit
5193792
·
1 Parent(s): d869f30

add ppo pyramids agent

Browse files
Pyramids.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c786f9a535cbf76f3d835ce5f1e96c78003be49b73c107e418a49e1bd6023988
3
+ size 1418184
Pyramids/Pyramids-2048.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c786f9a535cbf76f3d835ce5f1e96c78003be49b73c107e418a49e1bd6023988
3
+ size 1418184
Pyramids/Pyramids-2048.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6d0aa8e3e225c748010f38b28d26cc8bd9e0a9a2f0ef6618b538a0b7858bb8d9
3
+ size 2994114
Pyramids/Pyramids-22144.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fff74973de2716fa6f9abb6c75538bf31ec061c5e1cbf1036eb17a9d32558bfa
3
+ size 1418184
Pyramids/Pyramids-22144.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a87348f9bcbe32e6809a49d726af0f234ec65e5d82971b1b6499c7656d2874e8
3
+ size 8650158
Pyramids/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6d0aa8e3e225c748010f38b28d26cc8bd9e0a9a2f0ef6618b538a0b7858bb8d9
3
+ size 2994114
Pyramids/events.out.tfevents.1680809479.538c53bac510.1399.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b7017e6110e7e1e9529bac27fbafd514b9200c59ecbabf6d00a2d737dd01191b
3
+ size 1420
README.md ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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** using the [Unity ML-Agents Library](https://github.com/Unity-Technologies/ml-agents).
12
+
13
+ ## Usage (with ML-Agents)
14
+ The Documentation: https://github.com/huggingface/ml-agents#get-started
15
+ We wrote a complete tutorial to learn to train your first agent using ML-Agents and publish it to the Hub:
16
+
17
+
18
+ ### Resume the training
19
+ ```
20
+ mlagents-learn <your_configuration_file_path.yaml> --run-id=<run_id> --resume
21
+ ```
22
+ ### Watch your Agent play
23
+ You can watch your agent **playing directly in your browser:**.
24
+
25
+ 1. Go to https://huggingface.co/spaces/unity/ML-Agents-Pyramids
26
+ 2. Step 1: Find your model_id: bsenst/ppo-Pyramids
27
+ 3. Step 2: Select your *.nn /*.onnx file
28
+ 4. Click on Watch the agent play 👀
29
+
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": 1000, "time_horizon": 128, "summary_freq": 30000, "threaded": false, "self_play": null, "behavioral_cloning": null}}, "env_settings": {"env_path": "./training-envs-executables/linux/Pyramids/Pyramids", "env_args": null, "base_port": 5005, "num_envs": 1, "num_areas": 1, "seed": -1, "max_lifetime_restarts": 10, "restarts_rate_limit_n": 1, "restarts_rate_limit_period_s": 60}, "engine_settings": {"width": 84, "height": 84, "quality_level": 5, "time_scale": 20, "target_frame_rate": -1, "capture_frame_rate": 60, "no_graphics": true}, "environment_parameters": null, "checkpoint_settings": {"run_id": "Pyramids Training", "initialize_from": null, "load_model": false, "resume": false, "force": true, "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: 1000
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: ./training-envs-executables/linux/Pyramids/Pyramids
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: false
84
+ force: true
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,324 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/kaggle/working/ml-agents/training-envs-executables/linux/Pyramids/Pyramids_Data/Managed'
2
+ Mono config path = '/kaggle/working/ml-agents/training-envs-executables/linux/Pyramids/Pyramids_Data/MonoBleedingEdge/etc'
3
+ Found 1 interfaces on host : 0) 172.19.2.2
4
+ Multi-casting "[IP] 172.19.2.2 [Port] 55221 [Flags] 2 [Guid] 3204726395 [EditorId] 764847374 [Version] 1048832 [Id] LinuxPlayer(13,172.19.2.2) [Debug] 0 [PackageName] LinuxPlayer [ProjectName] UnityEnvironment" to [225.0.0.222:54997]...
5
+ Preloaded 'lib_burst_generated.so'
6
+ Preloaded 'libgrpc_csharp_ext.x64.so'
7
+ Initialize engine version: 2021.3.5f1 (40eb3a945986)
8
+ [Subsystems] Discovering subsystems at path /kaggle/working/ml-agents/training-envs-executables/linux/Pyramids/Pyramids_Data/UnitySubsystems
9
+ Forcing GfxDevice: Null
10
+ GfxDevice: creating device client; threaded=0; jobified=0
11
+ NullGfxDevice:
12
+ Version: NULL 1.0 [1.0]
13
+ Renderer: Null Device
14
+ Vendor: Unity Technologies
15
+ ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
16
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
17
+ ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
18
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
19
+ ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
20
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
21
+ ALSA lib conf.c:5220:(snd_config_expand) Evaluate error: No such file or directory
22
+ ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM default
23
+ FMOD failed to initialize the output device.: "Error initializing output device. " (60)
24
+ Forced to initialize FMOD to to the device driver's system output rate 48000, this may impact performance and/or give inconsistent experiences compared to selected sample rate 48000
25
+ ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
26
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
27
+ ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
28
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
29
+ ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
30
+ ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
31
+ ALSA lib conf.c:5220:(snd_config_expand) Evaluate error: No such file or directory
32
+ ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM default
33
+ FMOD failed to initialize the output device.: "Error initializing output device. " (60)
34
+ FMOD initialized on nosound output
35
+ Begin MonoManager ReloadAssembly
36
+ - Completed reload, in 0.151 seconds
37
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
38
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
39
+ ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
40
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
41
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
42
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
43
+ ERROR: Shader Autodesk Interactive shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
44
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
45
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
46
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
47
+ WARNING: Shader Unsupported: 'Legacy Shaders/Diffuse' - All subshaders removed
48
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
49
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
50
+ ERROR: Shader Legacy Shaders/Diffuse shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
51
+ WARNING: Shader Unsupported: 'Legacy Shaders/Diffuse' - All subshaders removed
52
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
53
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
54
+ WARNING: Shader Unsupported: 'ML-Agents/GridPattern' - All subshaders removed
55
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
56
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
57
+ ERROR: Shader ML-Agents/GridPattern shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
58
+ WARNING: Shader Unsupported: 'ML-Agents/GridPattern' - All subshaders removed
59
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
60
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
61
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
62
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
63
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
64
+ ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
65
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
66
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
67
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
68
+ UnloadTime: 1.578526 ms
69
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
70
+ requesting resize 84 x 84
71
+ Setting up 2 worker threads for Enlighten.
72
+ PlayerConnection::CleanupMemory Statistics:
73
+ [ALLOC_TEMP_TLS] TLS Allocator
74
+ StackAllocators :
75
+ [ALLOC_TEMP_MAIN]
76
+ Peak usage frame count: [16.0 KB-32.0 KB]: 6 frames, [32.0 KB-64.0 KB]: 32 frames, [2.0 MB-4.0 MB]: 1 frames
77
+ Initial Block Size 4.0 MB
78
+ Current Block Size 4.0 MB
79
+ Peak Allocated Bytes 2.0 MB
80
+ Overflow Count 0
81
+ [ALLOC_TEMP_Background Job.Worker 8]
82
+ Initial Block Size 32.0 KB
83
+ Current Block Size 32.0 KB
84
+ Peak Allocated Bytes 0 B
85
+ Overflow Count 0
86
+ [ALLOC_TEMP_Background Job.Worker 10]
87
+ Initial Block Size 32.0 KB
88
+ Current Block Size 32.0 KB
89
+ Peak Allocated Bytes 0 B
90
+ Overflow Count 0
91
+ [ALLOC_TEMP_Background Job.Worker 6]
92
+ Initial Block Size 32.0 KB
93
+ Current Block Size 32.0 KB
94
+ Peak Allocated Bytes 0 B
95
+ Overflow Count 0
96
+ [ALLOC_TEMP_AUDIO_FMOD mixer thread]
97
+ Initial Block Size 64.0 KB
98
+ Current Block Size 64.0 KB
99
+ Peak Allocated Bytes 0 B
100
+ Overflow Count 0
101
+ [ALLOC_TEMP_Background Job.Worker 1]
102
+ Initial Block Size 32.0 KB
103
+ Current Block Size 32.0 KB
104
+ Peak Allocated Bytes 0 B
105
+ Overflow Count 0
106
+ [ALLOC_TEMP_Background Job.Worker 11]
107
+ Initial Block Size 32.0 KB
108
+ Current Block Size 32.0 KB
109
+ Peak Allocated Bytes 0 B
110
+ Overflow Count 0
111
+ [ALLOC_TEMP_Background Job.Worker 3]
112
+ Initial Block Size 32.0 KB
113
+ Current Block Size 32.0 KB
114
+ Peak Allocated Bytes 0 B
115
+ Overflow Count 0
116
+ [ALLOC_TEMP_BatchDeleteObjects]
117
+ Initial Block Size 64.0 KB
118
+ Current Block Size 64.0 KB
119
+ Peak Allocated Bytes 0 B
120
+ Overflow Count 0
121
+ [ALLOC_TEMP_AUDIO_FMOD stream thread]
122
+ Initial Block Size 64.0 KB
123
+ Current Block Size 64.0 KB
124
+ Peak Allocated Bytes 0 B
125
+ Overflow Count 0
126
+ [ALLOC_TEMP_Background Job.Worker 2]
127
+ Initial Block Size 32.0 KB
128
+ Current Block Size 32.0 KB
129
+ Peak Allocated Bytes 0 B
130
+ Overflow Count 0
131
+ [ALLOC_TEMP_Background Job.Worker 7]
132
+ Initial Block Size 32.0 KB
133
+ Current Block Size 32.0 KB
134
+ Peak Allocated Bytes 0 B
135
+ Overflow Count 0
136
+ [ALLOC_TEMP_Background Job.Worker 15]
137
+ Initial Block Size 32.0 KB
138
+ Current Block Size 32.0 KB
139
+ Peak Allocated Bytes 0 B
140
+ Overflow Count 0
141
+ [ALLOC_TEMP_Job.Worker 1]
142
+ Initial Block Size 256.0 KB
143
+ Current Block Size 256.0 KB
144
+ Peak Allocated Bytes 0.8 KB
145
+ Overflow Count 0
146
+ [ALLOC_TEMP_Loading.PreloadManager]
147
+ Initial Block Size 256.0 KB
148
+ Current Block Size 320.0 KB
149
+ Peak Allocated Bytes 251.5 KB
150
+ Overflow Count 4
151
+ [ALLOC_TEMP_Profiler.Dispatcher]
152
+ Initial Block Size 64.0 KB
153
+ Current Block Size 64.0 KB
154
+ Peak Allocated Bytes 480 B
155
+ Overflow Count 0
156
+ [ALLOC_TEMP_Background Job.Worker 12]
157
+ Initial Block Size 32.0 KB
158
+ Current Block Size 32.0 KB
159
+ Peak Allocated Bytes 0 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 0 B
165
+ Overflow Count 0
166
+ [ALLOC_TEMP_Background Job.Worker 5]
167
+ Initial Block Size 32.0 KB
168
+ Current Block Size 32.0 KB
169
+ Peak Allocated Bytes 0 B
170
+ Overflow Count 0
171
+ [ALLOC_TEMP_Background Job.Worker 13]
172
+ Initial Block Size 32.0 KB
173
+ Current Block Size 32.0 KB
174
+ Peak Allocated Bytes 0 B
175
+ Overflow Count 0
176
+ [ALLOC_TEMP_Job.Worker 2]
177
+ Initial Block Size 256.0 KB
178
+ Current Block Size 256.0 KB
179
+ Peak Allocated Bytes 0 B
180
+ Overflow Count 0
181
+ [ALLOC_TEMP_Background Job.Worker 0]
182
+ Initial Block Size 32.0 KB
183
+ Current Block Size 32.0 KB
184
+ Peak Allocated Bytes 0 B
185
+ Overflow Count 0
186
+ [ALLOC_TEMP_Background Job.Worker 4]
187
+ Initial Block Size 32.0 KB
188
+ Current Block Size 32.0 KB
189
+ Peak Allocated Bytes 0 B
190
+ Overflow Count 0
191
+ [ALLOC_TEMP_Job.Worker 0]
192
+ Initial Block Size 256.0 KB
193
+ Current Block Size 256.0 KB
194
+ Peak Allocated Bytes 0 B
195
+ Overflow Count 0
196
+ [ALLOC_TEMP_Background Job.Worker 14]
197
+ Initial Block Size 32.0 KB
198
+ Current Block Size 32.0 KB
199
+ Peak Allocated Bytes 0 B
200
+ Overflow Count 0
201
+ [ALLOC_TEMP_Background Job.Worker 9]
202
+ Initial Block Size 32.0 KB
203
+ Current Block Size 32.0 KB
204
+ Peak Allocated Bytes 0 B
205
+ Overflow Count 0
206
+ [ALLOC_TEMP_EnlightenWorker] x 2
207
+ Initial Block Size 64.0 KB
208
+ Current Block Size 64.0 KB
209
+ Peak Allocated Bytes 0 B
210
+ Overflow Count 0
211
+ [ALLOC_TEMP_Loading.AsyncRead]
212
+ Initial Block Size 64.0 KB
213
+ Current Block Size 64.0 KB
214
+ Peak Allocated Bytes 128 B
215
+ Overflow Count 0
216
+ [ALLOC_MEMORYPROFILER]
217
+ Peak usage frame count: [0.5 MB-1.0 MB]: 39 frames
218
+ Requested Block Size 1.0 MB
219
+ Peak Block count 1
220
+ Peak Allocated memory 0.9 MB
221
+ Peak Large allocation bytes 0 B
222
+ [ALLOC_DEFAULT] Dual Thread Allocator
223
+ Peak main deferred allocation count 1536
224
+ [ALLOC_BUCKET]
225
+ Large Block size 4.0 MB
226
+ Used Block count 1
227
+ Peak Allocated bytes 1.2 MB
228
+ [ALLOC_DEFAULT_MAIN]
229
+ Peak usage frame count: [8.0 MB-16.0 MB]: 1 frames, [16.0 MB-32.0 MB]: 38 frames
230
+ Requested Block Size 16.0 MB
231
+ Peak Block count 2
232
+ Peak Allocated memory 18.3 MB
233
+ Peak Large allocation bytes 0 B
234
+ [ALLOC_DEFAULT_THREAD]
235
+ Peak usage frame count: [16.0 MB-32.0 MB]: 39 frames
236
+ Requested Block Size 16.0 MB
237
+ Peak Block count 1
238
+ Peak Allocated memory 23.2 MB
239
+ Peak Large allocation bytes 16.0 MB
240
+ [ALLOC_TEMP_JOB_1_FRAME]
241
+ Initial Block Size 2.0 MB
242
+ Used Block Count 1
243
+ Overflow Count (too large) 0
244
+ Overflow Count (full) 0
245
+ [ALLOC_TEMP_JOB_2_FRAMES]
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_4_FRAMES (JobTemp)]
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_ASYNC (Background)]
256
+ Initial Block Size 1.0 MB
257
+ Used Block Count 3
258
+ Overflow Count (too large) 0
259
+ Overflow Count (full) 0
260
+ [ALLOC_GFX] Dual Thread Allocator
261
+ Peak main deferred allocation count 0
262
+ [ALLOC_BUCKET]
263
+ Large Block size 4.0 MB
264
+ Used Block count 1
265
+ Peak Allocated bytes 1.2 MB
266
+ [ALLOC_GFX_MAIN]
267
+ Peak usage frame count: [32.0 KB-64.0 KB]: 38 frames, [64.0 KB-128.0 KB]: 1 frames
268
+ Requested Block Size 16.0 MB
269
+ Peak Block count 1
270
+ Peak Allocated memory 67.0 KB
271
+ Peak Large allocation bytes 0 B
272
+ [ALLOC_GFX_THREAD]
273
+ Peak usage frame count: [64.0 KB-128.0 KB]: 39 frames
274
+ Requested Block Size 16.0 MB
275
+ Peak Block count 1
276
+ Peak Allocated memory 67.7 KB
277
+ Peak Large allocation bytes 0 B
278
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
279
+ Peak main deferred allocation count 1
280
+ [ALLOC_BUCKET]
281
+ Large Block size 4.0 MB
282
+ Used Block count 1
283
+ Peak Allocated bytes 1.2 MB
284
+ [ALLOC_CACHEOBJECTS_MAIN]
285
+ Peak usage frame count: [0.5 MB-1.0 MB]: 39 frames
286
+ Requested Block Size 4.0 MB
287
+ Peak Block count 1
288
+ Peak Allocated memory 0.9 MB
289
+ Peak Large allocation bytes 0 B
290
+ [ALLOC_CACHEOBJECTS_THREAD]
291
+ Peak usage frame count: [1.0 MB-2.0 MB]: 38 frames, [4.0 MB-8.0 MB]: 1 frames
292
+ Requested Block Size 4.0 MB
293
+ Peak Block count 2
294
+ Peak Allocated memory 4.7 MB
295
+ Peak Large allocation bytes 0 B
296
+ [ALLOC_TYPETREE] Dual Thread Allocator
297
+ Peak main deferred allocation count 0
298
+ [ALLOC_BUCKET]
299
+ Large Block size 4.0 MB
300
+ Used Block count 1
301
+ Peak Allocated bytes 1.2 MB
302
+ [ALLOC_TYPETREE_MAIN]
303
+ Peak usage frame count: [0-1.0 KB]: 39 frames
304
+ Requested Block Size 2.0 MB
305
+ Peak Block count 1
306
+ Peak Allocated memory 1.0 KB
307
+ Peak Large allocation bytes 0 B
308
+ [ALLOC_TYPETREE_THREAD]
309
+ Peak usage frame count: [1.0 KB-2.0 KB]: 39 frames
310
+ Requested Block Size 2.0 MB
311
+ Peak Block count 1
312
+ Peak Allocated memory 1.9 KB
313
+ Peak Large allocation bytes 0 B
314
+ [ALLOC_PROFILER]
315
+ Peak usage frame count: [16.0 KB-32.0 KB]: 39 frames
316
+ Requested Block Size 16.0 MB
317
+ Peak Block count 1
318
+ Peak Allocated memory 29.5 KB
319
+ Peak Large allocation bytes 0 B
320
+ [ALLOC_PROFILER_BUCKET]
321
+ Large Block size 4.0 MB
322
+ Used Block count 1
323
+ Peak Allocated bytes 396 B
324
+ ##utp:{"type":"MemoryLeaks","version":2,"phase":"Immediate","time":1680809483772,"processId":1417,"allocatedMemory":1972146,"memoryLabels":[{"Default":9033},{"Permanent":1264},{"NewDelete":12801},{"Thread":34516},{"Manager":11723},{"VertexData":12},{"Geometry":280},{"Texture":16},{"Shader":69173},{"Material":24},{"GfxDevice":35248},{"Animation":304},{"Audio":3976},{"Physics":288},{"Serialization":216},{"Input":9176},{"JobScheduler":200},{"Mono":40},{"ScriptingNativeRuntime":216},{"BaseObject":1609212},{"Resource":592},{"Renderer":1936},{"Transform":48},{"File":800},{"WebCam":24},{"Culling":40},{"Terrain":953},{"Wind":24},{"String":3468},{"DynamicArray":30868},{"HashMap":7680},{"Utility":2176},{"PoolAlloc":1160},{"TypeTree":1792},{"ScriptManager":80},{"RuntimeInitializeOnLoadManager":72},{"SpriteAtlas":112},{"GI":3272},{"Unet":16},{"Director":7760},{"WebRequest":720},{"VR":45473},{"SceneManager":424},{"Video":32},{"LazyScriptCache":32},{"NativeArray":384},{"Camera":25},{"Secure":1},{"SerializationCache":624},{"APIUpdating":5872},{"Subsystems":384},{"VirtualTexturing":57552},{"AssetReference":32}]}
run_logs/timers.json ADDED
@@ -0,0 +1,197 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "metadata": {
4
+ "timer_format_version": "0.1.0",
5
+ "start_time_seconds": "1680809478",
6
+ "python_version": "3.10.5 | packaged by conda-forge | (main, Jun 14 2022, 07:04:59) [GCC 10.3.0]",
7
+ "command_line_arguments": "ml-agents/mlagents/trainers/learn.py ./config/ppo/PyramidsRND.yaml --env=./training-envs-executables/linux/Pyramids/Pyramids --run-id=Pyramids Training --no-graphics --force",
8
+ "mlagents_version": "0.31.0.dev0",
9
+ "mlagents_envs_version": "0.31.0.dev0",
10
+ "communication_protocol_version": "1.5.0",
11
+ "pytorch_version": "1.11.0+cu102",
12
+ "numpy_version": "1.21.2",
13
+ "end_time_seconds": "1680809483"
14
+ },
15
+ "total": 5.488942410000163,
16
+ "count": 1,
17
+ "self": 0.3839939360000244,
18
+ "children": {
19
+ "run_training.setup": {
20
+ "total": 0.028669853000337753,
21
+ "count": 1,
22
+ "self": 0.028669853000337753
23
+ },
24
+ "TrainerController.start_learning": {
25
+ "total": 5.076278620999801,
26
+ "count": 1,
27
+ "self": 0.004815533995042642,
28
+ "children": {
29
+ "TrainerController._reset_env": {
30
+ "total": 1.2575389300000097,
31
+ "count": 1,
32
+ "self": 1.2575389300000097
33
+ },
34
+ "TrainerController.advance": {
35
+ "total": 3.6890459210048903,
36
+ "count": 128,
37
+ "self": 0.005096853004943114,
38
+ "children": {
39
+ "env_step": {
40
+ "total": 3.4049632540027233,
41
+ "count": 128,
42
+ "self": 3.1243298950043936,
43
+ "children": {
44
+ "SubprocessEnvManager._take_step": {
45
+ "total": 0.27806894400009696,
46
+ "count": 128,
47
+ "self": 0.014406682001663285,
48
+ "children": {
49
+ "TorchPolicy.evaluate": {
50
+ "total": 0.2636622619984337,
51
+ "count": 128,
52
+ "self": 0.2636622619984337
53
+ }
54
+ }
55
+ },
56
+ "workers": {
57
+ "total": 0.002564414998232678,
58
+ "count": 128,
59
+ "self": 0.0,
60
+ "children": {
61
+ "worker_root": {
62
+ "total": 4.695457389996591,
63
+ "count": 128,
64
+ "is_parallel": true,
65
+ "self": 2.0522189569906004,
66
+ "children": {
67
+ "run_training.setup": {
68
+ "total": 0.0,
69
+ "count": 0,
70
+ "is_parallel": true,
71
+ "self": 0.0,
72
+ "children": {
73
+ "steps_from_proto": {
74
+ "total": 0.0022281389997260703,
75
+ "count": 1,
76
+ "is_parallel": true,
77
+ "self": 0.00073014300005525,
78
+ "children": {
79
+ "_process_rank_one_or_two_observation": {
80
+ "total": 0.0014979959996708203,
81
+ "count": 8,
82
+ "is_parallel": true,
83
+ "self": 0.0014979959996708203
84
+ }
85
+ }
86
+ },
87
+ "UnityEnvironment.step": {
88
+ "total": 0.04985738900040815,
89
+ "count": 1,
90
+ "is_parallel": true,
91
+ "self": 0.00039290800032176776,
92
+ "children": {
93
+ "UnityEnvironment._generate_step_input": {
94
+ "total": 0.00037218099987512687,
95
+ "count": 1,
96
+ "is_parallel": true,
97
+ "self": 0.00037218099987512687
98
+ },
99
+ "communicator.exchange": {
100
+ "total": 0.04784012500022072,
101
+ "count": 1,
102
+ "is_parallel": true,
103
+ "self": 0.04784012500022072
104
+ },
105
+ "steps_from_proto": {
106
+ "total": 0.0012521749999905296,
107
+ "count": 1,
108
+ "is_parallel": true,
109
+ "self": 0.0003200290002496331,
110
+ "children": {
111
+ "_process_rank_one_or_two_observation": {
112
+ "total": 0.0009321459997408965,
113
+ "count": 8,
114
+ "is_parallel": true,
115
+ "self": 0.0009321459997408965
116
+ }
117
+ }
118
+ }
119
+ }
120
+ }
121
+ }
122
+ },
123
+ "UnityEnvironment.step": {
124
+ "total": 2.6432384330059904,
125
+ "count": 127,
126
+ "is_parallel": true,
127
+ "self": 0.07031876200653642,
128
+ "children": {
129
+ "UnityEnvironment._generate_step_input": {
130
+ "total": 0.04903905799756103,
131
+ "count": 127,
132
+ "is_parallel": true,
133
+ "self": 0.04903905799756103
134
+ },
135
+ "communicator.exchange": {
136
+ "total": 2.3157620660008433,
137
+ "count": 127,
138
+ "is_parallel": true,
139
+ "self": 2.3157620660008433
140
+ },
141
+ "steps_from_proto": {
142
+ "total": 0.2081185470010496,
143
+ "count": 127,
144
+ "is_parallel": true,
145
+ "self": 0.0484633290061538,
146
+ "children": {
147
+ "_process_rank_one_or_two_observation": {
148
+ "total": 0.1596552179948958,
149
+ "count": 1016,
150
+ "is_parallel": true,
151
+ "self": 0.1596552179948958
152
+ }
153
+ }
154
+ }
155
+ }
156
+ }
157
+ }
158
+ }
159
+ }
160
+ }
161
+ }
162
+ },
163
+ "trainer_advance": {
164
+ "total": 0.2789858139972239,
165
+ "count": 128,
166
+ "self": 0.003896467999311426,
167
+ "children": {
168
+ "process_trajectory": {
169
+ "total": 0.27508934599791246,
170
+ "count": 128,
171
+ "self": 0.27508934599791246
172
+ }
173
+ }
174
+ }
175
+ }
176
+ },
177
+ "trainer_threads": {
178
+ "total": 2.1310002011887264e-06,
179
+ "count": 1,
180
+ "self": 2.1310002011887264e-06
181
+ },
182
+ "TrainerController._save_models": {
183
+ "total": 0.1248761049996574,
184
+ "count": 1,
185
+ "self": 0.0032216149993473664,
186
+ "children": {
187
+ "RLTrainer._checkpoint": {
188
+ "total": 0.12165449000031003,
189
+ "count": 1,
190
+ "self": 0.12165449000031003
191
+ }
192
+ }
193
+ }
194
+ }
195
+ }
196
+ }
197
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Pyramids": {
3
+ "checkpoints": [
4
+ {
5
+ "steps": 2048,
6
+ "file_path": "results/Pyramids Training/Pyramids/Pyramids-2048.onnx",
7
+ "reward": null,
8
+ "creation_time": 1680809483.4232855,
9
+ "auxillary_file_paths": [
10
+ "results/Pyramids Training/Pyramids/Pyramids-2048.pt"
11
+ ]
12
+ }
13
+ ],
14
+ "final_checkpoint": {
15
+ "steps": 2048,
16
+ "file_path": "results/Pyramids Training/Pyramids.onnx",
17
+ "reward": null,
18
+ "creation_time": 1680809483.4232855,
19
+ "auxillary_file_paths": [
20
+ "results/Pyramids Training/Pyramids/Pyramids-2048.pt"
21
+ ]
22
+ }
23
+ },
24
+ "metadata": {
25
+ "stats_format_version": "0.3.0",
26
+ "mlagents_version": "0.31.0.dev0",
27
+ "torch_version": "1.11.0+cu102"
28
+ }
29
+ }