InstantID Implementation in ComfyUI for Stable Diffusion SDXL

preview_player
Показать описание
Learn step-by-step how to install the InstantID implementation in ComfyUI, troubleshoot errors and workflow.

In this video I help you learn how to install the unofficial InstantID implementation in ComfyUI. We will be using Python 3.10 and creating a virtual environment to avoid dependency conflicts.

I appreciate if you can like and share the video if it was helpful.
Subscribe for more content soon!

[SUPPORT THE CHANNEL]

[Resources]

[SOCIAL MEDIA]

[PREVIOUS VIDEOS]

[TIMESTAMPS]
00:00:00 Introduction
00:00:40 GitHub repo for InstantID
00:01:40 Comparing previous technologies
00:02:12 Showcasing the Gradio Demo by HuggingFace
00:03:22 The ComfyUI implementation
00:03:49 Project by Zho-Zho-Zho
00:05:33 Making a backup ComfyUI installation
00:06:52 Download 7-Zip
00:07:34 Installing by following Github instructions
00:14:48 Installing ComfyUI manually
00:33:54 Symbolic Link for models folder
00:38:39 Test ComfyUI
00:39:50 Installing InstantID for ComfyUI
00:49:00 Testing InstantID and Custom Nodes
00:49:47 Making a workflow
00:54:58 Doing a test run
00:58:25 Conclusion
00:59:46 Thank you for watching and see you next time.

[TAGS]
instantid, comfyui, diffusers, ai art, install tutorial, python, virtual environment, symbolic link, controlnet, ip adapter, omegaconf, custom node
GitHub, Open Source, face generation, zho-zho-zho, Code Crafters Corner, CodeCraftersCorner

[HASHTAGS]
#InstantID #ComfyUI #Diffusers #AIArt #InstallTutorial #Python #VirtualEnvironment #SymbolicLink #ControlNet #IPAdapter #Omegaconf #CustomNode #CodeCraftersCorner
Рекомендации по теме
Комментарии
Автор

Not spamming at al!! You are doing all the hard work and providing immense value!! Forever grateful amigo!! ❤️🇲🇽❤️

WhySoBroke
Автор

That's for sure the most complicated nodes to install in comfyui. I don't understand why zho-zho nodes are so complicated to run, it always breaks the regular version of comfyui and forces us to reinstall the env python version to run it. It's not a feasible thing if you're willing to work with other comfy ui nodes that depends on newer versions of python. I'm just using another node from huxiuhan and it run with the regular Comfy portable.

Paulo-utli
Автор

If it takes 41 minutes generate an image you might as well just train a Lora or two of yourself in that time…

JustMaier
Автор

Hi, thanks for this tutorial, but I have a question about the manager button, why in this video there's no "manager" and "share" button under "load default" button? Because mine also doesn't have, but many other videos they have those buttons

silverstone
Автор

Amazing video, its so detailed and thank you so much for your big effort and time to make this video ultra detailed explaining every commands, issues and process. amazing. cheers....

DianneStudio
Автор

Help! AttributeError: object has no attribute 'dtype'

JackTorcello
Автор

Despite doing step by step the model failed to

error - 0.8 seconds (IMPORT FAILED): D:\Stable

filmyentity
Автор

Thanks for so detailed and informative video. Good work!

titerote
Автор

There seems to ba a bug - people using 16Gb VRAM (mine is 8Gb VRAM) - are getting this ERROR, as am I

Error occurred when executing Ipadapter_instantidLoader:

Allocation on device 0 would exceed allowed memory. (out of memory)
Currently allocated : 16.00 GiB
Requested : 5.00 MiB
Device limit : 8.00 GiB
Free (according to CUDA): 0 bytes
PyTorch limit (set by user-supplied memory fraction)
: 17179869184.00 GiB


Win 10, 64Gb, RTX 2070 (using either CUDA or CPU setting)

JackTorcello
Автор

Error occurred when executing PreviewImage:

'str' object has no attribute 'shape'

MrTeddi
Автор

hi, thank for the great tutorial.
I'm getting an error with onnxruntime when I choose GPU for InsightFace Loader. However with CPU it works fine.
here's the error message :
CUDA_PATH is set but CUDA wasnt able to be loaded. Please install the correct version of CUDA andcuDNN as mentioned in the GPU requirements page, make sure they're in the PATH, and that your GPU is supported.

zhoobinnourian
Автор

Hello Sharvin, I don't know if my comment keeps getting deleted or I can't see it, anyway, I was wondering if you offer pair programming/tutor services. I am looking for 4 hours/twice a week, it would amount to $120/week, but I can negotiate if you are interested. You are an excellent teacher, would love to discuss further.

mehradbayat
Автор

Error occurred when executing ApplyInstantID:'embedding' ==> I'm getting this error message, does anyone know how to fix it?

lilillllii
Автор

Thanks. I ran it, but I keep getting this message "Error occurred when executing LoadImage". What should I do?

lilillllii
Автор

Your the video is the best tutorial out there even better than famous YouTubers. I run into an issue which is the first step ID Contronet Loader won't load even though I have downloaded the models and have the correct path in place (I haven't rename the controlnet models). I couldn't perform the .venv as well. Any advice?

ZakariaNada
Автор

Getting stuck at this
Error occurred when executing InsightFaceLoader_Zho:



File "B:\ComfyUI\execution.py", line 152, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "B:\ComfyUI\execution.py", line 82, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "B:\ComfyUI\execution.py", line 75, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "B:\ComfyUI\custom_nodes\ComfyUI-InstantID-ZHO\InstantIDNode.py", line 71, in load_insight_face_antelopev2
model = FaceAnalysis(name="antelopev2", root=current_directory, providers=[provider + 'ExecutionProvider', ])
File "C:\Users\john_\AppData\Local\Programs\Python\Python310\lib\site-packages\insightface\app\face_analysis.py", line 43, in __init__
assert 'detection' in self.models

JackTorcello
Автор

You do such an amazing job explaning everything! Unfortunely in my case, I ran out of memory on my RTX 3060 12 Gb VRAM. I hope there will be a refined model which will not use such amount of Vram!

danieljfdez
Автор

it is taking like 14gb during generation but at last step causing a 18-19gb vram usage spike. May be its better to wait for official implementation.

PyruxNetworks
Автор

hi i have issue installing artgallery & gemini custom nodes, after installing the comfyui UI not working

satishpillaigamedev
Автор

I got this error when executing the insightface node:
[ONNXRuntimeError] : 7 : INVALID_PROTOBUF : Load model from failed:Protobuf parsing failed.
Have no idea how to fix it.

PeterChen-zxni