Robotics
LeRobot
Safetensors
multi_task_dit
naavox commited on
Commit
5f40dff
·
verified ·
1 Parent(s): 3faee32

Upload policy weights, train config and readme

Browse files
Files changed (4) hide show
  1. README.md +62 -0
  2. config.json +105 -0
  3. model.safetensors +3 -0
  4. train_config.json +241 -0
README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ datasets: naavox/tidy_up
3
+ library_name: lerobot
4
+ license: apache-2.0
5
+ model_name: multi_task_dit
6
+ pipeline_tag: robotics
7
+ tags:
8
+ - robotics
9
+ - lerobot
10
+ - multi_task_dit
11
+ ---
12
+
13
+ # Model Card for multi_task_dit
14
+
15
+ <!-- Provide a quick summary of what the model is/does. -->
16
+
17
+
18
+ _Model type not recognized — please update this template._
19
+
20
+
21
+ This policy has been trained and pushed to the Hub using [LeRobot](https://github.com/huggingface/lerobot).
22
+ See the full documentation at [LeRobot Docs](https://huggingface.co/docs/lerobot/index).
23
+
24
+ ---
25
+
26
+ ## How to Get Started with the Model
27
+
28
+ For a complete walkthrough, see the [training guide](https://huggingface.co/docs/lerobot/il_robots#train-a-policy).
29
+ Below is the short version on how to train and run inference/eval:
30
+
31
+ ### Train from scratch
32
+
33
+ ```bash
34
+ lerobot-train \
35
+ --dataset.repo_id=${HF_USER}/<dataset> \
36
+ --policy.type=act \
37
+ --output_dir=outputs/train/<desired_policy_repo_id> \
38
+ --job_name=lerobot_training \
39
+ --policy.device=cuda \
40
+ --policy.repo_id=${HF_USER}/<desired_policy_repo_id>
41
+ --wandb.enable=true
42
+ ```
43
+
44
+ _Writes checkpoints to `outputs/train/<desired_policy_repo_id>/checkpoints/`._
45
+
46
+ ### Evaluate the policy/run inference
47
+
48
+ ```bash
49
+ lerobot-record \
50
+ --robot.type=so100_follower \
51
+ --dataset.repo_id=<hf_user>/eval_<dataset> \
52
+ --policy.path=<hf_user>/<desired_policy_repo_id> \
53
+ --episodes=10
54
+ ```
55
+
56
+ Prefix the dataset repo with **eval\_** and supply `--policy.path` pointing to a local or hub checkpoint.
57
+
58
+ ---
59
+
60
+ ## Model Details
61
+
62
+ - **License:** apache-2.0
config.json ADDED
@@ -0,0 +1,105 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "multi_task_dit",
3
+ "n_obs_steps": 2,
4
+ "input_features": {
5
+ "observation.state": {
6
+ "type": "STATE",
7
+ "shape": [
8
+ 43
9
+ ]
10
+ },
11
+ "observation.images.gripper_camera": {
12
+ "type": "VISUAL",
13
+ "shape": [
14
+ 3,
15
+ 384,
16
+ 384
17
+ ]
18
+ },
19
+ "observation.images.overhead_camera": {
20
+ "type": "VISUAL",
21
+ "shape": [
22
+ 3,
23
+ 384,
24
+ 384
25
+ ]
26
+ }
27
+ },
28
+ "output_features": {
29
+ "action": {
30
+ "type": "ACTION",
31
+ "shape": [
32
+ 5
33
+ ]
34
+ }
35
+ },
36
+ "device": "cuda",
37
+ "use_amp": false,
38
+ "use_peft": false,
39
+ "push_to_hub": true,
40
+ "repo_id": "naavox/multitask-dit-4",
41
+ "private": null,
42
+ "tags": null,
43
+ "license": null,
44
+ "pretrained_path": null,
45
+ "horizon": 64,
46
+ "n_action_steps": 32,
47
+ "objective": "flow_matching",
48
+ "noise_scheduler_type": "DDPM",
49
+ "num_train_timesteps": 100,
50
+ "beta_schedule": "squaredcos_cap_v2",
51
+ "beta_start": 0.0001,
52
+ "beta_end": 0.02,
53
+ "prediction_type": "epsilon",
54
+ "clip_sample": true,
55
+ "clip_sample_range": 1.0,
56
+ "num_inference_steps": null,
57
+ "sigma_min": 0.0,
58
+ "num_integration_steps": 100,
59
+ "integration_method": "euler",
60
+ "timestep_sampling_strategy": "beta",
61
+ "timestep_sampling_s": 0.999,
62
+ "timestep_sampling_alpha": 1.5,
63
+ "timestep_sampling_beta": 1.0,
64
+ "hidden_dim": 512,
65
+ "num_layers": 6,
66
+ "num_heads": 8,
67
+ "dropout": 0.1,
68
+ "use_positional_encoding": false,
69
+ "timestep_embed_dim": 256,
70
+ "use_rope": true,
71
+ "rope_base": 10000.0,
72
+ "vision_encoder_name": "openai/clip-vit-base-patch16",
73
+ "use_separate_rgb_encoder_per_camera": false,
74
+ "vision_encoder_lr_multiplier": 0.1,
75
+ "image_resize_shape": [
76
+ 256,
77
+ 256
78
+ ],
79
+ "image_crop_shape": [
80
+ 224,
81
+ 224
82
+ ],
83
+ "image_crop_is_random": true,
84
+ "text_encoder_name": "openai/clip-vit-base-patch16",
85
+ "tokenizer_max_length": 77,
86
+ "tokenizer_padding": "max_length",
87
+ "tokenizer_padding_side": "right",
88
+ "tokenizer_truncation": true,
89
+ "normalization_mapping": {
90
+ "VISUAL": "MEAN_STD",
91
+ "STATE": "MIN_MAX",
92
+ "ACTION": "MIN_MAX"
93
+ },
94
+ "optimizer_lr": 2e-05,
95
+ "optimizer_betas": [
96
+ 0.95,
97
+ 0.999
98
+ ],
99
+ "optimizer_eps": 1e-08,
100
+ "optimizer_weight_decay": 0.0,
101
+ "scheduler_name": "cosine",
102
+ "scheduler_warmup_steps": 0,
103
+ "do_mask_loss_for_padding": false,
104
+ "drop_n_last_frames": 31
105
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:86b0bd203fc81cb40dc6abc05fd8e5c6bae41ac5a3569113299884aca14d7549
3
+ size 1000945892
train_config.json ADDED
@@ -0,0 +1,241 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "naavox/tidy_up",
4
+ "root": "/data_volume/tidy_up",
5
+ "episodes": null,
6
+ "image_transforms": {
7
+ "enable": true,
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": "multi_task_dit",
85
+ "n_obs_steps": 2,
86
+ "input_features": {
87
+ "observation.state": {
88
+ "type": "STATE",
89
+ "shape": [
90
+ 43
91
+ ]
92
+ },
93
+ "observation.images.gripper_camera": {
94
+ "type": "VISUAL",
95
+ "shape": [
96
+ 3,
97
+ 384,
98
+ 384
99
+ ]
100
+ },
101
+ "observation.images.overhead_camera": {
102
+ "type": "VISUAL",
103
+ "shape": [
104
+ 3,
105
+ 384,
106
+ 384
107
+ ]
108
+ }
109
+ },
110
+ "output_features": {
111
+ "action": {
112
+ "type": "ACTION",
113
+ "shape": [
114
+ 5
115
+ ]
116
+ }
117
+ },
118
+ "device": "cuda",
119
+ "use_amp": false,
120
+ "use_peft": false,
121
+ "push_to_hub": true,
122
+ "repo_id": "naavox/multitask-dit-4",
123
+ "private": null,
124
+ "tags": null,
125
+ "license": null,
126
+ "pretrained_path": null,
127
+ "horizon": 64,
128
+ "n_action_steps": 32,
129
+ "objective": "flow_matching",
130
+ "noise_scheduler_type": "DDPM",
131
+ "num_train_timesteps": 100,
132
+ "beta_schedule": "squaredcos_cap_v2",
133
+ "beta_start": 0.0001,
134
+ "beta_end": 0.02,
135
+ "prediction_type": "epsilon",
136
+ "clip_sample": true,
137
+ "clip_sample_range": 1.0,
138
+ "num_inference_steps": null,
139
+ "sigma_min": 0.0,
140
+ "num_integration_steps": 100,
141
+ "integration_method": "euler",
142
+ "timestep_sampling_strategy": "beta",
143
+ "timestep_sampling_s": 0.999,
144
+ "timestep_sampling_alpha": 1.5,
145
+ "timestep_sampling_beta": 1.0,
146
+ "hidden_dim": 512,
147
+ "num_layers": 6,
148
+ "num_heads": 8,
149
+ "dropout": 0.1,
150
+ "use_positional_encoding": false,
151
+ "timestep_embed_dim": 256,
152
+ "use_rope": true,
153
+ "rope_base": 10000.0,
154
+ "vision_encoder_name": "openai/clip-vit-base-patch16",
155
+ "use_separate_rgb_encoder_per_camera": false,
156
+ "vision_encoder_lr_multiplier": 0.1,
157
+ "image_resize_shape": [
158
+ 256,
159
+ 256
160
+ ],
161
+ "image_crop_shape": [
162
+ 224,
163
+ 224
164
+ ],
165
+ "image_crop_is_random": true,
166
+ "text_encoder_name": "openai/clip-vit-base-patch16",
167
+ "tokenizer_max_length": 77,
168
+ "tokenizer_padding": "max_length",
169
+ "tokenizer_padding_side": "right",
170
+ "tokenizer_truncation": true,
171
+ "normalization_mapping": {
172
+ "VISUAL": "MEAN_STD",
173
+ "STATE": "MIN_MAX",
174
+ "ACTION": "MIN_MAX"
175
+ },
176
+ "optimizer_lr": 2e-05,
177
+ "optimizer_betas": [
178
+ 0.95,
179
+ 0.999
180
+ ],
181
+ "optimizer_eps": 1e-08,
182
+ "optimizer_weight_decay": 0.0,
183
+ "scheduler_name": "cosine",
184
+ "scheduler_warmup_steps": 0,
185
+ "do_mask_loss_for_padding": false,
186
+ "drop_n_last_frames": 31
187
+ },
188
+ "output_dir": "/data_volume/tidy_modal_1",
189
+ "job_name": "multi_task_dit",
190
+ "resume": false,
191
+ "seed": 1000,
192
+ "cudnn_deterministic": false,
193
+ "num_workers": 10,
194
+ "batch_size": 8,
195
+ "steps": 30000,
196
+ "eval_freq": 20000,
197
+ "log_freq": 200,
198
+ "tolerance_s": 0.001,
199
+ "save_checkpoint": true,
200
+ "save_freq": 20000,
201
+ "use_policy_training_preset": true,
202
+ "optimizer": {
203
+ "type": "adam",
204
+ "lr": 2e-05,
205
+ "weight_decay": 0.0,
206
+ "grad_clip_norm": 10.0,
207
+ "betas": [
208
+ 0.95,
209
+ 0.999
210
+ ],
211
+ "eps": 1e-08
212
+ },
213
+ "scheduler": {
214
+ "type": "diffuser",
215
+ "num_warmup_steps": 0,
216
+ "name": "cosine"
217
+ },
218
+ "eval": {
219
+ "n_episodes": 50,
220
+ "batch_size": 50,
221
+ "use_async_envs": false
222
+ },
223
+ "wandb": {
224
+ "enable": false,
225
+ "disable_artifact": false,
226
+ "project": "lerobot",
227
+ "entity": null,
228
+ "notes": null,
229
+ "run_id": null,
230
+ "mode": null,
231
+ "add_tags": true
232
+ },
233
+ "peft": null,
234
+ "use_rabc": false,
235
+ "rabc_progress_path": null,
236
+ "rabc_kappa": 0.01,
237
+ "rabc_epsilon": 1e-06,
238
+ "rabc_head_mode": "sparse",
239
+ "rename_map": {},
240
+ "checkpoint_path": null
241
+ }