efedele commited on
Commit
be2b1e5
·
verified ·
1 Parent(s): 44e6755

Upload folder using huggingface_hub

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