|
|
|
pretrained_model_path: "ckpts/stable-video-diffusion-img2vid" |
|
|
|
output_dir: "./outputs" |
|
seed: 23 |
|
num_steps: 25 |
|
|
|
enable_xformers_memory_efficient_attention: True |
|
|
|
enable_torch_2_attn: True |
|
|
|
use_sarp: true |
|
|
|
use_motion_lora: true |
|
train_motion_lora_only: false |
|
retrain_motion_lora: false |
|
|
|
use_inversed_latents: true |
|
use_attention_matching: true |
|
use_consistency_attention_control: true |
|
dtype: fp16 |
|
|
|
save_last_frames: True |
|
|
|
|
|
data_params: |
|
video_path: "../datasets/svdedit/item6/pexels-koolshooters-7322716.mp4" |
|
keyframe_paths: |
|
- "../datasets/svdedit/item6/sun_glasses.png" |
|
- "../datasets/svdedit/item6/cyberpunk.png" |
|
start_t: 0 |
|
end_t: 4 |
|
sample_fps: 7 |
|
chunk_size: 16 |
|
overlay_size: 1 |
|
normalize: true |
|
output_fps: 7 |
|
save_sampled_frame: true |
|
output_res: [576, 1024] |
|
pad_to_fit: True |
|
begin_clip_id: 0 |
|
end_clip_id: 2 |
|
|
|
train_motion_lora_params: |
|
cache_latents: true |
|
cached_latent_dir: null |
|
lora_rank: 24 |
|
|
|
use_unet_lora: True |
|
|
|
|
|
lora_unet_dropout: 0.1 |
|
|
|
save_pretrained_model: False |
|
|
|
learning_rate: 5e-4 |
|
|
|
adam_weight_decay: 1e-2 |
|
|
|
max_train_steps: 300 |
|
|
|
checkpointing_steps: 50 |
|
|
|
validation_steps: 50 |
|
|
|
mixed_precision: "fp16" |
|
|
|
|
|
gradient_checkpointing: True |
|
image_encoder_gradient_checkpointing: True |
|
|
|
train_data: |
|
|
|
width: 1024 |
|
height: 576 |
|
|
|
|
|
use_data_aug: ~ |
|
pad_to_fit: True |
|
|
|
validation_data: |
|
|
|
sample_preview: True |
|
|
|
num_frames: 14 |
|
|
|
width: 1024 |
|
height: 576 |
|
pad_to_fit: True |
|
|
|
spatial_scale: 0 |
|
|
|
noise_prior: |
|
|
|
- 1.0 |
|
|
|
sarp_params: |
|
sarp_noise_scale: 0.005 |
|
|
|
attention_matching_params: |
|
best_checkpoint_index: 250 |
|
lora_scale: 1.0 |
|
|
|
lora_dir: "./cache/item6/train_motion_lora" |
|
max_guidance_scale: 2.5 |
|
|
|
disk_store: True |
|
load_attention_store: "./cache/item6/attention_store" |
|
load_consistency_attention_store: "./cache/item6/consistency_attention_store" |
|
registered_modules: |
|
BasicTransformerBlock: |
|
- "attn1" |
|
|
|
TemporalBasicTransformerBlock: |
|
- "attn1" |
|
|
|
control_mode: |
|
spatial_self: "masked_copy" |
|
temporal_self: "copy_v2" |
|
cross_replace_steps: 0.0 |
|
temporal_self_replace_steps: 1.0 |
|
spatial_self_replace_steps: 1.0 |
|
spatial_attention_chunk_size: 1 |
|
|
|
params: |
|
edit0: |
|
temporal_step_thr: [0.5, 0.8] |
|
mask_thr: [0.35, 0.35] |
|
edit1: |
|
temporal_step_thr: [0.5, 0.8] |
|
mask_thr: [0.35, 0.35] |
|
|
|
long_video_params: |
|
mode: "skip-interval" |
|
registered_modules: |
|
BasicTransformerBlock: |
|
|
|
|
|
TemporalBasicTransformerBlock: |
|
- "attn1" |
|
|
|
|
|
|
|
|