mirror of
https://github.com/modelscope/DiffSynth-Studio.git
synced 2026-03-18 22:08:13 +00:00
15 lines
810 B
Bash
15 lines
810 B
Bash
modelscope download --dataset DiffSynth-Studio/diffsynth_example_dataset --include "wanvideo/Wan2.1-T2V-1.3B/*" --local_dir ./data/diffsynth_example_dataset
|
|
|
|
accelerate launch examples/wanvideo/model_training/train.py \
|
|
--dataset_base_path data/diffsynth_example_dataset/wanvideo/Wan2.1-T2V-1.3B \
|
|
--dataset_metadata_path data/diffsynth_example_dataset/wanvideo/Wan2.1-T2V-1.3B/metadata.csv \
|
|
--height 480 \
|
|
--width 832 \
|
|
--dataset_repeat 100 \
|
|
--model_id_with_origin_paths "Wan-AI/Wan2.1-T2V-1.3B:diffusion_pytorch_model*.safetensors,Wan-AI/Wan2.1-T2V-1.3B:models_t5_umt5-xxl-enc-bf16.pth,Wan-AI/Wan2.1-T2V-1.3B:Wan2.1_VAE.pth" \
|
|
--learning_rate 1e-5 \
|
|
--num_epochs 2 \
|
|
--remove_prefix_in_ckpt "pipe.dit." \
|
|
--output_path "./models/train/Wan2.1-T2V-1.3B_full" \
|
|
--trainable_models "dit"
|