danieladejumo commited on
Commit
a0935e8
1 Parent(s): 7b650e0

Firt Commit

Browse files
PushBlock.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:62106c6c569a9015f9cb3aae28e823db35d83bcaa69b1b97d8d5824d15d4c2a9
3
+ size 488603
PushBlock/PushBlock-1000019.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:62106c6c569a9015f9cb3aae28e823db35d83bcaa69b1b97d8d5824d15d4c2a9
3
+ size 488603
PushBlock/PushBlock-1000019.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:72b3d9268ae2bc2b18ddbed04dbf1a705c7be9a4a563f8aed334a0d7b99c0337
3
+ size 6331339
PushBlock/PushBlock-499984.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d21da15efc94c185c1cebac995d25972216c426e27c8b4f67b1896f3eebf0e9d
3
+ size 488603
PushBlock/PushBlock-499984.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1ff24318b285ebf113e6e05c93e9354e5e2a6ce1c4eaa1d4c3325c86b6629b03
3
+ size 6331275
PushBlock/PushBlock-999996.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:62106c6c569a9015f9cb3aae28e823db35d83bcaa69b1b97d8d5824d15d4c2a9
3
+ size 488603
PushBlock/PushBlock-999996.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e96801db7f231e2d3663e9dfc0914360e602fea35b638d2fa7dbd6b8db604bd
3
+ size 6331339
PushBlock/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:72b3d9268ae2bc2b18ddbed04dbf1a705c7be9a4a563f8aed334a0d7b99c0337
3
+ size 6331339
PushBlock/events.out.tfevents.1661242883.4db74e0ca094.398.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:823707f0709b1476c04ef0d560170af1a14c89815c58a42cbda34834dbf9da9b
3
+ size 105683
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-PushBlock
9
+ library_name: ml-agents
10
+ ---
11
+
12
+ # **sac** Agent playing **PushBlock**
13
+ This is a trained model of a **sac** agent playing **PushBlock** 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-PushBlock
28
+ 2. Step 1: Write your model_id: danieladejumo/MLAgents-PushBlock
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": {"PushBlock": {"trainer_type": "sac", "hyperparameters": {"learning_rate": 0.0003, "learning_rate_schedule": "constant", "batch_size": 128, "buffer_size": 50000, "buffer_init_steps": 0, "tau": 0.005, "steps_per_update": 10.0, "save_replay_buffer": false, "init_entcoef": 0.05, "reward_signal_steps_per_update": 10.0}, "network_settings": {"normalize": false, "hidden_units": 256, "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}}}, "init_path": null, "keep_checkpoints": 5, "checkpoint_interval": 500000, "max_steps": 1000000, "time_horizon": 64, "summary_freq": 100000, "threaded": false, "self_play": null, "behavioral_cloning": null}}, "env_settings": {"env_path": "./trained-envs-executables/linux/PushBlock/PushBlock", "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": "PushBlock Training", "initialize_from": null, "load_model": false, "resume": false, "force": false, "train_model": false, "inference": false, "results_dir": "results"}, "torch_settings": {"device": null}, "debug": false}
configuration.yaml ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ default_settings: null
2
+ behaviors:
3
+ PushBlock:
4
+ trainer_type: sac
5
+ hyperparameters:
6
+ learning_rate: 0.0003
7
+ learning_rate_schedule: constant
8
+ batch_size: 128
9
+ buffer_size: 50000
10
+ buffer_init_steps: 0
11
+ tau: 0.005
12
+ steps_per_update: 10.0
13
+ save_replay_buffer: false
14
+ init_entcoef: 0.05
15
+ reward_signal_steps_per_update: 10.0
16
+ network_settings:
17
+ normalize: false
18
+ hidden_units: 256
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
+ init_path: null
37
+ keep_checkpoints: 5
38
+ checkpoint_interval: 500000
39
+ max_steps: 1000000
40
+ time_horizon: 64
41
+ summary_freq: 100000
42
+ threaded: false
43
+ self_play: null
44
+ behavioral_cloning: null
45
+ env_settings:
46
+ env_path: ./trained-envs-executables/linux/PushBlock/PushBlock
47
+ env_args: null
48
+ base_port: 5005
49
+ num_envs: 1
50
+ num_areas: 1
51
+ seed: -1
52
+ max_lifetime_restarts: 10
53
+ restarts_rate_limit_n: 1
54
+ restarts_rate_limit_period_s: 60
55
+ engine_settings:
56
+ width: 84
57
+ height: 84
58
+ quality_level: 5
59
+ time_scale: 20
60
+ target_frame_rate: -1
61
+ capture_frame_rate: 60
62
+ no_graphics: true
63
+ environment_parameters: null
64
+ checkpoint_settings:
65
+ run_id: PushBlock Training
66
+ initialize_from: null
67
+ load_model: false
68
+ resume: false
69
+ force: false
70
+ train_model: false
71
+ inference: false
72
+ results_dir: results
73
+ torch_settings:
74
+ device: null
75
+ debug: false
run_logs/Player-0.log ADDED
@@ -0,0 +1,317 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/content/ml-agents/trained-envs-executables/linux/PushBlock/PushBlock_Data/Managed'
2
+ Mono config path = '/content/ml-agents/trained-envs-executables/linux/PushBlock/PushBlock_Data/MonoBleedingEdge/etc'
3
+ Found 1 interfaces on host : 0) 172.28.0.2
4
+ Multi-casting "[IP] 172.28.0.2 [Port] 55439 [Flags] 2 [Guid] 2893660131 [EditorId] 588871222 [Version] 1048832 [Id] LinuxPlayer(13,172.28.0.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
+ PlayerPrefs - Creating folder: /root/.config/unity3d/Unity Technologies
8
+ PlayerPrefs - Creating folder: /root/.config/unity3d/Unity Technologies/UnityEnvironment
9
+ Unable to load player prefs
10
+ Initialize engine version: 2021.3.5f1 (40eb3a945986)
11
+ [Subsystems] Discovering subsystems at path /content/ml-agents/trained-envs-executables/linux/PushBlock/PushBlock_Data/UnitySubsystems
12
+ Forcing GfxDevice: Null
13
+ GfxDevice: creating device client; threaded=0; jobified=0
14
+ NullGfxDevice:
15
+ Version: NULL 1.0 [1.0]
16
+ Renderer: Null Device
17
+ Vendor: Unity Technologies
18
+ ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
19
+ ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
20
+ ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
21
+ ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
22
+ ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
23
+ ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
24
+ ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
25
+ ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM default
26
+ FMOD failed to initialize the output device.: "Error initializing output device. " (60)
27
+ 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
28
+ ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
29
+ ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
30
+ ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
31
+ ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
32
+ ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
33
+ ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
34
+ ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
35
+ ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM default
36
+ FMOD failed to initialize the output device.: "Error initializing output device. " (60)
37
+ FMOD initialized on nosound output
38
+ Begin MonoManager ReloadAssembly
39
+ - Completed reload, in 0.108 seconds
40
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
41
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
42
+ ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
43
+ WARNING: Shader Unsupported: 'Legacy Shaders/Diffuse' - All subshaders removed
44
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
45
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
46
+ ERROR: Shader Legacy Shaders/Diffuse shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
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
+ WARNING: Shader Unsupported: 'ML-Agents/GridPattern' - All subshaders removed
51
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
52
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
53
+ ERROR: Shader ML-Agents/GridPattern shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
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
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
58
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
59
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
60
+ ERROR: Shader Autodesk Interactive shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
61
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - 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
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
65
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
66
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
67
+ ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
68
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
69
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
70
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
71
+ UnloadTime: 0.936548 ms
72
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
73
+ requesting resize 84 x 84
74
+ Setting up 1 worker threads for Enlighten.
75
+ PlayerConnection::CleanupMemory Statistics:
76
+ [ALLOC_TEMP_TLS] TLS Allocator
77
+ StackAllocators :
78
+ [ALLOC_TEMP_MAIN]
79
+ Peak usage frame count: [4.0 KB-8.0 KB]: 9380 frames, [8.0 KB-16.0 KB]: 1 frames, [2.0 MB-4.0 MB]: 1 frames
80
+ Initial Block Size 4.0 MB
81
+ Current Block Size 4.0 MB
82
+ Peak Allocated Bytes 2.0 MB
83
+ Overflow Count 0
84
+ [ALLOC_TEMP_Background Job.Worker 8]
85
+ Initial Block Size 32.0 KB
86
+ Current Block Size 32.0 KB
87
+ Peak Allocated Bytes 0 B
88
+ Overflow Count 0
89
+ [ALLOC_TEMP_Background Job.Worker 10]
90
+ Initial Block Size 32.0 KB
91
+ Current Block Size 32.0 KB
92
+ Peak Allocated Bytes 0 B
93
+ Overflow Count 0
94
+ [ALLOC_TEMP_Background Job.Worker 6]
95
+ Initial Block Size 32.0 KB
96
+ Current Block Size 32.0 KB
97
+ Peak Allocated Bytes 0 B
98
+ Overflow Count 0
99
+ [ALLOC_TEMP_AUDIO_FMOD mixer thread]
100
+ Initial Block Size 64.0 KB
101
+ Current Block Size 64.0 KB
102
+ Peak Allocated Bytes 0 B
103
+ Overflow Count 0
104
+ [ALLOC_TEMP_Background Job.Worker 1]
105
+ Initial Block Size 32.0 KB
106
+ Current Block Size 32.0 KB
107
+ Peak Allocated Bytes 0 B
108
+ Overflow Count 0
109
+ [ALLOC_TEMP_Background Job.Worker 11]
110
+ Initial Block Size 32.0 KB
111
+ Current Block Size 32.0 KB
112
+ Peak Allocated Bytes 0 B
113
+ Overflow Count 0
114
+ [ALLOC_TEMP_Background Job.Worker 3]
115
+ Initial Block Size 32.0 KB
116
+ Current Block Size 32.0 KB
117
+ Peak Allocated Bytes 0 B
118
+ Overflow Count 0
119
+ [ALLOC_TEMP_BatchDeleteObjects]
120
+ Initial Block Size 64.0 KB
121
+ Current Block Size 64.0 KB
122
+ Peak Allocated Bytes 0 B
123
+ Overflow Count 0
124
+ [ALLOC_TEMP_AUDIO_FMOD stream thread]
125
+ Initial Block Size 64.0 KB
126
+ Current Block Size 64.0 KB
127
+ Peak Allocated Bytes 0 B
128
+ Overflow Count 0
129
+ [ALLOC_TEMP_Background Job.Worker 2]
130
+ Initial Block Size 32.0 KB
131
+ Current Block Size 32.0 KB
132
+ Peak Allocated Bytes 0 B
133
+ Overflow Count 0
134
+ [ALLOC_TEMP_Background Job.Worker 7]
135
+ Initial Block Size 32.0 KB
136
+ Current Block Size 32.0 KB
137
+ Peak Allocated Bytes 0 B
138
+ Overflow Count 0
139
+ [ALLOC_TEMP_Background Job.Worker 15]
140
+ Initial Block Size 32.0 KB
141
+ Current Block Size 32.0 KB
142
+ Peak Allocated Bytes 0 B
143
+ Overflow Count 0
144
+ [ALLOC_TEMP_Loading.PreloadManager]
145
+ Initial Block Size 256.0 KB
146
+ Current Block Size 284.0 KB
147
+ Peak Allocated Bytes 233.7 KB
148
+ Overflow Count 4
149
+ [ALLOC_TEMP_Profiler.Dispatcher]
150
+ Initial Block Size 64.0 KB
151
+ Current Block Size 64.0 KB
152
+ Peak Allocated Bytes 0 B
153
+ Overflow Count 0
154
+ [ALLOC_TEMP_Background Job.Worker 12]
155
+ Initial Block Size 32.0 KB
156
+ Current Block Size 32.0 KB
157
+ Peak Allocated Bytes 0 B
158
+ Overflow Count 0
159
+ [ALLOC_TEMP_AssetGarbageCollectorHelper]
160
+ Initial Block Size 64.0 KB
161
+ Current Block Size 64.0 KB
162
+ Peak Allocated Bytes 0 B
163
+ Overflow Count 0
164
+ [ALLOC_TEMP_Background Job.Worker 5]
165
+ Initial Block Size 32.0 KB
166
+ Current Block Size 32.0 KB
167
+ Peak Allocated Bytes 0 B
168
+ Overflow Count 0
169
+ [ALLOC_TEMP_Background Job.Worker 13]
170
+ Initial Block Size 32.0 KB
171
+ Current Block Size 32.0 KB
172
+ Peak Allocated Bytes 0 B
173
+ Overflow Count 0
174
+ [ALLOC_TEMP_Background Job.Worker 0]
175
+ Initial Block Size 32.0 KB
176
+ Current Block Size 32.0 KB
177
+ Peak Allocated Bytes 0 B
178
+ Overflow Count 0
179
+ [ALLOC_TEMP_Background Job.Worker 4]
180
+ Initial Block Size 32.0 KB
181
+ Current Block Size 32.0 KB
182
+ Peak Allocated Bytes 0 B
183
+ Overflow Count 0
184
+ [ALLOC_TEMP_Job.Worker 0]
185
+ Initial Block Size 256.0 KB
186
+ Current Block Size 256.0 KB
187
+ Peak Allocated Bytes 0.8 KB
188
+ Overflow Count 0
189
+ [ALLOC_TEMP_Background Job.Worker 14]
190
+ Initial Block Size 32.0 KB
191
+ Current Block Size 32.0 KB
192
+ Peak Allocated Bytes 0 B
193
+ Overflow Count 0
194
+ [ALLOC_TEMP_Background Job.Worker 9]
195
+ Initial Block Size 32.0 KB
196
+ Current Block Size 32.0 KB
197
+ Peak Allocated Bytes 0 B
198
+ Overflow Count 0
199
+ [ALLOC_TEMP_EnlightenWorker]
200
+ Initial Block Size 64.0 KB
201
+ Current Block Size 64.0 KB
202
+ Peak Allocated Bytes 0 B
203
+ Overflow Count 0
204
+ [ALLOC_TEMP_Loading.AsyncRead]
205
+ Initial Block Size 64.0 KB
206
+ Current Block Size 64.0 KB
207
+ Peak Allocated Bytes 128 B
208
+ Overflow Count 0
209
+ [ALLOC_MEMORYPROFILER]
210
+ Peak usage frame count: [128.0 KB-256.0 KB]: 9382 frames
211
+ Requested Block Size 1.0 MB
212
+ Peak Block count 1
213
+ Peak Allocated memory 152.1 KB
214
+ Peak Large allocation bytes 0 B
215
+ [ALLOC_DEFAULT] Dual Thread Allocator
216
+ Peak main deferred allocation count 12
217
+ [ALLOC_BUCKET]
218
+ Large Block size 4.0 MB
219
+ Used Block count 1
220
+ Peak Allocated bytes 0.7 MB
221
+ [ALLOC_DEFAULT_MAIN]
222
+ Peak usage frame count: [4.0 MB-8.0 MB]: 9382 frames
223
+ Requested Block Size 16.0 MB
224
+ Peak Block count 1
225
+ Peak Allocated memory 5.4 MB
226
+ Peak Large allocation bytes 0 B
227
+ [ALLOC_DEFAULT_THREAD]
228
+ Peak usage frame count: [16.0 MB-32.0 MB]: 9382 frames
229
+ Requested Block Size 16.0 MB
230
+ Peak Block count 1
231
+ Peak Allocated memory 17.2 MB
232
+ Peak Large allocation bytes 16.0 MB
233
+ [ALLOC_TEMP_JOB_1_FRAME]
234
+ Initial Block Size 2.0 MB
235
+ Used Block Count 1
236
+ Overflow Count (too large) 0
237
+ Overflow Count (full) 0
238
+ [ALLOC_TEMP_JOB_2_FRAMES]
239
+ Initial Block Size 2.0 MB
240
+ Used Block Count 1
241
+ Overflow Count (too large) 0
242
+ Overflow Count (full) 0
243
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
244
+ Initial Block Size 2.0 MB
245
+ Used Block Count 2
246
+ Overflow Count (too large) 0
247
+ Overflow Count (full) 0
248
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
249
+ Initial Block Size 1.0 MB
250
+ Used Block Count 3
251
+ Overflow Count (too large) 0
252
+ Overflow Count (full) 0
253
+ [ALLOC_GFX] Dual Thread Allocator
254
+ Peak main deferred allocation count 0
255
+ [ALLOC_BUCKET]
256
+ Large Block size 4.0 MB
257
+ Used Block count 1
258
+ Peak Allocated bytes 0.7 MB
259
+ [ALLOC_GFX_MAIN]
260
+ Peak usage frame count: [32.0 KB-64.0 KB]: 9381 frames, [64.0 KB-128.0 KB]: 1 frames
261
+ Requested Block Size 16.0 MB
262
+ Peak Block count 1
263
+ Peak Allocated memory 67.0 KB
264
+ Peak Large allocation bytes 0 B
265
+ [ALLOC_GFX_THREAD]
266
+ Peak usage frame count: [8.0 KB-16.0 KB]: 9382 frames
267
+ Requested Block Size 16.0 MB
268
+ Peak Block count 1
269
+ Peak Allocated memory 12.9 KB
270
+ Peak Large allocation bytes 0 B
271
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
272
+ Peak main deferred allocation count 0
273
+ [ALLOC_BUCKET]
274
+ Large Block size 4.0 MB
275
+ Used Block count 1
276
+ Peak Allocated bytes 0.7 MB
277
+ [ALLOC_CACHEOBJECTS_MAIN]
278
+ Peak usage frame count: [0.5 MB-1.0 MB]: 9382 frames
279
+ Requested Block Size 4.0 MB
280
+ Peak Block count 1
281
+ Peak Allocated memory 0.6 MB
282
+ Peak Large allocation bytes 0 B
283
+ [ALLOC_CACHEOBJECTS_THREAD]
284
+ Peak usage frame count: [0.5 MB-1.0 MB]: 9381 frames, [4.0 MB-8.0 MB]: 1 frames
285
+ Requested Block Size 4.0 MB
286
+ Peak Block count 2
287
+ Peak Allocated memory 4.2 MB
288
+ Peak Large allocation bytes 0 B
289
+ [ALLOC_TYPETREE] Dual Thread Allocator
290
+ Peak main deferred allocation count 0
291
+ [ALLOC_BUCKET]
292
+ Large Block size 4.0 MB
293
+ Used Block count 1
294
+ Peak Allocated bytes 0.7 MB
295
+ [ALLOC_TYPETREE_MAIN]
296
+ Peak usage frame count: [0-1.0 KB]: 9382 frames
297
+ Requested Block Size 2.0 MB
298
+ Peak Block count 1
299
+ Peak Allocated memory 1.0 KB
300
+ Peak Large allocation bytes 0 B
301
+ [ALLOC_TYPETREE_THREAD]
302
+ Peak usage frame count: [1.0 KB-2.0 KB]: 9382 frames
303
+ Requested Block Size 2.0 MB
304
+ Peak Block count 1
305
+ Peak Allocated memory 1.9 KB
306
+ Peak Large allocation bytes 0 B
307
+ [ALLOC_PROFILER]
308
+ Peak usage frame count: [16.0 KB-32.0 KB]: 9382 frames
309
+ Requested Block Size 16.0 MB
310
+ Peak Block count 1
311
+ Peak Allocated memory 29.7 KB
312
+ Peak Large allocation bytes 0 B
313
+ [ALLOC_PROFILER_BUCKET]
314
+ Large Block size 4.0 MB
315
+ Used Block count 1
316
+ Peak Allocated bytes 332 B
317
+ ##utp:{"type":"MemoryLeaks","version":2,"phase":"Immediate","time":1661246787903,"processId":408,"allocatedMemory":1957335,"memoryLabels":[{"Default":9033},{"Permanent":1264},{"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":3450},{"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,400 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "PushBlock.Policy.Entropy.mean": {
5
+ "value": 0.3712373673915863,
6
+ "min": 0.332507848739624,
7
+ "max": 1.1783778667449951,
8
+ "count": 10
9
+ },
10
+ "PushBlock.Policy.Entropy.sum": {
11
+ "value": 37016.8203125,
12
+ "min": 33261.42578125,
13
+ "max": 118931.3203125,
14
+ "count": 10
15
+ },
16
+ "PushBlock.Step.mean": {
17
+ "value": 999996.0,
18
+ "min": 99985.0,
19
+ "max": 999996.0,
20
+ "count": 10
21
+ },
22
+ "PushBlock.Step.sum": {
23
+ "value": 999996.0,
24
+ "min": 99985.0,
25
+ "max": 999996.0,
26
+ "count": 10
27
+ },
28
+ "PushBlock.Policy.ExtrinsicValue.mean": {
29
+ "value": 2.9794063568115234,
30
+ "min": 1.3723224401474,
31
+ "max": 2.9794063568115234,
32
+ "count": 10
33
+ },
34
+ "PushBlock.Policy.ExtrinsicValue.sum": {
35
+ "value": 7076.08984375,
36
+ "min": 2294.523193359375,
37
+ "max": 7076.08984375,
38
+ "count": 10
39
+ },
40
+ "PushBlock.Losses.PolicyLoss.mean": {
41
+ "value": -2.602618768266778,
42
+ "min": -2.602618768266778,
43
+ "max": -1.1773443270676254,
44
+ "count": 10
45
+ },
46
+ "PushBlock.Losses.PolicyLoss.sum": {
47
+ "value": -26031.39292020431,
48
+ "min": -26031.39292020431,
49
+ "max": -11771.088582022117,
50
+ "count": 10
51
+ },
52
+ "PushBlock.Losses.ValueLoss.mean": {
53
+ "value": 0.003780544149984188,
54
+ "min": 0.0012007021113701695,
55
+ "max": 0.004268766598163566,
56
+ "count": 10
57
+ },
58
+ "PushBlock.Losses.ValueLoss.sum": {
59
+ "value": 37.81300258814185,
60
+ "min": 12.004619709478956,
61
+ "max": 42.67912844843933,
62
+ "count": 10
63
+ },
64
+ "PushBlock.Losses.Q1Loss.mean": {
65
+ "value": 0.018336053637291166,
66
+ "min": 0.005078324491846632,
67
+ "max": 0.022642880998674154,
68
+ "count": 10
69
+ },
70
+ "PushBlock.Losses.Q1Loss.sum": {
71
+ "value": 183.39720848018624,
72
+ "min": 50.77308826948263,
73
+ "max": 226.3835242247442,
74
+ "count": 10
75
+ },
76
+ "PushBlock.Losses.Q2Loss.mean": {
77
+ "value": 0.01862863995858222,
78
+ "min": 0.005102800202005284,
79
+ "max": 0.022636636116811028,
80
+ "count": 10
81
+ },
82
+ "PushBlock.Losses.Q2Loss.sum": {
83
+ "value": 186.32365686573937,
84
+ "min": 51.01779641964883,
85
+ "max": 226.32108789587664,
86
+ "count": 10
87
+ },
88
+ "PushBlock.Policy.DiscreteEntropyCoeff.mean": {
89
+ "value": 0.0163893654807615,
90
+ "min": 0.0043324678179269445,
91
+ "max": 0.016766645388260507,
92
+ "count": 10
93
+ },
94
+ "PushBlock.Policy.DiscreteEntropyCoeff.sum": {
95
+ "value": 163.9264335385765,
96
+ "min": 43.320345711451516,
97
+ "max": 167.63292059182857,
98
+ "count": 10
99
+ },
100
+ "PushBlock.Policy.ContinuousEntropyCoeff.mean": {
101
+ "value": 0.04999999701976776,
102
+ "min": 0.04999999701976776,
103
+ "max": 0.04999999701976776,
104
+ "count": 10
105
+ },
106
+ "PushBlock.Policy.ContinuousEntropyCoeff.sum": {
107
+ "value": 500.09997019171715,
108
+ "min": 499.8999702036381,
109
+ "max": 500.09997019171715,
110
+ "count": 10
111
+ },
112
+ "PushBlock.Policy.LearningRate.mean": {
113
+ "value": 0.0003,
114
+ "min": 0.0003,
115
+ "max": 0.00030000000000000003,
116
+ "count": 10
117
+ },
118
+ "PushBlock.Policy.LearningRate.sum": {
119
+ "value": 3.0005999999999995,
120
+ "min": 2.9993999999999996,
121
+ "max": 3.0005999999999995,
122
+ "count": 10
123
+ },
124
+ "PushBlock.Environment.EpisodeLength.mean": {
125
+ "value": 66.61394101876675,
126
+ "min": 66.61394101876675,
127
+ "max": 420.02272727272725,
128
+ "count": 10
129
+ },
130
+ "PushBlock.Environment.EpisodeLength.sum": {
131
+ "value": 99388.0,
132
+ "min": 92405.0,
133
+ "max": 103213.0,
134
+ "count": 10
135
+ },
136
+ "PushBlock.Environment.CumulativeReward.mean": {
137
+ "value": 4.801977244611157,
138
+ "min": 3.5790771414003215,
139
+ "max": 4.801977244611157,
140
+ "count": 10
141
+ },
142
+ "PushBlock.Environment.CumulativeReward.sum": {
143
+ "value": 7159.748071715236,
144
+ "min": 787.4502075128257,
145
+ "max": 7159.748071715236,
146
+ "count": 10
147
+ },
148
+ "PushBlock.Policy.ExtrinsicReward.mean": {
149
+ "value": 4.801977244611157,
150
+ "min": 3.5790771414003215,
151
+ "max": 4.801977244611157,
152
+ "count": 10
153
+ },
154
+ "PushBlock.Policy.ExtrinsicReward.sum": {
155
+ "value": 7159.748071715236,
156
+ "min": 787.4502075128257,
157
+ "max": 7159.748071715236,
158
+ "count": 10
159
+ },
160
+ "PushBlock.IsTraining.mean": {
161
+ "value": 1.0,
162
+ "min": 1.0,
163
+ "max": 1.0,
164
+ "count": 10
165
+ },
166
+ "PushBlock.IsTraining.sum": {
167
+ "value": 1.0,
168
+ "min": 1.0,
169
+ "max": 1.0,
170
+ "count": 10
171
+ }
172
+ },
173
+ "metadata": {
174
+ "timer_format_version": "0.1.0",
175
+ "start_time_seconds": "1661242875",
176
+ "python_version": "3.7.13 (default, Apr 24 2022, 01:04:09) \n[GCC 7.5.0]",
177
+ "command_line_arguments": "/usr/local/bin/mlagents-learn ./config/sac/PushBlock.yaml --env=./trained-envs-executables/linux/PushBlock/PushBlock --run-id=PushBlock Training --no-graphics",
178
+ "mlagents_version": "0.29.0.dev0",
179
+ "mlagents_envs_version": "0.29.0.dev0",
180
+ "communication_protocol_version": "1.5.0",
181
+ "pytorch_version": "1.8.1+cu102",
182
+ "numpy_version": "1.21.6",
183
+ "end_time_seconds": "1661246787"
184
+ },
185
+ "total": 3912.0366775039997,
186
+ "count": 1,
187
+ "self": 0.5475908200000958,
188
+ "children": {
189
+ "run_training.setup": {
190
+ "total": 0.05234334000004992,
191
+ "count": 1,
192
+ "self": 0.05234334000004992
193
+ },
194
+ "TrainerController.start_learning": {
195
+ "total": 3911.4367433439998,
196
+ "count": 1,
197
+ "self": 1.580641356011256,
198
+ "children": {
199
+ "TrainerController._reset_env": {
200
+ "total": 7.074140403000001,
201
+ "count": 1,
202
+ "self": 7.074140403000001
203
+ },
204
+ "TrainerController.advance": {
205
+ "total": 3902.694383691988,
206
+ "count": 37262,
207
+ "self": 1.580514214001596,
208
+ "children": {
209
+ "env_step": {
210
+ "total": 793.1453913120151,
211
+ "count": 37262,
212
+ "self": 737.9936400500044,
213
+ "children": {
214
+ "SubprocessEnvManager._take_step": {
215
+ "total": 54.35588945700397,
216
+ "count": 37262,
217
+ "self": 3.792237451970834,
218
+ "children": {
219
+ "TorchPolicy.evaluate": {
220
+ "total": 50.563652005033134,
221
+ "count": 31271,
222
+ "self": 12.526417376005554,
223
+ "children": {
224
+ "TorchPolicy.sample_actions": {
225
+ "total": 38.03723462902758,
226
+ "count": 31271,
227
+ "self": 38.03723462902758
228
+ }
229
+ }
230
+ }
231
+ }
232
+ },
233
+ "workers": {
234
+ "total": 0.795861805006723,
235
+ "count": 37262,
236
+ "self": 0.0,
237
+ "children": {
238
+ "worker_root": {
239
+ "total": 3908.2525772149925,
240
+ "count": 37262,
241
+ "is_parallel": true,
242
+ "self": 3276.9526831860576,
243
+ "children": {
244
+ "run_training.setup": {
245
+ "total": 0.0,
246
+ "count": 0,
247
+ "is_parallel": true,
248
+ "self": 0.0,
249
+ "children": {
250
+ "steps_from_proto": {
251
+ "total": 0.010188010000035774,
252
+ "count": 1,
253
+ "is_parallel": true,
254
+ "self": 0.003747636000014154,
255
+ "children": {
256
+ "_process_rank_one_or_two_observation": {
257
+ "total": 0.00644037400002162,
258
+ "count": 4,
259
+ "is_parallel": true,
260
+ "self": 0.00644037400002162
261
+ }
262
+ }
263
+ },
264
+ "UnityEnvironment.step": {
265
+ "total": 0.04184069600000839,
266
+ "count": 1,
267
+ "is_parallel": true,
268
+ "self": 0.0006491750000350294,
269
+ "children": {
270
+ "UnityEnvironment._generate_step_input": {
271
+ "total": 0.0004904909999936535,
272
+ "count": 1,
273
+ "is_parallel": true,
274
+ "self": 0.0004904909999936535
275
+ },
276
+ "communicator.exchange": {
277
+ "total": 0.03787494699997751,
278
+ "count": 1,
279
+ "is_parallel": true,
280
+ "self": 0.03787494699997751
281
+ },
282
+ "steps_from_proto": {
283
+ "total": 0.0028260830000021997,
284
+ "count": 1,
285
+ "is_parallel": true,
286
+ "self": 0.0006083400000989059,
287
+ "children": {
288
+ "_process_rank_one_or_two_observation": {
289
+ "total": 0.002217742999903294,
290
+ "count": 4,
291
+ "is_parallel": true,
292
+ "self": 0.002217742999903294
293
+ }
294
+ }
295
+ }
296
+ }
297
+ }
298
+ }
299
+ },
300
+ "UnityEnvironment.step": {
301
+ "total": 631.299894028935,
302
+ "count": 37261,
303
+ "is_parallel": true,
304
+ "self": 29.42326764798338,
305
+ "children": {
306
+ "UnityEnvironment._generate_step_input": {
307
+ "total": 24.117601095029386,
308
+ "count": 37261,
309
+ "is_parallel": true,
310
+ "self": 24.117601095029386
311
+ },
312
+ "communicator.exchange": {
313
+ "total": 483.2400676249816,
314
+ "count": 37261,
315
+ "is_parallel": true,
316
+ "self": 483.2400676249816
317
+ },
318
+ "steps_from_proto": {
319
+ "total": 94.5189576609406,
320
+ "count": 37261,
321
+ "is_parallel": true,
322
+ "self": 18.776853208786463,
323
+ "children": {
324
+ "_process_rank_one_or_two_observation": {
325
+ "total": 75.74210445215414,
326
+ "count": 149044,
327
+ "is_parallel": true,
328
+ "self": 75.74210445215414
329
+ }
330
+ }
331
+ }
332
+ }
333
+ }
334
+ }
335
+ }
336
+ }
337
+ }
338
+ }
339
+ },
340
+ "trainer_advance": {
341
+ "total": 3107.9684781659716,
342
+ "count": 37262,
343
+ "self": 4.5975981459441755,
344
+ "children": {
345
+ "process_trajectory": {
346
+ "total": 134.20930266298467,
347
+ "count": 37262,
348
+ "self": 133.87402496598463,
349
+ "children": {
350
+ "RLTrainer._checkpoint": {
351
+ "total": 0.33527769700003773,
352
+ "count": 2,
353
+ "self": 0.33527769700003773
354
+ }
355
+ }
356
+ },
357
+ "_update_policy": {
358
+ "total": 2969.161577357043,
359
+ "count": 37198,
360
+ "self": 1.1008915340235035,
361
+ "children": {
362
+ "SACTrainer._update_policy": {
363
+ "total": 2968.0606858230194,
364
+ "count": 37198,
365
+ "self": 705.290458069047,
366
+ "children": {
367
+ "TorchSACOptimizer.update": {
368
+ "total": 2262.7702277539724,
369
+ "count": 99999,
370
+ "self": 2262.7702277539724
371
+ }
372
+ }
373
+ }
374
+ }
375
+ }
376
+ }
377
+ }
378
+ }
379
+ },
380
+ "trainer_threads": {
381
+ "total": 1.2820000847568735e-06,
382
+ "count": 1,
383
+ "self": 1.2820000847568735e-06
384
+ },
385
+ "TrainerController._save_models": {
386
+ "total": 0.08757661100025871,
387
+ "count": 1,
388
+ "self": 0.0010379790001024958,
389
+ "children": {
390
+ "RLTrainer._checkpoint": {
391
+ "total": 0.08653863200015621,
392
+ "count": 1,
393
+ "self": 0.08653863200015621
394
+ }
395
+ }
396
+ }
397
+ }
398
+ }
399
+ }
400
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "PushBlock": {
3
+ "checkpoints": [
4
+ {
5
+ "steps": 499984,
6
+ "file_path": "results/PushBlock Training/PushBlock/PushBlock-499984.onnx",
7
+ "reward": null,
8
+ "creation_time": 1661244814.7697377,
9
+ "auxillary_file_paths": [
10
+ "results/PushBlock Training/PushBlock/PushBlock-499984.pt"
11
+ ]
12
+ },
13
+ {
14
+ "steps": 999996,
15
+ "file_path": "results/PushBlock Training/PushBlock/PushBlock-999996.onnx",
16
+ "reward": null,
17
+ "creation_time": 1661246787.2997308,
18
+ "auxillary_file_paths": [
19
+ "results/PushBlock Training/PushBlock/PushBlock-999996.pt"
20
+ ]
21
+ },
22
+ {
23
+ "steps": 1000019,
24
+ "file_path": "results/PushBlock Training/PushBlock/PushBlock-1000019.onnx",
25
+ "reward": 4.977400302886963,
26
+ "creation_time": 1661246787.3897908,
27
+ "auxillary_file_paths": [
28
+ "results/PushBlock Training/PushBlock/PushBlock-1000019.pt"
29
+ ]
30
+ }
31
+ ],
32
+ "final_checkpoint": {
33
+ "steps": 1000019,
34
+ "file_path": "results/PushBlock Training/PushBlock.onnx",
35
+ "reward": 4.977400302886963,
36
+ "creation_time": 1661246787.3897908,
37
+ "auxillary_file_paths": [
38
+ "results/PushBlock Training/PushBlock/PushBlock-1000019.pt"
39
+ ]
40
+ }
41
+ },
42
+ "metadata": {
43
+ "stats_format_version": "0.3.0",
44
+ "mlagents_version": "0.29.0.dev0",
45
+ "torch_version": "1.8.1+cu102"
46
+ }
47
+ }