VideoCrafter / scripts /run_text2video.sh
dharmendraGupta's picture
Upload folder using huggingface_hub
49a842a verified
raw
history blame contribute delete
470 Bytes
name="base_1024_test"
ckpt='checkpoints/base_1024_v1/model.ckpt'
config='configs/inference_t2v_1024_v1.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 576 --width 1024 \
--unconditional_guidance_scale 12.0 \
--ddim_steps 50 \
--ddim_eta 1.0 \
--prompt_file $prompt_file \
--fps 28