File size: 8,729 Bytes
9c9d692
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
{
    "dataset": {
        "repo_id": "lerobot-data-collection/level2_final_quality3_t_0_hil_data_c",
        "root": "/fsx/maxime_ellerbach/datasets/level2_final_quality3_t_0_hil_data_c_rel",
        "episodes": null,
        "image_transforms": {
            "enable": false,
            "max_num_transforms": 3,
            "random_order": false,
            "tfs": {
                "brightness": {
                    "weight": 1.0,
                    "type": "ColorJitter",
                    "kwargs": {
                        "brightness": [
                            0.8,
                            1.2
                        ]
                    }
                },
                "contrast": {
                    "weight": 1.0,
                    "type": "ColorJitter",
                    "kwargs": {
                        "contrast": [
                            0.8,
                            1.2
                        ]
                    }
                },
                "saturation": {
                    "weight": 1.0,
                    "type": "ColorJitter",
                    "kwargs": {
                        "saturation": [
                            0.5,
                            1.5
                        ]
                    }
                },
                "hue": {
                    "weight": 1.0,
                    "type": "ColorJitter",
                    "kwargs": {
                        "hue": [
                            -0.05,
                            0.05
                        ]
                    }
                },
                "sharpness": {
                    "weight": 1.0,
                    "type": "SharpnessJitter",
                    "kwargs": {
                        "sharpness": [
                            0.5,
                            1.5
                        ]
                    }
                },
                "affine": {
                    "weight": 1.0,
                    "type": "RandomAffine",
                    "kwargs": {
                        "degrees": [
                            -5.0,
                            5.0
                        ],
                        "translate": [
                            0.05,
                            0.05
                        ]
                    }
                }
            }
        },
        "revision": null,
        "use_imagenet_stats": false,
        "video_backend": "pyav",
        "return_uint8": false,
        "depth_output_unit": "mm",
        "streaming": false,
        "eval_split": 0.0
    },
    "env": null,
    "policy": {
        "type": "lingbot_va",
        "n_obs_steps": 1,
        "input_features": {
            "observation.images.cam_high": {
                "type": "VISUAL",
                "shape": [
                    3,
                    256,
                    256
                ]
            },
            "observation.images.cam_left_wrist": {
                "type": "VISUAL",
                "shape": [
                    3,
                    256,
                    256
                ]
            },
            "observation.images.cam_right_wrist": {
                "type": "VISUAL",
                "shape": [
                    3,
                    256,
                    256
                ]
            }
        },
        "output_features": {
            "action": {
                "type": "ACTION",
                "shape": [
                    16
                ]
            }
        },
        "device": "cuda",
        "use_amp": false,
        "use_peft": false,
        "push_to_hub": true,
        "repo_id": "maximellerbach/folding_lingbot",
        "private": null,
        "tags": null,
        "license": null,
        "pretrained_path": "lerobot/lingbot_va_base",
        "pretrained_revision": null,
        "patch_size": [
            1,
            2,
            2
        ],
        "num_attention_heads": 24,
        "attention_head_dim": 128,
        "in_channels": 48,
        "out_channels": 48,
        "action_dim": 30,
        "text_dim": 4096,
        "freq_dim": 256,
        "ffn_dim": 14336,
        "num_layers": 30,
        "cross_attn_norm": true,
        "eps": 1e-06,
        "rope_max_seq_len": 1024,
        "attn_mode": "flex",
        "wan_pretrained_path": "robbyant/lingbot-va-base",
        "dtype": "bfloat16",
        "text_encoder_device": "cuda",
        "obs_cam_keys": [
            "observation.images.cam_high",
            "observation.images.cam_left_wrist",
            "observation.images.cam_right_wrist"
        ],
        "image_hflip": false,
        "camera_layout": "width_concat",
        "height": 224,
        "width": 224,
        "action_per_frame": 16,
        "frame_chunk_size": 2,
        "attn_window": 72,
        "num_inference_steps": 25,
        "video_exec_step": -1,
        "action_num_inference_steps": 50,
        "guidance_scale": 5.0,
        "action_guidance_scale": 1.0,
        "snr_shift": 5.0,
        "action_snr_shift": 1.0,
        "max_sequence_length": 512,
        "used_action_channel_ids": [
            21,
            22,
            23,
            24,
            25,
            26,
            27,
            29,
            14,
            15,
            16,
            17,
            18,
            19,
            20,
            28
        ],
        "use_relative_actions": false,
        "relative_exclude_joints": [
            "gripper"
        ],
        "action_feature_names": [
            "right_joint_1.pos",
            "right_joint_2.pos",
            "right_joint_3.pos",
            "right_joint_4.pos",
            "right_joint_5.pos",
            "right_joint_6.pos",
            "right_joint_7.pos",
            "right_gripper.pos",
            "left_joint_1.pos",
            "left_joint_2.pos",
            "left_joint_3.pos",
            "left_joint_4.pos",
            "left_joint_5.pos",
            "left_joint_6.pos",
            "left_joint_7.pos",
            "left_gripper.pos"
        ],
        "save_predicted_video": false,
        "normalization_mapping": {
            "VISUAL": "IDENTITY",
            "STATE": "IDENTITY",
            "ACTION": "QUANTILES"
        },
        "optimizer_lr": 1e-05,
        "optimizer_betas": [
            0.9,
            0.95
        ],
        "optimizer_eps": 1e-08,
        "optimizer_weight_decay": 0.0001,
        "optimizer_grad_clip_norm": 1.0,
        "scheduler_warmup_steps": 1000,
        "scheduler_type": "constant_with_warmup"
    },
    "reward_model": null,
    "output_dir": "outputs/train/lingbot_absolute_22372322",
    "job_name": "lingbot_absolute",
    "resume": false,
    "seed": 1000,
    "cudnn_deterministic": false,
    "num_workers": 4,
    "batch_size": 16,
    "prefetch_factor": 4,
    "persistent_workers": true,
    "steps": 66686,
    "env_eval_freq": 20000,
    "log_freq": 50,
    "eval_steps": 0,
    "max_eval_samples": 0,
    "tolerance_s": 0.0001,
    "save_checkpoint": true,
    "save_freq": 10000,
    "use_policy_training_preset": true,
    "optimizer": {
        "type": "adamw",
        "lr": 1e-05,
        "weight_decay": 0.0001,
        "grad_clip_norm": 1.0,
        "betas": [
            0.9,
            0.95
        ],
        "eps": 1e-08
    },
    "scheduler": {
        "type": "constant_with_warmup",
        "num_warmup_steps": 1000
    },
    "eval": {
        "n_episodes": 50,
        "batch_size": 50,
        "use_async_envs": true,
        "recording": false,
        "recording_repo_id": null,
        "recording_private": false,
        "save_predicted_video": false
    },
    "wandb": {
        "enable": true,
        "disable_artifact": true,
        "project": "folding-tshirt",
        "entity": null,
        "notes": null,
        "run_id": "w76d3op6",
        "mode": null,
        "add_tags": true
    },
    "peft": null,
    "job": {
        "target": null,
        "image": "huggingface/lerobot-gpu:latest",
        "timeout": "2d",
        "detach": false,
        "tags": []
    },
    "save_checkpoint_to_hub": false,
    "sample_weighting": {
        "type": "rabc",
        "progress_path": "hf://datasets/lerobot-data-collection/level2_final_quality3_t_0_hil_data_c/sarm_progress.parquet",
        "head_mode": "sparse",
        "kappa": 0.05,
        "epsilon": 1e-06,
        "extra_params": {}
    },
    "rename_map": {
        "observation.images.base": "observation.images.cam_high",
        "observation.images.left_wrist": "observation.images.cam_left_wrist",
        "observation.images.right_wrist": "observation.images.cam_right_wrist"
    },
    "checkpoint_path": null
}