shuohsuan commited on
Commit
9a3e8b9
·
verified ·
1 Parent(s): 13c7402

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. config.json +83 -0
  2. model.safetensors +3 -0
  3. train_config.json +202 -0
config.json ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "smolvla",
3
+ "n_obs_steps": 1,
4
+ "normalization_mapping": {
5
+ "VISUAL": "IDENTITY",
6
+ "STATE": "MEAN_STD",
7
+ "ACTION": "MEAN_STD"
8
+ },
9
+ "input_features": {
10
+ "observation.state": {
11
+ "type": "STATE",
12
+ "shape": [
13
+ 6
14
+ ]
15
+ },
16
+ "observation.images.laptop": {
17
+ "type": "VISUAL",
18
+ "shape": [
19
+ 3,
20
+ 480,
21
+ 640
22
+ ]
23
+ },
24
+ "observation.images.phone": {
25
+ "type": "VISUAL",
26
+ "shape": [
27
+ 3,
28
+ 480,
29
+ 640
30
+ ]
31
+ }
32
+ },
33
+ "output_features": {
34
+ "action": {
35
+ "type": "ACTION",
36
+ "shape": [
37
+ 6
38
+ ]
39
+ }
40
+ },
41
+ "device": "cuda",
42
+ "use_amp": false,
43
+ "chunk_size": 50,
44
+ "n_action_steps": 50,
45
+ "max_state_dim": 32,
46
+ "max_action_dim": 32,
47
+ "resize_imgs_with_padding": [
48
+ 512,
49
+ 512
50
+ ],
51
+ "empty_cameras": 0,
52
+ "adapt_to_pi_aloha": false,
53
+ "use_delta_joint_actions_aloha": false,
54
+ "tokenizer_max_length": 48,
55
+ "num_steps": 10,
56
+ "use_cache": true,
57
+ "freeze_vision_encoder": true,
58
+ "train_expert_only": true,
59
+ "train_state_proj": true,
60
+ "optimizer_lr": 0.0001,
61
+ "optimizer_betas": [
62
+ 0.9,
63
+ 0.95
64
+ ],
65
+ "optimizer_eps": 1e-08,
66
+ "optimizer_weight_decay": 1e-10,
67
+ "optimizer_grad_clip_norm": 10,
68
+ "scheduler_warmup_steps": 1000,
69
+ "scheduler_decay_steps": 30000,
70
+ "scheduler_decay_lr": 2.5e-06,
71
+ "vlm_model_name": "HuggingFaceTB/SmolVLM2-500M-Video-Instruct",
72
+ "load_vlm_weights": false,
73
+ "add_image_special_tokens": false,
74
+ "attention_mode": "cross_attn",
75
+ "prefix_length": -1,
76
+ "pad_language_to": "longest",
77
+ "num_expert_layers": -1,
78
+ "num_vlm_layers": 16,
79
+ "self_attn_every_n_layers": 2,
80
+ "expert_width_multiplier": 0.75,
81
+ "min_period": 0.004,
82
+ "max_period": 4.0
83
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d641e0f1c74d5b4e510c92c8086780e682fb986cc41e5dacd6eea8ab3a776a6c
3
+ size 1197790016
train_config.json ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": [
4
+ "shuohsuan/grasp_data_ts_20",
5
+ "shuohsuan/grasp_data_ts_30",
6
+ "shuohsuan/grasp_data_ts_50",
7
+ "shuohsuan/grasp_data_tg_10",
8
+ "shuohsuan/grasp_data_tg_50",
9
+ "shuohsuan/grasp_data_tg_51"
10
+ ],
11
+ "root": null,
12
+ "episodes": null,
13
+ "image_transforms": {
14
+ "enable": false,
15
+ "max_num_transforms": 3,
16
+ "random_order": false,
17
+ "tfs": {
18
+ "brightness": {
19
+ "weight": 1.0,
20
+ "type": "ColorJitter",
21
+ "kwargs": {
22
+ "brightness": [
23
+ 0.8,
24
+ 1.2
25
+ ]
26
+ }
27
+ },
28
+ "contrast": {
29
+ "weight": 1.0,
30
+ "type": "ColorJitter",
31
+ "kwargs": {
32
+ "contrast": [
33
+ 0.8,
34
+ 1.2
35
+ ]
36
+ }
37
+ },
38
+ "saturation": {
39
+ "weight": 1.0,
40
+ "type": "ColorJitter",
41
+ "kwargs": {
42
+ "saturation": [
43
+ 0.5,
44
+ 1.5
45
+ ]
46
+ }
47
+ },
48
+ "hue": {
49
+ "weight": 1.0,
50
+ "type": "ColorJitter",
51
+ "kwargs": {
52
+ "hue": [
53
+ -0.05,
54
+ 0.05
55
+ ]
56
+ }
57
+ },
58
+ "sharpness": {
59
+ "weight": 1.0,
60
+ "type": "SharpnessJitter",
61
+ "kwargs": {
62
+ "sharpness": [
63
+ 0.5,
64
+ 1.5
65
+ ]
66
+ }
67
+ }
68
+ }
69
+ },
70
+ "revision": null,
71
+ "use_imagenet_stats": true,
72
+ "video_backend": "torchcodec"
73
+ },
74
+ "env": null,
75
+ "policy": {
76
+ "type": "smolvla",
77
+ "n_obs_steps": 1,
78
+ "normalization_mapping": {
79
+ "VISUAL": "IDENTITY",
80
+ "STATE": "MEAN_STD",
81
+ "ACTION": "MEAN_STD"
82
+ },
83
+ "input_features": {
84
+ "observation.state": {
85
+ "type": "STATE",
86
+ "shape": [
87
+ 6
88
+ ]
89
+ },
90
+ "observation.images.laptop": {
91
+ "type": "VISUAL",
92
+ "shape": [
93
+ 3,
94
+ 480,
95
+ 640
96
+ ]
97
+ },
98
+ "observation.images.phone": {
99
+ "type": "VISUAL",
100
+ "shape": [
101
+ 3,
102
+ 480,
103
+ 640
104
+ ]
105
+ }
106
+ },
107
+ "output_features": {
108
+ "action": {
109
+ "type": "ACTION",
110
+ "shape": [
111
+ 6
112
+ ]
113
+ }
114
+ },
115
+ "device": "cuda",
116
+ "use_amp": false,
117
+ "chunk_size": 50,
118
+ "n_action_steps": 50,
119
+ "max_state_dim": 32,
120
+ "max_action_dim": 32,
121
+ "resize_imgs_with_padding": [
122
+ 512,
123
+ 512
124
+ ],
125
+ "empty_cameras": 0,
126
+ "adapt_to_pi_aloha": false,
127
+ "use_delta_joint_actions_aloha": false,
128
+ "tokenizer_max_length": 48,
129
+ "num_steps": 10,
130
+ "use_cache": true,
131
+ "freeze_vision_encoder": true,
132
+ "train_expert_only": true,
133
+ "train_state_proj": true,
134
+ "optimizer_lr": 0.0001,
135
+ "optimizer_betas": [
136
+ 0.9,
137
+ 0.95
138
+ ],
139
+ "optimizer_eps": 1e-08,
140
+ "optimizer_weight_decay": 1e-10,
141
+ "optimizer_grad_clip_norm": 10,
142
+ "scheduler_warmup_steps": 1000,
143
+ "scheduler_decay_steps": 30000,
144
+ "scheduler_decay_lr": 2.5e-06,
145
+ "vlm_model_name": "HuggingFaceTB/SmolVLM2-500M-Video-Instruct",
146
+ "load_vlm_weights": false,
147
+ "add_image_special_tokens": false,
148
+ "attention_mode": "cross_attn",
149
+ "prefix_length": -1,
150
+ "pad_language_to": "longest",
151
+ "num_expert_layers": -1,
152
+ "num_vlm_layers": 16,
153
+ "self_attn_every_n_layers": 2,
154
+ "expert_width_multiplier": 0.75,
155
+ "min_period": 0.004,
156
+ "max_period": 4.0
157
+ },
158
+ "output_dir": "/mnt/storage/outputs/train/vla_grasp_multi_base",
159
+ "job_name": "smolvla",
160
+ "resume": false,
161
+ "seed": 1000,
162
+ "num_workers": 4,
163
+ "batch_size": 8,
164
+ "steps": 200000,
165
+ "eval_freq": 20000,
166
+ "log_freq": 200,
167
+ "save_checkpoint": true,
168
+ "save_freq": 20000,
169
+ "use_policy_training_preset": true,
170
+ "optimizer": {
171
+ "type": "adamw",
172
+ "lr": 0.0001,
173
+ "weight_decay": 1e-10,
174
+ "grad_clip_norm": 10,
175
+ "betas": [
176
+ 0.9,
177
+ 0.95
178
+ ],
179
+ "eps": 1e-08
180
+ },
181
+ "scheduler": {
182
+ "type": "cosine_decay_with_warmup",
183
+ "num_warmup_steps": 1000,
184
+ "num_decay_steps": 30000,
185
+ "peak_lr": 0.0001,
186
+ "decay_lr": 2.5e-06
187
+ },
188
+ "eval": {
189
+ "n_episodes": 50,
190
+ "batch_size": 50,
191
+ "use_async_envs": false
192
+ },
193
+ "wandb": {
194
+ "enable": false,
195
+ "disable_artifact": false,
196
+ "project": "lerobot",
197
+ "entity": null,
198
+ "notes": null,
199
+ "run_id": null,
200
+ "mode": null
201
+ }
202
+ }