一、单独SadTalker部署
git clone https://github.com/OpenTalker/SadTalker.git
cd SadTalker
conda create -n sadtalker python=3.8
conda activate sadtalker
pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 torchaudio==0.12.1 --extra-index-url https://download.pytorch.org/whl/cu113
conda install ffmpeg
pip install -r requirements.txt
通过音频图片生成数字人:
python inference.py --driven_audio 11.wav --source_image 11.jpeg --enhancer gfpgan
二、安装stable-diffusion-webui
环境
python:3.11
cuda:12.1
torch:2.2.1+cu121
资源:
链接:https://pan.baidu.com/s/1GeASwRZeX81ef738WG3Kiw
提取码:yn16
解压stable环境的python到/usr/local/miniconda3/envs/
unzip stable.zip /usr/local/miniconda3/envs
解压stable-webui文件
unzip stable-diff