https://www.youtube.com/watch?v=LHLfCg8kJsA
https://github.com/iPERDance/iPERCore/blob/main/docs/install.md
- download git from link
- download anaconda from link
- download cuda from link
- open enviroment editor add new
CUDA_HOME: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1 - download project ipercore from link
- download ffmpeg the exact version ffmpeg-4.3.1-win64-static from link
- create folder
executablesinsideiPERCore-main\iPERCore-main\assets\and put downloaded&extracted ffmpeg(ffmpeg-4.3.1-win64-static) in it, the ffmpeg should contains abinand we should seeffplayandffprobe - download checklist from link extract and put inside
iPERCore-main\iPERCore-main\assets\ - open anaconda prompt
cdto theiPERCore-main\iPERCore-maindir ( change drive by typingD:)- create environment by
conda create -n iperc python=3.6 - active created environment by
conda activate iperc - install libs by
conda install pytorch==1.6.0 torchvision==0.7.0 cudatoolkit=10.1 -c pytorch - setup by
python setup.py develop
- import source image to
iPERCore-main\iPERCore-main\assets\samples, image should be png - import source video to
iPERCore-main\iPERCore-main\assets\samples\references, video should be mp4 - run command
pip install mmcv==1.1.5( i needed this) - run command
python demo/motion_imitate.py --gpu_ids 0 --image_size 384 --num_source 2 --output_dir "./results" --assets_dir "./assets" --model_id "donald_trump_2" --src_path "path?=./assets/samples/sources/donald_trump_2/00000.png,name?=donald_trump_2" --ref_path "path?=./assets/samples/references/akun_1.mp4,name?=akun_1,pose_fc?=100"or use other functions
https://github.com/iPERDance/iPERCore/blob/main/docs/scripts_runner.md