# SVD: https://huggingface.co/stabilityai/stable-video-diffusion-img2vid-xt
# SVD 1.1:  https://huggingface.co/stabilityai/stable-video-diffusion-img2vid-xt-1-1

CUDA_VISIBLE_DEVICES=0,1,2,3 accelerate launch train.py \
 --pretrained_model_name_or_path="stabilityai/stable-video-diffusion-img2vid" \
 --output_dir="model_out/ControlSVD-2025.2.3" \
 --video_folder="/users/zeyuzhu/dataset_project/Datasets/fallowshow/datasets" \
 --ann_folder="/users/zeyuzhu/dataset_project/Datasets/fallowshow/datasets" \
 --width=640 \
 --height=384 \
 --num_frames=15\
 --learning_rate=2e-5 \
 --per_gpu_batch_size=1 \
 --num_train_epochs=30 \
 --mixed_precision="fp16" \
 --gradient_accumulation_steps=2 \
 --checkpointing_steps=2000 \
 --gradient_checkpointing \



