How to install Reactor Face Swaper in ComfyUI Portable (Include CUDA 12.x solution)

  Рет қаралды 7,318

CaoCao2025

CaoCao2025

Күн бұрын

Пікірлер: 88
@aymanfatani
@aymanfatani 3 күн бұрын
You saved me from wasting thousands of times trying to solve this issue .. I was depressed and disappointed .. thanks to you its installed ♥
@CaoCao2025
@CaoCao2025 2 күн бұрын
congrat
@ClaireProd
@ClaireProd 23 күн бұрын
Thank you very much for explaining the installation, I didn't understand where the errors were coming from. Have a nice day
@CaoCao2025
@CaoCao2025 23 күн бұрын
Glad it helped
@johnc9926
@johnc9926 Ай бұрын
Thank you so much! this worked for me for my Windows 11, 64x 32 system. I have a 16 gb ram, intel cpu. AMD. I just followed first half of video without the CUDA part cause i don't have it. Face swap runs well!
@CaoCao2025
@CaoCao2025 Ай бұрын
thanks for your information
@dreamstate5047
@dreamstate5047 Ай бұрын
This really was a great video and well explained, thank you for great work, this really solved my problem, and I was struggling for long, I bumped on your video after countless attempts at getting the reactor worked after a fresh OS install, But this worked for me finally. Awesome Video.
@CaoCao2025
@CaoCao2025 Ай бұрын
Glad it helped!
@koreantourtv7379
@koreantourtv7379 2 күн бұрын
대단히 감사합니다 최고의 강의입니다. 많은 시간을 허비했는데 당신의 영상으로 해결했습니다....
@CaoCao2025
@CaoCao2025 2 күн бұрын
도움이 되어서 기쁘다
@pushkarmorankar4223
@pushkarmorankar4223 2 ай бұрын
Thanks, you solved a big issue
@CaoCao2025
@CaoCao2025 2 ай бұрын
glad i could help
@1Know1tHurts
@1Know1tHurts Ай бұрын
Thanks, man! You hepled me a lot👍
@CaoCao2025
@CaoCao2025 Ай бұрын
Glad I could help!
@XMagazine-q9l
@XMagazine-q9l 2 ай бұрын
Thank you. You saved my day. Liked and Subscribed.
@CaoCao2025
@CaoCao2025 2 ай бұрын
your welcome
@ndro7068
@ndro7068 2 ай бұрын
FINALLY. THANK YOU SO MUCH.
@CaoCao2025
@CaoCao2025 2 ай бұрын
your welcome
@explorewithmartha6297
@explorewithmartha6297 3 ай бұрын
Thank you for sharing 👍🏾🤩
@덕분-b3k
@덕분-b3k 24 күн бұрын
Thank you. Thanks to you, I solved the problem that wasn't solved. Thank you for the good video. T_T b
@CaoCao2025
@CaoCao2025 23 күн бұрын
Glad i could help
@marssgamecorner
@marssgamecorner 3 ай бұрын
L2 👍 Amazing sharing 💯 have a nice day 🙏⛅🌞
@1lllllllll1
@1lllllllll1 8 күн бұрын
😂 the voice, lol I feel like I’m listening to a Hogwarts Teacher who is showing us the latest mischievous spell magic. Not sure I like it tho.
@CaoCao2025
@CaoCao2025 6 күн бұрын
lol
@codyjames7668
@codyjames7668 2 ай бұрын
Thank you...
@VợChồngQuê
@VợChồngQuê 3 ай бұрын
Cảm ơn bạn đã chia sẻ
@HiProfileAI
@HiProfileAI 2 ай бұрын
I have been trying for days with no success and then saw a post on the official channel for Reactor that someone else said to downgrade the onnxruntime. So after following your instructions here I Then downgraded CUDA to 11.8 and the added all the extras like you di in bin, lib and include to the 11.8 CUDA folder. resorting back to Cuda 11.8 then I removed the onnxruntime and then reinstanlled it downgradin it to 1.17.1 and Voila Success. python_embeded\python.exe -m pip uninstall -y onnxruntime onnxruntime-gpu python_embeded\python.exe -m pip install onnxruntime==1.17.1 FINALLLLLLYYYYYYYYYY!!!!!!!!
@matteo.grossi
@matteo.grossi 2 ай бұрын
What was't working for you? It installs everything without errors for me, it just won't load in ComfyUI.
@CaoCao2025
@CaoCao2025 2 ай бұрын
Congratulations
@maxdeniel
@maxdeniel Ай бұрын
Hi friend, how you downgrade CUDA to 11.8? I still having the same problem, the same ERROR pops up: "CUDA_PATH is set but CUDA wasn't able to be loaded. Please install the correct version of CUDA and cuDNN as mentioned in the GPU requirements page......... etc etc etc"
@legenDaCerita
@legenDaCerita 28 күн бұрын
finally after 3 days of darkness with your help it can be solved. python_embeded\python.exe -m pip uninstall -y onnxruntime onnxruntime-gpu python_embeded\python.exe -m pip install onnxruntime==1.17.1 using this method and it work again like before thanks bro
@djwhispers3157
@djwhispers3157 14 күн бұрын
how do you force to uninstall onx?
@IzzyDiamonds69
@IzzyDiamonds69 Ай бұрын
Hi, thanks for the tutorial. Only one problem I have with REAKTOR, the fact that it ruins the color of the hair (it loses color due to contouring over the face) when applying the new face. Is there any solution to this situation? Thanks in advance.
@CaoCao2025
@CaoCao2025 Ай бұрын
1. you could repair it using inpainting 2. try using roop instead of reactor
@BeatCreationsGaming
@BeatCreationsGaming 3 ай бұрын
Great my friend. good share
@Rohit_KushwahaBSP
@Rohit_KushwahaBSP 3 ай бұрын
Looks Pretty
@maxdeniel
@maxdeniel Ай бұрын
First of all thank yo very much for your videos, they are straight to the point. Great job my friend. Still having the same problem, the same ERROR pops up: "CUDA_PATH is set but CUDA wasn't able to be loaded. Please install the correct version of CUDA and cuDNN as mentioned in the GPU requirements page......... etc etc etc" I notice something different on my Installation process, I followed your instruction BUT at 1:15 (when Install.bat is executed), when you said "As you can see, we finish installing Onyx 1.16........" in my case, it does not install anything, it just shows the windows prompt like this: Installing. . . CUDA 12.1 OK Done Press any key to continue . . . The user @HiProfileAI said something about downgrade the CUDA version to 11.8, gonna try that as well.
@CaoCao2025
@CaoCao2025 Ай бұрын
you might try uninstall the onnyx and install it again, follow the command line on video description
@maxdeniel
@maxdeniel Ай бұрын
@@CaoCao2025 You were right my friend, I skipped that part of your tutorial. Now it works, thank you very much.
@CaoCao2025
@CaoCao2025 Ай бұрын
your welcome, glad i could help
@valorantacemiyimben
@valorantacemiyimben Ай бұрын
Hello, I have workflows that are shared on sites and are open to everyone. I download and install the missing models, lora, etc. in those workflows, but I still get errors. I want these to be fixed and prepared in a way that I can run. If I pay you, can you do these for me?
@CaoCao2025
@CaoCao2025 Ай бұрын
Sorry, could you specify the error? Some Custom Node require you to install other thing. For example, reactor require to install Cuda. Some require a certain python version. I think you should check each custom node that it has, and see it github page, to make sure you don't need any new version. Also if you get the workflow from site, check the review and user reputation. Some time people upload workflow that simply don't work. Also by checking the review and comment you might find a clue about what to do with your error.
@Tazastical
@Tazastical 3 ай бұрын
good work1 :)
@user-fo9ce3hr5h
@user-fo9ce3hr5h Ай бұрын
hi, i keep getting (IMPORT FAILED) ReActor Node for ComfyUI. there is a "fix" button there i select it but nothing chages. stuck in this error badly. i also install it manually but nothing changed. i don't know what is the problem.
@CaoCao2025
@CaoCao2025 Ай бұрын
what comfy version that you have?
@user-fo9ce3hr5h
@user-fo9ce3hr5h Ай бұрын
@@CaoCao2025 it is ComfyUI v0.2.2 Release
@CaoCao2025
@CaoCao2025 Ай бұрын
are you just updated? it seems this problem arise suddenly after the new update. Let's wait and see for now. It still working for me, but people trying to do new installation seems to have this problem after they updated ther comfy ui.
@CaoCao2025
@CaoCao2025 29 күн бұрын
try git the older version, match the date around when i upload the video. Then install it again. After that update the comfy again. Check the list here: github.com/comfyanonymous/ComfyUI/commits/master/
@sevenhourshade
@sevenhourshade 2 ай бұрын
It says to me: unexpected EOF, expected 101681834 more bytes. The file might be corrupted. I try a lot of time, with differents way... Always a error...
@CaoCao2025
@CaoCao2025 2 ай бұрын
in what part of installation the error showing up?
@WyyzNoLeg
@WyyzNoLeg Ай бұрын
when i press install.bat, Installing... CUDA 12.4 Ok Done Press any key to continue . . . and nothing else like the video long install, please help
@CaoCao2025
@CaoCao2025 Ай бұрын
do you already uninstall onnyx and install it again?
@matteo.grossi
@matteo.grossi 2 ай бұрын
Unfortunately this is not working for me. I have tried other similar guides but it won't load ReActor. Even the "try fix" operation suggested by ComfyUI does not work. I don't even see any error message when installing the requirements. I am on windows 10. What am i missing?
@CaoCao2025
@CaoCao2025 2 ай бұрын
what CUDA version that you have?
@matteo.grossi
@matteo.grossi 2 ай бұрын
@@CaoCao2025 mhm, i have no idea. I thought all the requirements go installed automatically (other than everything else the guide mention). If i run nvidia-smi the command window shuts down immediately and i can't tell. Any pointers?
@matteo.grossi
@matteo.grossi 2 ай бұрын
@@CaoCao2025 cudnn_9.3.0
@CaoCao2025
@CaoCao2025 2 ай бұрын
you need to install CUDA Toolkit manually too, it's also a different from cuddn. I can't guide you with installing CUDA because i am afraid to mess up my setting. You can follow many other tutorial of installing Cuda Toolkit.
@matteo.grossi
@matteo.grossi 2 ай бұрын
@@CaoCao2025 any particular tutorial you’d recommend? Also, how destructive are the “wrong” settings? I work with 3d and the last thing I want is to mess up my pc during a project! ;)
@RudmerCR
@RudmerCR Ай бұрын
followed all the steps, cant get it to work. In the manager it says import failed, try fix doenst help
@CaoCao2025
@CaoCao2025 Ай бұрын
what comfy version that you have?
@RudmerCR
@RudmerCR Ай бұрын
@@CaoCao2025 0.2.2
@CaoCao2025
@CaoCao2025 Ай бұрын
are you just updated? it seems this problem arise suddenly after the new update. Let's wait and see for now. It still working for me, but people trying to do new installation seems to have this problem after they updated ther comfy ui.
@RudmerCR
@RudmerCR Ай бұрын
@@CaoCao2025 just installed it. Yes i think we might need to wait for a bugfix.
@CaoCao2025
@CaoCao2025 29 күн бұрын
try git the older version, match the date around when i upload the video. Then install it again. After that update the comfy again. Check the list here: github.com/comfyanonymous/ComfyUI/commits/master/
@JustinCiriello
@JustinCiriello 2 ай бұрын
Unfortunately I ran into several errors. Some of which I was able to resolve and others I could not. I really wish there was a more streamlined process for this stuff.
@CaoCao2025
@CaoCao2025 2 ай бұрын
Yes, i also struggle when i install this.
@praveen2258
@praveen2258 2 ай бұрын
Error occurred when executing ReActorFaceSwapOpt: 'NoneType' object has no attribute 'get'
@CaoCao2025
@CaoCao2025 Ай бұрын
V. "INVALID_PROTOBUF : Load model from \models\insightface\inswapper_128.onnx failed:Protobuf parsing failed" OR "AttributeError: 'NoneType' object has no attribute 'get'" OR "AttributeError: 'FaceSwapScript' object has no attribute 'save_original'" This error may occur if there's smth wrong with the model file inswapper_128.onnx Try to download it manually from huggingface.co/datasets/Gourieff/ReActor/resolve/main/models/inswapper_128.onnx and put it to the \models\insightface replacing existing one
@VintageForYou
@VintageForYou 2 ай бұрын
Getting Error (Getting requirements to build wheel did not run successfully.) When trying to install comfyui-reactor-node.🤔
@CaoCao2025
@CaoCao2025 2 ай бұрын
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: (ComfyUI Portable) From the root folder check the version of Python: run CMD and type python_embeded\python.exe -V 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 From the root folder run: (SD WebUI) CMD and .\venv\Scripts\activate (ComfyUI Portable) run CMD Then update your PIP: (SD WebUI) python -m pip install -U pip (ComfyUI Portable) python_embeded\python.exe -m pip install -U pip 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) Enjoy! from the source: github.com/Gourieff/comfyui-reactor-node
@jonscottcameron
@jonscottcameron 3 ай бұрын
like the video
@tamizhanVanmam
@tamizhanVanmam Ай бұрын
not working still asking "try fix"
@CaoCao2025
@CaoCao2025 29 күн бұрын
try git the older version of comfy, match the date around when i upload the video. Then install it again. After that update the comfy again. Check the list here: github.com/comfyanonymous/ComfyUI/commits/master/
@bohguss
@bohguss Ай бұрын
could you do this with multiple images as source? to get a more accurate face?
@bohguss
@bohguss Ай бұрын
im guessing use a batch instead of load image? i'll try and come back
@CaoCao2025
@CaoCao2025 Ай бұрын
i think you could use a face model for reactor
@CaoCao2025
@CaoCao2025 Ай бұрын
batch will not work
@bohguss
@bohguss Ай бұрын
@@CaoCao2025 okay ill try that thanks!
@zaselimgamingvideos
@zaselimgamingvideos 2 ай бұрын
i am still getting this Installing... CUDA 12.1 Status: The 'insightface==0.7.3' distribution was not found and is required by the application Collecting insightface==0.7.3 Using cached insightface-0.7.3.tar.gz (439 kB) Installing build dependencies ... done Getting requirements to build wheel ... error error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [18 lines of output] Traceback (most recent call last): File "H:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in main() File "H:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main json_out['return_val'] = hook(**hook_input['kwargs']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "H:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 118, in get_requires_for_build_wheel return hook(config_settings) ^^^^^^^^^^^^^^^^^^^^^ File "H:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\setuptools\build_meta.py", line 327, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=[]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "H:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\setuptools\build_meta.py", line 297, in _get_build_requires self.run_setup() File "H:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\setuptools\build_meta.py", line 313, in run_setup exec(code, locals()) File "", line 11, in ModuleNotFoundError: No module named 'Cython' [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. Ok Done Press any key to continue . . .
@CaoCao2025
@CaoCao2025 2 ай бұрын
- are you already installing visual studio vs c++ build tool - if you don;t wnat to, follow this step: 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: (ComfyUI Portable) From the root folder check the version of Python: run CMD and type python_embeded\python.exe -V Download prebuilt Insightface package for Python 3.10 (github.com/Gourieff/Assets/raw/main/Insightface/insightface-0.7.3-cp310-cp310-win_amd64.whl) or for Python 3.11 (github.com/Gourieff/Assets/raw/main/Insightface/insightface-0.7.3-cp311-cp311-win_amd64.whl) or for Python 3.12 (github.com/Gourieff/Assets/raw/main/Insightface/insightface-0.7.3-cp312-cp312-win_amd64.whl) 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 From the root folder run: (SD WebUI) CMD and .\venv\Scripts\activate (ComfyUI Portable) run CMD Then update your PIP: (SD WebUI) python -m pip install -U pip (ComfyUI Portable) python_embeded\python.exe -m pip install -U pip 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) Enjoy!
@Rachelcenter1
@Rachelcenter1 2 ай бұрын
1:13 i get this error mesh_core_cython.cpp insightface/thirdparty/face3d/mesh/cython/mesh_core_cython.cpp(36): fatal error C1083: Cannot open include file: 'Python.h': No such file or directory error: command 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.41.34120\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2 [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for insightface Failed to build insightface ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (insightface)
@CaoCao2025
@CaoCao2025 2 ай бұрын
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: (ComfyUI Portable) From the root folder check the version of Python: run CMD and type python_embeded\python.exe -V 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 From the root folder run: (SD WebUI) CMD and .\venv\Scripts\activate (ComfyUI Portable) run CMD Then update your PIP: (SD WebUI) python -m pip install -U pip (ComfyUI Portable) python_embeded\python.exe -m pip install -U pip 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) Enjoy! from the source: github.com/Gourieff/comfyui-reactor-node
@duytatdt4884
@duytatdt4884 Ай бұрын
How to ReActor run with GPU? I use "run_nvidia_gpu.bat" but CPU always full load 100%, and the gpu seems to be idle.
@CaoCao2025
@CaoCao2025 Ай бұрын
make sure you install CUDA and Cuddn already set up the environment variable for them
@duytatdt4884
@duytatdt4884 Ай бұрын
@@CaoCao2025 I removed onnxruntime package, keep onnxruntime-gpu, and the GPU worked
@CaoCao2025
@CaoCao2025 Ай бұрын
glad it work for you, thanks for sharing
Why Are Open Source Alternatives So Bad?
13:06
Eric Murphy
Рет қаралды 655 М.
Миллионер | 2 - серия
16:04
Million Show
Рет қаралды 1,6 МЛН
She's very CREATIVE💡💦 #camping #survival #bushcraft #outdoors #lifehack
00:26
Un coup venu de l’espace 😂😂😂
00:19
Nicocapone
Рет қаралды 13 МЛН
👽 ComfyUI Fast Face Swap Reactor | Easy and Fastest Use of Face Changing Reactor
25:04
San AI 연구소 - SanAI Labs
Рет қаралды 4,8 М.
How To Install ComfyUI and Run SDXL on Low GPUs
11:17
Aiconomist
Рет қаралды 19 М.
How to make AI Tictok Videos
9:23
Ao College AI
Рет қаралды 688
Mastering ComfyUI: How to use ReActor for Face Swap - TUTORIAL
8:09
How to use LivePortrait. Learn to Animate AI Faces in ComfyUI.
10:25
Sebastian Kamph
Рет қаралды 43 М.
LATENT Tricks - Amazing ways to use ComfyUI
21:32
Olivio Sarikas
Рет қаралды 122 М.
Discover Fooocus AI: The Beginner's Installation & Usage Guide
17:07
ComfyUI ReActor Face Swap Image & Video
12:17
Data Leveling
Рет қаралды 31 М.
Миллионер | 2 - серия
16:04
Million Show
Рет қаралды 1,6 МЛН