File size: 5,798 Bytes
fa0b525
 
 
 
 
 
 
 
 
 
 
 
 
7935841
fa0b525
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7935841
fa0b525
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7935841
fa0b525
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7935841
 
 
 
 
 
 
 
 
 
 
 
 
 
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
data_mount_dir: null
output_root: null
wandb_project: null
wandb_entity: null
task_name: null
resume: false
save_steps: 5000
epoch_save_interval: 0
freeze_vision: false
freeze_vlm: false
debug: false
seed: 42
total_batch_size: 64
batch_size: 8
use_bf16: true
num_workers: 8
prefetch_factor: 2
pretrain_model_load_path: null
action_chunk_size: 51
rotation_type: 6d
vla_name: CogACT2
attn_backend: fa4
model:
  action_chunk_size: 51
  rotation_type: 6d
  use_cognition_token: false
  state_encoder:
    state_mask_prob: 0.0
    use_state_in_llm: false
    use_state_in_act_head: true
  extra_encoders:
    fov:
      dim: 2
      enabled: true
      use_norm: false
      concat_mask: false
      num_tokens: 3
      need_stat: true
  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
        residual_init: scaled
        ln_elementwise_affine: false
        attn_backend: fa4
        qk_norm: true
        input_x_norm: false
        input_z_norm: false
        time_injection: adaln
      predict_x0: true
      predict_x0_v: false
      time_sample_method: logit
      sample_mean: 0.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: 1
        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
  use_prenorm_feature: false
  lora:
    enabled: false
    r: 64
    alpha: 128
    dropout: 0.05
    module_strategy:
      vision: lora
      language: lora
      vl_projector: train
  rope_on_cpu: true
  cache_vision_metadata: true
  first_frame:
    enable: true
    mode: prepend
    t: relative
    cache_size: 64
    max_sessions: 256
  system_prompt_version: timed
train_dataset:
  data_root_dir: null
  data_mix: unified_v2__RoboDojo
  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: 30
    use_episode_frame_index: false
    post_processor: LightPostProcessor
    validate_camera_calibration: true
    max_invalid_calibration_retries: 10
  post_processor:
    instruction_lower: false
  datasets_params:
    common:
      action_chunk_size: 30
      stride: 1
      action_space: camera
      state_space: camera
      random_gen_image: false
      rotation_type: 6d
      state_rotation_type: null
      translation_action_from_state_type: abs
      rotation_action_from_state_type: abs
      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
      view_number: 3
      norm_type: gaussian
      force_gripper_identity_norm: true
      norm_clip_value: 1000.0
      video_backend: decord
      video_index_dir: null
    UnifiedV2EpisodicDataset:
      first_frame:
        enable: true
        mode: prepend
        t: relative
        cache_size: 64
        max_sessions: 256
      episode_index: all
      pose_source: unified
      action_space: camera
      translation_action_from_state_type: abs
      rotation_action_from_state_type: abs
      add_state_gripper: true
      separate_robot_action_features: false
      action_chunk_fill_mode: interpolation
      min_action_length: 10
      chunk_sampling:
        enabled: true
        index_path: chunk_sampling
        mixture: 0.5
        max_density_ratio: 3.0
        protected_prefix: 24
      target_fps: null
      view_number: 3
      view_selection_mode: configured
      head_camera_pick: first
      resize_short_edge: 288
      image_aug: true
      image_augmentation_params:
        brightness: 0.2
        contrast: 0.2
        saturation: 0.1
        hue: 0.0
        apply_jitter_prob: 0.8
        gamma: 0.05
        rgb_gain_prob: 0.0
        shadow_prob: 0.0
        do_random_crop: false
      enable_history_image: true
      history_image_types:
      - IMAGE_HISTORY_HEAD
      history_image_position: prepend
      image_history:
        seconds: 1.0
      drop_history_image: 0.0
      random_drop_state_rate: 0.0
      use_episode_json_instruction: true
      use_lmdb: false
      video_backend: decord
      video_decode_threads: 1
      video_batch_memory: true
      use_action_norm: true
      use_state_norm: true
      norm_statistics_file: unified_v2_statistics/dataset_statistics.json
vla_prepend_rows: 21
trajectory_chunk_size: 30
keep_last_checkpoints: 1
keep_every_n_steps: null
save_checkpoint_steps: null
log_interval: 1
keep_checkpoint_steps:
- 50000
- 100000
- 120000
- 125000
- 130000
- 135000
- 140000
- 145000
- 150000
dataloader_resume: auto