【SIMPLE】Reactor and Roop Face Swap Workflow | ComfyUI | tool | error版本v1.0 (ID: 403066)

【SIMPLE】Reactor and Roop Face Swap Workflow | ComfyUI | tool | error版本v1.0 (ID: 403066)

Your contribution is greatly appreciated and helps me to create more content. If you like my model, please consider donating: https://ko-fi.com/aoi_android

Face Swap for img

[github]

https://github.com/Gourieff/comfyui-reactor-node

This is a simple workflow for face swapping.

Contains Reactor and Loop.

#############################################

When introducing Reactor

If you encounter an import error, please see below.

Please perform Troubleshooting I and IV.

The reactor requires something called Insightface.

[JP]

シンプルな顔の入れ替え用のワークフローです,

Reactor と Roop が入っています,

##############################################

Reactor導入時に

import errorが生じた方は下記

TroubleshootingのⅠとⅣを実行してください,

reactorにはInsightfaceというものが必要です,

####################################################

【Troubleshooting】

?I. (For Windows users) If you still cannot build Insightface for some reasons or just don't want to install Visual Studio or VS C++ Build Tools - do the following:

  1. (ComfyUI Portable) From the root folder check the version of Python:
    run CMD and type python_embeded\python.exe -V

  2. Download prebuilt Insightface package for Python 3.10 or for Python 3.11 (if in the previous step you see 3.11) or for Python 3.12 (if in the previous step you see 3.12) and put into the stable-diffusion-webui (A1111 or SD.Next) root folder (where you have "webui-user.bat" file) or into ComfyUI root folder if you use ComfyUI Portable

  3. From the root folder run:

    • (SD WebUI) CMD and .\venv\Scripts\activate

    • (ComfyUI Portable) run CMD

  4. Then update your PIP:

    • (SD WebUI) python -m pip install -U pip

    • (ComfyUI Portable) python_embeded\python.exe -m pip install -U pip

  5. Then install Insightface:

    • (SD WebUI) pip install insightface-0.7.3-cp310-cp310-win_amd64.whl (for 3.10) or pip install insightface-0.7.3-cp311-cp311-win_amd64.whl (for 3.11) or pip install insightface-0.7.3-cp312-cp312-win_amd64.whl (for 3.12)

    • (ComfyUI Portable) python_embeded\python.exe -m pip install insightface-0.7.3-cp310-cp310-win_amd64.whl (for 3.10) or python_embeded\python.exe -m pip install insightface-0.7.3-cp311-cp311-win_amd64.whl (for 3.11) or python_embeded\python.exe -m pip install insightface-0.7.3-cp312-cp312-win_amd64.whl (for 3.12)

  6. Enjoy!

II. "AttributeError: 'NoneType' object has no attribute 'get'"

This error may occur if there's smth wrong with the model file inswapper_128.onnx

Try to download it manually from here and put it to the ComfyUI\models\insightface replacing existing one

III. "reactor.execute() got an unexpected keyword argument 'reference_image'"

This means that input points have been changed with the latest update
Remove the current ReActor Node from your workflow and add it again

?IV. ControlNet Aux Node IMPORT failed error when using with ReActor Node

Close ComfyUI if it runs

  1. Go to the ComfyUI root folder, open CMD there and run:

python_embeded\python.exe -m pip uninstall -y opencv-python opencv-contrib-python opencv-python-headless

python_embeded\python.exe -m pip install opencv-python==4.7.0.72

That's it!

【SIMPLE】Reactor and Roop Face Swap Workflow | ComfyUI | tool | errorV. "ModuleNotFoundError: No module named 'basicsr'" or "subprocess-exited-with-error" during future-0.18.3 installation

Then:

python_embeded\python.exe -m pip install basicsr

VI. "fatal: fetch-pack: invalid index-pack output" when you try to git clone the repository"

Try to clone with --depth=1 (last commit only):

 git clone --depth=1 https://github.com/Gourieff/comfyui-reactor-node

Then retrieve the rest (if you need):

 git fetch --unshallow

描述:

训练词语:

名称: SIMPLEReactorAndRoopFaceSwap_v10.zip

大小 (KB): 1950

类型: Archive

Pickle 扫描结果: Success

Pickle 扫描信息: No Pickle imports

病毒扫描结果: Success

【SIMPLE】Reactor and Roop Face Swap Workflow | ComfyUI | tool | error

资源下载
下载价格VIP专享
仅限VIP下载升级VIP
犹豫不决让我们错失一次又一次机会!!!
原文链接:https://1111down.com/1070789.html,转载请注明出处
由于网站升级,部分用户密码全部设置为111111,登入后自己修改, 并且VIP等级提升一级(包月提升至包季,包季提升到包年 包年提升至永久)
没有账号?注册  忘记密码?

社交账号快速登录