ComfyUI IPAdapter (SDXL/SD1.5): Create a Consistent AI Instagram Model

  Рет қаралды 66,203

Data Leveling

Data Leveling

Күн бұрын

Пікірлер: 199
@DataLeveling
@DataLeveling 8 ай бұрын
Dear all, due to the breaking changes in IPAdapter, some of the nodes used here are no longer available. I have updated the workflow to include the changes accordingly and also made some small changes to the workflow. Please download 'V2_ipadapter_face_clothes_controlnet.json' from the workflow link. Thank you!
@giacomo8786
@giacomo8786 6 ай бұрын
where do i update the directory path
@foodseen7824
@foodseen7824 6 ай бұрын
Hello, for this workflow I’m getting the background of the clothes upload instead of the background from my positive prompt… Not sure what to do about it. The clothes portion is coming out great, so much appreciation for that! 🎉
@Lenovicc
@Lenovicc 6 ай бұрын
Hi, I'm loading your workflow version 2 but the following error is appearing: Error occurred when executing IPAdapterTiled: insightface model is required for FaceID models File "F:\Confy\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\Confy\ComfyUI\execution.py", line 81, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\Confy\ComfyUI\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\Confy\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus\IPAdapterPlus.py", line 957, in apply_tiled model, _ = ipadapter_execute(model, ipadapter_model, clip_vision, **ipa_args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\Confy\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus\IPAdapterPlus.py", line 191, in ipadapter_execute raise Exception("insightface model is required for FaceID models")
@johnny2bi4
@johnny2bi4 6 ай бұрын
@@Lenovicc reinstall reactor node
@ProPython
@ProPython 6 ай бұрын
@@johnny2bi4 means?
@paulg4920
@paulg4920 7 ай бұрын
Came from AI Jason, glad I did! Thanks for the great explanations.
@clintslowik6490
@clintslowik6490 9 ай бұрын
Just wanted to comment on how much I appreciate your step by step process and explanations through the video and your help in the comment section! It seems with a number of the other creators in the space they create walk throughs which assume you already know a lot of the necessary setup and steps that novices simply don't know. Keep up the great work!
@DataLeveling
@DataLeveling 9 ай бұрын
Thanks for your kind words! :)
@NiteSeek
@NiteSeek 6 ай бұрын
just gonna say it here, you know you spend to much time in comfyui when you keep trying to click drag the screen up love your content this stuff is a massive help to get things working
@DataLeveling
@DataLeveling 9 ай бұрын
Dear all, I have made a mistake in understanding the attention mask element in the IPAdapter node. I thought it was used to increase the face weight but it was actually used for the positioning of the final output in the image. You could omit the step of masking out the head of the model in the 'Image Preprocessing' step. As for the clothes, you should still keep it only if you want the final output region to be the same as that of the input image.
@RedawNLIVE
@RedawNLIVE 9 ай бұрын
Little bit upset i spent all day installing everything needed just to have errors thrown at me "assertion error this and assertion that.." Also have scrolled through comments and realise that it won't replicate a face i have already created which is a bummer.. Great video dude, you've done well explaining everything and explaining it well. Very patient and precise tut. Hopefully i can get this mess sorted out but for now i'll have to stick with fooocus. Incredible job you've do for us. Thank you!
@DataLeveling
@DataLeveling 9 ай бұрын
Oh no, hope you can solve the errors when you try again :) If you are using a human face that was created by AI, it usually replicates well in terms of likeliness, it only does not perform well if you are looking for a 100% face copy or if we use real photos of ourselves. (Unless you look like a celebrity...)
@RedawNLIVE
@RedawNLIVE 9 ай бұрын
@@DataLeveling Yeah, i'm using one i created with insightfaceswap in discord. So in saying that I'll try figure it out and post the fix just in case anyone else is having the same issue.
@astr010
@astr010 9 ай бұрын
So many good tips I couldn't keep up writing them all down ill be rewatching this for sure.
@brandonc.8443
@brandonc.8443 9 ай бұрын
I was stuck on how to use IPAdappter.. your video really helps me alot! keep up the good work. can't wait for your next drop
@ProzacgodAI
@ProzacgodAI 9 ай бұрын
I created a little workspace save state add-on for comfy UI. You can find it in the comfy UI manager. I called it multi-workspaces because that's what the original intent was, but as it sort of carried on, eventually just became save states. Still working on a concept for multiple work spaces, the idea would be maybe to make them work together and save in the same JSON blob. You should go check it out.
@manojkchauhan
@manojkchauhan 9 ай бұрын
This tutorial is excellent! The instructions provided are crystal clear, and the thorough explanations render it effortlessly comprehensible. Your efforts are truly commendable! 👍
@DataLeveling
@DataLeveling 9 ай бұрын
Thanks for your kind words :)
@YoshNathavutS
@YoshNathavutS 9 ай бұрын
Thanks for this man . how to have exact clothing? also the face from the first checkpoint will completely change when changing to new check point in step 2
@yorkewu9946
@yorkewu9946 6 ай бұрын
I'm glad I found this video, very well explained on the IPadapter workflow. Subscribed to the channel.. btw, love the Singaporean accent :)
@Paulo-ut1li
@Paulo-ut1li 10 ай бұрын
Keep up the good work! Really nice videos! Would love to see a video about InstantID as well.
@DataLeveling
@DataLeveling 10 ай бұрын
Thanks for the encouragement! :)
@kanto1971
@kanto1971 9 ай бұрын
I would love to see you add animatediff to your workflow too. Keep up good work !
@Darquesse-y7k
@Darquesse-y7k 4 ай бұрын
This is the best video I learned
@christianberntsen3856
@christianberntsen3856 4 ай бұрын
Prepare Image For InsightFace is not there, and it looks quite different on my end.
@IrrealKIM
@IrrealKIM 9 ай бұрын
Thank you so much!! I have applied and it works perfectly!
@gaurav4922
@gaurav4922 6 ай бұрын
I am not getting the node prepare image for insightface node….When i try to add this node…I don’t see it in my options what to do
@gainsum
@gainsum 8 ай бұрын
Can't seem to get the clothes portion working but seems like everything else is working perfectly
@jordananderson3395
@jordananderson3395 7 ай бұрын
this guy is the G.O.A.T!
@wagnerfreitas3261
@wagnerfreitas3261 2 ай бұрын
great video, thanks man
@devankgarg646
@devankgarg646 4 ай бұрын
Hey man, thanks for the great tutorial. I was using your workflow but u have removed the masks and some other things, are they necessary or its fine without them as well
@ZhiyuXiao
@ZhiyuXiao 8 ай бұрын
This is so helpful! thank you so much for preparing!!
@TheBestgoku
@TheBestgoku 9 ай бұрын
amazing, can you make a comfy UI guide? i love your voice and style of explanation. PLEASE!-like how to install, how to make flows, how to install plugins, best General settings,etc. PLEASE!
@DataLeveling
@DataLeveling 9 ай бұрын
I will try to fit one in my timeline when I can :) but for now you can refer to this video: kzbin.info/www/bejne/lXSanIVoiat8jpI His explanation is very good.
@TheBestgoku
@TheBestgoku 9 ай бұрын
@@DataLeveling THANKS!
@juncando
@juncando 10 ай бұрын
Thank You. Thank You. Thank You. Latent Vision brought me here.
@ThePandaGuitar
@ThePandaGuitar 5 ай бұрын
amazing video, thank you so much for showing the whole process
@MaddyMF
@MaddyMF 8 ай бұрын
great video, great content, subscribed and liked! easy to follow along, thanks for the awesome content! one question: everything was working fine until i added the pose and now the face is hard to keep consistent. any tips?
@DataLeveling
@DataLeveling 8 ай бұрын
Hi, yes as we add more elements like controlnet / extra ipadapters, the faceid ipadapter would become harder to maintain consistency. Could try lowering the weights of the controlnet / increasing the weights of the faceid ipadapter. Requires a bit of trial and error to find that sweet spot!
@kedixia
@kedixia 9 ай бұрын
Thanks for the video. However, the results are far from desirable for commercial uses mainly because the generated cloth deviate too much from the original. I think a ControlNet Tile inpainting workflow might yield more stable results. But I could be wrong. Thanks again.
@TheBronco1994
@TheBronco1994 6 ай бұрын
Do you have a discord server for the channel/ this topic? I think a lot of people would love it. I’m trying to pursue this right now and most stable diffusion forums hate on you for trying it.
@Fuwabi
@Fuwabi 9 ай бұрын
Han, thank you so much for your videos. They are very helpful and your workflow have help me immensely. I'm trying to see how to improve the upscaling for skin details at 4k and 8k. Could you help me?
@miro2832
@miro2832 9 ай бұрын
Thanks for that! Nice and working workflow with easy explanation :) Do you know, is there a way how to use IPAdapter and create image with not a direct looking face? Something like "looking over her shoulder" or from sice or something like that. When I tried add it to the prompt it always put the direct face there, so it looks like the character has a broken neck completely :(
@wizards-themagicalconcert5048
@wizards-themagicalconcert5048 5 ай бұрын
Fantastic tutorial ,great content and video mate,subbed ! Say,is it possible to use and existing face that I have to generate new faces here ? Any comment would be appreciated !
@Filokalee999
@Filokalee999 7 ай бұрын
Thanks a lot, really helpful! Just a question... why to use a sd15 LoRA on a SDXL workflow? There is ip-adapter-faceid-plusv2_sdxl_lora.safetensors available... (instead using ip-adapter-faceid-plus_sd15_lora.safetensors)?
@DataLeveling
@DataLeveling 7 ай бұрын
Hihi, I only used sd15 lora when I changed the ckpt model to sd15, as this workflow is designed to be able to use sd15/sdxl. So when we use sdxl ckpt, we will use ip-adapter-faceid-plusv2_sdxl_lora.safetensors w sdxl controlnet and when using sd15 ckpt we will use ip-adapter-faceid-plusv2_sd15_lora.safetensors w sd15 controlnet.
@UncleF115
@UncleF115 2 ай бұрын
hi is there a guide how to setup sd model ? the video seems to assume sd already exist
@SixthHistory
@SixthHistory 8 ай бұрын
thanks for the tutorial. 1 problem I encoutered was controlnet. IpAdaptor works fine to keep the face consistant. But once i connected controlnet, the face changed into a very different generic one. I tried to use the same workflow you uploaded. Does it have anything to do with the aspect ratio of the controlnet source image? or the controlnet model?
@kyudechama
@kyudechama 9 ай бұрын
Your tutorial is awesome - could you tell us what specs you are running this on? like cpu, gpu and ram? Thanks a lot!!
@DataLeveling
@DataLeveling 9 ай бұрын
Hi, sure thing, my specs are the following: 24GB vram, 24core cpu, 32GB ram.
@kyudechama
@kyudechama 9 ай бұрын
@@DataLeveling thanks!
@Hana-dz4cu
@Hana-dz4cu 9 ай бұрын
Thank you so much, this is a great video tutorial
@UncleF115
@UncleF115 2 ай бұрын
can i know is it only the first step face generation use SD or all the steps use SD model? i wonder can i use a uploaded face to run the workflow where i dont have a SD model running locally as the hw requirement is high.
@TimothyLemon1237
@TimothyLemon1237 9 ай бұрын
Thank you so much for leveling up my game
@CrackHowto
@CrackHowto 9 ай бұрын
Thanks for sharing this! Really interesting stuff. How do you keep the body shape consistent?
@DataLeveling
@DataLeveling 9 ай бұрын
Hi, if you are using the IPAdapter clothes one, the produced output usually follows the shape of the model. You could also use other controlnet models like DensePose to control the body shape of the final output.
@jnevercast
@jnevercast 9 ай бұрын
Excellent video! Thank you
@ashleygohsh
@ashleygohsh 9 ай бұрын
Amazing content! Keep it up 💪🏻
@maxfxgr
@maxfxgr 9 ай бұрын
Perfect video :) Great pace!
@w.m3712
@w.m3712 3 ай бұрын
When i type winter, cafe in the prompt, it only gives me a coffee shop but no human in it. Curious to know why it works in your case ? I'm on arm architecture (M2)
@w.m3712
@w.m3712 3 ай бұрын
Found the problem: I used an attention mask with a full body. Removing it seemed to have corrected the problem
@zpapipoi3578
@zpapipoi3578 6 ай бұрын
why i dont have prepare image for insightface
@Adkinsy85
@Adkinsy85 5 ай бұрын
Thankyou so much ❤
@HumbertoGonzalez-m9c
@HumbertoGonzalez-m9c 9 ай бұрын
This is Gold! I have a doubt, I have seen a lot of consistent face tutorials, but what about a consistent background? is it possible? like, the same background with the model in different poses.
@DataLeveling
@DataLeveling 9 ай бұрын
Hi, I think if you want a fixed background, you could use a background image as the latent image and only allow inpainting to the masked area of that image.
@HumbertoGonzalez-m9c
@HumbertoGonzalez-m9c 9 ай бұрын
That make sense! thank you@@DataLeveling
@Prince.Dhankhar
@Prince.Dhankhar 7 ай бұрын
@@DataLeveling I want to improve consistency of clothes, Can you please suggest what shall I do. I can inpaint face later but importance of copying clothes exactly is priority for me.
@DataLeveling
@DataLeveling 7 ай бұрын
@@Prince.Dhankhar Hi, I have not made a video on this yet, but you could try this out on your own first :) There is a project called OOTDiffusion that might be what you are looking for. The ComfyUI implementation is here: github.com/AuroBit/ComfyUI-OOTDiffusion It would be better to install this manually instead of ComfyUI Manager as you will have to perform a branch switch from the repository. The steps can be found here: github.com/AuroBit/ComfyUI-OOTDiffusion/issues/27
@moradsemmar3657
@moradsemmar3657 7 ай бұрын
hello i need help i cant find Prepare Image For InsightFace on confy interface
@wiltrunks1740
@wiltrunks1740 7 ай бұрын
Hi, do i just import my own clothes image into your new ipv2 workflow and dont require to mask like you do in the video? and the settings and presets are already selected by you right? thanks !
@KodandocomFaria
@KodandocomFaria 9 ай бұрын
Perhaps training a diffusion model in the same way that Amazon did to change the entire outfit without altering the details could help with this process. Are you able to training a model like that just by reading the paper they made available?
@DataLeveling
@DataLeveling 9 ай бұрын
I have not seen the paper yet, but it sounds like what they are doing is inpainting, a slightly different process from what I am doing with IPAdapter.
@KodandocomFaria
@KodandocomFaria 9 ай бұрын
@@DataLeveling Diffuse to Choose: Enriching Image Conditioned Inpainting in Latent Diffusion Models for Virtual Try-All. It is the article name on hugging face. I'm trying to search for a code to see if it is possible to do the same on comfy ui
@bioboi4438
@bioboi4438 5 ай бұрын
I cant do anything with IPAdapters, keep getting error after error and I've done everything, made sure models are in the right directory, made sure to use sdxl ipadapter models for sdxl models, there just seems to be nothing I can do; can anyone help. (Error while deserializing header: MetadataIncompleteBuffer)
@gwcstudio
@gwcstudio Ай бұрын
Usually to debug errors I search google for the error message and my platform to see if there are any fixes posted on reddit or one of the other AI hangouts
@CornPMV
@CornPMV 6 ай бұрын
Error occurred when executing IPAdapterTiled: insightface model is required for FaceID models; -> Maybe because the IPAdapterTiled not does not have insightfacemodel docker like in the IPAdapter FaceID?
@nirajchauhan960
@nirajchauhan960 6 ай бұрын
how to fix extra finger also in this workflow??
@Cainra11
@Cainra11 6 ай бұрын
Hello I installed ComfyUI InsightFace but, it doesn't show '' Prepare Image for InsightFace'' in the options how to fix?
@gaurav4922
@gaurav4922 6 ай бұрын
I am having a problem . when I try to add a new node "prepare image for insightface" i am not getting this node. I watched your video of 2min on insightface wheel.. did the installation .. Restarted comfyUI but still not getting the insight face node
@sudabadri7051
@sudabadri7051 10 ай бұрын
great video! thanks
@alekmoth
@alekmoth 9 ай бұрын
how much of a image generation cost in terms of s/it or it/s should one expect to see from this? I am taking minutes to generate images with this flow when I can do "normal" generations in seconds.
@DataLeveling
@DataLeveling 9 ай бұрын
Mine takes around 90s for initial load, but subsequent regeneration is around 10s I believe. My specs are the following: 24GB vram, 24core cpu, 32GB ram
@ganknujnal
@ganknujnal 7 ай бұрын
Hi Han, thanks for the video! I received the following message at IPAdapter FaceID, Error occurred when executing IPAdapterFaceID: expected scalar type Float but found Half File "D:\ComfyUI_windows_portable\ComfyUI\execution.py", line 153, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) May I know how to resolve this?
@duplicatemate7843
@duplicatemate7843 9 ай бұрын
can you do a video about sparse control using IPadapter face ID pls. im trying that now but not sure why my vids generated are orange in color 😭
@DataLeveling
@DataLeveling 9 ай бұрын
Will do a few vids on AnimateDiff soon!
@타오바오-h8l
@타오바오-h8l 9 ай бұрын
Thanks. Is there any way to copy the facial expression to a specific photo?
@DataLeveling
@DataLeveling 9 ай бұрын
Hi, you could try to chain up 3-5 images of the human in different facial expressions in a batch for the IPAdapter (using their new portrait model), then the facial expression in the output can be more flexible when using the prompt.
@niiaco
@niiaco 7 ай бұрын
When loading the graph, the following node types were not found: InsightFaceLoader IPAdapterApply PrepImageForInsightFace IPAdapterApplyFaceID Nodes that have failed to load will show as red on the graph.
@DataLeveling
@DataLeveling 7 ай бұрын
Hi, yes please download the workflow with 'V2' in the filename :)
@omerksa3357
@omerksa3357 6 ай бұрын
why do i get NO MODULE GOOGLE error on the ipadapter step. Can you help me?
@Ben-et8wh
@Ben-et8wh 10 ай бұрын
I love this workflow, but I'm now trying it with a picture of myself, so I have bypassed the get face, and just uploaded a picture of myself into the "image preprocessing" area, also bypassed the clothing and control net, and can't get the result to look like me, it's not matching my face very well, at all. I know sometimes AI faces are much easier to duplicate, is that just the case here? or any hints otherwise?
@DataLeveling
@DataLeveling 9 ай бұрын
Hi, yes I believe that might be a limitation, as these models are trained on celebrity/human dataset faces and if your face is too different from those datasets, it will only guide the model to its closest approximation. I have also tested with their latest Portrait model and it is slightly better but still far from satisfactory. If you want your face in the images, maybe can try to create the vision you have of your image, then use reactor face swap to swap it in and upscale the image. This method gave me the best results out of all that involves my own face.
@victorfrankenstain4444
@victorfrankenstain4444 6 ай бұрын
@DataLeveling Hello, I've downloaded the V2 ipadapter workflow you've provided in the description. But I'm getting error in Ksampler. And getting memory error. Can your please help me out on this?
@lilillllii246
@lilillllii246 9 ай бұрын
Thanks. how can I change the background to a photo background file of my choice instead of changing the background with a prompt?
@DataLeveling
@DataLeveling 9 ай бұрын
Hi, yes you can do that with another ipadapter for the background, you can check out an example from this video: kzbin.info/www/bejne/rKKqYomOgNmYh8k
@itsmenord1993
@itsmenord1993 9 ай бұрын
Is gpu 16gb ram like 4080 enough for this kind of work or sdxl?
@DataLeveling
@DataLeveling 9 ай бұрын
Should be enough if you do not have many heavy graphics running on the background. Mine is 24gb but it utilizes 30% from background and goes up to 80% when running the workflow, so the usage is estimated to be around 10-12gb vram on sdxl.
@itsmenord1993
@itsmenord1993 9 ай бұрын
Thank you for reply@@DataLeveling
@xevenau
@xevenau 8 ай бұрын
How well does this do with cartoons and anime?
@DataLeveling
@DataLeveling 8 ай бұрын
Works even better!
@Dingusthegreater
@Dingusthegreater 9 ай бұрын
This video is great! I'm having a problem though. I cant get a full body shot and there is always some kind of object blocking her at the base of the generation, sort of like shes hiding behind it. any thoughts? I'm using sdxl.
@DataLeveling
@DataLeveling 9 ай бұрын
Hi, the secret lies in the IPAdapter clothes, if you use a full body fashion model picture and mask the entire body, and add 'full body shot' to the prompt with a portrait aspect ratio, it will work! However, do note that for full body shots, changing the pose is a little bit challenging to maintain the clothing style.
@Dingusthegreater
@Dingusthegreater 9 ай бұрын
@@DataLeveling thanks. i was bypassing the clothing part, but i'll trying using it
@dcrey7
@dcrey7 6 ай бұрын
Hi all, (IMPORT FAILED) UltimateSDUpscale im facing this issue and tried , installing it again , reinstalling , tried fix . Its not installing still. do let me know how to fix this. thanks in advance
@cXrisp
@cXrisp 4 ай бұрын
Thanks for the video -- good information, but please don't leave the same music loop repeating over and over and over even while you are talking. It became too annoying to continue concentrating on what you were saying with that tick, tick, tick, under your voice.
@IAMCORNHOLIOINEEDTP
@IAMCORNHOLIOINEEDTP 4 ай бұрын
nearly crying because of this, so hard to follow ..
@offmybach
@offmybach 9 ай бұрын
How can we use the workflow to segment the face and the clothed body of another and combine the 2?
@DataLeveling
@DataLeveling 9 ай бұрын
Hi, I'm not sure I understand your question correctly, do you mean to inpaint a segment of a face from A and merge it with a body of B OR use A face in faceid and B body in ipadapter.
@offmybach
@offmybach 9 ай бұрын
@DataLeveling the latter
@DataLeveling
@DataLeveling 9 ай бұрын
@@offmybach If its the latter, then when using the workflow, take the picture of B, mask the head region and send it to the ipadapter faceid attn mask. And for the B's ipadapter, only mask the body region and send it to the ipadapter attn mask. Hope this helps!
@caramelizedtofu3079
@caramelizedtofu3079 9 ай бұрын
Hello! After following the tutorials from your videos, i can't seem to find the ipadapter in the add node part. Should i paste the checkpoints, loras, ipadapter files on the different model folder you indicated on your past video (separate from the original models folder)?
@DataLeveling
@DataLeveling 9 ай бұрын
Hi, if you don't see the ipadapter nodes after installing it from the ComfyUI Manager,you have to restart your ComfyUI and it should be there. You should use the default models folder if you are not sharing the models across different UIs. :)
@sadikrizvi6468
@sadikrizvi6468 7 ай бұрын
hello sir, i am not able to find 'prep for insightface' menu in ipadapter menu of add node ? whereas i installed insightface from your previous video which you said to follow before starting this. PLZ HELP . 🙏
@DataLeveling
@DataLeveling 7 ай бұрын
Hi sir, yes the dev removed it from the repository in the breaking update. It would work just fine without it if your face is in the center of the image :) All that node does is add a white padding and crop center to the image.
@sadikrizvi6468
@sadikrizvi6468 7 ай бұрын
@@DataLeveling Sir im getting this error while in Clip Vision loader node : Error occurred when executing CLIPVisionLoader: 'NoneType' object has no attribute 'lower' File "D:\Work Space\AI Art Generator\ComfyUI_windows_portable\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Work Space\AI Art Generator\ComfyUI_windows_portable\ComfyUI\execution.py", line 81, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Work Space\AI Art Generator\ComfyUI_windows_portable\ComfyUI\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Work Space\AI Art Generator\ComfyUI_windows_portable\ComfyUI odes.py", line 865, in load_clip clip_vision = comfy.clip_vision.load(clip_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Work Space\AI Art Generator\ComfyUI_windows_portable\ComfyUI\comfy\clip_vision.py", line 113, in load sd = load_torch_file(ckpt_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Work Space\AI Art Generator\ComfyUI_windows_portable\ComfyUI\comfy\utils.py", line 13, in load_torch_file if ckpt.lower().endswith(".safetensors"):
@DataLeveling
@DataLeveling 7 ай бұрын
@@sadikrizvi6468 Hey sorry for the late response, it seems to be an error where your clip vision model is not detected correctly, make sure to choose the right clip vision :)
@poppct4524
@poppct4524 7 ай бұрын
can anyone help me I got this error : Sampler : have the same dtype, but got query.dtype: float key.dtype: struct c10::Half and value.dtype: struct c10::Half instead.
@yngeneer
@yngeneer 9 ай бұрын
hello there, first thank you for your work. In your video description you posted alink to 'vit_H' model at 'h94> IP-Adapter>models>image_encoder>model.safetensors - my question is, where to put and apply this model? the only models with 'vit_H' in your workflow I see 1 - ip-adapter-plus-face_sdxl_vit-h and 2 - CLIP-ViT-H-14-laion2B-s32B-b79K -> which both are different from it, so I am a little bit confused. Can you please help me figure out this mess?
@DataLeveling
@DataLeveling 9 ай бұрын
Hi, no problem. The vit_h model in my description is to be placed in the models/clip_vision folder. I did not mention that as in the video, I used the comfyUI manager to install that model and it will be automatically placed there. The vit_h model in my description is the same as CLIP-ViT-H-14-laion2B-s32B-b79K. As for 'ip-adapter-plus-face_sdxl_vit-h', the model is to be placed in the models/ipadapter folder.
@yngeneer
@yngeneer 9 ай бұрын
@@DataLeveling Thank you. Allthought I have comfy manager, still I rather download and place all models (just models, not nodes) manualy from HF... my bad habit, so.. thank you again!
@KDashHoward
@KDashHoward 10 ай бұрын
It’s super cool thank you!! But im still facing an issue tho, i can't see " Load InsightFace " node from the insightface module of the " Apply IPadapter FaceID " and im running on python 3.10.11. If anyone got an update or solution i'd HIGHLY appreciate, thanks a lot!
@DataLeveling
@DataLeveling 10 ай бұрын
Hello, could you try to update both ComfyUI and IPAdapter to the latest version from the ComfyUI manager. If you are not using the manager, then run update_comfyui.bat and for IPAdapter, go to custom_nodes/ComfyUI_IPAdapter_plus, right click a blank area, select 'Open In Terminal' -> 'git pull' Hope this helps!
@ist1jano
@ist1jano 9 ай бұрын
Thanks for the video. Is it possible to put the exact same dress and not "redream" it?
@DataLeveling
@DataLeveling 9 ай бұрын
You can try that by masking the dress, invert the mask to select everything but the dress, use that inverted mask as the latent image then sample it with a face you want. If the image looks okay, then use controlnet to change the pose on a separate sampling, but this will take more steps and requires a lot of trial and error.
@LinhTran-su8dy
@LinhTran-su8dy 7 ай бұрын
I cant find note name "prepare image for insightface"? why? i just see "prep image for clipvison"
@DataLeveling
@DataLeveling 7 ай бұрын
Hi, yes that node has been removed by the developer of IPAdapter. I have updated with a V2 workflow if you are using the newer versions of IPAdapter.
@arkelss4
@arkelss4 9 ай бұрын
Can this be combined with your newest video load images from batch so , I have a variety of posses or a varity of outfits or a variety of faces or possibly I can do 2 or maybe more of above in one workflow
@DataLeveling
@DataLeveling 9 ай бұрын
We could, but to a certain extent as IPAdapter accepts batches of images differently, if you want to iterate through a variety of faces, have to use the ImageList. I have tried with Variety of poses + Either Variety of Faces or Outfits, could only choose 1 else your vram will explode haha.
@arkelss4
@arkelss4 9 ай бұрын
@@DataLeveling thanks for the response was thinking about over night generation or bulk batch of mupitle influences in mupitle posses backgrounds or Mupitle faces & outfits, each face will have 5 or more mupitle generation per a face No need to respond
@BrunoBissig
@BrunoBissig 9 ай бұрын
Hi Data Leveling. I work on colab, have fixed the insightface-issue, but i am struggeling on that: Error occurred when executing IPAdapterApplyFaceID: mat1 and mat2 shapes cannot be multiplied (257x1664 and 1280x2048). Ive changed the dimensions several times and also the checkpoint-models, but with no results. Do you have any suggestion on that? Thanks Bruno
@DataLeveling
@DataLeveling 9 ай бұрын
Hi Bruno, could you send a link to a picture of your workflow, maybe I can help to take a look and see where went wrong.
@BrunoBissig
@BrunoBissig 9 ай бұрын
@@DataLeveling Hi Data Leveling. I got it to work finaly, it was the wrong controlnet model, now with control-lora-openposeXL2-rank256.safetensors it works! Thank you.
@MrDonald911
@MrDonald911 9 ай бұрын
Which GPU are you using ? I have an RTX 2060 ( 6GB VRAM) and I'm getting an Out of Memory issue once I add the IpAdapter Clothes and I run it. Any ideas on how to solve this ? Thanks
@DataLeveling
@DataLeveling 9 ай бұрын
Hi, I am using a RTX 4090 (32GB VRAM). 6GB VRAM might not be sufficient for SDXL, maybe could try using the 1.5 versions. For the clothes, if the image is too big, you might want to downscale it to 520 pixels using the UpscaleImage node.
@MrDonald911
@MrDonald911 9 ай бұрын
@@DataLevelingThanks for the reply. SDXL can run fine on my GPU it's just adding multiple IPAdapeter nodes that loads a lot of RAM on my GPU. Do you know any way to counter that ? Everything before the Clothes part worked just fine.
@DataLeveling
@DataLeveling 9 ай бұрын
@@MrDonald911 I see, alternatively, you could run once to get the face in a model. Then run again but this time we use inpainting, load that image as the latent for the sampler while only masking the body region and bypass the faceid nodes. Also remember to send the masked photo to the Apply IPAdapter node attn mask. Hope that helps!
@heinifalk809
@heinifalk809 9 ай бұрын
Hi. When I try to import your workflow it just does nothing. Not to sure if the workflow is working as intended
@DataLeveling
@DataLeveling 9 ай бұрын
Hi, yes I have seen another with the same issue when loading my workflow, but it works for majority of others. I am guessing it is perhaps a ComfyUI / ComfyUI Manager ver difference, could you try updating it to the latest version? (I have tried loading my workflow from a laptop and it works)
@KINGLIFERISM
@KINGLIFERISM 9 ай бұрын
I am so confused. When you cover something with the mask I was under the impression that means you do NOT want that to be used. Example for your jacket. If you masked the jacket in black that means you do not want the jacket. (I am asking). That lost me. To make it worse I was doing the opposite and it was working.
@DataLeveling
@DataLeveling 9 ай бұрын
Hi, for IPAdapters and most functions, if you mask the area it means you want only that portion to be used. If want everything except for the masked area, then you could use an invert mask node to reverse it and feed the inverted mask. I think what happened on your end may be due to the text prompts or other factors. You can learn more about attention masking from this video: kzbin.info/www/bejne/rKKqYomOgNmYh8k
@cemal6950
@cemal6950 9 ай бұрын
i think u are misunderstood the attention masking, masking the face of the woman on the beggining is meaningless.@@DataLeveling
@DataLeveling
@DataLeveling 9 ай бұрын
Agreed, since the face is already cropped nicely. @@cemal6950
@cemal6950
@cemal6950 9 ай бұрын
@@DataLeveling actually, it does not masking the face, insightface is doing it, masking is for the image that u will generate, it is defining where the ip adapter would apply at generated img
@DataLeveling
@DataLeveling 9 ай бұрын
OHHH damn, I always thought the masked region would give more weight to the model because of the attention keyword, will clarify that in a pinned comment. Thanks a lot for clarifying! :) @@cemal6950
@lilillllii246
@lilillllii246 9 ай бұрын
Error occurred when executing KSampler: mat1 and mat2 shapes cannot be multiplied (462x2048 and 768x320)~~~ I ran exactly the same as you, and got this message from the sampling - ksampler side.
@DataLeveling
@DataLeveling 9 ай бұрын
Hi, make sure the controlnet model version you use is same as your checkpoint model version. That error usually means one is using sd1.5 and one is using sdxl.
@lilillllii246
@lilillllii246 9 ай бұрын
@@DataLeveling checkpoint-Juggernaut XL v7 /ip-adapter-faceid-plusv2_sdxl.bin , plusface_sdxl_vit-h.safetensors/ Error occurred when executing IPAdapterModelLoader: PytorchStreamReader failed reading zip archive: failed finding central directory This time, we get this error messageI have the exact same settings as you in the video, but it's not working.I'm running GoogleColab and Google Drive together.
@DataLeveling
@DataLeveling 9 ай бұрын
@@lilillllii246 Hmm I have never seen this error message before, but you could try this solution: stackoverflow.com/questions/71617570/pytorchstreamreader-failed-reading-zip-archive-failed-finding-central-directory
@FiejaMatteo
@FiejaMatteo 9 ай бұрын
Hey man, i run to this error when i try to use ip adapter with sdxl ( Error occurred when executing IPAdapterApply: Error(s) in loading state_dict for ImageProjModel: copying a param with shape torch.Size([8192, 1024]) from checkpoint, the shape in current model is torch.Size([5120, 1024]) ) i have tried with both sd1.5 and sdxl encoder, same error. Love your videos btw
@ziyuebuke
@ziyuebuke 9 ай бұрын
i have same error, you are fix it ?
@FiejaMatteo
@FiejaMatteo 9 ай бұрын
@@ziyuebuke not yet
@Jote_09
@Jote_09 7 ай бұрын
6:23 prepare image for insight face doesnt appear for me
@DataLeveling
@DataLeveling 7 ай бұрын
Hi, yes unfortunately the dev removed the node from the repository. It should work just fine too if your face is cropped nicely at the center of the image.
@matyourin
@matyourin 9 ай бұрын
Hm this looks really useful... i downloaded the json file from github, dragdrop it into comfyui and nothing happens? What am I doing wrong?
@DataLeveling
@DataLeveling 9 ай бұрын
For JSON file you have to load it from the menus tab.
@matyourin
@matyourin 9 ай бұрын
@@DataLeveling really? I always just drag dropped them into the comfyui Browser Tab and that worked...
@DataLeveling
@DataLeveling 9 ай бұрын
@@matyourin my bad, I thought that shortcut only worked for embed images. Does loading it manually works for you?
@matyourin
@matyourin 9 ай бұрын
sadly it didnt... i clicked on "load" and then on the downloaded json file, nothing appears... maybe i downloaded it wrong? I went to the link below this video on github and saved the json file there into my comfyuiportable folder as "somename.json" @@DataLeveling
@matyourin
@matyourin 9 ай бұрын
loading it via menu didnt work either... i think i will just have to manually replicate what you did in the video. it is weird though... first time I have had this issue... @@DataLeveling
@cercetas1878
@cercetas1878 9 ай бұрын
As someone who works daily with AI and SD image generation processes like you, would you say this method is like the current state of the art in creating consistent AI characters, while controlling their pose and clothing? Is there also a method to get a consistent location/ environment for the character? Thanks btw, this is the best comfyui tutorial video I have watched for the topic addressed, keep up the good work!
@DataLeveling
@DataLeveling 9 ай бұрын
As for creating a consistent face, all the methods are claiming to be sota with comparisons using different metrics so its a little bit hard to say which is the best, but if not looking for 1-1 copy, this would be one of the best method. For the location and environment, you could use another ipadapter node for the image while masking out the already generated character (face, clothes, pose) with inpainting.
@googleyoutubechannel8554
@googleyoutubechannel8554 10 ай бұрын
Hard to tell from your comfyi UI video, but IPAdapter based face transfer looks a lot more like a head cut/paste job in photoshop (wrong size head, lighting not transfer correctly) than it does an actual photo, or even a generative image?
@DataLeveling
@DataLeveling 10 ай бұрын
Hii haha does the head size looks weird to you? It looks okay to me! Maybe only for those that uses DWpose estimation, the head looks a little off as my controlnet reference image is too zoomed in, should have cropped more parts of the body. For the lightning, I think it could be tuned further with using precise text prompts as I am using a simple one for a base line demo :)
@consig1iere294
@consig1iere294 9 ай бұрын
I am getting "No module named insightface" error with the Load InsightFace node. Please help.
@Snop4ik007
@Snop4ik007 Ай бұрын
Do you solve your problem?
@ukaszgwizdaa5712
@ukaszgwizdaa5712 9 ай бұрын
i downlaod your workflow for example and it not working, You know what i'm doing wrong? I can't open it in window comfyUI SD 1.5 A1111
@DataLeveling
@DataLeveling 9 ай бұрын
Hi, I'm not sure the reason but you may have to update your ComfyUI to latest version.
@ukaszgwizdaa5712
@ukaszgwizdaa5712 9 ай бұрын
​@@DataLevelingI did that before I asked :). All files on your disk do not open :/ i try another PC and come back with feedback
@DataLeveling
@DataLeveling 9 ай бұрын
@@ukaszgwizdaa5712 Previously there was also another comment with the same issue but we couldn't fix it.. not too sure what went wrong either. I just tried on my laptop and it loads up properly..
@irritateinsaangaming9340
@irritateinsaangaming9340 5 ай бұрын
I am getting an error message of load clip vision and i don't know what to do please help me Edit- after doing so much research i saw that I haven't put any clip vision file in it 😂😂
@jianntest
@jianntest 5 ай бұрын
how to change the clothes
@jianntest
@jianntest 5 ай бұрын
Specified clothing
@rangorts
@rangorts 9 ай бұрын
can this be done in a1111
@DataLeveling
@DataLeveling 9 ай бұрын
Hi I'm not too sure, haven't really tested out IPAdapter in a1111.
@桥风
@桥风 9 ай бұрын
INFO: InsightFace detection resolution lowered to (512, 512). ERROR:root:!!! Exception during processing !!! ERROR:root:Traceback (most recent call last): File "F:\ComfyUI_windows_portable\ComfyUI\execution.py", line 155, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\ComfyUI_windows_portable\ComfyUI\execution.py", line 85, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\ComfyUI_windows_portable\ComfyUI\execution.py", line 78, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus\IPAdapterPlus.py", line 636, in apply_ipadapter self.ipadapter = IPAdapter( ^^^^^^^^^^ File "F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus\IPAdapterPlus.py", line 272, in __init__ self.image_proj_model.load_state_dict(ipadapter_model["image_proj"]) File "F:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch n\modules\module.py", line 2152, in load_state_dict raise RuntimeError('Error(s) in loading state_dict for {}: \t{}'.format( RuntimeError: Error(s) in loading state_dict for ProjModelFaceIdPlus: size mismatch for proj.2.weight: copying a param with shape torch.Size([8192, 1024]) from checkpoint, the shape in current model is torch.Size([5120, 1024]). size mismatch for proj.2.bias: copying a param with shape torch.Size([8192]) from checkpoint, the shape in current model is torch.Size([5120]). size mismatch for norm.weight: copying a param with shape torch.Size([2048]) from checkpoint, the shape in current model is torch.Size([1280]). size mismatch for norm.bias: copying a param with shape torch.Size([2048]) from checkpoint, the shape in current model is torch.Size([1280]). size mismatch for perceiver_resampler.proj_in.weight: copying a param with shape torch.Size([2048, 1280]) from checkpoint, the shape in current model is torch.Size([1280, 1280]). size mismatch for perceiver_resampler.proj_in.bias: copying a param with shape torch.Size([2048]) from checkpoint, the shape in current model is torch.Size([1280]). size mismatch for perceiver_resampler.proj_out.weight: copying a param with shape torch.Size([2048, 2048]) from checkpoint, the shape in current model is torch.Size([1280, 1280]). size mismatch for perceiver_resampler.proj_out.bias: copying a param with shape torch.Size([2048]) from checkpoint, the shape in current model is torch.Size([1280]). size mismatch for perceiver_resampler.norm_out.weight: copying a param with shape torch.Size([2048]) from checkpoint, the shape in current model is torch.Size([1280]). size mismatch for perceiver_resampler.norm_out.bias: copying a param with shape torch.Size([2048]) from checkpoint, the shape in current model is torch.Size([1280]). size mismatch for perceiver_resampler.layers.0.0.norm1.weight: copying a param with shape torch.Size([2048]) from checkpoint, the shape in current model is torch.Size([1280]). size mismatch for perceiver_resampler.layers.0.0.norm1.bias: copying a param with shape torch.Size([2048]) from checkpoint, the shape in current model is torch.Size([1280]). size mismatch for perceiver_resampler.layers.0.0.norm2.weight: copying a param with shape torch.Size([2048]) from checkpoint, the shape in current model is torch.Size([1280]). size mismatch for perceiver_resampler.layers.0.0.norm2.bias: copying a param with shape torch.Size([2048]) from checkpoint, the shape in current model is torch.Size([1280]). size mismatch for perceiver_resampler.layers.0.0.to_q.weight: copying a param with shape torch.Size([2048, 2048]) from checkpoint, the shape in current model is torch.Size([1280, 1280]). size mismatch for perceiver_resampler.layers.0.0.to_kv.weight: copying a param with shape torch.Size([4096, 2048]) from checkpoint, the shape in current model is torch.Size([2560, 1280]). size mismatch for perceiver_resampler.layers.0.0.to_out.weight: copying a param with shape torch.Size([2048, 2048]) from checkpoint, the shape in current model is torch.Size([1280, 1280]). size mismatch for perceiver_resampler.layers.0.1.0.weight: copying a param with shape torch.Size([2048]) from checkpoint, the shape in current model is torch.Size([1280]). size mismatch for perceiver_resampler.layers.0.1.0.bias: copying a param with shape torch.Size([2048]) from checkpoint, the shape in current model is torch.Size([1280]). size mismatch for perceiver_resampler.layers.0.1.1.weight: copying a param with shape torch.Size([8192, 2048]) from checkpoint, the shape in current model is torch.Size([5120, 1280]). size mismatch for perceiver_resampler.layers.0.1.3.weight: copying a param with shape torch.Size([2048, 8192]) from checkpoint, the shape in current model is torch.Size([1280, 5120]). Hello, the above error occurred. I changed the Load lPAdapter Model to ip-adapter-faceid-plusv2_sd15.bin. It worked. What is ip-adapter-faceid-plusv2_sdxl.bin Cannot run?
@DataLeveling
@DataLeveling 9 ай бұрын
I can't be sure, but I think some model mismatch happened between SDXL and SD1.5. Just make sure to check that if you are using SD1.5, these must also use the 1.5 version: 1. checkpoint model 2. lora model 3. ipadapter faceid 4. ipadapter 5. controlnet model And if you want to switch to SDXL, all of the above have to changed to SDXL version as well.
@duplicatemate7843
@duplicatemate7843 10 ай бұрын
r u from sg brother? 😂
@DataLeveling
@DataLeveling 10 ай бұрын
Yes brother I'm from sg
@algorhythm_mp
@algorhythm_mp 8 ай бұрын
Hi there! I`m trying to follow your guide here but I can't find anywhere the following nodes: - InsightFaceLoader - IPAdapterApply - PrepImageForInsightFace - IPAdapterApplyFaceID What am I missing?
@DataLeveling
@DataLeveling 8 ай бұрын
Hi, yes there is a breaking update in the IPAdapter custom nodes just yesterday... I am still working on making changes to my workflow and will probably make a follow up video on it. You could check out this video to see the update changes: kzbin.info/www/bejne/lXvddZadgMyanrs
@DataLeveling
@DataLeveling 8 ай бұрын
I have updated the workflow accordingly to the new IPAdapter version, please download the V2 workflow to see the new nodes changes. :)
@JayPatel-hm6vb
@JayPatel-hm6vb 9 ай бұрын
can anyone please help me with this error in comfyui Error occurred when executing InsightFaceLoader: module 'cv2.gapi.wip.draw' has no attribute 'Text' i tried reinstalling opencv-python and opencv-contribe but still get same error
@gamearc5903
@gamearc5903 9 ай бұрын
Error occurred when executing IPAdapterApply: InsightFace must be provided for FaceID models. File "D:\ComfyUI_windows_portable\ComfyUI\execution.py", line 152, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\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 "D:\ComfyUI_windows_portable\ComfyUI\execution.py", line 75, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus\IPAdapterPlus.py", line 698, in apply_ipadapter raise Exception('InsightFace must be provided for FaceID models.')
@DataLeveling
@DataLeveling 9 ай бұрын
Hi, the model names with faceid have to go to apply ipadapter faceid node and those without goes to apply ipadapter node.
@kyudechama
@kyudechama 9 ай бұрын
So I did everything to install, however I get this error message, even though "pip list" shows that InsightFace is installed. Error occurred when executing InsightFaceLoader: No module named 'insightface' File "C:\dev\StableDiffusion\ComfyUI_windows_portable\ComfyUI\execution.py", line 152, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\dev\StableDiffusion\ComfyUI_windows_portable\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 "C:\dev\StableDiffusion\ComfyUI_windows_portable\ComfyUI\execution.py", line 75, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\dev\StableDiffusion\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus\IPAdapterPlus.py", line 627, in load_insight_face raise Exception(e)
@kyudechama
@kyudechama 9 ай бұрын
I did fix it by installing it for the embedded python and not on my local python version
@petpo-ev1yd
@petpo-ev1yd 8 ай бұрын
an error:Error occurred when executing IPAdapterApplyFaceID: Error(s) in loading state_dict for ProjModelFaceIdPlus: size mismatch for proj.2.weight: copying a param with shape torch.Size([8192, 1024]) from checkpoint, the shape in current model is torch.Size([5120, 1024]). size mismatch for proj.2.bias: copying a param with shape torch.Size([8192]) from checkpoint, the shape in current model is torch.Size([5120]). size mismatch for norm.weight: copying a param with shape torch.Size([2048]) from checkpoint, the shape in current model is torch.Size([1280]). size mismatch for norm.bias: copying a param with shape torch.Size([2048]) from checkpoint, the shape in current model is torch.Size([1280]). size mismatch for perceiver_resampler.proj_in.weight: copying a param with shape torch.Size([2048, 1280]) from checkpoint, the shape in current model is torch.Size([1280, 1280]).
@DataLeveling
@DataLeveling 8 ай бұрын
Hi, this error usually occurs when the controlnet model is not in the right version. If you are running on SDXL, make sure the controlnet you are using is also the SDXL version.
@petpo-ev1yd
@petpo-ev1yd 8 ай бұрын
@@DataLeveling got it, it's worked well,thanks,but there's another problem: Error occurred when executing GroundingDinoModelLoader (segment anything): File "F:\Blender_ComfyUI\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "F:\Blender_ComfyUI\ComfyUI\execution.py", line 81, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "F:\Blender_ComfyUI\ComfyUI\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) File "F:\Blender_ComfyUI\ComfyUI\custom_nodes\comfyui_segment_anything ode.py", line 286, in main dino_model = load_groundingdino_model(model_name) File "F:\Blender_ComfyUI\ComfyUI\custom_nodes\comfyui_segment_anything ode.py", line 117, in load_groundingdino_model get_local_filepath( File "F:\Blender_ComfyUI\ComfyUI\custom_nodes\comfyui_segment_anything ode.py", line 111, in get_local_filepath download_url_to_file(url, destination) File "F:\Blender_ComfyUI\python_embeded\lib\site-packages\torch\hub.py", line 620, in download_url_to_file u = urlopen(req)
@DataLeveling
@DataLeveling 8 ай бұрын
@@petpo-ev1ydhmm it seems to be having an error in the custom node: comfyui_segment_anything, I don't use that one so I can't really advise on it :/
@petpo-ev1yd
@petpo-ev1yd 8 ай бұрын
@@DataLeveling Thanks, I'll Try to solve it
Master AI image generation - ComfyUI full tutorial 2024
1:18:44
AI Search
Рет қаралды 89 М.
А я думаю что за звук такой знакомый? 😂😂😂
00:15
Денис Кукояка
Рет қаралды 2,2 МЛН
Ice Cream or Surprise Trip Around the World?
00:31
Hungry FAM
Рет қаралды 21 МЛН
How to make AI Tictok Videos
9:23
Ao College AI
Рет қаралды 1,4 М.
ComfyUI: Consistent Character Using Flux Model
7:20
Zuhaib R
Рет қаралды 13 М.
ComfyUI ReActor Face Swap Image & Video
12:17
Data Leveling
Рет қаралды 34 М.
Multiple Consistent Characters Using OmniGen in ComfyUI
12:56
Nerdy Rodent
Рет қаралды 10 М.
ComfyUI: Advanced Understanding (Part 1)
20:18
Latent Vision
Рет қаралды 111 М.
А я думаю что за звук такой знакомый? 😂😂😂
00:15
Денис Кукояка
Рет қаралды 2,2 МЛН