Robotics
LeRobot
Safetensors
smolvla
Chengmingethz commited on
Commit
18e717b
·
verified ·
1 Parent(s): 3306684

Upload default pretrained model from checkpoint 003000

Browse files
README.md CHANGED
@@ -1,38 +1,24 @@
1
- ---
2
- library_name: lerobot
3
- tags:
4
- - robotics
5
- - lerobot
6
- - smolvla
7
- - so101
8
- ---
9
 
10
- # eval3_sanity
11
 
12
- All numbered SmolVLA overfit-20 checkpoints for Eval 3 sanity checking.
 
 
 
 
 
 
 
 
 
13
 
14
- Dataset: `robot-learning-group47/eval3_overfit20`
15
 
16
- Checkpoints:
17
-
18
- - `checkpoints/000500`
19
- - `checkpoints/001000`
20
- - `checkpoints/001500`
21
- - `checkpoints/002000`
22
- - `checkpoints/002500`
23
- - `checkpoints/003000`
24
-
25
- The `003000/pretrained_model` checkpoint is also uploaded at repo root as the default loadable policy.
26
-
27
- Key inference settings are stored in each checkpoint config:
28
-
29
- - policy type: `smolvla`
30
- - fps: `15`
31
- - camera key: `observation.images.front`
32
- - image size: `240x320`, resized internally with padding to `512x512`
33
  - `chunk_size=50`
34
  - `n_action_steps=50`
35
  - `num_steps=10`
36
  - `attention_mode=self_attn`
37
  - `num_vlm_layers=8`
38
  - `num_expert_layers=4`
 
 
1
+ # eval3_sanitycheck
 
 
 
 
 
 
 
2
 
3
+ SmolVLA sanity-check overfit policy for Eval 3 coke-can placement.
4
 
5
+ - Base VLM: `HuggingFaceTB/SmolVLM2-500M-Video-Instruct`
6
+ - Policy type: `smolvla`
7
+ - Dataset: `robot-learning-group47/eval3_overfit20`
8
+ - Local dataset root: `/data/lerobot_datasets/robot-learning-group47/eval3_overfit20`
9
+ - Source episodes: `0,1,6,7,12,13,18,19,24,25,30,31,36,37,42,43,48,49,54,55`
10
+ - Steps: `3000`
11
+ - Batch size: `8`
12
+ - Image augmentation: disabled
13
+ - Trainable params: expert/state/action heads only, vision/VLM frozen
14
+ - Final training loss: approximately `0.182`
15
 
16
+ Important inference settings are stored in `config.json`:
17
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
  - `chunk_size=50`
19
  - `n_action_steps=50`
20
  - `num_steps=10`
21
  - `attention_mode=self_attn`
22
  - `num_vlm_layers=8`
23
  - `num_expert_layers=4`
24
+ - `resize_imgs_with_padding=[512,512]`
config.json ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.front": {
12
+ "type": "VISUAL",
13
+ "shape": [
14
+ 3,
15
+ 240,
16
+ 320
17
+ ]
18
+ }
19
+ },
20
+ "output_features": {
21
+ "action": {
22
+ "type": "ACTION",
23
+ "shape": [
24
+ 6
25
+ ]
26
+ }
27
+ },
28
+ "device": "cuda",
29
+ "use_amp": false,
30
+ "use_peft": false,
31
+ "push_to_hub": false,
32
+ "repo_id": null,
33
+ "private": null,
34
+ "tags": null,
35
+ "license": null,
36
+ "pretrained_path": null,
37
+ "chunk_size": 50,
38
+ "n_action_steps": 50,
39
+ "normalization_mapping": {
40
+ "VISUAL": "IDENTITY",
41
+ "STATE": "MEAN_STD",
42
+ "ACTION": "MEAN_STD"
43
+ },
44
+ "max_state_dim": 32,
45
+ "max_action_dim": 32,
46
+ "resize_imgs_with_padding": [
47
+ 512,
48
+ 512
49
+ ],
50
+ "empty_cameras": 0,
51
+ "adapt_to_pi_aloha": false,
52
+ "use_delta_joint_actions_aloha": false,
53
+ "tokenizer_max_length": 48,
54
+ "num_steps": 10,
55
+ "use_cache": true,
56
+ "freeze_vision_encoder": true,
57
+ "train_expert_only": true,
58
+ "train_state_proj": true,
59
+ "optimizer_lr": 0.0001,
60
+ "optimizer_betas": [
61
+ 0.9,
62
+ 0.95
63
+ ],
64
+ "optimizer_eps": 1e-08,
65
+ "optimizer_weight_decay": 1e-10,
66
+ "optimizer_grad_clip_norm": 10,
67
+ "scheduler_warmup_steps": 100,
68
+ "scheduler_decay_steps": 3000,
69
+ "scheduler_decay_lr": 2.5e-06,
70
+ "vlm_model_name": "HuggingFaceTB/SmolVLM2-500M-Video-Instruct",
71
+ "load_vlm_weights": true,
72
+ "add_image_special_tokens": false,
73
+ "attention_mode": "self_attn",
74
+ "prefix_length": -1,
75
+ "pad_language_to": "longest",
76
+ "num_expert_layers": 4,
77
+ "num_vlm_layers": 8,
78
+ "self_attn_every_n_layers": 2,
79
+ "expert_width_multiplier": 0.75,
80
+ "min_period": 0.004,
81
+ "max_period": 4.0,
82
+ "rtc_config": null,
83
+ "compile_model": false,
84
+ "compile_mode": "max-autotune"
85
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6de6bca545855eeae75b82f4b6728fbfdcfbaf85e6e5e3e30fe6ab9f5549d05f
3
+ size 599749280
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:4ec4f3742a63af18f8893f65f386129c63790c57351b91cc402cdb2d8a79ab44
3
+ size 6560
policy_preprocessor.json ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "longest",
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.front": {
48
+ "type": "VISUAL",
49
+ "shape": [
50
+ 3,
51
+ 240,
52
+ 320
53
+ ]
54
+ },
55
+ "action": {
56
+ "type": "ACTION",
57
+ "shape": [
58
+ 6
59
+ ]
60
+ }
61
+ },
62
+ "norm_map": {
63
+ "VISUAL": "IDENTITY",
64
+ "STATE": "MEAN_STD",
65
+ "ACTION": "MEAN_STD"
66
+ }
67
+ },
68
+ "state_file": "policy_preprocessor_step_5_normalizer_processor.safetensors"
69
+ }
70
+ ]
71
+ }
policy_preprocessor_step_5_normalizer_processor.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ac69b9e1f1c0cbbf0ab09343f6c139fab56b46b3e1395e4bec4d218e0a955059
3
+ size 6568
train_config.json ADDED
@@ -0,0 +1,223 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "robot-learning-group47/eval3_overfit20",
4
+ "root": "/data/lerobot_datasets/robot-learning-group47/eval3_overfit20",
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
+ "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.front": {
95
+ "type": "VISUAL",
96
+ "shape": [
97
+ 3,
98
+ 240,
99
+ 320
100
+ ]
101
+ }
102
+ },
103
+ "output_features": {
104
+ "action": {
105
+ "type": "ACTION",
106
+ "shape": [
107
+ 6
108
+ ]
109
+ }
110
+ },
111
+ "device": "cuda",
112
+ "use_amp": false,
113
+ "use_peft": false,
114
+ "push_to_hub": false,
115
+ "repo_id": null,
116
+ "private": null,
117
+ "tags": null,
118
+ "license": null,
119
+ "pretrained_path": null,
120
+ "chunk_size": 50,
121
+ "n_action_steps": 50,
122
+ "normalization_mapping": {
123
+ "VISUAL": "IDENTITY",
124
+ "STATE": "MEAN_STD",
125
+ "ACTION": "MEAN_STD"
126
+ },
127
+ "max_state_dim": 32,
128
+ "max_action_dim": 32,
129
+ "resize_imgs_with_padding": [
130
+ 512,
131
+ 512
132
+ ],
133
+ "empty_cameras": 0,
134
+ "adapt_to_pi_aloha": false,
135
+ "use_delta_joint_actions_aloha": false,
136
+ "tokenizer_max_length": 48,
137
+ "num_steps": 10,
138
+ "use_cache": true,
139
+ "freeze_vision_encoder": true,
140
+ "train_expert_only": true,
141
+ "train_state_proj": true,
142
+ "optimizer_lr": 0.0001,
143
+ "optimizer_betas": [
144
+ 0.9,
145
+ 0.95
146
+ ],
147
+ "optimizer_eps": 1e-08,
148
+ "optimizer_weight_decay": 1e-10,
149
+ "optimizer_grad_clip_norm": 10,
150
+ "scheduler_warmup_steps": 100,
151
+ "scheduler_decay_steps": 3000,
152
+ "scheduler_decay_lr": 2.5e-06,
153
+ "vlm_model_name": "HuggingFaceTB/SmolVLM2-500M-Video-Instruct",
154
+ "load_vlm_weights": true,
155
+ "add_image_special_tokens": false,
156
+ "attention_mode": "self_attn",
157
+ "prefix_length": -1,
158
+ "pad_language_to": "longest",
159
+ "num_expert_layers": 4,
160
+ "num_vlm_layers": 8,
161
+ "self_attn_every_n_layers": 2,
162
+ "expert_width_multiplier": 0.75,
163
+ "min_period": 0.004,
164
+ "max_period": 4.0,
165
+ "rtc_config": null,
166
+ "compile_model": false,
167
+ "compile_mode": "max-autotune"
168
+ },
169
+ "reward_model": null,
170
+ "output_dir": "outputs/train/2026-05-20/20-23-02_smolvla",
171
+ "job_name": "smolvla",
172
+ "resume": false,
173
+ "seed": 1000,
174
+ "cudnn_deterministic": false,
175
+ "num_workers": 4,
176
+ "batch_size": 8,
177
+ "prefetch_factor": 4,
178
+ "persistent_workers": true,
179
+ "steps": 3000,
180
+ "eval_freq": 20000,
181
+ "log_freq": 50,
182
+ "tolerance_s": 0.0001,
183
+ "save_checkpoint": true,
184
+ "save_freq": 500,
185
+ "use_policy_training_preset": true,
186
+ "optimizer": {
187
+ "type": "adamw",
188
+ "lr": 0.0001,
189
+ "weight_decay": 1e-10,
190
+ "grad_clip_norm": 10,
191
+ "betas": [
192
+ 0.9,
193
+ 0.95
194
+ ],
195
+ "eps": 1e-08
196
+ },
197
+ "scheduler": {
198
+ "type": "cosine_decay_with_warmup",
199
+ "num_warmup_steps": 100,
200
+ "num_decay_steps": 3000,
201
+ "peak_lr": 0.0001,
202
+ "decay_lr": 2.5e-06
203
+ },
204
+ "eval": {
205
+ "n_episodes": 50,
206
+ "batch_size": 11,
207
+ "use_async_envs": true
208
+ },
209
+ "wandb": {
210
+ "enable": false,
211
+ "disable_artifact": false,
212
+ "project": "lerobot",
213
+ "entity": null,
214
+ "notes": null,
215
+ "run_id": null,
216
+ "mode": null,
217
+ "add_tags": true
218
+ },
219
+ "peft": null,
220
+ "sample_weighting": null,
221
+ "rename_map": {},
222
+ "checkpoint_path": null
223
+ }