rebolforces commited on
Commit
96d7c6f
1 Parent(s): d92f229

First PushBlock

Browse files
PushBlock.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:08c10f56992489beeb81be07b0b1d733e52f8d3ba55a96cc122213a00d68e56c
3
+ size 488603
PushBlock/PushBlock-1499974.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d1b909595e2d7e8fd731133b465b1baa25c27716df4fc3b1f4426c24932bf20a
3
+ size 488603
PushBlock/PushBlock-1499974.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5a236668e2644bbab2c57317a6fefd178152c4d98fffe7e24df974b8ef8b94e9
3
+ size 2916274
PushBlock/PushBlock-1999998.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:08c10f56992489beeb81be07b0b1d733e52f8d3ba55a96cc122213a00d68e56c
3
+ size 488603
PushBlock/PushBlock-1999998.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f56449537fed34f563b90ebbf771a6d13af13f340762bcb89cc372a83e3e3721
3
+ size 2916274
PushBlock/PushBlock-2000030.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:08c10f56992489beeb81be07b0b1d733e52f8d3ba55a96cc122213a00d68e56c
3
+ size 488603
PushBlock/PushBlock-2000030.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f6f5d928eab5d2681a08b94fe42cc59390a385ea84f387c733b363de53b0745
3
+ size 2916274
PushBlock/PushBlock-499979.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a923dbfd0f011bd26359fb29b7e47665958a8831090ea681fd59f9f9d78b2844
3
+ size 488603
PushBlock/PushBlock-499979.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b82c91d424f981edbd46fd9056b8f288d1dd3ce0aea500ec8fece105b14a9944
3
+ size 2916274
PushBlock/PushBlock-999975.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec126ecd572f17764a6587a33315b72cf9be0a5fdcd2a16ff1e27d0a8d42dcb3
3
+ size 488603
PushBlock/PushBlock-999975.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:90191dc83eb9d13ef89ba1a7d2b2a254406b9b36b0ff877ba2e835e187e89263
3
+ size 2916274
PushBlock/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f6f5d928eab5d2681a08b94fe42cc59390a385ea84f387c733b363de53b0745
3
+ size 2916274
PushBlock/events.out.tfevents.1661028752.default.711.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1585f67b9bc3fe1afc845da57bae0b6613be5c1c2aa67d6d9118c88eb1fa5aba
3
+ size 303534
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
+ # **ppo** Agent playing **PushBlock**
13
+ This is a trained model of a **ppo** 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: rebolforces/testpushblock
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": "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": 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": 2000000, "time_horizon": 64, "summary_freq": 60000, "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: 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: 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: 2000000
40
+ time_horizon: 64
41
+ summary_freq: 60000
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,305 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mono path[0] = '/home/studio-lab-user/deep-rl-class/unit4/ml-agents/trained-envs-executables/linux/PushBlock/PushBlock_Data/Managed'
2
+ Mono config path = '/home/studio-lab-user/deep-rl-class/unit4/ml-agents/trained-envs-executables/linux/PushBlock/PushBlock_Data/MonoBleedingEdge/etc'
3
+ Found 1 interfaces on host : 0) 169.254.255.2
4
+ Broadcasting "[IP] 169.254.255.2 [Port] 55088 [Flags] 2 [Guid] 2924150415 [EditorId] 588871222 [Version] 1048832 [Id] LinuxPlayer(13,169.254.255.2) [Debug] 0 [PackageName] LinuxPlayer [ProjectName] UnityEnvironment" to [169.254.255.255: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 /home/studio-lab-user/deep-rl-class/unit4/ml-agents/trained-envs-executables/linux/PushBlock/PushBlock_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
+ FMOD initialized on nosound output
16
+ Begin MonoManager ReloadAssembly
17
+ - Completed reload, in 0.085 seconds
18
+ ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
19
+ ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
20
+ ERROR: Shader Legacy Shaders/VertexLit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
21
+ WARNING: Shader Unsupported: 'Legacy Shaders/Diffuse' - All subshaders removed
22
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
23
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
24
+ ERROR: Shader Legacy Shaders/Diffuse shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
25
+ WARNING: Shader Unsupported: 'Legacy Shaders/Diffuse' - All subshaders removed
26
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
27
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
28
+ WARNING: Shader Unsupported: 'ML-Agents/GridPattern' - All subshaders removed
29
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
30
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
31
+ ERROR: Shader ML-Agents/GridPattern shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
32
+ WARNING: Shader Unsupported: 'ML-Agents/GridPattern' - All subshaders removed
33
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
34
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
35
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
36
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
37
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
38
+ ERROR: Shader Autodesk Interactive shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
39
+ WARNING: Shader Unsupported: 'Autodesk Interactive' - All subshaders removed
40
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
41
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
42
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
43
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
44
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
45
+ ERROR: Shader Standard shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
46
+ WARNING: Shader Unsupported: 'Standard' - All subshaders removed
47
+ WARNING: Shader Did you use #pragma only_renderers and omit this platform?
48
+ WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
49
+ UnloadTime: 0.655997 ms
50
+ ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
51
+ requesting resize 84 x 84
52
+ Setting up 2 worker threads for Enlighten.
53
+ PlayerConnection::CleanupMemory Statistics:
54
+ [ALLOC_TEMP_TLS] TLS Allocator
55
+ StackAllocators :
56
+ [ALLOC_TEMP_MAIN]
57
+ Peak usage frame count: [4.0 KB-8.0 KB]: 18758 frames, [2.0 MB-4.0 MB]: 1 frames
58
+ Initial Block Size 4.0 MB
59
+ Current Block Size 4.0 MB
60
+ Peak Allocated Bytes 2.0 MB
61
+ Overflow Count 0
62
+ [ALLOC_TEMP_Background Job.Worker 8]
63
+ Initial Block Size 32.0 KB
64
+ Current Block Size 32.0 KB
65
+ Peak Allocated Bytes 0 B
66
+ Overflow Count 0
67
+ [ALLOC_TEMP_Background Job.Worker 10]
68
+ Initial Block Size 32.0 KB
69
+ Current Block Size 32.0 KB
70
+ Peak Allocated Bytes 0 B
71
+ Overflow Count 0
72
+ [ALLOC_TEMP_Background Job.Worker 6]
73
+ Initial Block Size 32.0 KB
74
+ Current Block Size 32.0 KB
75
+ Peak Allocated Bytes 0 B
76
+ Overflow Count 0
77
+ [ALLOC_TEMP_AUDIO_FMOD mixer thread]
78
+ Initial Block Size 64.0 KB
79
+ Current Block Size 64.0 KB
80
+ Peak Allocated Bytes 0 B
81
+ Overflow Count 0
82
+ [ALLOC_TEMP_Background Job.Worker 1]
83
+ Initial Block Size 32.0 KB
84
+ Current Block Size 32.0 KB
85
+ Peak Allocated Bytes 0 B
86
+ Overflow Count 0
87
+ [ALLOC_TEMP_Background Job.Worker 11]
88
+ Initial Block Size 32.0 KB
89
+ Current Block Size 32.0 KB
90
+ Peak Allocated Bytes 0 B
91
+ Overflow Count 0
92
+ [ALLOC_TEMP_Background Job.Worker 3]
93
+ Initial Block Size 32.0 KB
94
+ Current Block Size 32.0 KB
95
+ Peak Allocated Bytes 0 B
96
+ Overflow Count 0
97
+ [ALLOC_TEMP_BatchDeleteObjects]
98
+ Initial Block Size 64.0 KB
99
+ Current Block Size 64.0 KB
100
+ Peak Allocated Bytes 0 B
101
+ Overflow Count 0
102
+ [ALLOC_TEMP_AUDIO_FMOD stream thread]
103
+ Initial Block Size 64.0 KB
104
+ Current Block Size 64.0 KB
105
+ Peak Allocated Bytes 0 B
106
+ Overflow Count 0
107
+ [ALLOC_TEMP_Background Job.Worker 2]
108
+ Initial Block Size 32.0 KB
109
+ Current Block Size 32.0 KB
110
+ Peak Allocated Bytes 0 B
111
+ Overflow Count 0
112
+ [ALLOC_TEMP_Background Job.Worker 15]
113
+ Initial Block Size 32.0 KB
114
+ Current Block Size 32.0 KB
115
+ Peak Allocated Bytes 0 B
116
+ Overflow Count 0
117
+ [ALLOC_TEMP_Background Job.Worker 7]
118
+ Initial Block Size 32.0 KB
119
+ Current Block Size 32.0 KB
120
+ Peak Allocated Bytes 0 B
121
+ Overflow Count 0
122
+ [ALLOC_TEMP_Job.Worker 1]
123
+ Initial Block Size 256.0 KB
124
+ Current Block Size 256.0 KB
125
+ Peak Allocated Bytes 0.8 KB
126
+ Overflow Count 0
127
+ [ALLOC_TEMP_Loading.PreloadManager]
128
+ Initial Block Size 256.0 KB
129
+ Current Block Size 284.0 KB
130
+ Peak Allocated Bytes 233.8 KB
131
+ Overflow Count 4
132
+ [ALLOC_TEMP_Profiler.Dispatcher]
133
+ Initial Block Size 64.0 KB
134
+ Current Block Size 64.0 KB
135
+ Peak Allocated Bytes 480 B
136
+ Overflow Count 0
137
+ [ALLOC_TEMP_Background Job.Worker 12]
138
+ Initial Block Size 32.0 KB
139
+ Current Block Size 32.0 KB
140
+ Peak Allocated Bytes 0 B
141
+ Overflow Count 0
142
+ [ALLOC_TEMP_AssetGarbageCollectorHelper] x 3
143
+ Initial Block Size 64.0 KB
144
+ Current Block Size 64.0 KB
145
+ Peak Allocated Bytes 0 B
146
+ Overflow Count 0
147
+ [ALLOC_TEMP_Background Job.Worker 5]
148
+ Initial Block Size 32.0 KB
149
+ Current Block Size 32.0 KB
150
+ Peak Allocated Bytes 0 B
151
+ Overflow Count 0
152
+ [ALLOC_TEMP_Background Job.Worker 13]
153
+ Initial Block Size 32.0 KB
154
+ Current Block Size 32.0 KB
155
+ Peak Allocated Bytes 0 B
156
+ Overflow Count 0
157
+ [ALLOC_TEMP_Job.Worker 2]
158
+ Initial Block Size 256.0 KB
159
+ Current Block Size 256.0 KB
160
+ Peak Allocated Bytes 0 B
161
+ Overflow Count 0
162
+ [ALLOC_TEMP_Background Job.Worker 0]
163
+ Initial Block Size 32.0 KB
164
+ Current Block Size 32.0 KB
165
+ Peak Allocated Bytes 0 B
166
+ Overflow Count 0
167
+ [ALLOC_TEMP_Background Job.Worker 4]
168
+ Initial Block Size 32.0 KB
169
+ Current Block Size 32.0 KB
170
+ Peak Allocated Bytes 0 B
171
+ Overflow Count 0
172
+ [ALLOC_TEMP_Job.Worker 0]
173
+ Initial Block Size 256.0 KB
174
+ Current Block Size 256.0 KB
175
+ Peak Allocated Bytes 0 B
176
+ Overflow Count 0
177
+ [ALLOC_TEMP_Background Job.Worker 9]
178
+ Initial Block Size 32.0 KB
179
+ Current Block Size 32.0 KB
180
+ Peak Allocated Bytes 0 B
181
+ Overflow Count 0
182
+ [ALLOC_TEMP_Background Job.Worker 14]
183
+ Initial Block Size 32.0 KB
184
+ Current Block Size 32.0 KB
185
+ Peak Allocated Bytes 0 B
186
+ Overflow Count 0
187
+ [ALLOC_TEMP_EnlightenWorker] x 2
188
+ Initial Block Size 64.0 KB
189
+ Current Block Size 64.0 KB
190
+ Peak Allocated Bytes 0 B
191
+ Overflow Count 0
192
+ [ALLOC_TEMP_Loading.AsyncRead]
193
+ Initial Block Size 64.0 KB
194
+ Current Block Size 64.0 KB
195
+ Peak Allocated Bytes 134 B
196
+ Overflow Count 0
197
+ [ALLOC_MEMORYPROFILER]
198
+ Peak usage frame count: [128.0 KB-256.0 KB]: 18759 frames
199
+ Requested Block Size 1.0 MB
200
+ Peak Block count 1
201
+ Peak Allocated memory 152.1 KB
202
+ Peak Large allocation bytes 0 B
203
+ [ALLOC_DEFAULT] Dual Thread Allocator
204
+ Peak main deferred allocation count 10
205
+ [ALLOC_BUCKET]
206
+ Large Block size 4.0 MB
207
+ Used Block count 1
208
+ Peak Allocated bytes 0.8 MB
209
+ [ALLOC_DEFAULT_MAIN]
210
+ Peak usage frame count: [4.0 MB-8.0 MB]: 18759 frames
211
+ Requested Block Size 16.0 MB
212
+ Peak Block count 1
213
+ Peak Allocated memory 5.2 MB
214
+ Peak Large allocation bytes 0 B
215
+ [ALLOC_DEFAULT_THREAD]
216
+ Peak usage frame count: [16.0 MB-32.0 MB]: 18759 frames
217
+ Requested Block Size 16.0 MB
218
+ Peak Block count 1
219
+ Peak Allocated memory 17.5 MB
220
+ Peak Large allocation bytes 16.0 MB
221
+ [ALLOC_TEMP_JOB_1_FRAME]
222
+ Initial Block Size 2.0 MB
223
+ Used Block Count 1
224
+ Overflow Count (too large) 0
225
+ Overflow Count (full) 0
226
+ [ALLOC_TEMP_JOB_2_FRAMES]
227
+ Initial Block Size 2.0 MB
228
+ Used Block Count 1
229
+ Overflow Count (too large) 0
230
+ Overflow Count (full) 0
231
+ [ALLOC_TEMP_JOB_4_FRAMES (JobTemp)]
232
+ Initial Block Size 2.0 MB
233
+ Used Block Count 2
234
+ Overflow Count (too large) 0
235
+ Overflow Count (full) 0
236
+ [ALLOC_TEMP_JOB_ASYNC (Background)]
237
+ Initial Block Size 1.0 MB
238
+ Used Block Count 3
239
+ Overflow Count (too large) 0
240
+ Overflow Count (full) 0
241
+ [ALLOC_GFX] Dual Thread Allocator
242
+ Peak main deferred allocation count 0
243
+ [ALLOC_BUCKET]
244
+ Large Block size 4.0 MB
245
+ Used Block count 1
246
+ Peak Allocated bytes 0.8 MB
247
+ [ALLOC_GFX_MAIN]
248
+ Peak usage frame count: [32.0 KB-64.0 KB]: 18758 frames, [64.0 KB-128.0 KB]: 1 frames
249
+ Requested Block Size 16.0 MB
250
+ Peak Block count 1
251
+ Peak Allocated memory 67.0 KB
252
+ Peak Large allocation bytes 0 B
253
+ [ALLOC_GFX_THREAD]
254
+ Peak usage frame count: [8.0 KB-16.0 KB]: 18759 frames
255
+ Requested Block Size 16.0 MB
256
+ Peak Block count 1
257
+ Peak Allocated memory 12.9 KB
258
+ Peak Large allocation bytes 0 B
259
+ [ALLOC_CACHEOBJECTS] Dual Thread Allocator
260
+ Peak main deferred allocation count 0
261
+ [ALLOC_BUCKET]
262
+ Large Block size 4.0 MB
263
+ Used Block count 1
264
+ Peak Allocated bytes 0.8 MB
265
+ [ALLOC_CACHEOBJECTS_MAIN]
266
+ Peak usage frame count: [0.5 MB-1.0 MB]: 18759 frames
267
+ Requested Block Size 4.0 MB
268
+ Peak Block count 1
269
+ Peak Allocated memory 0.6 MB
270
+ Peak Large allocation bytes 0 B
271
+ [ALLOC_CACHEOBJECTS_THREAD]
272
+ Peak usage frame count: [0.5 MB-1.0 MB]: 18758 frames, [4.0 MB-8.0 MB]: 1 frames
273
+ Requested Block Size 4.0 MB
274
+ Peak Block count 2
275
+ Peak Allocated memory 4.2 MB
276
+ Peak Large allocation bytes 0 B
277
+ [ALLOC_TYPETREE] Dual Thread Allocator
278
+ Peak main deferred allocation count 0
279
+ [ALLOC_BUCKET]
280
+ Large Block size 4.0 MB
281
+ Used Block count 1
282
+ Peak Allocated bytes 0.8 MB
283
+ [ALLOC_TYPETREE_MAIN]
284
+ Peak usage frame count: [0-1.0 KB]: 18759 frames
285
+ Requested Block Size 2.0 MB
286
+ Peak Block count 1
287
+ Peak Allocated memory 1.0 KB
288
+ Peak Large allocation bytes 0 B
289
+ [ALLOC_TYPETREE_THREAD]
290
+ Peak usage frame count: [1.0 KB-2.0 KB]: 18759 frames
291
+ Requested Block Size 2.0 MB
292
+ Peak Block count 1
293
+ Peak Allocated memory 1.9 KB
294
+ Peak Large allocation bytes 0 B
295
+ [ALLOC_PROFILER]
296
+ Peak usage frame count: [16.0 KB-32.0 KB]: 18759 frames
297
+ Requested Block Size 16.0 MB
298
+ Peak Block count 1
299
+ Peak Allocated memory 30.0 KB
300
+ Peak Large allocation bytes 0 B
301
+ [ALLOC_PROFILER_BUCKET]
302
+ Large Block size 4.0 MB
303
+ Used Block count 1
304
+ Peak Allocated bytes 332 B
305
+ ##utp:{"type":"MemoryLeaks","version":2,"phase":"Immediate","time":1661030447657,"processId":725,"allocatedMemory":1972281,"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":3603},{"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,369 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "root",
3
+ "gauges": {
4
+ "PushBlock.Policy.Entropy.mean": {
5
+ "value": 0.36918264627456665,
6
+ "min": 0.36918264627456665,
7
+ "max": 1.84763765335083,
8
+ "count": 33
9
+ },
10
+ "PushBlock.Policy.Entropy.sum": {
11
+ "value": 22221.841796875,
12
+ "min": 22221.841796875,
13
+ "max": 112099.875,
14
+ "count": 33
15
+ },
16
+ "PushBlock.Step.mean": {
17
+ "value": 1979989.0,
18
+ "min": 59968.0,
19
+ "max": 1979989.0,
20
+ "count": 33
21
+ },
22
+ "PushBlock.Step.sum": {
23
+ "value": 1979989.0,
24
+ "min": 59968.0,
25
+ "max": 1979989.0,
26
+ "count": 33
27
+ },
28
+ "PushBlock.Policy.ExtrinsicValueEstimate.mean": {
29
+ "value": 3.524479866027832,
30
+ "min": -0.09835633635520935,
31
+ "max": 3.524479866027832,
32
+ "count": 33
33
+ },
34
+ "PushBlock.Policy.ExtrinsicValueEstimate.sum": {
35
+ "value": 6065.6298828125,
36
+ "min": -94.52043914794922,
37
+ "max": 6065.6298828125,
38
+ "count": 33
39
+ },
40
+ "PushBlock.Losses.PolicyLoss.mean": {
41
+ "value": 0.06531524254004246,
42
+ "min": 0.06531524254004246,
43
+ "max": 0.07230422536205226,
44
+ "count": 33
45
+ },
46
+ "PushBlock.Losses.PolicyLoss.sum": {
47
+ "value": 1.8941420336612316,
48
+ "min": 0.9877540243655976,
49
+ "max": 2.0708480319105242,
50
+ "count": 33
51
+ },
52
+ "PushBlock.Losses.ValueLoss.mean": {
53
+ "value": 0.3559052664226147,
54
+ "min": 1.0239713772145584e-05,
55
+ "max": 0.41948080000778043,
56
+ "count": 33
57
+ },
58
+ "PushBlock.Losses.ValueLoss.sum": {
59
+ "value": 10.321252726255826,
60
+ "min": 0.00015359570658218376,
61
+ "max": 12.164943200225633,
62
+ "count": 33
63
+ },
64
+ "PushBlock.Policy.LearningRate.mean": {
65
+ "value": 7.590966435227584e-06,
66
+ "min": 7.590966435227584e-06,
67
+ "max": 0.00029544960151679995,
68
+ "count": 33
69
+ },
70
+ "PushBlock.Policy.LearningRate.sum": {
71
+ "value": 0.00022013802662159996,
72
+ "min": 0.00022013802662159996,
73
+ "max": 0.0070045391651538,
74
+ "count": 33
75
+ },
76
+ "PushBlock.Policy.Epsilon.mean": {
77
+ "value": 0.10253028965517243,
78
+ "min": 0.10253028965517243,
79
+ "max": 0.1984832,
80
+ "count": 33
81
+ },
82
+ "PushBlock.Policy.Epsilon.sum": {
83
+ "value": 2.9733784000000005,
84
+ "min": 2.7787648,
85
+ "max": 5.2348462,
86
+ "count": 33
87
+ },
88
+ "PushBlock.Policy.Beta.mean": {
89
+ "value": 0.0002627759365517241,
90
+ "min": 0.0002627759365517241,
91
+ "max": 0.00984847168,
92
+ "count": 33
93
+ },
94
+ "PushBlock.Policy.Beta.sum": {
95
+ "value": 0.00762050216,
96
+ "min": 0.00762050216,
97
+ "max": 0.23354113538,
98
+ "count": 33
99
+ },
100
+ "PushBlock.Environment.EpisodeLength.mean": {
101
+ "value": 45.92818110850898,
102
+ "min": 45.92818110850898,
103
+ "max": 999.0,
104
+ "count": 33
105
+ },
106
+ "PushBlock.Environment.EpisodeLength.sum": {
107
+ "value": 58834.0,
108
+ "min": 31968.0,
109
+ "max": 64324.0,
110
+ "count": 33
111
+ },
112
+ "PushBlock.Environment.CumulativeReward.mean": {
113
+ "value": 4.891086941858094,
114
+ "min": -1.0000000447034836,
115
+ "max": 4.902474769966761,
116
+ "count": 33
117
+ },
118
+ "PushBlock.Environment.CumulativeReward.sum": {
119
+ "value": 6270.373459462076,
120
+ "min": -64.00000286102295,
121
+ "max": 6270.373459462076,
122
+ "count": 33
123
+ },
124
+ "PushBlock.Policy.ExtrinsicReward.mean": {
125
+ "value": 4.891086941858094,
126
+ "min": -1.0000000447034836,
127
+ "max": 4.902474769966761,
128
+ "count": 33
129
+ },
130
+ "PushBlock.Policy.ExtrinsicReward.sum": {
131
+ "value": 6270.373459462076,
132
+ "min": -64.00000286102295,
133
+ "max": 6270.373459462076,
134
+ "count": 33
135
+ },
136
+ "PushBlock.IsTraining.mean": {
137
+ "value": 1.0,
138
+ "min": 1.0,
139
+ "max": 1.0,
140
+ "count": 33
141
+ },
142
+ "PushBlock.IsTraining.sum": {
143
+ "value": 1.0,
144
+ "min": 1.0,
145
+ "max": 1.0,
146
+ "count": 33
147
+ }
148
+ },
149
+ "metadata": {
150
+ "timer_format_version": "0.1.0",
151
+ "start_time_seconds": "1661028747",
152
+ "python_version": "3.9.7 | packaged by conda-forge | (default, Sep 29 2021, 19:23:11) \n[GCC 9.4.0]",
153
+ "command_line_arguments": "/home/studio-lab-user/.conda/envs/d2l/bin/mlagents-learn ./config/ppo/PushBlock.yaml --env=./trained-envs-executables/linux/PushBlock/PushBlock --run-id=PushBlock Training --no-graphics",
154
+ "mlagents_version": "0.29.0.dev0",
155
+ "mlagents_envs_version": "0.29.0.dev0",
156
+ "communication_protocol_version": "1.5.0",
157
+ "pytorch_version": "1.8.1+cu102",
158
+ "numpy_version": "1.21.4",
159
+ "end_time_seconds": "1661030447"
160
+ },
161
+ "total": 1700.625083998,
162
+ "count": 1,
163
+ "self": 0.27019369400022697,
164
+ "children": {
165
+ "run_training.setup": {
166
+ "total": 0.07572018399991975,
167
+ "count": 1,
168
+ "self": 0.07572018399991975
169
+ },
170
+ "TrainerController.start_learning": {
171
+ "total": 1700.27917012,
172
+ "count": 1,
173
+ "self": 1.593551067011731,
174
+ "children": {
175
+ "TrainerController._reset_env": {
176
+ "total": 12.003173340999865,
177
+ "count": 1,
178
+ "self": 12.003173340999865
179
+ },
180
+ "TrainerController.advance": {
181
+ "total": 1686.6228198569884,
182
+ "count": 75568,
183
+ "self": 1.4462087121214608,
184
+ "children": {
185
+ "env_step": {
186
+ "total": 971.9844109099299,
187
+ "count": 75568,
188
+ "self": 877.8616919780079,
189
+ "children": {
190
+ "SubprocessEnvManager._take_step": {
191
+ "total": 93.2743697950034,
192
+ "count": 75568,
193
+ "self": 4.636906597020243,
194
+ "children": {
195
+ "TorchPolicy.evaluate": {
196
+ "total": 88.63746319798315,
197
+ "count": 62528,
198
+ "self": 28.58412011988935,
199
+ "children": {
200
+ "TorchPolicy.sample_actions": {
201
+ "total": 60.0533430780938,
202
+ "count": 62528,
203
+ "self": 60.0533430780938
204
+ }
205
+ }
206
+ }
207
+ }
208
+ },
209
+ "workers": {
210
+ "total": 0.848349136918614,
211
+ "count": 75568,
212
+ "self": 0.0,
213
+ "children": {
214
+ "worker_root": {
215
+ "total": 1697.377955602092,
216
+ "count": 75568,
217
+ "is_parallel": true,
218
+ "self": 939.1471152440615,
219
+ "children": {
220
+ "run_training.setup": {
221
+ "total": 0.0,
222
+ "count": 0,
223
+ "is_parallel": true,
224
+ "self": 0.0,
225
+ "children": {
226
+ "steps_from_proto": {
227
+ "total": 0.003576241000018854,
228
+ "count": 1,
229
+ "is_parallel": true,
230
+ "self": 0.0016262459998870327,
231
+ "children": {
232
+ "_process_rank_one_or_two_observation": {
233
+ "total": 0.0019499950001318211,
234
+ "count": 4,
235
+ "is_parallel": true,
236
+ "self": 0.0019499950001318211
237
+ }
238
+ }
239
+ },
240
+ "UnityEnvironment.step": {
241
+ "total": 0.02470750600014071,
242
+ "count": 1,
243
+ "is_parallel": true,
244
+ "self": 0.0008270579999134497,
245
+ "children": {
246
+ "UnityEnvironment._generate_step_input": {
247
+ "total": 0.00043646000017361075,
248
+ "count": 1,
249
+ "is_parallel": true,
250
+ "self": 0.00043646000017361075
251
+ },
252
+ "communicator.exchange": {
253
+ "total": 0.020933761000151208,
254
+ "count": 1,
255
+ "is_parallel": true,
256
+ "self": 0.020933761000151208
257
+ },
258
+ "steps_from_proto": {
259
+ "total": 0.002510226999902443,
260
+ "count": 1,
261
+ "is_parallel": true,
262
+ "self": 0.0004533799999535404,
263
+ "children": {
264
+ "_process_rank_one_or_two_observation": {
265
+ "total": 0.0020568469999489025,
266
+ "count": 4,
267
+ "is_parallel": true,
268
+ "self": 0.0020568469999489025
269
+ }
270
+ }
271
+ }
272
+ }
273
+ }
274
+ }
275
+ },
276
+ "UnityEnvironment.step": {
277
+ "total": 758.2308403580305,
278
+ "count": 75567,
279
+ "is_parallel": true,
280
+ "self": 33.301698001971545,
281
+ "children": {
282
+ "UnityEnvironment._generate_step_input": {
283
+ "total": 26.422092879958655,
284
+ "count": 75567,
285
+ "is_parallel": true,
286
+ "self": 26.422092879958655
287
+ },
288
+ "communicator.exchange": {
289
+ "total": 604.322116844068,
290
+ "count": 75567,
291
+ "is_parallel": true,
292
+ "self": 604.322116844068
293
+ },
294
+ "steps_from_proto": {
295
+ "total": 94.18493263203231,
296
+ "count": 75567,
297
+ "is_parallel": true,
298
+ "self": 18.92606160921855,
299
+ "children": {
300
+ "_process_rank_one_or_two_observation": {
301
+ "total": 75.25887102281376,
302
+ "count": 302268,
303
+ "is_parallel": true,
304
+ "self": 75.25887102281376
305
+ }
306
+ }
307
+ }
308
+ }
309
+ }
310
+ }
311
+ }
312
+ }
313
+ }
314
+ }
315
+ },
316
+ "trainer_advance": {
317
+ "total": 713.192200234937,
318
+ "count": 75568,
319
+ "self": 3.11769389285314,
320
+ "children": {
321
+ "process_trajectory": {
322
+ "total": 179.35090118809308,
323
+ "count": 75568,
324
+ "self": 179.05766282609375,
325
+ "children": {
326
+ "RLTrainer._checkpoint": {
327
+ "total": 0.29323836199932884,
328
+ "count": 4,
329
+ "self": 0.29323836199932884
330
+ }
331
+ }
332
+ },
333
+ "_update_policy": {
334
+ "total": 530.7236051539908,
335
+ "count": 888,
336
+ "self": 281.29957376098946,
337
+ "children": {
338
+ "TorchPPOOptimizer.update": {
339
+ "total": 249.42403139300131,
340
+ "count": 46191,
341
+ "self": 249.42403139300131
342
+ }
343
+ }
344
+ }
345
+ }
346
+ }
347
+ }
348
+ },
349
+ "trainer_threads": {
350
+ "total": 1.1100000847363845e-06,
351
+ "count": 1,
352
+ "self": 1.1100000847363845e-06
353
+ },
354
+ "TrainerController._save_models": {
355
+ "total": 0.059624744999837276,
356
+ "count": 1,
357
+ "self": 0.00044027100011589937,
358
+ "children": {
359
+ "RLTrainer._checkpoint": {
360
+ "total": 0.059184473999721376,
361
+ "count": 1,
362
+ "self": 0.059184473999721376
363
+ }
364
+ }
365
+ }
366
+ }
367
+ }
368
+ }
369
+ }
run_logs/training_status.json ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "PushBlock": {
3
+ "checkpoints": [
4
+ {
5
+ "steps": 499979,
6
+ "file_path": "results/PushBlock Training/PushBlock/PushBlock-499979.onnx",
7
+ "reward": -0.9996000453829765,
8
+ "creation_time": 1661029156.7348406,
9
+ "auxillary_file_paths": [
10
+ "results/PushBlock Training/PushBlock/PushBlock-499979.pt"
11
+ ]
12
+ },
13
+ {
14
+ "steps": 999975,
15
+ "file_path": "results/PushBlock Training/PushBlock/PushBlock-999975.onnx",
16
+ "reward": 4.937271522091968,
17
+ "creation_time": 1661029578.9375913,
18
+ "auxillary_file_paths": [
19
+ "results/PushBlock Training/PushBlock/PushBlock-999975.pt"
20
+ ]
21
+ },
22
+ {
23
+ "steps": 1499974,
24
+ "file_path": "results/PushBlock Training/PushBlock/PushBlock-1499974.onnx",
25
+ "reward": 4.949353963709795,
26
+ "creation_time": 1661030009.5444946,
27
+ "auxillary_file_paths": [
28
+ "results/PushBlock Training/PushBlock/PushBlock-1499974.pt"
29
+ ]
30
+ },
31
+ {
32
+ "steps": 1999998,
33
+ "file_path": "results/PushBlock Training/PushBlock/PushBlock-1999998.onnx",
34
+ "reward": 4.905188358005355,
35
+ "creation_time": 1661030447.3426688,
36
+ "auxillary_file_paths": [
37
+ "results/PushBlock Training/PushBlock/PushBlock-1999998.pt"
38
+ ]
39
+ },
40
+ {
41
+ "steps": 2000030,
42
+ "file_path": "results/PushBlock Training/PushBlock/PushBlock-2000030.onnx",
43
+ "reward": 4.908722368379434,
44
+ "creation_time": 1661030447.4049578,
45
+ "auxillary_file_paths": [
46
+ "results/PushBlock Training/PushBlock/PushBlock-2000030.pt"
47
+ ]
48
+ }
49
+ ],
50
+ "final_checkpoint": {
51
+ "steps": 2000030,
52
+ "file_path": "results/PushBlock Training/PushBlock.onnx",
53
+ "reward": 4.908722368379434,
54
+ "creation_time": 1661030447.4049578,
55
+ "auxillary_file_paths": [
56
+ "results/PushBlock Training/PushBlock/PushBlock-2000030.pt"
57
+ ]
58
+ }
59
+ },
60
+ "metadata": {
61
+ "stats_format_version": "0.3.0",
62
+ "mlagents_version": "0.29.0.dev0",
63
+ "torch_version": "1.8.1+cu102"
64
+ }
65
+ }