CogACT2-RoboDojo / config.yaml
v-xchen-v's picture
Replace RoboDojo checkpoint with release 261129
7935841 verified
Raw History Blame Contribute Delete
5.8 kB
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