File size: 7,932 Bytes
21b113c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
    "dataset": {
        "repo_id": "robotwin_franka_clean_50_parquet",
        "root": "/data/datasets/robotwin_franka_clean_50_parquet",
        "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": true,
        "video_backend": "torchcodec",
        "streaming": false
    },
    "env": null,
    "policy": {
        "type": "pi05",
        "n_obs_steps": 5,
        "input_features": {
            "observation.images.base_0_rgb": {
                "type": "VISUAL",
                "shape": [
                    3,
                    224,
                    224
                ]
            },
            "observation.images.left_wrist_0_rgb": {
                "type": "VISUAL",
                "shape": [
                    3,
                    224,
                    224
                ]
            },
            "observation.images.right_wrist_0_rgb": {
                "type": "VISUAL",
                "shape": [
                    3,
                    224,
                    224
                ]
            },
            "observation.state": {
                "type": "STATE",
                "shape": [
                    32
                ]
            }
        },
        "output_features": {
            "action": {
                "type": "ACTION",
                "shape": [
                    32
                ]
            }
        },
        "device": "cuda",
        "use_amp": false,
        "push_to_hub": false,
        "repo_id": null,
        "private": null,
        "tags": null,
        "license": null,
        "pretrained_path": "/data/output-train/output-lrbtwin_pi05_multiframe_delta/pi05_multiframe5_delta_mixed12345_8gpu80g/checkpoints/003000/pretrained_model",
        "paligemma_variant": "gemma_2b",
        "action_expert_variant": "gemma_300m",
        "dtype": "bfloat16",
        "use_peft": false,
        "rtc_config": null,
        "freeze_vision_encoder": false,
        "train_expert_only": false,
        "chunk_size": 50,
        "n_action_steps": 50,
        "max_state_dim": 16,
        "max_action_dim": 32,
        "num_inference_steps": 10,
        "time_sampling_beta_alpha": 1.5,
        "time_sampling_beta_beta": 1.0,
        "time_sampling_scale": 0.999,
        "time_sampling_offset": 0.001,
        "min_period": 0.004,
        "max_period": 4.0,
        "image_resolution": [
            224,
            224
        ],
        "empty_cameras": 0,
        "tokenizer_max_length": 200,
        "normalization_mapping": {
            "VISUAL": "IDENTITY",
            "STATE": "QUANTILES",
            "ACTION": "QUANTILES"
        },
        "gradient_checkpointing": true,
        "compile_model": false,
        "compile_mode": "max-autotune",
        "keep_vision_float32": false,
        "history_max_image_frames": 0,
        "history_max_action_steps": 0,
        "history_action_memory_time": 0.0,
        "train_with_history_kv": false,
        "history_training_rollout_steps": 0,
        "history_reference_window_training": false,
        "history_anchor_stride": 0,
        "history_supervise_last_block_only": false,
        "history_training_chunk_supervision_steps": 0,
        "history_training_chunk_supervision_decay": 1.0,
        "gripper_loss_weight": 1.0,
        "gripper_action_dim": -1,
        "use_delta_joint_actions": true,
        "delta_action_mask_dims": [
            7,
            -1,
            7,
            -1
        ],
        "conditioning_mode": "global_task_plus_state_block",
        "include_state_in_task_prompt": false,
        "append_source_newline_token": true,
        "use_state_input": true,
        "optimizer_lr": 1e-05,
        "optimizer_betas": [
            0.9,
            0.95
        ],
        "optimizer_eps": 1e-08,
        "optimizer_weight_decay": 0.01,
        "optimizer_grad_clip_norm": 1.0,
        "scheduler_warmup_steps": 1000,
        "scheduler_decay_steps": 100000,
        "scheduler_decay_lr": 1e-06
    },
    "output_dir": "/data/output-train/output-lrbtwin_pi05_multiframe_delta/pi05_multiframe5_delta_mixed12345_8gpu80g",
    "job_name": "pi05_multiframe5_delta_mixed12345_8gpu80g",
    "resume": true,
    "seed": 1000,
    "num_workers": 4,
    "batch_size": 8,
    "gradient_accumulation_steps": 4,
    "mixed_frame_counts": [
        1,
        2,
        3,
        4,
        5
    ],
    "steps": 100000,
    "eval_freq": 0,
    "log_freq": 10,
    "save_checkpoint": true,
    "save_freq": 200,
    "save_best_only": false,
    "latest_save_freq": null,
    "use_policy_training_preset": true,
    "optimizer": {
        "type": "adamw",
        "lr": 1e-05,
        "weight_decay": 0.01,
        "grad_clip_norm": 1.0,
        "betas": [
            0.9,
            0.95
        ],
        "eps": 1e-08
    },
    "scheduler": {
        "type": "cosine_decay_with_warmup",
        "num_warmup_steps": 1000,
        "num_decay_steps": 100000,
        "peak_lr": 1e-05,
        "decay_lr": 1e-06
    },
    "eval": {
        "n_episodes": 50,
        "batch_size": 50,
        "use_async_envs": false
    },
    "wandb": {
        "enable": true,
        "disable_artifact": true,
        "project": "robotwin-pi05-multiframe",
        "entity": null,
        "notes": null,
        "run_id": "268orato",
        "mode": "offline"
    },
    "checkpoint_path": "/data/output-train/output-lrbtwin_pi05_multiframe_delta/pi05_multiframe5_delta_mixed12345_8gpu80g/checkpoints/003000",
    "rename_map": {
        "observation.images.cam_high": "observation.images.base_0_rgb",
        "observation.images.cam_left_wrist": "observation.images.left_wrist_0_rgb",
        "observation.images.cam_right_wrist": "observation.images.right_wrist_0_rgb"
    }
}