File size: 5,094 Bytes
ae900d5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
data_mount_dir: null
output_root: null
wandb_project: null
wandb_entity: null
task_name: null
resume: true
save_steps: 10000
epoch_save_interval: 10000
freeze_vision: false
freeze_vlm: false
debug: false
seed: 42
total_batch_size: 256
batch_size: 64
use_bf16: true
num_workers: 8
prefetch_factor: 2
pretrain_model_load_path: null
action_chunk_size: 37
rotation_type: 6d
vla_name: CogACT2
attn_backend: fa4
model:
  action_chunk_size: 37
  rotation_type: 6d
  state_encoder:
    state_mask_prob: 0.0
  extra_encoders:
    fov:
      dim: 2
      enabled: true
      use_norm: false
      concat_mask: false
      num_tokens: 3
      need_stat: true
    history_state:
      enabled: true
      dim: 504
      concat_mask: true
      use_norm: false
      num_tokens: 1
      need_stat: false
  act_head:
    state_fov_injection: adaln
    type: flow_matching
    position_embedding:
      pe_type: hwt_rope
      rope:
        base: 10000.0
        action_start: 512
        history_t_minus_one: true
    action_feature_length: 1000
    use_attn_mask: true
    cfg_type: attn_mask
    flow_matching_config:
      net:
        model_type: DiT-L
        compile_elementwise: true
        ln_elementwise_affine: false
        attn_backend: fa4
        qk_norm: true
        input_x_norm: false
        input_z_norm: false
      predict_x0: true
      predict_x0_v: false
      time_sample_method: logit
      sample_mean: 0
      class_dropout_prob: 0.1
      cfg_visual_only_ratio: 0.5
      random_chunk:
        enabled: false
        min_len: 8
        sample_method: uniform
      loss_config:
        loss_calculator_type: SimpleLossCalculator
        trans_weight: 10
        rot_weight: 1
        gripper_weight: 1
        joint_weight: 1
        progress_weight: 0.0
        image_xy_weight: 0.1
        point_xyz_weight: 0.1
        cam_robot_trans_weight: 1.0
        cam_robot_rot_weight: 1.0
        cam_robot_gripper_weight: 1.0
        huber_clamp_losses:
        - name: point_xyz
          threshold: 0.04
        - name: cam_robot_trans
          threshold: 0.02
        first_order_weight: 0.0
        second_order_weight: 0.0
  repeated_diffusion_steps: 16
  pack_vlm_tokens: true
  vl_encoders:
  - name: Qwen35VLEncoder
    model_name_or_path: Alibaba-DAMO-Academy/RynnBrain1.1-2B
    use_system_prompt: true
  lora:
    enabled: false
    r: 64
    alpha: 128
    dropout: 0.05
    module_strategy:
      vision: lora
      language: lora
      vl_projector: train
train_dataset:
  data_root_dir: null
  data_mix: libero
  seed: 42
  unnorm_key: null
  episode_dataset_name: episodic_dataset.npy
  collator:
    class: PaddedCollatorForCotrainV2
    vla_prepend_rows: 21
    num_views: 3
  frame_dataset:
    action_chunk_size: 16
    use_episode_frame_index: false
    post_processor: LightPostProcessor
    validate_camera_calibration: true
    max_invalid_calibration_retries: 10
  post_processor:
    instruction_lower: true
  datasets_params:
    common:
      action_chunk_size: 16
      stride: 1
      action_space: robot
      state_space: robot
      random_gen_image: false
      rotation_type: 6d
      state_rotation_type: null
      translation_action_from_state_type: global_init
      rotation_action_from_state_type: global_init
      joint_action_from_state_type: abs
      state_include_gripper: true
      use_action_norm: true
      use_state_norm: true
      extra_encoders:
        fov:
          dim: 2
          enabled: true
          use_norm: false
          concat_mask: false
          num_tokens: 3
          need_stat: true
        history_state:
          enabled: true
          dim: 504
          concat_mask: true
          use_norm: false
          num_tokens: 1
          need_stat: false
      view_number: 2
      norm_type: gaussian
      force_gripper_identity_norm: true
      norm_clip_value: 1000.0
      video_backend: decord
      video_index_dir: null
    LiberoEpisodicDataset:
      min_action_length: 10
      action_chunk_fill_mode: padding
      resize: true
      instruction_prefix: ''
      crop_mode: none
      random_drop_state_rate: 0.0
      random_drop_gripper_image_rate: 0.0
      random_drop_any_image_rate: 0.0
      use_lmdb: true
      image_aug: true
      mask_padding_action: false
      image_augmentation_params:
        brightness: 0.2
        contrast: 0.2
        saturation: 0.25
        hue: 0
        apply_jitter_prob: 0.8
        do_random_crop: false
        random_rotate_crop_prob: 0.5
        random_rotate_degrees: 5
        random_rotate_crop_size: 224
        random_rotate_crop_scale:
        - 0.9
        - 0.95
      image_history:
        enable: true
        offsets:
        - -30
        random_drop: false
      image_size:
      - 256
      - 256
      proprio_noise_std: 0.01
      head_image_downsample:
        probability: 0.08
        scale_min: 0.75
      head_image_augmentation:
        strategy: internw0
        probability: 1.0
        scale_min: 0.85
        scale_max: 1.0
        translate: 0.06
        degrees: 10
vla_prepend_rows: 21
trajectory_chunk_size: 16