# ckpt=/group/40005/gzhiwang/tooncrafter_1024_4k.ckpt ckpt=/group/40005/gzhiwang/tc_sketch.pt config=configs/inference_1024_v1.0.yaml # prompt_dir="/group/40005/gzhiwang/ToonCrafter_with_SketchGuidance_1024/ToonCrafter/prompts/other_exps" prompt_dir="/group/40005/gzhiwang/ToonCrafter_with_SketchGuidance_1024/prompts/1024_kk_rotate" res_dir="resulst_interp_1024_sketch_15_1" sudo mkdir ${res_dir} sudo chmod 777 ${res_dir} FS=10 ## This model adopts FPS=5, range recommended: 5-30 (smaller value -> larger motion) seed=123 name=tooncrafter_512_interp_seed${seed} CUDA_VISIBLE_DEVICES=$1 python3 scripts/evaluation/inference.py \ --seed ${seed} \ --ckpt_path $ckpt \ --config $config \ --savedir $res_dir/$name \ --n_samples 1 \ --bs 1 --height 576 --width 1024 \ --unconditional_guidance_scale 7.5 \ --ddim_steps 1 \ --ddim_eta 1.0 \ --prompt_dir $prompt_dir \ --text_input \ --video_length 16 \ --frame_stride ${FS} \ --timestep_spacing 'uniform_trailing' --guidance_rescale 0.7 --perframe_ae --interp