qownscks commited on
Commit
bc3259c
·
verified ·
1 Parent(s): ef1a4be

Upload 7 files

Browse files
config.json ADDED
@@ -0,0 +1,121 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "smolvla",
3
+ "n_obs_steps": 1,
4
+ "input_features": {
5
+ "observation.state": {
6
+ "type": "STATE",
7
+ "shape": [
8
+ 6
9
+ ]
10
+ },
11
+ "observation.images.camera1": {
12
+ "type": "VISUAL",
13
+ "shape": [
14
+ 3,
15
+ 256,
16
+ 256
17
+ ]
18
+ },
19
+ "observation.images.camera2": {
20
+ "type": "VISUAL",
21
+ "shape": [
22
+ 3,
23
+ 256,
24
+ 256
25
+ ]
26
+ },
27
+ "observation.images.camera3": {
28
+ "type": "VISUAL",
29
+ "shape": [
30
+ 3,
31
+ 256,
32
+ 256
33
+ ]
34
+ },
35
+ "observation.images.top": {
36
+ "type": "VISUAL",
37
+ "shape": [
38
+ 3,
39
+ 256,
40
+ 256
41
+ ]
42
+ },
43
+ "observation.images.left": {
44
+ "type": "VISUAL",
45
+ "shape": [
46
+ 3,
47
+ 256,
48
+ 256
49
+ ]
50
+ },
51
+ "observation.images.right": {
52
+ "type": "VISUAL",
53
+ "shape": [
54
+ 3,
55
+ 256,
56
+ 256
57
+ ]
58
+ }
59
+ },
60
+ "output_features": {
61
+ "action": {
62
+ "type": "ACTION",
63
+ "shape": [
64
+ 6
65
+ ]
66
+ }
67
+ },
68
+ "device": "cuda",
69
+ "use_amp": false,
70
+ "push_to_hub": true,
71
+ "repo_id": "qownscks/bimuanual_sandwitch_lastdance",
72
+ "private": null,
73
+ "tags": null,
74
+ "license": null,
75
+ "pretrained_path": "lerobot/smolvla_base",
76
+ "chunk_size": 50,
77
+ "n_action_steps": 50,
78
+ "normalization_mapping": {
79
+ "VISUAL": "IDENTITY",
80
+ "STATE": "MEAN_STD",
81
+ "ACTION": "MEAN_STD"
82
+ },
83
+ "max_state_dim": 32,
84
+ "max_action_dim": 32,
85
+ "resize_imgs_with_padding": [
86
+ 512,
87
+ 512
88
+ ],
89
+ "empty_cameras": 0,
90
+ "adapt_to_pi_aloha": false,
91
+ "use_delta_joint_actions_aloha": false,
92
+ "tokenizer_max_length": 48,
93
+ "num_steps": 10,
94
+ "use_cache": true,
95
+ "freeze_vision_encoder": true,
96
+ "train_expert_only": true,
97
+ "train_state_proj": true,
98
+ "optimizer_lr": 0.0001,
99
+ "optimizer_betas": [
100
+ 0.9,
101
+ 0.95
102
+ ],
103
+ "optimizer_eps": 1e-08,
104
+ "optimizer_weight_decay": 1e-10,
105
+ "optimizer_grad_clip_norm": 10.0,
106
+ "scheduler_warmup_steps": 1000,
107
+ "scheduler_decay_steps": 30000,
108
+ "scheduler_decay_lr": 2.5e-06,
109
+ "vlm_model_name": "HuggingFaceTB/SmolVLM2-500M-Video-Instruct",
110
+ "load_vlm_weights": true,
111
+ "add_image_special_tokens": false,
112
+ "attention_mode": "cross_attn",
113
+ "prefix_length": 0,
114
+ "pad_language_to": "max_length",
115
+ "num_expert_layers": 0,
116
+ "num_vlm_layers": 16,
117
+ "self_attn_every_n_layers": 2,
118
+ "expert_width_multiplier": 0.75,
119
+ "min_period": 0.004,
120
+ "max_period": 4.0
121
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4d9f3090ef9c0933050f40e57150af0c1d22998684f7153ef6e96f0cafc8c5fb
3
+ size 906712520
policy_postprocessor.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "policy_postprocessor",
3
+ "steps": [
4
+ {
5
+ "registry_name": "unnormalizer_processor",
6
+ "config": {
7
+ "eps": 1e-08,
8
+ "features": {
9
+ "action": {
10
+ "type": "ACTION",
11
+ "shape": [
12
+ 6
13
+ ]
14
+ }
15
+ },
16
+ "norm_map": {
17
+ "VISUAL": "IDENTITY",
18
+ "STATE": "MEAN_STD",
19
+ "ACTION": "MEAN_STD"
20
+ }
21
+ },
22
+ "state_file": "policy_postprocessor_step_0_unnormalizer_processor.safetensors"
23
+ },
24
+ {
25
+ "registry_name": "device_processor",
26
+ "config": {
27
+ "device": "cpu",
28
+ "float_dtype": null
29
+ }
30
+ }
31
+ ]
32
+ }
policy_postprocessor_step_0_unnormalizer_processor.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd8c01c62a5791a8651a5c97de9b8e657d6d3305781ffc027bd5f867432248e1
3
+ size 9024
policy_preprocessor.json ADDED
@@ -0,0 +1,111 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "policy_preprocessor",
3
+ "steps": [
4
+ {
5
+ "registry_name": "rename_observations_processor",
6
+ "config": {
7
+ "rename_map": {}
8
+ }
9
+ },
10
+ {
11
+ "registry_name": "to_batch_processor",
12
+ "config": {}
13
+ },
14
+ {
15
+ "registry_name": "smolvla_new_line_processor",
16
+ "config": {}
17
+ },
18
+ {
19
+ "registry_name": "tokenizer_processor",
20
+ "config": {
21
+ "max_length": 48,
22
+ "task_key": "task",
23
+ "padding_side": "right",
24
+ "padding": "max_length",
25
+ "truncation": true,
26
+ "tokenizer_name": "HuggingFaceTB/SmolVLM2-500M-Video-Instruct"
27
+ }
28
+ },
29
+ {
30
+ "registry_name": "device_processor",
31
+ "config": {
32
+ "device": "cuda",
33
+ "float_dtype": null
34
+ }
35
+ },
36
+ {
37
+ "registry_name": "normalizer_processor",
38
+ "config": {
39
+ "eps": 1e-08,
40
+ "features": {
41
+ "observation.state": {
42
+ "type": "STATE",
43
+ "shape": [
44
+ 6
45
+ ]
46
+ },
47
+ "observation.images.camera1": {
48
+ "type": "VISUAL",
49
+ "shape": [
50
+ 3,
51
+ 256,
52
+ 256
53
+ ]
54
+ },
55
+ "observation.images.camera2": {
56
+ "type": "VISUAL",
57
+ "shape": [
58
+ 3,
59
+ 256,
60
+ 256
61
+ ]
62
+ },
63
+ "observation.images.camera3": {
64
+ "type": "VISUAL",
65
+ "shape": [
66
+ 3,
67
+ 256,
68
+ 256
69
+ ]
70
+ },
71
+ "observation.images.top": {
72
+ "type": "VISUAL",
73
+ "shape": [
74
+ 3,
75
+ 256,
76
+ 256
77
+ ]
78
+ },
79
+ "observation.images.left": {
80
+ "type": "VISUAL",
81
+ "shape": [
82
+ 3,
83
+ 256,
84
+ 256
85
+ ]
86
+ },
87
+ "observation.images.right": {
88
+ "type": "VISUAL",
89
+ "shape": [
90
+ 3,
91
+ 256,
92
+ 256
93
+ ]
94
+ },
95
+ "action": {
96
+ "type": "ACTION",
97
+ "shape": [
98
+ 6
99
+ ]
100
+ }
101
+ },
102
+ "norm_map": {
103
+ "VISUAL": "IDENTITY",
104
+ "STATE": "MEAN_STD",
105
+ "ACTION": "MEAN_STD"
106
+ }
107
+ },
108
+ "state_file": "policy_preprocessor_step_5_normalizer_processor.safetensors"
109
+ }
110
+ ]
111
+ }
policy_preprocessor_step_5_normalizer_processor.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd8c01c62a5791a8651a5c97de9b8e657d6d3305781ffc027bd5f867432248e1
3
+ size 9024
train_config.json ADDED
@@ -0,0 +1,250 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "qownscks/bimanual_sandwich_lastdance",
4
+ "root": "dataset",
5
+ "episodes": null,
6
+ "image_transforms": {
7
+ "enable": false,
8
+ "max_num_transforms": 3,
9
+ "random_order": false,
10
+ "tfs": {
11
+ "brightness": {
12
+ "weight": 1.0,
13
+ "type": "ColorJitter",
14
+ "kwargs": {
15
+ "brightness": [
16
+ 0.8,
17
+ 1.2
18
+ ]
19
+ }
20
+ },
21
+ "contrast": {
22
+ "weight": 1.0,
23
+ "type": "ColorJitter",
24
+ "kwargs": {
25
+ "contrast": [
26
+ 0.8,
27
+ 1.2
28
+ ]
29
+ }
30
+ },
31
+ "saturation": {
32
+ "weight": 1.0,
33
+ "type": "ColorJitter",
34
+ "kwargs": {
35
+ "saturation": [
36
+ 0.5,
37
+ 1.5
38
+ ]
39
+ }
40
+ },
41
+ "hue": {
42
+ "weight": 1.0,
43
+ "type": "ColorJitter",
44
+ "kwargs": {
45
+ "hue": [
46
+ -0.05,
47
+ 0.05
48
+ ]
49
+ }
50
+ },
51
+ "sharpness": {
52
+ "weight": 1.0,
53
+ "type": "SharpnessJitter",
54
+ "kwargs": {
55
+ "sharpness": [
56
+ 0.5,
57
+ 1.5
58
+ ]
59
+ }
60
+ },
61
+ "affine": {
62
+ "weight": 1.0,
63
+ "type": "RandomAffine",
64
+ "kwargs": {
65
+ "degrees": [
66
+ -5.0,
67
+ 5.0
68
+ ],
69
+ "translate": [
70
+ 0.05,
71
+ 0.05
72
+ ]
73
+ }
74
+ }
75
+ }
76
+ },
77
+ "revision": null,
78
+ "use_imagenet_stats": true,
79
+ "video_backend": "torchcodec",
80
+ "streaming": false
81
+ },
82
+ "env": null,
83
+ "policy": {
84
+ "type": "smolvla",
85
+ "n_obs_steps": 1,
86
+ "input_features": {
87
+ "observation.state": {
88
+ "type": "STATE",
89
+ "shape": [
90
+ 6
91
+ ]
92
+ },
93
+ "observation.images.camera1": {
94
+ "type": "VISUAL",
95
+ "shape": [
96
+ 3,
97
+ 256,
98
+ 256
99
+ ]
100
+ },
101
+ "observation.images.camera2": {
102
+ "type": "VISUAL",
103
+ "shape": [
104
+ 3,
105
+ 256,
106
+ 256
107
+ ]
108
+ },
109
+ "observation.images.camera3": {
110
+ "type": "VISUAL",
111
+ "shape": [
112
+ 3,
113
+ 256,
114
+ 256
115
+ ]
116
+ },
117
+ "observation.images.top": {
118
+ "type": "VISUAL",
119
+ "shape": [
120
+ 3,
121
+ 256,
122
+ 256
123
+ ]
124
+ },
125
+ "observation.images.left": {
126
+ "type": "VISUAL",
127
+ "shape": [
128
+ 3,
129
+ 256,
130
+ 256
131
+ ]
132
+ },
133
+ "observation.images.right": {
134
+ "type": "VISUAL",
135
+ "shape": [
136
+ 3,
137
+ 256,
138
+ 256
139
+ ]
140
+ }
141
+ },
142
+ "output_features": {
143
+ "action": {
144
+ "type": "ACTION",
145
+ "shape": [
146
+ 6
147
+ ]
148
+ }
149
+ },
150
+ "device": "cuda",
151
+ "use_amp": false,
152
+ "push_to_hub": true,
153
+ "repo_id": "qownscks/bimuanual_sandwitch_lastdance",
154
+ "private": null,
155
+ "tags": null,
156
+ "license": null,
157
+ "pretrained_path": "lerobot/smolvla_base",
158
+ "chunk_size": 50,
159
+ "n_action_steps": 50,
160
+ "normalization_mapping": {
161
+ "VISUAL": "IDENTITY",
162
+ "STATE": "MEAN_STD",
163
+ "ACTION": "MEAN_STD"
164
+ },
165
+ "max_state_dim": 32,
166
+ "max_action_dim": 32,
167
+ "resize_imgs_with_padding": [
168
+ 512,
169
+ 512
170
+ ],
171
+ "empty_cameras": 0,
172
+ "adapt_to_pi_aloha": false,
173
+ "use_delta_joint_actions_aloha": false,
174
+ "tokenizer_max_length": 48,
175
+ "num_steps": 10,
176
+ "use_cache": true,
177
+ "freeze_vision_encoder": true,
178
+ "train_expert_only": true,
179
+ "train_state_proj": true,
180
+ "optimizer_lr": 0.0001,
181
+ "optimizer_betas": [
182
+ 0.9,
183
+ 0.95
184
+ ],
185
+ "optimizer_eps": 1e-08,
186
+ "optimizer_weight_decay": 1e-10,
187
+ "optimizer_grad_clip_norm": 10.0,
188
+ "scheduler_warmup_steps": 1000,
189
+ "scheduler_decay_steps": 30000,
190
+ "scheduler_decay_lr": 2.5e-06,
191
+ "vlm_model_name": "HuggingFaceTB/SmolVLM2-500M-Video-Instruct",
192
+ "load_vlm_weights": true,
193
+ "add_image_special_tokens": false,
194
+ "attention_mode": "cross_attn",
195
+ "prefix_length": 0,
196
+ "pad_language_to": "max_length",
197
+ "num_expert_layers": 0,
198
+ "num_vlm_layers": 16,
199
+ "self_attn_every_n_layers": 2,
200
+ "expert_width_multiplier": 0.75,
201
+ "min_period": 0.004,
202
+ "max_period": 4.0
203
+ },
204
+ "output_dir": "outputs/train/last",
205
+ "job_name": "lastdance--policy.device=cuda",
206
+ "resume": false,
207
+ "seed": 1000,
208
+ "num_workers": 4,
209
+ "batch_size": 64,
210
+ "steps": 160000,
211
+ "eval_freq": 20000,
212
+ "log_freq": 200,
213
+ "save_checkpoint": true,
214
+ "save_freq": 20000,
215
+ "use_policy_training_preset": true,
216
+ "optimizer": {
217
+ "type": "adamw",
218
+ "lr": 0.0001,
219
+ "weight_decay": 1e-10,
220
+ "grad_clip_norm": 10.0,
221
+ "betas": [
222
+ 0.9,
223
+ 0.95
224
+ ],
225
+ "eps": 1e-08
226
+ },
227
+ "scheduler": {
228
+ "type": "cosine_decay_with_warmup",
229
+ "num_warmup_steps": 1000,
230
+ "num_decay_steps": 30000,
231
+ "peak_lr": 0.0001,
232
+ "decay_lr": 2.5e-06
233
+ },
234
+ "eval": {
235
+ "n_episodes": 50,
236
+ "batch_size": 50,
237
+ "use_async_envs": false
238
+ },
239
+ "wandb": {
240
+ "enable": true,
241
+ "disable_artifact": false,
242
+ "project": "lerobot",
243
+ "entity": null,
244
+ "notes": null,
245
+ "run_id": "7fytjvb8",
246
+ "mode": null
247
+ },
248
+ "checkpoint_path": null,
249
+ "rename_map": {}
250
+ }