Upload item10/config_multi_chunks.yaml with huggingface_hub
Browse files- item10/config_multi_chunks.yaml +105 -0
item10/config_multi_chunks.yaml
ADDED
@@ -0,0 +1,105 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
pretrained_model_path: "ckpts/stable-video-diffusion-img2vid"
|
2 |
+
output_dir: "./outputs"
|
3 |
+
num_steps: 25
|
4 |
+
seed: 23
|
5 |
+
enable_xformers_memory_efficient_attention: true
|
6 |
+
enable_torch_2_attn: true
|
7 |
+
dtype: fp16
|
8 |
+
|
9 |
+
use_sarp: true
|
10 |
+
|
11 |
+
use_motion_lora: true
|
12 |
+
train_motion_lora_only: false
|
13 |
+
retrain_motion_lora: false
|
14 |
+
|
15 |
+
use_inversed_latents: true
|
16 |
+
use_attention_matching: true
|
17 |
+
use_consistency_attention_control: true
|
18 |
+
|
19 |
+
save_last_frames: true
|
20 |
+
load_from_last_frames_latents:
|
21 |
+
|
22 |
+
visualize_attention_store: false
|
23 |
+
visualize_attention_store_steps: null
|
24 |
+
|
25 |
+
data_params:
|
26 |
+
video_path: "../datasets/svdedit/item10/source.mp4"
|
27 |
+
keyframe_paths:
|
28 |
+
- "../datasets/svdedit/item10/porsche.png"
|
29 |
+
start_t: 0
|
30 |
+
end_t: -1
|
31 |
+
sample_fps: 10
|
32 |
+
chunk_size: 14
|
33 |
+
overlay_size: 1
|
34 |
+
normalize: true
|
35 |
+
output_fps: 10
|
36 |
+
save_sampled_frame: true
|
37 |
+
output_res: [576, 1024]
|
38 |
+
pad_to_fit: false
|
39 |
+
begin_clip_id: 0
|
40 |
+
end_clip_id: 2
|
41 |
+
|
42 |
+
train_motion_lora_params:
|
43 |
+
cache_latents: true
|
44 |
+
cached_latent_dir: null
|
45 |
+
lora_rank: 32
|
46 |
+
use_unet_lora: true
|
47 |
+
lora_unet_dropout: 0.1
|
48 |
+
save_pretrained_model: false
|
49 |
+
learning_rate: 0.0005
|
50 |
+
adam_weight_decay: 0.01
|
51 |
+
max_train_steps: 250
|
52 |
+
checkpointing_steps: 250
|
53 |
+
validation_steps: 300
|
54 |
+
mixed_precision: fp16
|
55 |
+
gradient_checkpointing: true
|
56 |
+
image_encoder_gradient_checkpointing: true
|
57 |
+
train_data:
|
58 |
+
width: 896
|
59 |
+
height: 512
|
60 |
+
use_data_aug: null
|
61 |
+
pad_to_fit: false
|
62 |
+
validation_data:
|
63 |
+
sample_preview: true
|
64 |
+
num_frames: 14
|
65 |
+
width: 1024
|
66 |
+
height: 576
|
67 |
+
pad_to_fit: false
|
68 |
+
spatial_scale: 0
|
69 |
+
noise_prior:
|
70 |
+
- 1.0
|
71 |
+
|
72 |
+
sarp_params:
|
73 |
+
sarp_noise_scale: 0.005
|
74 |
+
|
75 |
+
attention_matching_params:
|
76 |
+
best_checkpoint_index: 250
|
77 |
+
lora_scale: 1.0
|
78 |
+
lora_dir: "./cache/item10/train_motion_lora"
|
79 |
+
disk_store: true
|
80 |
+
load_attention_store: "./cache/item10/attention_store"
|
81 |
+
load_consistency_attention_store: "./cache/item10/consistency_attention_store"
|
82 |
+
registered_modules:
|
83 |
+
BasicTransformerBlock:
|
84 |
+
- "attn1"
|
85 |
+
TemporalBasicTransformerBlock:
|
86 |
+
- "attn1"
|
87 |
+
control_mode:
|
88 |
+
spatial_self: "masked_copy"
|
89 |
+
temporal_self: "copy_v2"
|
90 |
+
cross_replace_steps: 0.0
|
91 |
+
temporal_self_replace_steps: 1.0
|
92 |
+
spatial_self_replace_steps: 1.0
|
93 |
+
spatial_attention_chunk_size: 1
|
94 |
+
|
95 |
+
params:
|
96 |
+
edit0:
|
97 |
+
temporal_step_thr: [0.5, 0.8]
|
98 |
+
mask_thr: [0.35, 0.35]
|
99 |
+
|
100 |
+
long_video_params:
|
101 |
+
mode: "skip-interval"
|
102 |
+
registered_modules:
|
103 |
+
BasicTransformerBlock: null
|
104 |
+
TemporalBasicTransformerBlock:
|
105 |
+
- "attn1"
|