Тёмный

ComfyUI InsightFace Windows Fast Installation (2024) | NO MORE ERRORS FOR IPADAPTERS / ROOP 

Data Leveling
Подписаться 2,9 тыс.
Просмотров 23 тыс.
50% 1

ComfyUI: github.com/comfyanonymous/Com...
InsightFace Wheels: github.com/Gourieff/Assets/tr...
Commands: .\python_embeded\python.exe -m pip install [path-to-wheel] onnxruntime
In this quick video, we share how we can install insightface on windows as many people are having issues with it while using the new IPAdapter face nodes.
My Hardware Specs
GPU: 24GB VRAM
RAM: 32GB
CPU: 24 Core
👍 If this video helped you, do hit that like button, subscribe for more content, and let us know your thoughts in the comments below.

Наука

Опубликовано:

 

10 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 205   
@KardinalMoses
@KardinalMoses 3 месяца назад
Thank you so so much, I had given up already when I found you through Reddit :)
@jasonmonroe5067
@jasonmonroe5067 Месяц назад
You are a rockstar! I did so much searching for a solution to my missing Insightface errors. This was perfect! THANK YOU!
@RonnieMirands
@RonnieMirands 4 месяца назад
Mannnn, you are truly a legend! After hours of pain, your solution worked! Even the creator of IPAdapter didnt tell us this! The blessings of Pope over your life :)))
@DarkGrayFantasy
@DarkGrayFantasy Месяц назад
This was a huge timesaver! Thanks for the quick and easy guide!
@Nohandle0070
@Nohandle0070 4 месяца назад
Your THE BESTTTT! Great work man🏆😎
@p_p
@p_p 2 месяца назад
dude you litterally saved me from a week of headache. Worked finally...! 1 milion kudos
@lacrossj
@lacrossj 3 месяца назад
That was such a big help!. Thank you!
@BadASszZ
@BadASszZ 2 месяца назад
Woooooooh!!! You made all my pain and suffering go away. I've been sitting with this crap on and off the whole freaking day and now +12h later you gave me the solution. THANKS!!!
@2PeteShakur
@2PeteShakur 28 дней назад
excellent - worked fine - had issue installing a new node and it messed comfyui up, so had to do a new one, imported the files and models, nodes etc to save time and tried node with use of insightface and got this problem, now is solved thanks to u! :)
@redjack0041
@redjack0041 2 месяца назад
Saved my day! You are the "MAN"... Thx a lot buddy!
@wacom8199
@wacom8199 Месяц назад
legend this finally worked!! thank you so much!
@usakousa8595
@usakousa8595 3 месяца назад
Very helpful, thank you!😄
@kurozeitsuki7846
@kurozeitsuki7846 3 месяца назад
man you are a lifesaver. Thanks you so much!
@artifaxstudio
@artifaxstudio Месяц назад
Man, you are a true gem trust me, it was so easy with your method :) , thanks a lot.
@hangjack
@hangjack 2 месяца назад
Thank you very much! The problem is finally solved!
@LexSummer
@LexSummer 4 месяца назад
YAY could not make it work without you... 👍🏼
@bastienpic
@bastienpic Месяц назад
thank you it worked for me aswell ! RU-vid and the word need heroes like you
@enriqueicm7341
@enriqueicm7341 4 месяца назад
it worked like charm; I had to run it as administrator and change de name from "ComfyUi 2024" to "ComftUi_2024" for cd C:\Users\EICM\Desktop\ComfyUI 2024 marked error becouse of the separation of the wird and the year. After that it worked. Thank you!
@hamidmohamadzade1920
@hamidmohamadzade1920 2 месяца назад
thanks a lot , your tutorials are amazing
@DeanCassady
@DeanCassady Месяц назад
Thank you!!!!! Time Saver, I think point is the command, i use same wheel before, no use, but add the last word(onnxruntime), finally the problem has been solved
@NathanDoran2099
@NathanDoran2099 2 месяца назад
This is amazing, thank you!
@ophelie6783
@ophelie6783 Месяц назад
Thank you so much !!!!!! You saved my girlfriend's Comfyui install ! You are the GOAT !
@aetherealartisan
@aetherealartisan 2 месяца назад
Thank you! I was searching . . . . .
@Ellyoun
@Ellyoun 3 месяца назад
thanks for this video! but i get Error Error occurred when executing InsightFaceLoader: No module named 'insightface.app' Anyone knows what could be? please help,,
@redelgado3000
@redelgado3000 18 дней назад
Muchas gracias , después de tantas horas buscando una solución , la suya me sirvió .
@pedrobatista9692
@pedrobatista9692 4 месяца назад
THANK YOU SO MUCH!!!
@SoloKrauT
@SoloKrauT Месяц назад
Thank you very much, it worked.
@stevanisyarotty1031
@stevanisyarotty1031 4 месяца назад
thanks ! that helps a lot !
@Cainra11
@Cainra11 Месяц назад
Hi thanks for the video but I cant see the option of '' Prepare Image for InsightFace'' under ipadapter, is there any solution? Thanks
@Mehdi0montahw
@Mehdi0montahw 19 дней назад
thank after many days your video work with me
@magneticanimalism7419
@magneticanimalism7419 24 дня назад
Thank you so much bro, this issue has been f'in pee'in me off for months. Ten likes👍👍👍👍👍👍👍👍👍👍 and a subscribe.
@Ryographix
@Ryographix 4 месяца назад
Great Tutorial... I hope you can make a tutorial about efficiency node, how to use and install it. having trouble with it even in comf. manager
@liamm_top
@liamm_top 2 месяца назад
THANK YOU SO MUCH!!!🤩🤩
@seminole3001
@seminole3001 Месяц назад
hi, did someone get a problem with onnxruntim ? Is there an another mean to install this insight face ? thk you ERROR: Could not find a version that satisfies the requirement onnxruntim (from versions: none) ERROR: No matching distribution found for onnxruntim
@furigold
@furigold 2 месяца назад
thank you man, i couldn't figure out for hours. Found this everything works now!
@the_meridian
@the_meridian 3 месяца назад
You Sir are a life saver
@TheAIAndy
@TheAIAndy 4 месяца назад
YESSSS Thanks!
@dragongaiden1992
@dragongaiden1992 28 дней назад
Friend, I followed your video and installed everything like you and my version of python and I still get this error When loading the graph, the following node types were not found: IPAdapterApply Nodes that have failed to load will show as red on the graph.
@Ai_Gen_mayyit
@Ai_Gen_mayyit Месяц назад
Error occurred when executing VHS_LoadVideoPath: module 'cv2' has no attribute 'VideoCapture'
@MarceloM1990
@MarceloM1990 3 месяца назад
Man, thank you! Really!
@cecirey09
@cecirey09 Месяц назад
Oh! I'm still getting "Error occurred when executing IPAdapterFaceID: module 'comfy.model_base' has no attribute 'SDXL_instructpix2pix'"
@graylife_
@graylife_ 20 дней назад
thx man that solved my problem
@heysuvajit
@heysuvajit 3 месяца назад
Mann you are the savior.
@bioboi4438
@bioboi4438 4 дня назад
My computer throws an error about the
@LostStroies
@LostStroies Месяц назад
Hey how I can do it on macOS i tried everything but nothing works.. thanks
@EnamHaque-gb8nx
@EnamHaque-gb8nx 2 месяца назад
LEGEND!!!! THANK YOU
@SFeri15
@SFeri15 3 месяца назад
Thank you so much👍
@n3bie
@n3bie 19 дней назад
Thanks you duder!
@AnyaRoy-fo1fl
@AnyaRoy-fo1fl Месяц назад
Can you please help ? I could not find prepImageforInsightface Node
@chauhandivyansh9416
@chauhandivyansh9416 3 месяца назад
How do I do this on runpod? I want to use FaceID, InstantID.
@tr0ublem4kerWZ
@tr0ublem4kerWZ Месяц назад
excellent video, I'm currently running python 3.10, would you be so kind to help me upgrading to 3.11? thanks
@KDashHoward
@KDashHoward 4 месяца назад
Hello! thank you, im still facing this issue tho ; ERROR:root: - Return type mismatch between linked nodes: insightface, CLIP_VISION != INSIGHTFACE any idea by chance? thanks!
@DataLeveling
@DataLeveling 3 месяца назад
Hi, did you manage to solve it? I have not seen that error before but I think it might be a using wrong models in the wrong node kinda error.
@mythic_trader
@mythic_trader 4 месяца назад
I tried but its showing " Could not install packages due to an OSError: [WinError 5] Access is denied: 'D:\ ew_ComfyUI_windows_portable_nvidia_cu121_or_cpu\\ComfyUI_windows_portable\\python_embeded\\Lib\\site-packages\\onnxruntime\\capi\\onnxruntime_providers_shared.dll' Consider using the `--user` option or check the permissions.
@DataLeveling
@DataLeveling 4 месяца назад
I see, maybe can try this: 1. Under windows search, search 'Terminal'. 2. Right click on it, select 'Run as Administrator'. 3. type in 'cd D: ew_ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable' 4. type in the same command from the video. Let me know if it works!
@Ernest2002
@Ernest2002 4 месяца назад
Close ComfyUI terminal
@heartmarshalljunior8670
@heartmarshalljunior8670 2 месяца назад
it works! Ty@@Ernest2002
@ryan81morris
@ryan81morris Месяц назад
@@Ernest2002 Wow, this random comment just saved me a headache. Thank you.
@JipandCie
@JipandCie 24 дня назад
@@Ernest2002 wow thank you guy ! you save my night !!!!!!
@VladislavHarizanov
@VladislavHarizanov 3 месяца назад
I am running comfyui in a collab notebook and I get the same error: No module named 'insightface' any tips for collab notebook users?
@jaimeortega8939
@jaimeortega8939 3 месяца назад
Same. Is there a colab notebook I can just clone?
@Ben-et8wh
@Ben-et8wh 4 месяца назад
that fixed my first problem where it was getting stuck on the "load insightface" box, but now its getting stuck on the "apply IDAdapter" box, saying "InsightFace must be provided for FaceID models" .... ? any tips?
@DataLeveling
@DataLeveling 4 месяца назад
Yup that is expected, you are probably using a faceid model in an IPAdapter node, but faceid models only work in IPAdapter FaceID nodes. You can check out my other IPAdapter video where I talked about which models to use for which node: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-oYjEFHb--RA.html
@A.X.N
@A.X.N Месяц назад
I don't have the portable version, how can I install it?
@intelligenceservices
@intelligenceservices 12 дней назад
anybody on Linux able to get insightface to be seen by their stable diffusion webui? i've been able to install it to the venv, but still getting the error "ModuleNotFoundError: No module named 'insightface'" which is insane.
@PixelArt_YW
@PixelArt_YW 4 месяца назад
Thank you very much!
@Max-Blaze
@Max-Blaze 2 месяца назад
Awesome thank you bro
@user-pd4on9qt1z
@user-pd4on9qt1z 3 месяца назад
Error occurred when executing InsightFaceLoader: No module named 'insightface' can you help me?
@DataLeveling
@DataLeveling 3 месяца назад
Hi, just to be sure the installation is successful, you could run this command if you are using windows (replace findstr with grep for linux): .\python_embeded\python.exe -m pip list | findstr insightface If there is an output like insightface 0.7.3, it means insightface has installed correctly and the error lies in either wrong model placement or using wrong python executable.
@nitinburli7814
@nitinburli7814 3 месяца назад
Thank you good sir!
@airaandrea703
@airaandrea703 2 месяца назад
I use stability matrix in portable mode for Comfyui, I can't find the directory for the python_embeded so idk where to do the cmd(aka terminal). help pls
@DataLeveling
@DataLeveling 2 месяца назад
Hi, sorry I do not use stability matrix, but after some searching, I think this might help you out: github.com/LykosAI/StabilityMatrix/issues/344
@SetMeFree
@SetMeFree 2 месяца назад
Nice. Thank you.
@peterr6595
@peterr6595 2 месяца назад
Thanks..mine did not work until I read the logs. I had to Add a PATH variable "...ComfyUI_windows_portable\python_embeded\Scripts" You saved me from frustration and pain!
@JoshuaEiffel
@JoshuaEiffel Месяц назад
chad
@jasondulin7376
@jasondulin7376 15 дней назад
I'm getting "ERROR: Invalid requirement: '[path-to-wheel]'" Is this related to your issue and fix?
@dkeps4880
@dkeps4880 2 месяца назад
How do I install it in Colab? InsightFace error occurs
@davidpenn4024
@davidpenn4024 Месяц назад
How would you get this done on Kaggle???
@Firas-sc1kd
@Firas-sc1kd 3 месяца назад
any idea how to run it on Runpod which uses Linux? there isn't a python_embedded folder and the .exe, only the ComfyUI directory. I installed it using pip install directly but I get the same error :(
@davidpenn4024
@davidpenn4024 Месяц назад
Facing the same issue on Kaggle
@3k3k3
@3k3k3 2 месяца назад
THANK YOU!
@Chaocangwu
@Chaocangwu 2 месяца назад
Hello teacher, I would like to ask you that I have the same problem, but I am using an Apple M1 chip computer. How should I install insightface? The terminal always prompts me: ModuleNotFoundError: No module named insightface'
@DataLeveling
@DataLeveling Месяц назад
Hi sorry I do not use a mac, you may want to refer to github.com/deepinsight/insightface/issues/2493 and see if the solutions work :)
@kwlook90
@kwlook90 4 месяца назад
Thank YOU!!!!😁
@AnyaRoy-fo1fl
@AnyaRoy-fo1fl Месяц назад
I am getting this error ERROR: insightface-0.7.3-cp310-cp310-win_amd64.whl is not a supported wheel on this platform.
@hildalei7881
@hildalei7881 Месяц назад
Thank you so much~!
@gbennett1000
@gbennett1000 Месяц назад
you are amazing!!!
@ka-ps8xy
@ka-ps8xy Месяц назад
u saved me , thanks
@MannyGonzalez
@MannyGonzalez 2 месяца назад
LEGEND!!!
@ibaitxo7777777
@ibaitxo7777777 25 дней назад
Gracias amigo!
@moon47usaco
@moon47usaco 3 месяца назад
Thank you. working now... =]
@mauriciogianelli1573
@mauriciogianelli1573 4 месяца назад
Hi, thanks. I´ve tried but It didn´t helped me. I´ll uninstall everything and start again.
@DealingWithAB
@DealingWithAB Месяц назад
portable\python_embeded\python.exe: No module named install is the error i get
@patyfreenam860
@patyfreenam860 2 месяца назад
thx for the tutorial, I guess something is wrong with my installation, as soon as i run the ....onnxruntime command i get this error ERROR: insightface-0.7.3-cp311-cp311-win_amd64.whl is not a supported wheel on this platform. :(
@DataLeveling
@DataLeveling 2 месяца назад
Hello, I think have seen others facing the same issue in the comments. Their case was that after checking, the python ver they are running from for ComfyUI is not 3.11. I'm not sure on your case if its the same!
@qytmz666
@qytmz666 4 месяца назад
Error occurred when executing IPAdapterApply: InsightFace must be provided for FaceID models. 😭
@DataLeveling
@DataLeveling 4 месяца назад
This means you used the wrong model for the wrong node, models with 'faceid' goes to apply faceid ipadapter, those without faceid in the model name goes to apply ipadapter.
@00noam
@00noam 2 месяца назад
when i try using face-to-many it shows me this error Prompt outputs failed validation Efficient Loader: - Value not in list: ckpt_name: 'albedobaseXL_v13.safetensors' not in [] InstantIDModelLoader: - Value not in list: instantid_file: 'instantid-ip-adapter.bin' not in [] ControlNetLoader: - Value not in list: control_net_name: 'instantid-controlnet.safetensors' not in [] do you know what to do with this?
@jeanyap8320
@jeanyap8320 4 месяца назад
Thanks! Can you share more on IP adaptor?
@DataLeveling
@DataLeveling 4 месяца назад
Will share more soon in my next vid!
@ashishtomar7927
@ashishtomar7927 Месяц назад
Can you also show how to do the same on runpod
@luisgregori3817
@luisgregori3817 4 месяца назад
thank you very much
@jay_hemrajani
@jay_hemrajani 3 месяца назад
Brooooo, you killed it!! Thank you very much!!🔥🔥
@TaktAkira
@TaktAkira 2 месяца назад
Hey bro, did they remove "prep image for insightface" node?? I can't find it
@DataLeveling
@DataLeveling Месяц назад
Hi brother, yes the dev removed the node from the repository.
@TaktAkira
@TaktAkira Месяц назад
@@DataLeveling thanks bro for letting me know
@user-pm2kx1vi1e
@user-pm2kx1vi1e Месяц назад
thx a lot!
@tranthinhthanh3503
@tranthinhthanh3503 2 месяца назад
REACTOR I got an error in this location The Fast and Simple 'roop-like' Face Swap Extension Node for ComfyUI, based on ReActor (ex Roop-GE) SD-WebUI Face Swap Extension
@DataLeveling
@DataLeveling 2 месяца назад
Hi, yes I heard from others that if they installed reactor first before doing the steps in this video, it has an error. I suggest uninstalling the reactor that you have from the manager, install insightface as per this video, then follow my Reactor installation guide: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-PQLttrd-Epc.html This should make sure everything runs correctly.
@MisterCozyMelodies
@MisterCozyMelodies 25 дней назад
thanks sir
@valorantacemiyimben
@valorantacemiyimben Месяц назад
hello, I don't have the open terminal option :(
@DataLeveling
@DataLeveling Месяц назад
Hi, you could click on the windows address at the top and type cmd and it will open the terminal :)
@Latentnaut
@Latentnaut 2 месяца назад
Touché
@maverickpictures6895
@maverickpictures6895 3 месяца назад
I can't get it to work, all i get everytime is -- The system cannot find the path specified. HELP
@DataLeveling
@DataLeveling 3 месяца назад
I see, okay try this, put the wheel file in the ComfyUI_windows_portable folder, then same thing, right click open in terminal and run this: .\python_embeded\python.exe -m pip install insightface-0.7.3-cp311-cp311-win_amd64.whl onnxruntime
@maverickpictures6895
@maverickpictures6895 3 месяца назад
thanks so much - it worked !! You're a legend@@DataLeveling
@toshitafoto1343
@toshitafoto1343 3 месяца назад
how to install for web ui?
@Han3D
@Han3D Месяц назад
You're the god
@user-lv9vs9il7z
@user-lv9vs9il7z 3 месяца назад
Thanks for this video, How can i do it, if i don't have "portable version", i don't have the folder python_embeded?
@DataLeveling
@DataLeveling 3 месяца назад
Hi, are you using ComfyUI? The base installation should have it installed already. If you are using ComfyUI, you can check where your python is running from, from the run_cpu / run_nvidia_gpu file.
@user-lv9vs9il7z
@user-lv9vs9il7z 3 месяца назад
@@DataLeveling Thanks, but how cai i know where python is running from? Yes i'm a noob
@DataLeveling
@DataLeveling 3 месяца назад
@@user-lv9vs9il7z no worries, if lets say you are not using the portable version, it is more complicated as it requires you to create your own python virtual environment then launch python main.py. If you haven't been using a virual environment, then you can find your python by typing in cmd: 'where python', the one you are using is probably something like this: \AppData\Local\Programs\Python\Python311\python.exe It is recommended to use virtual environment, so that it will not affect your base python when you continuously install new libraries. A simpler alternative is to use the portable version, they created for us the python_embedded folder, and if you right click the 'run_nvidia_gpu.bat' and open it with notepad, you can see it runs the python from the python_embedded folder: '.\python_embeded\python.exe -s ComfyUI\main.py' You can check out my video on installing portable ComfyUI and ComfyUI Manager: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-_1fSVcNIOBw.html
@DataLeveling
@DataLeveling 3 месяца назад
@@user-lv9vs9il7z no worries, if lets say you are not using the portable version, you can find your python by typing in cmd: 'where python'. It is recommended to use a python virtual environment, so that it will not affect your base python when you continuously install new libraries. To create a virtual env: docs.python.org/3/library/venv.html A simpler alternative is to use the portable version, they created for us the python_embedded folder, and if you right click the 'run_nvidia_gpu.bat' and open it with notepad, you can see it runs the python from the python_embedded folder: '.\python_embeded\python.exe -s ComfyUI\main.py' You can check out my video on installing portable ComfyUI and ComfyUI Manager: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-_1fSVcNIOBw.html
@user-lv9vs9il7z
@user-lv9vs9il7z 3 месяца назад
@@DataLeveling Excuse me for responding very late, thanks a lot
@rokiplay
@rokiplay 10 дней назад
Anyone know how to install on Mac?
@tomschuelke7955
@tomschuelke7955 16 дней назад
the musik in the backround is disturbing to concentrate I am loosing you at rightclick, insightface, copy as path.. dont have your windowsexploerer... is this windows 11?
@renlow
@renlow 4 месяца назад
Is python version problem destroying comfiui?? could u please make a video how to get rid off 3.11. and replace it with 3.10.6 without making problems for 1111 instalation.
@DataLeveling
@DataLeveling 4 месяца назад
Hi, to do that, change the python path in your comfyui's run_nvidia_gpu.bat file to the a1111 python path.
@renlow
@renlow 3 месяца назад
​@@DataLeveling thank you. Btw i got it working with 3.11 thx to you. 🎉
@JiayuanFu-un1yr
@JiayuanFu-un1yr Месяц назад
ERROR: Could not install packages due to an OSError: [WinError 5] 拒绝访问。: 'd:\\comfyui_windows_portable\\python_embeded\\lib\\site-packages\\cv2\\cv2.pyd' Consider using the `--user` option or check the permissions. How to solve this?
@JipandCie
@JipandCie 24 дня назад
i have the same error and i have not find any solution :(
@JiayuanFu-un1yr
@JiayuanFu-un1yr 24 дня назад
@@JipandCie I solved it! Open the file downloaded from the official website, right-click the mouse, and turn on all permissions in the properties!
Далее
Stable Cascade in ComfyUI, installation and how to use
10:07
ASMR CORTE DE CABELO COM EMOÇÃO
01:00
Просмотров 2,4 млн
WIND CHALLENGE 🗣️
00:45
Просмотров 4,5 млн
Automate your job with Python
6:07
Просмотров 351 тыс.
How to Install insightface on windows by using anaconda
11:50
How to use Face Analysis to improve your workflows
15:43
Stable Cascade - Local Install - SUPER EASY!
7:42
Просмотров 90 тыс.
Избранное печатает...
0:11
Просмотров 118 тыс.
Где раздвижные смартфоны ?
0:49
Просмотров 727 тыс.
КЛИЕНТ СЛОМАЛ НАУШНИКИ ? 😳
0:51
Новая материнка без USB!!
0:39
Просмотров 41 тыс.