Spaces:
Runtime error
Runtime error
File size: 699 Bytes
2890711 |
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 26 27 28 29 30 31 32 33 34 35 36 |
ckpt='checkpoints/motionctrl_svd.ckpt'
config='configs/inference/config_motionctrl_cmcm.yaml'
height=576
width=1024
cond_aug=0.02
fps=10
image_input='examples/basic/eduardo-gorghetto-5auIBbcoRNw-unsplash.jpg'
res_dir="outputs/motionctrl_svd"
if [ ! -d $res_dir ]; then
mkdir -p $res_dir
fi
CUDA_VISIBLE_DEVICES=7 python main/inference/motionctrl_cmcm.py \
--seed 12345 \
--ckpt $ckpt \
--config $config \
--savedir $res_dir \
--savefps 10 \
--ddim_steps 25 \
--frames 14 \
--input $image_input \
--fps $fps \
--motion 127 \
--cond_aug $cond_aug \
--decoding_t 1 --resize \
--height $height --width $width \
--sample_num 2 \
--transform \
--pose_dir 'examples/camera_poses' \
--speed 2.0 \ |