项目地址以及说明:
这个项目要用3.8版本的python去配置,其他版本可能会失败,很多依赖可能装不上。
https://github.com/OpenTalker/video-retalking/
安装步骤
git clone https://github.com/vinthony/video-retalking.git
cd video-retalking
conda create -n video_retalking python=3.8
conda activate video_retalking
# Please follow the instructions from https://pytorch.org/get-started/previous-versions/
# This installation command only works on CUDA 11.1
pip install torch==1.9.0+cu111 torchvision==0.10.0+cu111 -f https://download.pytorch.org/whl/torch_stable.html
pip install -r requirements.txt
推理命令
python inference.py --face examples/face/1.mp4 --audio examples/audio/1.wav --outfile results/1_1.mp4
项目相关模型下载页面
https://github.com/OpenTalker/video-retalking/releases/tag/v0.0.1