leninangelov commited on
Commit
87c99f7
·
verified ·
1 Parent(s): b4574f7

Upload 3 files

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