stable diffusion换脸插件ReActor教程 您所在的位置:网站首页 修复插件是什么情况下使用 stable diffusion换脸插件ReActor教程

stable diffusion换脸插件ReActor教程

2024-07-15 04:03| 来源: 网络整理| 查看: 265

ReActor插件是从roop插件分叉而来的一个更轻便、安装更简单的换脸插件。我们先来看效果图

stable diffusion的换脸插件ReActor的安装与使用教程

目录

所需要的工具

ReActor扩展:https://github.com/Gourieff/sd-webui-reactor

模型文件:https://pan.quark.cn/s/0fb56fbe2221

配置文件:https://pan.baidu.com/s/18k2LvSj02UkJDJMxCMjqAw?pwd=hga5

安装步骤

(一)按照正常的扩展安装方式安装reactor插件(到插件的主页复制安装链接,再到stable diffusion的扩展-从网址安装);

(二)下载模型文件的压缩包insightface.zip,并将解压到到\stable-diffusion-webui\models\文件夹中;

stable diffusion的换脸插件ReActor的安装与使用教程 stable diffusion的换脸插件ReActor的安装与使用教程 文件夹内部的文件结构

(三)单独下载配置文件insightface-0.7.3-cp310-cp310-win_amd64.whl,并且将它放入到stable diffusion的根目录\stable-diffusion-webui

stable diffusion的换脸插件ReActor的安装与使用教程

(四)在根目录运行cmd,并且输入下面的代码激活根目录下的虚拟环境

.\venv\Scripts\activate stable diffusion的换脸插件ReActor的安装与使用教程 stable diffusion的换脸插件ReActor的安装与使用教程 stable diffusion的换脸插件ReActor的安装与使用教程

(五)在虚拟环境中分别运行下面的两行代码

python -m pip install -U pip pip install insightface-0.7.3-cp310-cp310-win_amd64.whl

等待第二行代码运行完成之后,关闭cmd命令窗口。

如果是秋葉安装包,理论上已经集成了该插件运行的环境,可以免去上面第三、四、五步!如果发现插件不能正常运行,可以按照下面的步骤操作:

秋葉版(三)单独下载配置文件insightface-0.7.3-cp310-cp310-win_amd64.whl,并且将它放入到目录\novelai-webui\sd-webui-aki-v4.2\python中,版本不同可能文件夹\sd-webui-aki-v4.2的名称会有所不同!

stable diffusion的换脸插件ReActor的安装与使用教程

秋葉版(四)在\novelai-webui\sd-webui-aki-v4.2\python目录运行cmd,并且运行下面的代码:

python -m pip install -U pip Scripts\pip install insightface-0.7.3-cp310-cp310-win_amd64.whl

等待第二行代码运行完成之后,关闭cmd命令窗口。

stable diffusion的换脸插件ReActor的安装与使用教程 stable diffusion的换脸插件ReActor的安装与使用教程 123下一页

原创文章,作者:朋远方,如若转载,请注明出处:https://caovan.com/stable-diffusiondehuanlianchajianreactordeanzhuangyushiyongjiaocheng/.html



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有