target_dir="./DEMO/data" video_dir="./data/AdamKinzinger2_3.mp4" ffmpeg -hide_banner -y -i $video_dir -r 25 $target_dir/full/%05d.png # crop and resize video frames python crop_portrait.py \ --data_dir $target_dir \ --crop_level 1.5 \ --vertical_adjust 0.2 # python demo.py \ # --config config/mix-resolution.yml \ # --checkpoint checkpoints/mix-train.pth.tar \ # --source_image DEMO/00018.png \ # --driving_video DEMO/AdamKinzinger2_3.mp4 \ # --video_out_path \ # --relative