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

Поделиться
HTML-код
  • Опубликовано: 28 май 2024
  • 🎨 Dive into the world of IPAdapter with our latest video, as we explore how we can utilize it with SDXL/SD1.5 models and ControlNet using ComfyUI to get a Consistent AI Instagram Model! 🚀
    Workflow: github.com/dataleveling/Comfy...
    Prerequisite
    Install ComfyUI and ComfyUI Manager: • Quick & Easy ComfyUI a...
    Install InsightFace: • ComfyUI InsightFace Wi... Github
    References
    Official IPAdapter: github.com/tencent-ailab/IP-A...
    Tencent AI Labs IPAdapter Research Paper: arxiv.org/pdf/2308.06721.pdf
    ComfyUI IPAdapter: github.com/cubiq/ComfyUI_IPAd...
    Model References
    IP Adapter (FACEID) Models: huggingface.co/h94/IP-Adapter...
    IP Adapter Models: huggingface.co/h94/IP-Adapter...
    vit_h: huggingface.co/h94/IP-Adapter...
    ControlNet (SD1.5) Models: huggingface.co/lllyasviel/Con...
    ControlNet (SDXL) Models: huggingface.co/lllyasviel/sd_...
    Checkpoint Models: civitai.com/
    Upscale Models: openmodeldb.info/
    In today’s video, we showcase the power of IPAdapters from Tencent AI Labs. Watch as we explore the synergy of IP Adapters to seamlessly blend TEXT2IMG and IMG2IMG together with ControlNet and SDXL models, resulting in the creation of AI models with a remarkably consistent facial appearance and clothing.
    We provide a detailed step by step tutorial to achieving AI models and Applications requiring uniformity where a standardized and consistent facial appearance is paramount, such as character design, digital storytelling, and beyond.
    📈 Timestamps:
    0:00 - Introduction
    1:29 - Requirements
    3:34 - Get Face
    6:00 - Image Preprocessing
    7:42 - IPAdapter Face
    12:06 - IPAdapter Clothes
    14:06 - ControlNet
    15:50 - SD15
    17:48 - Magic Poser
    19:04 - Outro
    My Hardware Specs
    GPU: 24GB VRAM
    RAM: 32GB
    CPU: 24 Core
    👍 If you're looking to level up your skills with ComfyUI or simply interested in the world of AI computer vision, don't miss out on this in-depth exploration! Hit that like button, subscribe for more content, and let us know your thoughts in the comments below.
  • НаукаНаука

Комментарии • 180

  • @DataLeveling
    @DataLeveling  2 месяца назад +18

    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 25 дней назад

      where do i update the directory path

    • @foodseen7824
      @foodseen7824 22 дня назад

      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 20 дней назад +1

      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 17 дней назад

      @@Lenovicc reinstall reactor node

    • @ProPython
      @ProPython 15 дней назад

      @@johnny2bi4 means?

  • @clintslowik6490
    @clintslowik6490 4 месяца назад +6

    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  4 месяца назад

      Thanks for your kind words! :)

  • @brandonc.8443
    @brandonc.8443 3 месяца назад +4

    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

  • @astr010
    @astr010 3 месяца назад +2

    So many good tips I couldn't keep up writing them all down ill be rewatching this for sure.

  • @paulg4920
    @paulg4920 Месяц назад +2

    Came from AI Jason, glad I did! Thanks for the great explanations.

  • @DataLeveling
    @DataLeveling  3 месяца назад +11

    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.

  • @NiteSeek
    @NiteSeek Месяц назад

    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

  • @ZhiyuXiao
    @ZhiyuXiao 2 месяца назад

    This is so helpful! thank you so much for preparing!!

  • @IrrealKIM
    @IrrealKIM 3 месяца назад +1

    Thank you so much!! I have applied and it works perfectly!

    • @gaurav4922
      @gaurav4922 14 дней назад

      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

  • @Paulo-ut1li
    @Paulo-ut1li 4 месяца назад +2

    Keep up the good work! Really nice videos! Would love to see a video about InstantID as well.

    • @DataLeveling
      @DataLeveling  4 месяца назад

      Thanks for the encouragement! :)

  • @yorkewu9946
    @yorkewu9946 23 дня назад

    I'm glad I found this video, very well explained on the IPadapter workflow. Subscribed to the channel.. btw, love the Singaporean accent :)

  • @ProzacgodAI
    @ProzacgodAI 3 месяца назад +1

    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.

  • @juncando
    @juncando 4 месяца назад

    Thank You. Thank You. Thank You. Latent Vision brought me here.

  • @RedawNLIVE
    @RedawNLIVE 4 месяца назад

    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  4 месяца назад

      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 4 месяца назад

      @@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.

  • @Hana-dz4cu
    @Hana-dz4cu 3 месяца назад

    Thank you so much, this is a great video tutorial

  • @maxfxgr
    @maxfxgr 4 месяца назад

    Perfect video :) Great pace!

  • @jnevercast
    @jnevercast 3 месяца назад

    Excellent video! Thank you

  • @TimothyLemon1237
    @TimothyLemon1237 3 месяца назад

    Thank you so much for leveling up my game

  • @ashleygohsh
    @ashleygohsh 3 месяца назад

    Amazing content! Keep it up 💪🏻

  • @bioboi4438
    @bioboi4438 7 часов назад +1

    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)

  • @YoshNathavutS
    @YoshNathavutS 3 месяца назад +1

    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

  • @SixthHistory
    @SixthHistory 2 месяца назад

    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?

  • @wiltrunks1740
    @wiltrunks1740 Месяц назад

    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 !

  • @jordananderson3395
    @jordananderson3395 Месяц назад

    this guy is the G.O.A.T!

  • @TheBestgoku
    @TheBestgoku 4 месяца назад

    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  4 месяца назад +1

      I will try to fit one in my timeline when I can :) but for now you can refer to this video: ruclips.net/video/_C7kR2TFIX0/видео.html
      His explanation is very good.

    • @TheBestgoku
      @TheBestgoku 4 месяца назад

      @@DataLeveling THANKS!

  • @Filokalee999
    @Filokalee999 Месяц назад

    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  Месяц назад +1

      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.

  • @miro2832
    @miro2832 3 месяца назад

    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 :(

  • @sudabadri7051
    @sudabadri7051 4 месяца назад

    great video! thanks

  • @moradsemmar3657
    @moradsemmar3657 Месяц назад +1

    hello i need help i cant find Prepare Image For InsightFace on confy interface

  • @kanto1971
    @kanto1971 4 месяца назад +3

    I would love to see you add animatediff to your workflow too. Keep up good work !

  • @MaddyMF
    @MaddyMF 2 месяца назад

    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  2 месяца назад +1

      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!

  • @victorfrankenstain4444
    @victorfrankenstain4444 13 дней назад

    @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?

  • @yngeneer
    @yngeneer 4 месяца назад

    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  4 месяца назад +1

      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 4 месяца назад

      @@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!

  • @Fuwabi
    @Fuwabi 3 месяца назад

    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?

  • @caramelizedtofu3079
    @caramelizedtofu3079 3 месяца назад

    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  3 месяца назад

      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. :)

  • @gainsum
    @gainsum 2 месяца назад +1

    Can't seem to get the clothes portion working but seems like everything else is working perfectly

  • @CrackHowto
    @CrackHowto 3 месяца назад

    Thanks for sharing this!
    Really interesting stuff.
    How do you keep the body shape consistent?

    • @DataLeveling
      @DataLeveling  3 месяца назад

      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.

  • @Ben-et8wh
    @Ben-et8wh 4 месяца назад

    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  4 месяца назад +1

      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.

  • @CornPMV
    @CornPMV 7 дней назад

    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?

  • @gaurav4922
    @gaurav4922 14 дней назад

    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

  • @Cainra11
    @Cainra11 18 дней назад

    Hello I installed ComfyUI InsightFace but, it doesn't show '' Prepare Image for InsightFace'' in the options how to fix?

  • @Dingusthegreater
    @Dingusthegreater 3 месяца назад

    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  3 месяца назад +1

      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 3 месяца назад +1

      @@DataLeveling thanks. i was bypassing the clothing part, but i'll trying using it

  • @lilillllii246
    @lilillllii246 3 месяца назад

    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  3 месяца назад

      Hi, yes you can do that with another ipadapter for the background, you can check out an example from this video: ruclips.net/video/vqG1VXKteQg/видео.html

  • @ganknujnal
    @ganknujnal Месяц назад

    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?

  • @user-gq2bq3zf1f
    @user-gq2bq3zf1f 3 месяца назад

    Thanks. Is there any way to copy the facial expression to a specific photo?

    • @DataLeveling
      @DataLeveling  3 месяца назад

      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.

  • @kyudechama
    @kyudechama 3 месяца назад

    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  3 месяца назад

      Hi, sure thing, my specs are the following: 24GB vram, 24core cpu, 32GB ram.

    • @kyudechama
      @kyudechama 3 месяца назад

      @@DataLeveling thanks!

  • @alekmoth
    @alekmoth 3 месяца назад

    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  3 месяца назад

      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

  • @consig1iere294
    @consig1iere294 3 месяца назад

    I am getting "No module named insightface" error with the Load InsightFace node. Please help.

  • @user-jn4fd1le2e
    @user-jn4fd1le2e 3 месяца назад

    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  3 месяца назад +1

      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.

    • @user-jn4fd1le2e
      @user-jn4fd1le2e 3 месяца назад

      That make sense! thank you@@DataLeveling

    • @Prince.Dhankhar
      @Prince.Dhankhar Месяц назад

      @@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  Месяц назад

      @@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

  • @niiaco
    @niiaco Месяц назад

    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  Месяц назад

      Hi, yes please download the workflow with 'V2' in the filename :)

  • @BrunoBissig
    @BrunoBissig 3 месяца назад

    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  3 месяца назад

      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 3 месяца назад

      @@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.

  • @KodandocomFaria
    @KodandocomFaria 4 месяца назад

    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  4 месяца назад +1

      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 4 месяца назад

      @@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

  • @manojkchauhan
    @manojkchauhan 3 месяца назад +1

    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  3 месяца назад

      Thanks for your kind words :)

  • @arkelss4
    @arkelss4 3 месяца назад

    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  3 месяца назад +1

      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 3 месяца назад

      @@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

  • @KDashHoward
    @KDashHoward 4 месяца назад

    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  4 месяца назад

      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!

  • @nirajchauhan960
    @nirajchauhan960 13 дней назад

    how to fix extra finger also in this workflow??

  • @zpapipoi3578
    @zpapipoi3578 10 дней назад

    why i dont have prepare image for insightface

  • @sadikrizvi6468
    @sadikrizvi6468 Месяц назад

    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  Месяц назад

      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 Месяц назад

      @@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  Месяц назад

      @@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 :)

  • @user-vs3oz7op7z
    @user-vs3oz7op7z 3 месяца назад +1

    Hello, I really like the content, so I subscribed and am watching. However, the following error message appears in the "Sampling KSsmpler step" in the workflow. How can I resolve it?
    RuntimeError: Expected query, key, and value to have the same dtype, but got query.dtype: struct c10::Half key.dtype: float and value.dtype: float instead.

    • @DataLeveling
      @DataLeveling  3 месяца назад

      Hi, could you share an image of your workflow, I think somewhere in the matching of nodes went wrong.

    • @Maccus89
      @Maccus89 3 месяца назад

      I have the same error😢

    • @OrazioGrinzosi-nr9ln
      @OrazioGrinzosi-nr9ln 3 месяца назад

      i fix it with --force-fp16 (edit your comfyui launcher, copy and paste --force-fp16 save it and launch comfyui) hope this help

  • @TheBronco24
    @TheBronco24 13 дней назад

    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.

  • @omerksa3357
    @omerksa3357 27 дней назад

    why do i get NO MODULE GOOGLE error on the ipadapter step. Can you help me?

  • @dcrey7
    @dcrey7 Месяц назад

    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

  • @kedixia
    @kedixia 3 месяца назад +5

    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.

  • @heinifalk809
    @heinifalk809 3 месяца назад

    Hi. When I try to import your workflow it just does nothing. Not to sure if the workflow is working as intended

    • @DataLeveling
      @DataLeveling  3 месяца назад

      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)

  • @offmybach
    @offmybach 3 месяца назад

    How can we use the workflow to segment the face and the clothed body of another and combine the 2?

    • @DataLeveling
      @DataLeveling  3 месяца назад

      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 3 месяца назад

      @DataLeveling the latter

    • @DataLeveling
      @DataLeveling  3 месяца назад

      @@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!

  • @LinhTran-su8dy
    @LinhTran-su8dy Месяц назад

    I cant find note name "prepare image for insightface"? why? i just see "prep image for clipvison"

    • @DataLeveling
      @DataLeveling  Месяц назад

      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.

  • @MrDonald911
    @MrDonald911 3 месяца назад

    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  3 месяца назад +1

      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 3 месяца назад

      @@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  3 месяца назад +1

      @@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!

  • @poppct4524
    @poppct4524 Месяц назад

    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.

  • @lilillllii246
    @lilillllii246 3 месяца назад

    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  3 месяца назад +2

      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 3 месяца назад

      @@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  3 месяца назад

      @@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

  • @xevenau
    @xevenau 2 месяца назад

    How well does this do with cartoons and anime?

  • @itsmenord1993
    @itsmenord1993 4 месяца назад +1

    Is gpu 16gb ram like 4080 enough for this kind of work or sdxl?

    • @DataLeveling
      @DataLeveling  4 месяца назад +1

      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 3 месяца назад

      Thank you for reply@@DataLeveling

  • @Jote_09
    @Jote_09 Месяц назад

    6:23 prepare image for insight face doesnt appear for me

    • @DataLeveling
      @DataLeveling  Месяц назад +1

      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 4 месяца назад

    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  4 месяца назад

      For JSON file you have to load it from the menus tab.

    • @matyourin
      @matyourin 4 месяца назад

      @@DataLeveling really? I always just drag dropped them into the comfyui Browser Tab and that worked...

    • @DataLeveling
      @DataLeveling  4 месяца назад

      @@matyourin my bad, I thought that shortcut only worked for embed images. Does loading it manually works for you?

    • @matyourin
      @matyourin 4 месяца назад

      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 3 месяца назад

      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

  • @duplicatemate7843
    @duplicatemate7843 4 месяца назад +1

    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  4 месяца назад +2

      Will do a few vids on AnimateDiff soon!

  • @ukaszgwizdaa5712
    @ukaszgwizdaa5712 3 месяца назад

    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  3 месяца назад

      Hi, I'm not sure the reason but you may have to update your ComfyUI to latest version.

    • @ukaszgwizdaa5712
      @ukaszgwizdaa5712 3 месяца назад

      ​@@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  3 месяца назад

      @@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..

  • @FiejaMatteo
    @FiejaMatteo 3 месяца назад

    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 3 месяца назад

      i have same error, you are fix it ?

    • @FiejaMatteo
      @FiejaMatteo 3 месяца назад

      @@ziyuebuke not yet

  • @ist1jano
    @ist1jano 4 месяца назад

    Thanks for the video.
    Is it possible to put the exact same dress and not "redream" it?

    • @DataLeveling
      @DataLeveling  4 месяца назад +1

      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.

  • @KINGLIFERISM
    @KINGLIFERISM 3 месяца назад

    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  3 месяца назад

      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: ruclips.net/video/vqG1VXKteQg/видео.html

    • @cemal6950
      @cemal6950 3 месяца назад

      i think u are misunderstood the attention masking, masking the face of the woman on the beggining is meaningless.@@DataLeveling

    • @DataLeveling
      @DataLeveling  3 месяца назад

      Agreed, since the face is already cropped nicely. @@cemal6950

    • @cemal6950
      @cemal6950 3 месяца назад

      @@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  3 месяца назад

      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

  • @googleyoutubechannel8554
    @googleyoutubechannel8554 4 месяца назад

    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  4 месяца назад

      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 :)

  • @rangorts
    @rangorts 3 месяца назад

    can this be done in a1111

    • @DataLeveling
      @DataLeveling  3 месяца назад

      Hi I'm not too sure, haven't really tested out IPAdapter in a1111.

  • @duplicatemate7843
    @duplicatemate7843 4 месяца назад

    r u from sg brother? 😂

  • @user-ll7ki3wo4h
    @user-ll7ki3wo4h 4 месяца назад

    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  4 месяца назад

      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.

  • @cercetas1878
    @cercetas1878 3 месяца назад

    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  3 месяца назад +1

      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.

  • @JayPatel-hm6vb
    @JayPatel-hm6vb 3 месяца назад

    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

  • @algorhythm_mp
    @algorhythm_mp 2 месяца назад

    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  2 месяца назад

      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: ruclips.net/video/_JzDcgKgghY/видео.html

    • @DataLeveling
      @DataLeveling  2 месяца назад

      I have updated the workflow accordingly to the new IPAdapter version, please download the V2 workflow to see the new nodes changes. :)

  • @kyudechama
    @kyudechama 3 месяца назад

    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 3 месяца назад

      I did fix it by installing it for the embedded python and not on my local python version

  • @petpo-ev1yd
    @petpo-ev1yd 2 месяца назад

    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  2 месяца назад

      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 2 месяца назад

      @@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  2 месяца назад

      @@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 2 месяца назад

      @@DataLeveling Thanks, I'll Try to solve it

  • @gamearc5903
    @gamearc5903 3 месяца назад

    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  3 месяца назад

      Hi, the model names with faceid have to go to apply ipadapter faceid node and those without goes to apply ipadapter node.