facefusion超强AI变脸
docker部署
https://docs.facefusion.io/usage/run-via-docker
Colab一键部署
https://docs.facefusion.io/usage/run-via-colab
win部署
https://gitee.com/jiuyuaaaaaaa/facefusion
一、基础软件安装
1、python3.10.6
https://www.python.org/downloads/release/python-3106/
2、ffmpeg
winget install -e --id Gyan.FFmpeg
3、CUDA、cuDNN、zlibwapi.dll
https://developer.nvidia.com/cuda-11-8-0-download-archive
https://developer.nvidia.com/rdp/cudnn-archive
https://forums.developer.nvidia.com/t/could-not-load-library-cudnn-cnn-infer64-8-dll-error-code-193/218437/16
4、visual studio 2022
https://visualstudio.microsoft.com/zh-hans/downloads/
二、facefusion下载与依赖包安装
下载facefusion压缩包
创建虚拟环境
python -m venv venv
激活虚拟环境
call venvscriptsactivate.bat
安装facefusion依赖包
pip install -r requirements