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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
model:
|
| 2 |
+
config_class: AnchorMotionModelConfig
|
| 3 |
+
pretrained_paths: []
|
| 4 |
+
pretrained_models: []
|
| 5 |
+
tokenizer_path: null
|
| 6 |
+
type: AnchorMotionPipeline
|
| 7 |
+
audio_processor_path: null
|
| 8 |
+
model_id_with_origin_paths: null
|
| 9 |
+
extra_inputs: null
|
| 10 |
+
fp8_models: null
|
| 11 |
+
offload_models: false
|
| 12 |
+
initialize_model_on_cpu: false
|
| 13 |
+
lora:
|
| 14 |
+
base_model: null
|
| 15 |
+
target_modules: q,k,v,o,ffn.0,ffn.2
|
| 16 |
+
rank: 32
|
| 17 |
+
alpha: null
|
| 18 |
+
checkpoint: null
|
| 19 |
+
preset_path: null
|
| 20 |
+
preset_model: null
|
| 21 |
+
max_timestep_boundary: 1.0
|
| 22 |
+
min_timestep_boundary: 0.0
|
| 23 |
+
cross_view_attn_type: none
|
| 24 |
+
cross_view_attn_dim: thw
|
| 25 |
+
cross_view_attn_t_range: 1.0
|
| 26 |
+
view_packing_mode: batch
|
| 27 |
+
num_points: 4
|
| 28 |
+
condition_guidance_mode: query_condition_attention
|
| 29 |
+
skip_text_encoder: false
|
| 30 |
+
pretrained_state_dict: null
|
| 31 |
+
special_encoders:
|
| 32 |
+
action_encoder: null
|
| 33 |
+
context_encoder: null
|
| 34 |
+
camera_encoder: null
|
| 35 |
+
torch_dtype: fp32
|
| 36 |
+
anchor_motion_checkpoint: null
|
| 37 |
+
base_vae_type: svd
|
| 38 |
+
base_vae_path: work_dirs/Checkpoints/stable-video-diffusion-img2vid
|
| 39 |
+
base_vae_encode_batch_size: 32
|
| 40 |
+
latent_channels: 4
|
| 41 |
+
hidden_dim: 256
|
| 42 |
+
num_motion_tokens: 8
|
| 43 |
+
num_layers: 4
|
| 44 |
+
num_heads: 8
|
| 45 |
+
num_position_harmonics: 8
|
| 46 |
+
dropout: 0.0
|
| 47 |
+
temporal_attention: anchor_conditioned
|
| 48 |
+
temporal_insertion_indices:
|
| 49 |
+
- 2
|
| 50 |
+
- 3
|
| 51 |
+
anchor_context_size: 4
|
| 52 |
+
query_source: delta_target_anchor
|
| 53 |
+
auxiliary_heads:
|
| 54 |
+
- dynamic_mask
|
| 55 |
+
- anchor_flow
|
| 56 |
+
dynamic_mask_size: 128
|
| 57 |
+
output:
|
| 58 |
+
dir: work_dirs/train/anchor_motion_robomme_svd_dynamic_query_e2e_200k
|
| 59 |
+
sub_dir: .
|
| 60 |
+
name: video.mp4
|
| 61 |
+
fps: 30
|
| 62 |
+
remove_prefix_in_ckpt: pipe.anchor_motion.
|
| 63 |
+
wandb_enabled: true
|
| 64 |
+
tensorboard_enabled: true
|
| 65 |
+
wandb_project: VAM
|
| 66 |
+
log_interval: 10
|
| 67 |
+
verbose: true
|
| 68 |
+
save_training_states_num: 1
|
| 69 |
+
dataset:
|
| 70 |
+
type: AnchorMotionDataset
|
| 71 |
+
config: null
|
| 72 |
+
sample_interval: 10
|
| 73 |
+
allow_padding: true
|
| 74 |
+
random_tail_padding: false
|
| 75 |
+
frame_stride: 1
|
| 76 |
+
actions_per_frame: 1
|
| 77 |
+
sample_strategy: uniform
|
| 78 |
+
height: 256
|
| 79 |
+
width: 256
|
| 80 |
+
size_align_mode: crop
|
| 81 |
+
max_pixels: 1048576
|
| 82 |
+
num_frames: 81
|
| 83 |
+
num_history: 0
|
| 84 |
+
history_idx: null
|
| 85 |
+
camera_ids: null
|
| 86 |
+
main_camera_only: false
|
| 87 |
+
hand_camera_only: false
|
| 88 |
+
one_hand_camera: false
|
| 89 |
+
random_camera: false
|
| 90 |
+
double_main_camera: false
|
| 91 |
+
text_embedding_root: null
|
| 92 |
+
use_text: true
|
| 93 |
+
use_action: false
|
| 94 |
+
use_state: false
|
| 95 |
+
use_camera: false
|
| 96 |
+
video_clip_mode: random
|
| 97 |
+
video_clip_num_frames:
|
| 98 |
+
- 1
|
| 99 |
+
- 21
|
| 100 |
+
- 41
|
| 101 |
+
- 81
|
| 102 |
+
video_clip_full_probability: 0.1
|
| 103 |
+
action_mask: ''
|
| 104 |
+
action_padding_mode: repeat_last
|
| 105 |
+
state_mask: ''
|
| 106 |
+
cache:
|
| 107 |
+
dir: work_dirs/data_cache/anchor_motion_robomme_svd
|
| 108 |
+
policy: read
|
| 109 |
+
kind: latent
|
| 110 |
+
scope: global
|
| 111 |
+
backend: pt
|
| 112 |
+
version: v1
|
| 113 |
+
keys:
|
| 114 |
+
- latents
|
| 115 |
+
entry_mode: episode
|
| 116 |
+
overwrite: false
|
| 117 |
+
prepare_num_workers: 1
|
| 118 |
+
prepare_device_ids: []
|
| 119 |
+
prepare_num_process_per_gpu: 1
|
| 120 |
+
prepare_encode_batch_size: 4
|
| 121 |
+
lock_timeout: 7200.0
|
| 122 |
+
poll_interval: 0.2
|
| 123 |
+
decode_chunk_size: 128
|
| 124 |
+
normalize_actions: true
|
| 125 |
+
norm_stats_path: null
|
| 126 |
+
norm_method: quantiles
|
| 127 |
+
norm_symmetric_dims: null
|
| 128 |
+
data_root: work_dirs/Datasets/EWM_infer_meta/robomme_lerobot
|
| 129 |
+
annotation: work_dirs/Datasets/EWM_infer_meta/robomme_lerobot/annotations_train.json
|
| 130 |
+
min_frames: 4
|
| 131 |
+
max_frames: 32
|
| 132 |
+
latent_temporal_compression: 1
|
| 133 |
+
auxiliary_supervision: true
|
| 134 |
+
auxiliary_cache_dir: work_dirs/data_cache/anchor_motion_robomme_svd_auxiliary_marked_v4_128
|
| 135 |
+
auxiliary_cache_stride: 8
|
| 136 |
+
synchronize_frame_counts: true
|
| 137 |
+
dynamic_mask_size: 128
|
| 138 |
+
dynamic_mask_mode: marked_dynamic_mask
|
| 139 |
+
training:
|
| 140 |
+
learning_rate: 0.0001
|
| 141 |
+
lr_multipliers: {}
|
| 142 |
+
optimizer_fused: null
|
| 143 |
+
ema_enabled: false
|
| 144 |
+
ema_rate: 0.1
|
| 145 |
+
ema_iteration_shift: 0
|
| 146 |
+
num_epochs: null
|
| 147 |
+
num_steps: 200000
|
| 148 |
+
save_steps: 5000
|
| 149 |
+
keep_steps: null
|
| 150 |
+
trainable_models: anchor_motion
|
| 151 |
+
find_unused_parameters: false
|
| 152 |
+
weight_decay: 0.01
|
| 153 |
+
adam_beta1: 0.9
|
| 154 |
+
adam_beta2: 0.999
|
| 155 |
+
adam_eps: 1.0e-08
|
| 156 |
+
task: sft
|
| 157 |
+
use_gradient_checkpointing: false
|
| 158 |
+
use_gradient_checkpointing_offload: false
|
| 159 |
+
gradient_checkpointing_ratio: 1.0
|
| 160 |
+
batch_size_per_device: 32
|
| 161 |
+
gradient_accumulation_steps: 1
|
| 162 |
+
drop_last: false
|
| 163 |
+
dataset_num_workers: 8
|
| 164 |
+
persistent_workers: true
|
| 165 |
+
pin_memory: true
|
| 166 |
+
prefetch_factor: 2
|
| 167 |
+
lr_scheduler: cosine
|
| 168 |
+
lr_warmup_steps: 500
|
| 169 |
+
lr_warmup_start_ratio: 1.0e-08
|
| 170 |
+
lr_cycle_steps: 200000
|
| 171 |
+
lr_min_ratio: 0.1
|
| 172 |
+
lr_post_cycle_ratio: null
|
| 173 |
+
max_grad_norm: 1.0
|
| 174 |
+
grad_norm_anomaly_factor: 10.0
|
| 175 |
+
grad_clip_start_step: 5000
|
| 176 |
+
grad_force_finite: false
|
| 177 |
+
loss_func:
|
| 178 |
+
- type: AnchorMotionDynamicLatentL1Loss
|
| 179 |
+
weight: 1.0
|
| 180 |
+
name: reconstruction_l1
|
| 181 |
+
dynamic_weight_strength: 1.0
|
| 182 |
+
dynamic_weight_max: 5.0
|
| 183 |
+
- type: AnchorMotionTemporalDeltaLoss
|
| 184 |
+
weight: 0.2
|
| 185 |
+
name: temporal_delta
|
| 186 |
+
- type: AnchorMotionDynamicMaskLoss
|
| 187 |
+
weight: 0.1
|
| 188 |
+
name: dynamic_mask
|
| 189 |
+
- type: AnchorMotionFlowLoss
|
| 190 |
+
weight: 0.05
|
| 191 |
+
name: anchor_flow
|
| 192 |
+
raft_checkpoint: work_dirs/Checkpoint/hub/checkpoints/raft_small_C_T_V2-01064c6d.pth
|
| 193 |
+
raft_batch_size: 128
|
| 194 |
+
mixed_precision: null
|
| 195 |
+
runtime_seed_by_rank: false
|
| 196 |
+
inference: null
|
| 197 |
+
policy: null
|
| 198 |
+
mode: train
|
| 199 |
+
seed: 42
|