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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
run_id: 0213_16-3d-2d-1d-lr1e5-3d_loss_1e1-decay1e3-train_data-qwen_freeze-bz_4_8
|
| 2 |
+
run_root_dir: /path/to/navsim_exp
|
| 3 |
+
seed: 42
|
| 4 |
+
trackers:
|
| 5 |
+
- jsonl
|
| 6 |
+
- wandb
|
| 7 |
+
wandb_entity: kmzy99
|
| 8 |
+
wandb_project: vla
|
| 9 |
+
is_debug: false
|
| 10 |
+
ver_1225: 1
|
| 11 |
+
act_tok: 8
|
| 12 |
+
pretrain_model_2d: null
|
| 13 |
+
enable_image_aug: 0
|
| 14 |
+
doing_v_pre: 1
|
| 15 |
+
w_depth: 1
|
| 16 |
+
doing_s2: 0
|
| 17 |
+
w_video_latent: 0
|
| 18 |
+
vit_pre: 0
|
| 19 |
+
rgb_query_loss: 1
|
| 20 |
+
gs_query_loss: 1
|
| 21 |
+
framework:
|
| 22 |
+
name: QwenOFT
|
| 23 |
+
qwenvl:
|
| 24 |
+
base_vlm: /path/to/Qwen3-VL-2B-WorldAction # overridden by BASE_VLM in env.sh at inference
|
| 25 |
+
attn_implementation: flash_attention_2
|
| 26 |
+
vl_hidden_dim: 2048
|
| 27 |
+
dino:
|
| 28 |
+
dino_backbone: dinov2_vits14
|
| 29 |
+
action_model:
|
| 30 |
+
action_model_type: DiT-B
|
| 31 |
+
hidden_size: 1536
|
| 32 |
+
add_pos_embed: true
|
| 33 |
+
max_seq_len: 1024
|
| 34 |
+
action_dim: 4
|
| 35 |
+
state_dim: 4
|
| 36 |
+
future_action_window_size: 8
|
| 37 |
+
action_horizon: 8
|
| 38 |
+
past_action_window_size: 0
|
| 39 |
+
repeated_diffusion_steps: 8
|
| 40 |
+
noise_beta_alpha: 1.5
|
| 41 |
+
noise_beta_beta: 1.0
|
| 42 |
+
noise_s: 0.999
|
| 43 |
+
num_timestep_buckets: 1000
|
| 44 |
+
num_inference_timesteps: 10
|
| 45 |
+
num_target_vision_tokens: 32
|
| 46 |
+
diffusion_model_cfg:
|
| 47 |
+
cross_attention_dim: 1536
|
| 48 |
+
dropout: 0.2
|
| 49 |
+
final_dropout: true
|
| 50 |
+
interleave_self_attention: true
|
| 51 |
+
norm_type: ada_norm
|
| 52 |
+
num_layers: 24
|
| 53 |
+
output_dim: 1536
|
| 54 |
+
positional_embeddings: null
|
| 55 |
+
mlp_head: 0
|
| 56 |
+
video_model:
|
| 57 |
+
model_name: /path/to/Wan2.1-Fun-V1.1-1.3B-InP/snapshots/xxx
|
| 58 |
+
config_path: starVLA/model/modules/video_model/config/wan2.1/wan_civitai.yaml
|
| 59 |
+
random_hw_adapt: true
|
| 60 |
+
training_with_video_token_length: true
|
| 61 |
+
enable_bucket: true
|
| 62 |
+
weighting_scheme: none
|
| 63 |
+
uniform_sampling: true
|
| 64 |
+
train_sampling_steps: 1000
|
| 65 |
+
train_mode: inpaint
|
| 66 |
+
trainable_modules: .
|
| 67 |
+
ckpt_1d: null
|
| 68 |
+
gs_model:
|
| 69 |
+
model_path: /path/to/gs_model.pth
|
| 70 |
+
model_type: STORM-B/8
|
| 71 |
+
input_size:
|
| 72 |
+
- 144
|
| 73 |
+
- 256
|
| 74 |
+
gs_dim: 3
|
| 75 |
+
decoder_type: dummy
|
| 76 |
+
disable_grad_checkpointing: 0
|
| 77 |
+
use_sky_token: 1
|
| 78 |
+
use_affine_token: 1
|
| 79 |
+
num_motion_tokens: 16
|
| 80 |
+
use_latest_gsplat: 0
|
| 81 |
+
enable_depth_loss: 1
|
| 82 |
+
enable_sky_opacity_loss: 1
|
| 83 |
+
sky_depth: 300.0
|
| 84 |
+
enable_sky_depth_loss: 0
|
| 85 |
+
sky_opacity_loss_coeff: 0.1
|
| 86 |
+
enable_flow_reg_loss: 1
|
| 87 |
+
flow_reg_coeff: 0.005
|
| 88 |
+
enable_perceptual_loss: 1
|
| 89 |
+
perceptual_loss_start_iter: 5000
|
| 90 |
+
perceptual_weight: 0.05
|
| 91 |
+
reward_model:
|
| 92 |
+
action_model_type: DiT-B
|
| 93 |
+
hidden_size: 1024
|
| 94 |
+
add_pos_embed: true
|
| 95 |
+
max_seq_len: 1024
|
| 96 |
+
action_dim: 1
|
| 97 |
+
state_dim: 1
|
| 98 |
+
future_action_window_size: 8
|
| 99 |
+
action_horizon: 8
|
| 100 |
+
past_action_window_size: 0
|
| 101 |
+
repeated_diffusion_steps: 1
|
| 102 |
+
noise_beta_alpha: 1.5
|
| 103 |
+
noise_beta_beta: 1.0
|
| 104 |
+
noise_s: 0.999
|
| 105 |
+
num_timestep_buckets: 1000
|
| 106 |
+
num_inference_timesteps: 10
|
| 107 |
+
num_target_vision_tokens: 32
|
| 108 |
+
diffusion_model_cfg:
|
| 109 |
+
cross_attention_dim: 1024
|
| 110 |
+
dropout: 0.2
|
| 111 |
+
final_dropout: true
|
| 112 |
+
interleave_self_attention: true
|
| 113 |
+
norm_type: ada_norm
|
| 114 |
+
num_layers: 16
|
| 115 |
+
output_dim: 1024
|
| 116 |
+
positional_embeddings: null
|
| 117 |
+
mlp_head: 0
|
| 118 |
+
datasets:
|
| 119 |
+
vlm_data:
|
| 120 |
+
dataset_py: vlm_datasets
|
| 121 |
+
dataformat: llava_json
|
| 122 |
+
dataset_use: asv2_conversation_en,asv2_detailed_description_en,asv2_region_captioning_en,coco_internvl_longcap_en,coco_karpathy_train_567_en,coco_negative_gpt4o_en,coco_poetry_zh,coco_rem_en_zh,cocorem_exist_yorn_en,cocotextv2_en,cocotextv2_gpt4o_en,okvqa_en,refcoco_grounding_aug_en,refcoco_grounding_en,tallyqa_coco_en,toloka_grounding_aug_en,vqav2_en,vsr_en
|
| 123 |
+
eval_dataset: aokvqa_cauldron_llava_format
|
| 124 |
+
data_flatten: false
|
| 125 |
+
base_interval: 2
|
| 126 |
+
max_pixels: 50176
|
| 127 |
+
min_pixels: 784
|
| 128 |
+
model_max_length: 2048
|
| 129 |
+
model_type: qwen2.5vl
|
| 130 |
+
per_device_batch_size: 4
|
| 131 |
+
vla_data:
|
| 132 |
+
load_act_data: 1
|
| 133 |
+
dataset_py: navsim_dataset
|
| 134 |
+
datalist_path: /path/to/navtrain_meta.json
|
| 135 |
+
split: train
|
| 136 |
+
per_device_batch_size: 4
|
| 137 |
+
load_all_data_for_training: true
|
| 138 |
+
w_neg_traj: null
|
| 139 |
+
act_norm: 1
|
| 140 |
+
video_data:
|
| 141 |
+
load_2d_data: 1
|
| 142 |
+
rgb_meta_dir: /path/to/navsim_video
|
| 143 |
+
sample_n_frames: 9
|
| 144 |
+
sample_size:
|
| 145 |
+
- 144
|
| 146 |
+
- 256
|
| 147 |
+
text_input: 0
|
| 148 |
+
gs_data:
|
| 149 |
+
load_3d_data: 0
|
| 150 |
+
debug: 0
|
| 151 |
+
gs_meta_dir: /path/to/navsim_storm
|
| 152 |
+
reward_data:
|
| 153 |
+
load_reward_data: 0
|
| 154 |
+
reward_meta_dir: /path/to/navsim_reward
|
| 155 |
+
trainer:
|
| 156 |
+
epochs: 100
|
| 157 |
+
max_train_steps: 200000
|
| 158 |
+
num_warmup_steps: 5000
|
| 159 |
+
save_interval: 10000
|
| 160 |
+
eval_interval: 200000
|
| 161 |
+
learning_rate:
|
| 162 |
+
base: 1.0e-05
|
| 163 |
+
qwen_vl_interface: 1.0e-05
|
| 164 |
+
rgb_model: 1.0e-05
|
| 165 |
+
action_model: 1.0e-05
|
| 166 |
+
gs_model: 1.0e-05
|
| 167 |
+
reward_model: 1.0e-05
|
| 168 |
+
lr_scheduler_type: cosine_with_min_lr
|
| 169 |
+
scheduler_specific_kwargs:
|
| 170 |
+
min_lr: 5.0e-07
|
| 171 |
+
freeze_modules: rgb_model.vae,rgb_model.clip_image_encoder,rgb_model.text_encoder,qwen_vl_interface.model.visual
|
| 172 |
+
loss_scale:
|
| 173 |
+
vla: 1.0
|
| 174 |
+
vlm: 0.1
|
| 175 |
+
repeated_diffusion_steps: 4
|
| 176 |
+
max_grad_norm: 1.0
|
| 177 |
+
warmup_ratio: 0.1
|
| 178 |
+
weight_decay: 0.0
|
| 179 |
+
logging_frequency: 100
|
| 180 |
+
gradient_clipping: 1.0
|
| 181 |
+
gradient_accumulation_steps: 1
|
| 182 |
+
optimizer:
|
| 183 |
+
name: AdamW
|
| 184 |
+
betas:
|
| 185 |
+
- 0.9
|
| 186 |
+
- 0.95
|
| 187 |
+
eps: 1.0e-08
|
| 188 |
+
weight_decay: 0.001
|
| 189 |
+
is_resume: false
|
| 190 |
+
resume_ckpt: none
|
| 191 |
+
resume_epoch: null
|
| 192 |
+
resume_step: null
|
| 193 |
+
enable_gradient_checkpointing: true
|
| 194 |
+
enable_mixed_precision_training: true
|
| 195 |
+
output_dir: /path/to/navsim_exp/your-run-id
|