File size: 623 Bytes
8631f1e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name="dynamicrafter_256"

ckpt='checkpoints/dynamicrafter_256_v1/model.ckpt'
config='configs/inference_256_v1.0.yaml'

prompt_dir="prompts/"
res_dir="results"

CUDA_VISIBLE_DEVICES=0 python3 scripts/evaluation/inference.py \
--seed 123 \
--ckpt_path $ckpt \
--config $config \
--savedir $res_dir/$name \
--n_samples 1 \
--bs 1 --height 256 --width 256 \
--unconditional_guidance_scale 7.5 \
--ddim_steps 50 \
--ddim_eta 1.0 \
--prompt_dir $prompt_dir \
--text_input \
--video_length 16 \
--frame_stride 3

## multi-cond CFG: the <unconditional_guidance_scale> is s_txt, <cfg_img> is s_img
#--multiple_cond_cfg --cfg_img 7.5