BiCAT-tokenizer / train_config.yaml
NUSMAGIC's picture Evanxw0715's picture
Duplicate from Evanxw0715/BiCAT-tokenizer
2c5f81b
Raw History Blame Contribute Delete
3.28 kB
codec:
name: btt
kind: tokens
pretrained_path: null
action_dim: 14
arm_dim: 7
action_horizon: 32
latent_horizon_per_arm: 8
max_fit_chunks: 50000
model_dim: 256
num_heads: 8
decoder_nhead: 8
decoder_nlayer: 6
dropout: 0.1
use_causal_decoder: true
conv_kernel_sizes:
- 5
- 3
conv_strides:
- 2
- 2
latent_dim: 4
fsq_levels:
- 8
- 8
- 6
- 5
right_arm_sign:
- -1
- 1
- 1
- 1
- -1
- -1
- 1
shared_action_min:
- -2.5586796
- -0.3005828
- -0.2975619
- -1.8269405
- -1.8539104
- -2.8455343
- 0.0
shared_action_max:
- 1.5094364
- 3.1507845
- 3.1848125
- 2.1505635
- 1.8423109
- 2.9559803
- 1.0
clamp_normalized_actions: false
dataset:
name: omnibicat
repo_id: local/omnibicat
root: null
hf_datasets_cache: ${oc.env:HF_DATASETS_CACHE,null}
episodes: null
action_key: action
exclude_episodes_file: null
action_stats_file: null
observation_keys: []
video_backend: pyav
bypass_force_cache_sync: true
source_weighting: frames
sources:
- name: molmoact2_yam
repo_id: local/molmoact2_bimanual_yam
root: ${oc.env:MOLMOACT2_YAM_ROOT,/scratch/Projects/CFP-05/CFP05-CF-002/MolmoAct2-BimanualYAM-Dataset}
exclude_episodes_file: ${oc.env:OMNIBICAT_ROOT,/scratch/xuanweiliu/bimanual_tokenizer/OmniBiCAT}/data_cleaning/exclude_molmoact2_yam.json
weight: 1.0
- name: abc_130k_v3
repo_id: local/abc_130k_v3
root: ${oc.env:ABC_130K_ROOT,/scratch/xuanweiliu/bimanual_tokenizer/OmniBiCAT/sources/abc_130k_v3}
exclude_episodes_file: ${oc.env:OMNIBICAT_ROOT,/scratch/xuanweiliu/bimanual_tokenizer/OmniBiCAT}/data_cleaning/exclude_abc_130k_v3.json
weight: 1.0
trainer:
max_steps: 500000
batch_size: 2048
global_batch_size: 8192
num_workers: 8
prefetch_factor: 4
use_episode_aware_sampler: true
drop_n_first_frames: 0
drop_n_last_frames: 0
weight_decay: 0.0
betas:
- 0.9
- 0.95
eps: 1.0e-06
lr_scheduler: constant
warmup_steps: 200
warmup_steps_by_family: null
min_lr_ratio: 0.1
lr_decay_steps: null
use_ema: true
ema_decay: 0.995
mixed_precision: bf16
gradient_accumulation_steps: 1
find_unused_parameters: false
max_grad_norm: 1.0
distributed_strategy: ddp
fsdp_min_num_params: 100000000
fsdp_reshard_after_forward: true
fsdp_cpu_offload: false
log_every: 200
val_every: 0
checkpoint_every: 10000
checkpoint_start_step: 0
checkpoint_dir: ${output_dir}/checkpoints
local_log_path: ${output_dir}/train_metrics.jsonl
val_ratio: 0.0
split_seed: ${seed}
val_batch_size: null
max_val_batches: 100
checkpoint_candidates:
best:
metric_key: val_reconst_loss
mode: min
k: 0
recent:
k: 0
use_wandb: true
wandb_project: OmniBiCAT
wandb_entity: evan_lxw-harbin-institute-of-technology
wandb_init_timeout: 120
wandb_upload_eval_videos: false
wandb_max_eval_videos: 16
_trainer_type: codecs
lr: 5.0e-05
reconst_every: 0
max_reconst_batches: 100
reconstruct_on_train: false
skip_codec_fit: false
wandb_required: false
name: train_codecs
seed: 42
device: cuda
run_name: omnibicat_btt_4gpu_gbs8192_500k
output_dir: /scratch/xuanweiliu/bimanual_tokenizer/OmniBiCAT/runs/${run_name}
run_mode: overwrite
resume_checkpoint: null