https://github.com/glucauze/sd-webui-faceswaplab
报错请输入下面命令回车
export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python
https://glucauze.github.io/sd-webui-faceswaplab/
https://pan.xunlei.com/s/VN_nz11X2uyynwxWrpL8egP4A1?pwd=yuye#
Python 3.10+ ,C++
Roop插件地址:[https://github.com/s0md3v/sd-webui-roop]
Visual Studio:[https://visualstudio.microsoft.com/zh-hans/downloads/]
模型下载地址:https://huggingface.co/henryruhs/roop/resolve/main/inswapper_128.onnx
没有pip或者报错不是内部命令请提前安装python3.10+
设置系统环境
右键我的电脑属性--->高级系统设置
环境变量
系统变量里的Path
配置系统已经安装的python环境exe所在路径的Scripts目录
根目录下无法安装进入虚拟环境解决
执行创建虚拟环境命令
pip install virtualenv
激活本地虚拟环境
virtualenv venv
进入虚拟环境
.\venv\Scripts\activate
https://visualstudio.microsoft.com/zh-hans/downloads/
首先安装
pip install insightface==0.7.3
加速命令
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple insightface==0.7.3
清华:https://pypi.tuna.tsinghua.edu.cn/simple
阿里云:http://mirrors.aliyun.com/pypi/simple/
中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/
华中理工大学:http://pypi.hustunique.com/
山东理工大学:http://pypi.sdutlinux.org/
豆瓣:http://pypi.douban.com/simple/
pip show insightface
扩展--->从网址安装/加载自---->roop