CogACT2-LIBERO / config.yaml
v-xchen-v's picture
Upload config.yaml
ae900d5 verified
Raw History Blame Contribute Delete
5.09 kB
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