VideoCrafterXtend / scripts /run_text2video.sh
ychenhq's picture
Upload folder using huggingface_hub
3b0b5f4 verified
raw
history blame
521 Bytes
name="results"
ckpt='checkpoints/base_512_v2/model.ckpt'
config='configs/inference_t2v_512_v2.0.yaml'
prompt_file="prompts/test_prompts.txt"
res_dir="results"
python3 scripts/evaluation/inference.py \
--seed 123 \
--mode 'base' \
--ckpt_path $ckpt \
--config $config \
--savedir $res_dir/$name \
--n_samples 1 \
--bs 1 --height 320 --width 512 \
--unconditional_guidance_scale 5.0 \
--unconditional_guidance_scale_temporal 5.0 \
--ddim_steps 50 \
--ddim_eta 1.0 \
--prompt_file $prompt_file \
--frames 20 \
--savefps 4