jinhu2659 commited on
Commit
1c6f276
1 Parent(s): c8cff9b

Trained agent

Browse files
Pyramids.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:57d20417e340ab184ee0d6f762e56cad8d19ec07b21e14a54d6fd51a635fbf65
3
+ size 1417437
Pyramids/Pyramids-0.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:116e5e1fee31d99a7d980b199401a8a301a8bec48b63cd4ad9d8b6897632219c
3
+ size 1417437
Pyramids/Pyramids-0.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5e3477ab461d6f3157833cded4862beb0c98d126d57c3e9bdce169abc9e74f2
3
+ size 2994929
Pyramids/Pyramids-30006.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:57d20417e340ab184ee0d6f762e56cad8d19ec07b21e14a54d6fd51a635fbf65
3
+ size 1417437
Pyramids/Pyramids-30006.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:38a1ca09bdc48c1edfbe9c52f0f770da3534d1e05ae9dc701f1c4dce781b5490
3
+ size 8651426
Pyramids/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:38a1ca09bdc48c1edfbe9c52f0f770da3534d1e05ae9dc701f1c4dce781b5490
3
+ size 8651426
Pyramids/events.out.tfevents.1677335300.94dc02c7bf80.19128.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae588e04d277a93975e7570645215dd91eb686204601fb20854ca21c23f02f31
3
+ size 2391
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: jinhu2659/ppo-PyramidsRDN
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": "/content/ml-agents/trainedPyramidsRND/PyramidsRND/Pyramids/checkpoint.pt", "keep_checkpoints": 5, "checkpoint_interval": 500000, "max_steps": 30000, "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": "PyramidsRDN", "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: /content/ml-agents/trainedPyramidsRND/PyramidsRND/Pyramids/checkpoint.pt
50
+ keep_checkpoints: 5
51
+ checkpoint_interval: 500000
52
+ max_steps: 30000
53
+ time_horizon: 128
54
+ summary_freq: 30000
55
+ threaded: false
56
+ self_play: null
57
+ behavioral_cloning: null
58
+ env_settings:
59
+ env_path: ./training-envs-executables/linux/Pyramids/Pyramids
60
+ env_args: null
61
+ base_port: 5005
62
+ num_envs: 1
63
+ num_areas: 1
64
+ seed: -1
65
+ max_lifetime_restarts: 10
66
+ restarts_rate_limit_n: 1
67
+ restarts_rate_limit_period_s: 60
68
+ engine_settings:
69
+ width: 84
70
+ height: 84
71
+ quality_level: 5
72
+ time_scale: 20
73
+ target_frame_rate: -1
74
+ capture_frame_rate: 60
75
+ no_graphics: true
76
+ environment_parameters: null
77
+ checkpoint_settings:
78
+ run_id: PyramidsRDN
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,314 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/content/ml-agents/training-envs-executables/linux/Pyramids/Pyramids_Data/Managed'
2
+ Mono config path = '/content/ml-agents/training-envs-executables/linux/Pyramids/Pyramids_Data/MonoBleedingEdge/etc'
3
+ Found 1 interfaces on host : 0) 172.28.0.12
4
+ Multi-casting "[IP] 172.28.0.12 [Port] 55308 [Flags] 2 [Guid] 1897820874 [EditorId] 764847374 [Version] 1048832 [Id] LinuxPlayer(13,172.28.0.12) [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 /content/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.109 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.228846 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 1 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]: 34 frames, [32.0 KB-64.0 KB]: 343 frames, [64.0 KB-128.0 KB]: 197 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 15]
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 7]
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_Loading.PreloadManager]
142
+ Initial Block Size 256.0 KB
143
+ Current Block Size 320.0 KB
144
+ Peak Allocated Bytes 251.5 KB
145
+ Overflow Count 4
146
+ [ALLOC_TEMP_Profiler.Dispatcher]
147
+ Initial Block Size 64.0 KB
148
+ Current Block Size 64.0 KB
149
+ Peak Allocated Bytes 0 B
150
+ Overflow Count 0
151
+ [ALLOC_TEMP_Background Job.Worker 12]
152
+ Initial Block Size 32.0 KB
153
+ Current Block Size 32.0 KB
154
+ Peak Allocated Bytes 0 B
155
+ Overflow Count 0
156
+ [ALLOC_TEMP_AssetGarbageCollectorHelper]
157
+ Initial Block Size 64.0 KB
158
+ Current Block Size 64.0 KB
159
+ Peak Allocated Bytes 0 B
160
+ Overflow Count 0
161
+ [ALLOC_TEMP_Background Job.Worker 5]
162
+ Initial Block Size 32.0 KB
163
+ Current Block Size 32.0 KB
164
+ Peak Allocated Bytes 0 B
165
+ Overflow Count 0
166
+ [ALLOC_TEMP_Background Job.Worker 13]
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 0]
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_Background Job.Worker 4]
177
+ Initial Block Size 32.0 KB
178
+ Current Block Size 32.0 KB
179
+ Peak Allocated Bytes 0 B
180
+ Overflow Count 0
181
+ [ALLOC_TEMP_Job.Worker 0]
182
+ Initial Block Size 256.0 KB
183
+ Current Block Size 256.0 KB
184
+ Peak Allocated Bytes 0.8 KB
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 0 B
190
+ Overflow Count 0
191
+ [ALLOC_TEMP_Background Job.Worker 9]
192
+ Initial Block Size 32.0 KB
193
+ Current Block Size 32.0 KB
194
+ Peak Allocated Bytes 0 B
195
+ Overflow Count 0
196
+ [ALLOC_TEMP_EnlightenWorker]
197
+ Initial Block Size 64.0 KB
198
+ Current Block Size 64.0 KB
199
+ Peak Allocated Bytes 0 B
200
+ Overflow Count 0
201
+ [ALLOC_TEMP_Loading.AsyncRead]
202
+ Initial Block Size 64.0 KB
203
+ Current Block Size 64.0 KB
204
+ Peak Allocated Bytes 128 B
205
+ Overflow Count 0
206
+ [ALLOC_MEMORYPROFILER]
207
+ Peak usage frame count: [0.5 MB-1.0 MB]: 36 frames, [1.0 MB-2.0 MB]: 539 frames
208
+ Requested Block Size 1.0 MB
209
+ Peak Block count 2
210
+ Peak Allocated memory 1.0 MB
211
+ Peak Large allocation bytes 0 B
212
+ [ALLOC_DEFAULT] Dual Thread Allocator
213
+ Peak main deferred allocation count 12008
214
+ [ALLOC_BUCKET]
215
+ Large Block size 4.0 MB
216
+ Used Block count 1
217
+ Peak Allocated bytes 1.3 MB
218
+ [ALLOC_DEFAULT_MAIN]
219
+ Peak usage frame count: [8.0 MB-16.0 MB]: 2 frames, [16.0 MB-32.0 MB]: 573 frames
220
+ Requested Block Size 16.0 MB
221
+ Peak Block count 2
222
+ Peak Allocated memory 20.9 MB
223
+ Peak Large allocation bytes 0 B
224
+ [ALLOC_DEFAULT_THREAD]
225
+ Peak usage frame count: [16.0 MB-32.0 MB]: 575 frames
226
+ Requested Block Size 16.0 MB
227
+ Peak Block count 1
228
+ Peak Allocated memory 24.0 MB
229
+ Peak Large allocation bytes 16.0 MB
230
+ [ALLOC_TEMP_JOB_1_FRAME]
231
+ Initial Block Size 2.0 MB
232
+ Used Block Count 1
233
+ Overflow Count (too large) 0
234
+ Overflow Count (full) 0
235
+ [ALLOC_TEMP_JOB_2_FRAMES]
236
+ Initial Block Size 2.0 MB
237
+ Used Block Count 1
238
+ Overflow Count (too large) 0
239
+ Overflow Count (full) 0
240
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
241
+ Initial Block Size 2.0 MB
242
+ Used Block Count 2
243
+ Overflow Count (too large) 0
244
+ Overflow Count (full) 0
245
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
246
+ Initial Block Size 1.0 MB
247
+ Used Block Count 3
248
+ Overflow Count (too large) 0
249
+ Overflow Count (full) 0
250
+ [ALLOC_GFX] Dual Thread Allocator
251
+ Peak main deferred allocation count 0
252
+ [ALLOC_BUCKET]
253
+ Large Block size 4.0 MB
254
+ Used Block count 1
255
+ Peak Allocated bytes 1.3 MB
256
+ [ALLOC_GFX_MAIN]
257
+ Peak usage frame count: [32.0 KB-64.0 KB]: 574 frames, [64.0 KB-128.0 KB]: 1 frames
258
+ Requested Block Size 16.0 MB
259
+ Peak Block count 1
260
+ Peak Allocated memory 67.0 KB
261
+ Peak Large allocation bytes 0 B
262
+ [ALLOC_GFX_THREAD]
263
+ Peak usage frame count: [64.0 KB-128.0 KB]: 575 frames
264
+ Requested Block Size 16.0 MB
265
+ Peak Block count 1
266
+ Peak Allocated memory 67.7 KB
267
+ Peak Large allocation bytes 0 B
268
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
269
+ Peak main deferred allocation count 1
270
+ [ALLOC_BUCKET]
271
+ Large Block size 4.0 MB
272
+ Used Block count 1
273
+ Peak Allocated bytes 1.3 MB
274
+ [ALLOC_CACHEOBJECTS_MAIN]
275
+ Peak usage frame count: [0.5 MB-1.0 MB]: 48 frames, [1.0 MB-2.0 MB]: 527 frames
276
+ Requested Block Size 4.0 MB
277
+ Peak Block count 1
278
+ Peak Allocated memory 1.4 MB
279
+ Peak Large allocation bytes 0 B
280
+ [ALLOC_CACHEOBJECTS_THREAD]
281
+ Peak usage frame count: [1.0 MB-2.0 MB]: 574 frames, [4.0 MB-8.0 MB]: 1 frames
282
+ Requested Block Size 4.0 MB
283
+ Peak Block count 2
284
+ Peak Allocated memory 4.7 MB
285
+ Peak Large allocation bytes 0 B
286
+ [ALLOC_TYPETREE] Dual Thread Allocator
287
+ Peak main deferred allocation count 0
288
+ [ALLOC_BUCKET]
289
+ Large Block size 4.0 MB
290
+ Used Block count 1
291
+ Peak Allocated bytes 1.3 MB
292
+ [ALLOC_TYPETREE_MAIN]
293
+ Peak usage frame count: [0-1.0 KB]: 575 frames
294
+ Requested Block Size 2.0 MB
295
+ Peak Block count 1
296
+ Peak Allocated memory 1.0 KB
297
+ Peak Large allocation bytes 0 B
298
+ [ALLOC_TYPETREE_THREAD]
299
+ Peak usage frame count: [1.0 KB-2.0 KB]: 575 frames
300
+ Requested Block Size 2.0 MB
301
+ Peak Block count 1
302
+ Peak Allocated memory 1.9 KB
303
+ Peak Large allocation bytes 0 B
304
+ [ALLOC_PROFILER]
305
+ Peak usage frame count: [16.0 KB-32.0 KB]: 575 frames
306
+ Requested Block Size 16.0 MB
307
+ Peak Block count 1
308
+ Peak Allocated memory 27.4 KB
309
+ Peak Large allocation bytes 0 B
310
+ [ALLOC_PROFILER_BUCKET]
311
+ Large Block size 4.0 MB
312
+ Used Block count 1
313
+ Peak Allocated bytes 396 B
314
+ ##utp:{"type":"MemoryLeaks","version":2,"phase":"Immediate","time":1677335423764,"processId":19148,"allocatedMemory":1970133,"memoryLabels":[{"Default":9033},{"Permanent":1264},{"NewDelete":12801},{"Thread":34460},{"Manager":10603},{"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":3447},{"DynamicArray":30868},{"HashMap":7680},{"Utility":1360},{"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,398 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "Pyramids.Policy.Entropy.mean": {
5
+ "value": 0.16846612095832825,
6
+ "min": 0.16846612095832825,
7
+ "max": 0.16846612095832825,
8
+ "count": 1
9
+ },
10
+ "Pyramids.Policy.Entropy.sum": {
11
+ "value": 5161.8017578125,
12
+ "min": 5161.8017578125,
13
+ "max": 5161.8017578125,
14
+ "count": 1
15
+ },
16
+ "Pyramids.Environment.EpisodeLength.mean": {
17
+ "value": 237.88073394495413,
18
+ "min": 237.88073394495413,
19
+ "max": 237.88073394495413,
20
+ "count": 1
21
+ },
22
+ "Pyramids.Environment.EpisodeLength.sum": {
23
+ "value": 25929.0,
24
+ "min": 25929.0,
25
+ "max": 25929.0,
26
+ "count": 1
27
+ },
28
+ "Pyramids.Step.mean": {
29
+ "value": 29878.0,
30
+ "min": 29878.0,
31
+ "max": 29878.0,
32
+ "count": 1
33
+ },
34
+ "Pyramids.Step.sum": {
35
+ "value": 29878.0,
36
+ "min": 29878.0,
37
+ "max": 29878.0,
38
+ "count": 1
39
+ },
40
+ "Pyramids.Policy.ExtrinsicValueEstimate.mean": {
41
+ "value": 0.7412320971488953,
42
+ "min": 0.7412320971488953,
43
+ "max": 0.7412320971488953,
44
+ "count": 1
45
+ },
46
+ "Pyramids.Policy.ExtrinsicValueEstimate.sum": {
47
+ "value": 217.18099975585938,
48
+ "min": 217.18099975585938,
49
+ "max": 217.18099975585938,
50
+ "count": 1
51
+ },
52
+ "Pyramids.Policy.RndValueEstimate.mean": {
53
+ "value": 0.0023311811964958906,
54
+ "min": 0.0023311811964958906,
55
+ "max": 0.0023311811964958906,
56
+ "count": 1
57
+ },
58
+ "Pyramids.Policy.RndValueEstimate.sum": {
59
+ "value": 0.6830360889434814,
60
+ "min": 0.6830360889434814,
61
+ "max": 0.6830360889434814,
62
+ "count": 1
63
+ },
64
+ "Pyramids.Environment.CumulativeReward.mean": {
65
+ "value": 1.7621192530207677,
66
+ "min": 1.7621192530207677,
67
+ "max": 1.7621192530207677,
68
+ "count": 1
69
+ },
70
+ "Pyramids.Environment.CumulativeReward.sum": {
71
+ "value": 192.0709985792637,
72
+ "min": 192.0709985792637,
73
+ "max": 192.0709985792637,
74
+ "count": 1
75
+ },
76
+ "Pyramids.Policy.ExtrinsicReward.mean": {
77
+ "value": 1.7621192530207677,
78
+ "min": 1.7621192530207677,
79
+ "max": 1.7621192530207677,
80
+ "count": 1
81
+ },
82
+ "Pyramids.Policy.ExtrinsicReward.sum": {
83
+ "value": 192.0709985792637,
84
+ "min": 192.0709985792637,
85
+ "max": 192.0709985792637,
86
+ "count": 1
87
+ },
88
+ "Pyramids.Policy.RndReward.mean": {
89
+ "value": 0.016122180365419566,
90
+ "min": 0.016122180365419566,
91
+ "max": 0.016122180365419566,
92
+ "count": 1
93
+ },
94
+ "Pyramids.Policy.RndReward.sum": {
95
+ "value": 1.7573176598307327,
96
+ "min": 1.7573176598307327,
97
+ "max": 1.7573176598307327,
98
+ "count": 1
99
+ },
100
+ "Pyramids.Losses.PolicyLoss.mean": {
101
+ "value": 0.06701332339157705,
102
+ "min": 0.06701332339157705,
103
+ "max": 0.06701332339157705,
104
+ "count": 1
105
+ },
106
+ "Pyramids.Losses.PolicyLoss.sum": {
107
+ "value": 0.9381865274820788,
108
+ "min": 0.9381865274820788,
109
+ "max": 0.9381865274820788,
110
+ "count": 1
111
+ },
112
+ "Pyramids.Losses.ValueLoss.mean": {
113
+ "value": 0.012394201283833745,
114
+ "min": 0.012394201283833745,
115
+ "max": 0.012394201283833745,
116
+ "count": 1
117
+ },
118
+ "Pyramids.Losses.ValueLoss.sum": {
119
+ "value": 0.17351881797367244,
120
+ "min": 0.17351881797367244,
121
+ "max": 0.17351881797367244,
122
+ "count": 1
123
+ },
124
+ "Pyramids.Policy.LearningRate.mean": {
125
+ "value": 0.0001423307668421429,
126
+ "min": 0.0001423307668421429,
127
+ "max": 0.0001423307668421429,
128
+ "count": 1
129
+ },
130
+ "Pyramids.Policy.LearningRate.sum": {
131
+ "value": 0.0019926307357900006,
132
+ "min": 0.0019926307357900006,
133
+ "max": 0.0019926307357900006,
134
+ "count": 1
135
+ },
136
+ "Pyramids.Policy.Epsilon.mean": {
137
+ "value": 0.1474435714285714,
138
+ "min": 0.1474435714285714,
139
+ "max": 0.1474435714285714,
140
+ "count": 1
141
+ },
142
+ "Pyramids.Policy.Epsilon.sum": {
143
+ "value": 2.0642099999999997,
144
+ "min": 2.0642099999999997,
145
+ "max": 2.0642099999999997,
146
+ "count": 1
147
+ },
148
+ "Pyramids.Policy.Beta.mean": {
149
+ "value": 0.0047496127857142864,
150
+ "min": 0.0047496127857142864,
151
+ "max": 0.0047496127857142864,
152
+ "count": 1
153
+ },
154
+ "Pyramids.Policy.Beta.sum": {
155
+ "value": 0.06649457900000001,
156
+ "min": 0.06649457900000001,
157
+ "max": 0.06649457900000001,
158
+ "count": 1
159
+ },
160
+ "Pyramids.Losses.RNDLoss.mean": {
161
+ "value": 0.006471684668213129,
162
+ "min": 0.006471684668213129,
163
+ "max": 0.006471684668213129,
164
+ "count": 1
165
+ },
166
+ "Pyramids.Losses.RNDLoss.sum": {
167
+ "value": 0.09060358256101608,
168
+ "min": 0.09060358256101608,
169
+ "max": 0.09060358256101608,
170
+ "count": 1
171
+ },
172
+ "Pyramids.IsTraining.mean": {
173
+ "value": 1.0,
174
+ "min": 1.0,
175
+ "max": 1.0,
176
+ "count": 1
177
+ },
178
+ "Pyramids.IsTraining.sum": {
179
+ "value": 1.0,
180
+ "min": 1.0,
181
+ "max": 1.0,
182
+ "count": 1
183
+ }
184
+ },
185
+ "metadata": {
186
+ "timer_format_version": "0.1.0",
187
+ "start_time_seconds": "1677335296",
188
+ "python_version": "3.8.10 (default, Nov 14 2022, 12:59:47) \n[GCC 9.4.0]",
189
+ "command_line_arguments": "/usr/local/bin/mlagents-learn ./config/ppo/PyramidsRND.yaml --env=./training-envs-executables/linux/Pyramids/Pyramids --run-id=PyramidsRDN --no-graphics --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.8.1+cu102",
194
+ "numpy_version": "1.22.4",
195
+ "end_time_seconds": "1677335423"
196
+ },
197
+ "total": 127.13320774699969,
198
+ "count": 1,
199
+ "self": 1.4585995909992562,
200
+ "children": {
201
+ "run_training.setup": {
202
+ "total": 0.13985250600035215,
203
+ "count": 1,
204
+ "self": 0.13985250600035215
205
+ },
206
+ "TrainerController.start_learning": {
207
+ "total": 125.53475565000008,
208
+ "count": 1,
209
+ "self": 0.07200596601433062,
210
+ "children": {
211
+ "TrainerController._reset_env": {
212
+ "total": 4.112004425000123,
213
+ "count": 1,
214
+ "self": 4.112004425000123
215
+ },
216
+ "TrainerController.advance": {
217
+ "total": 121.22813419298564,
218
+ "count": 2004,
219
+ "self": 0.08029909696415416,
220
+ "children": {
221
+ "env_step": {
222
+ "total": 83.12559663402499,
223
+ "count": 2004,
224
+ "self": 78.59668753001642,
225
+ "children": {
226
+ "SubprocessEnvManager._take_step": {
227
+ "total": 4.482824644001994,
228
+ "count": 2004,
229
+ "self": 0.21870967701488553,
230
+ "children": {
231
+ "TorchPolicy.evaluate": {
232
+ "total": 4.264114966987108,
233
+ "count": 1915,
234
+ "self": 0.9180508729659778,
235
+ "children": {
236
+ "TorchPolicy.sample_actions": {
237
+ "total": 3.3460640940211306,
238
+ "count": 1915,
239
+ "self": 3.3460640940211306
240
+ }
241
+ }
242
+ }
243
+ }
244
+ },
245
+ "workers": {
246
+ "total": 0.046084460006568406,
247
+ "count": 2004,
248
+ "self": 0.0,
249
+ "children": {
250
+ "worker_root": {
251
+ "total": 125.18974127597176,
252
+ "count": 2004,
253
+ "is_parallel": true,
254
+ "self": 52.74202067297574,
255
+ "children": {
256
+ "run_training.setup": {
257
+ "total": 0.0,
258
+ "count": 0,
259
+ "is_parallel": true,
260
+ "self": 0.0,
261
+ "children": {
262
+ "steps_from_proto": {
263
+ "total": 0.0022217919995455304,
264
+ "count": 1,
265
+ "is_parallel": true,
266
+ "self": 0.0007929729999887059,
267
+ "children": {
268
+ "_process_rank_one_or_two_observation": {
269
+ "total": 0.0014288189995568246,
270
+ "count": 8,
271
+ "is_parallel": true,
272
+ "self": 0.0014288189995568246
273
+ }
274
+ }
275
+ },
276
+ "UnityEnvironment.step": {
277
+ "total": 0.0789372290000756,
278
+ "count": 1,
279
+ "is_parallel": true,
280
+ "self": 0.0011475939991214545,
281
+ "children": {
282
+ "UnityEnvironment._generate_step_input": {
283
+ "total": 0.0005386670000007143,
284
+ "count": 1,
285
+ "is_parallel": true,
286
+ "self": 0.0005386670000007143
287
+ },
288
+ "communicator.exchange": {
289
+ "total": 0.07514723600070283,
290
+ "count": 1,
291
+ "is_parallel": true,
292
+ "self": 0.07514723600070283
293
+ },
294
+ "steps_from_proto": {
295
+ "total": 0.002103732000250602,
296
+ "count": 1,
297
+ "is_parallel": true,
298
+ "self": 0.000617628000327386,
299
+ "children": {
300
+ "_process_rank_one_or_two_observation": {
301
+ "total": 0.0014861039999232162,
302
+ "count": 8,
303
+ "is_parallel": true,
304
+ "self": 0.0014861039999232162
305
+ }
306
+ }
307
+ }
308
+ }
309
+ }
310
+ }
311
+ },
312
+ "UnityEnvironment.step": {
313
+ "total": 72.44772060299601,
314
+ "count": 2003,
315
+ "is_parallel": true,
316
+ "self": 1.4761933459258216,
317
+ "children": {
318
+ "UnityEnvironment._generate_step_input": {
319
+ "total": 0.8893168760287153,
320
+ "count": 2003,
321
+ "is_parallel": true,
322
+ "self": 0.8893168760287153
323
+ },
324
+ "communicator.exchange": {
325
+ "total": 65.78852649401597,
326
+ "count": 2003,
327
+ "is_parallel": true,
328
+ "self": 65.78852649401597
329
+ },
330
+ "steps_from_proto": {
331
+ "total": 4.293683887025509,
332
+ "count": 2003,
333
+ "is_parallel": true,
334
+ "self": 1.1009540760333039,
335
+ "children": {
336
+ "_process_rank_one_or_two_observation": {
337
+ "total": 3.192729810992205,
338
+ "count": 16024,
339
+ "is_parallel": true,
340
+ "self": 3.192729810992205
341
+ }
342
+ }
343
+ }
344
+ }
345
+ }
346
+ }
347
+ }
348
+ }
349
+ }
350
+ }
351
+ },
352
+ "trainer_advance": {
353
+ "total": 38.022238461996494,
354
+ "count": 2004,
355
+ "self": 0.13777197799208807,
356
+ "children": {
357
+ "process_trajectory": {
358
+ "total": 7.074749966004674,
359
+ "count": 2004,
360
+ "self": 7.074749966004674
361
+ },
362
+ "_update_policy": {
363
+ "total": 30.809716517999732,
364
+ "count": 14,
365
+ "self": 8.183618572988053,
366
+ "children": {
367
+ "TorchPPOOptimizer.update": {
368
+ "total": 22.62609794501168,
369
+ "count": 672,
370
+ "self": 22.62609794501168
371
+ }
372
+ }
373
+ }
374
+ }
375
+ }
376
+ }
377
+ },
378
+ "trainer_threads": {
379
+ "total": 9.880004654405639e-07,
380
+ "count": 1,
381
+ "self": 9.880004654405639e-07
382
+ },
383
+ "TrainerController._save_models": {
384
+ "total": 0.12261007799952495,
385
+ "count": 1,
386
+ "self": 0.005061133999333833,
387
+ "children": {
388
+ "RLTrainer._checkpoint": {
389
+ "total": 0.11754894400019111,
390
+ "count": 1,
391
+ "self": 0.11754894400019111
392
+ }
393
+ }
394
+ }
395
+ }
396
+ }
397
+ }
398
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Pyramids": {
3
+ "checkpoints": [
4
+ {
5
+ "steps": 30006,
6
+ "file_path": "results/PyramidsRDN/Pyramids/Pyramids-30006.onnx",
7
+ "reward": null,
8
+ "creation_time": 1677335422.3882256,
9
+ "auxillary_file_paths": [
10
+ "results/PyramidsRDN/Pyramids/Pyramids-30006.pt"
11
+ ]
12
+ }
13
+ ],
14
+ "final_checkpoint": {
15
+ "steps": 30006,
16
+ "file_path": "results/PyramidsRDN/Pyramids.onnx",
17
+ "reward": null,
18
+ "creation_time": 1677335422.3882256,
19
+ "auxillary_file_paths": [
20
+ "results/PyramidsRDN/Pyramids/Pyramids-30006.pt"
21
+ ]
22
+ }
23
+ },
24
+ "metadata": {
25
+ "stats_format_version": "0.3.0",
26
+ "mlagents_version": "0.29.0.dev0",
27
+ "torch_version": "1.8.1+cu102"
28
+ }
29
+ }