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

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 พ.ค. 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.
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 172

  • @DataLeveling
    @DataLeveling  หลายเดือนก่อน +15

    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 10 วันที่ผ่านมา

      where do i update the directory path

    • @foodseen7824
      @foodseen7824 7 วันที่ผ่านมา

      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 5 วันที่ผ่านมา

      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 2 วันที่ผ่านมา

      @@Lenovicc reinstall reactor node

    • @ProPython
      @ProPython 8 ชั่วโมงที่ผ่านมา

      @@johnny2bi4 means?

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

  • @clintslowik6490
    @clintslowik6490 3 หลายเดือนก่อน +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  3 หลายเดือนก่อน

      Thanks for your kind words! :)

  • @astr010
    @astr010 3 หลายเดือนก่อน +2

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

  • @NiteSeek
    @NiteSeek 15 วันที่ผ่านมา

    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

  • @paulg4920
    @paulg4920 หลายเดือนก่อน +2

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

  • @IrrealKIM
    @IrrealKIM 3 หลายเดือนก่อน +1

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

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

  • @ZhiyuXiao
    @ZhiyuXiao 2 หลายเดือนก่อน

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

  • @yorkewu9946
    @yorkewu9946 8 วันที่ผ่านมา

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

  • @maxfxgr
    @maxfxgr 3 หลายเดือนก่อน

    Perfect video :) Great pace!

  • @Paulo-ut1li
    @Paulo-ut1li 3 หลายเดือนก่อน +2

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

    • @DataLeveling
      @DataLeveling  3 หลายเดือนก่อน

      Thanks for the encouragement! :)

  • @juncando
    @juncando 3 หลายเดือนก่อน

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

  • @ashleygohsh
    @ashleygohsh 3 หลายเดือนก่อน

    Amazing content! Keep it up 💪🏻

  • @Hana-dz4cu
    @Hana-dz4cu 2 หลายเดือนก่อน

    Thank you so much, this is a great video tutorial

  • @TimothyLemon1237
    @TimothyLemon1237 3 หลายเดือนก่อน

    Thank you so much for leveling up my game

  • @jnevercast
    @jnevercast 3 หลายเดือนก่อน

    Excellent video! Thank you

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

  • @RedawNLIVE
    @RedawNLIVE 3 หลายเดือนก่อน

    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  3 หลายเดือนก่อน

      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 3 หลายเดือนก่อน

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

  • @sudabadri7051
    @sudabadri7051 3 หลายเดือนก่อน

    great video! thanks

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

  • @jordananderson3395
    @jordananderson3395 18 วันที่ผ่านมา

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

  • @miro2832
    @miro2832 2 หลายเดือนก่อน

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

  • @Fuwabi
    @Fuwabi 2 หลายเดือนก่อน

    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?

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

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

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

  • @wiltrunks1740
    @wiltrunks1740 21 วันที่ผ่านมา

    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 !

  • @TheBestgoku
    @TheBestgoku 3 หลายเดือนก่อน

    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  3 หลายเดือนก่อน +1

      I will try to fit one in my timeline when I can :) but for now you can refer to this video: th-cam.com/video/_C7kR2TFIX0/w-d-xo.html
      His explanation is very good.

    • @TheBestgoku
      @TheBestgoku 3 หลายเดือนก่อน

      @@DataLeveling THANKS!

  • @CrackHowto
    @CrackHowto 2 หลายเดือนก่อน

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

    • @DataLeveling
      @DataLeveling  2 หลายเดือนก่อน

      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.

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

  • @moradsemmar3657
    @moradsemmar3657 18 วันที่ผ่านมา +1

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

  • @kanto1971
    @kanto1971 3 หลายเดือนก่อน +3

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

  • @yngeneer
    @yngeneer 3 หลายเดือนก่อน

    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  3 หลายเดือนก่อน +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 3 หลายเดือนก่อน

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

  • @Ben-et8wh
    @Ben-et8wh 3 หลายเดือนก่อน

    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  3 หลายเดือนก่อน +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.

  • @gainsum
    @gainsum 2 หลายเดือนก่อน +1

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

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

  • @Cainra11
    @Cainra11 3 วันที่ผ่านมา

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

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

  • @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: th-cam.com/video/vqG1VXKteQg/w-d-xo.html

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

  • @KodandocomFaria
    @KodandocomFaria 3 หลายเดือนก่อน

    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  3 หลายเดือนก่อน +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 3 หลายเดือนก่อน

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

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

  • @consig1iere294
    @consig1iere294 2 หลายเดือนก่อน

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

  • @KDashHoward
    @KDashHoward 3 หลายเดือนก่อน

    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  3 หลายเดือนก่อน

      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!

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

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

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

  • @dcrey7
    @dcrey7 14 วันที่ผ่านมา

    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

  • @poppct4524
    @poppct4524 24 วันที่ผ่านมา

    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.

  • @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  2 หลายเดือนก่อน +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 2 หลายเดือนก่อน

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

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

  • @omerksa3357
    @omerksa3357 12 วันที่ผ่านมา

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

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

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

  • @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 29 วันที่ผ่านมา

      @@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  25 วันที่ผ่านมา

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

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

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

  • @itsmenord1993
    @itsmenord1993 3 หลายเดือนก่อน +1

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

    • @DataLeveling
      @DataLeveling  3 หลายเดือนก่อน +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

  • @xevenau
    @xevenau หลายเดือนก่อน

    How well does this do with cartoons and anime?

    • @DataLeveling
      @DataLeveling  หลายเดือนก่อน

      Works even better!

  • @duplicatemate7843
    @duplicatemate7843 3 หลายเดือนก่อน +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  3 หลายเดือนก่อน +2

      Will do a few vids on AnimateDiff soon!

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

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

  • @FiejaMatteo
    @FiejaMatteo 2 หลายเดือนก่อน

    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 2 หลายเดือนก่อน

      i have same error, you are fix it ?

    • @FiejaMatteo
      @FiejaMatteo 2 หลายเดือนก่อน

      @@ziyuebuke not yet

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

  • @ist1jano
    @ist1jano 3 หลายเดือนก่อน

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

    • @DataLeveling
      @DataLeveling  3 หลายเดือนก่อน +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.

  • @matyourin
    @matyourin 3 หลายเดือนก่อน

    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  3 หลายเดือนก่อน

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

    • @matyourin
      @matyourin 3 หลายเดือนก่อน

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

    • @DataLeveling
      @DataLeveling  3 หลายเดือนก่อน

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

    • @matyourin
      @matyourin 3 หลายเดือนก่อน

      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

  • @Jote_09
    @Jote_09 26 วันที่ผ่านมา

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

    • @DataLeveling
      @DataLeveling  25 วันที่ผ่านมา +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.

  • @ukaszgwizdaa5712
    @ukaszgwizdaa5712 2 หลายเดือนก่อน

    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  2 หลายเดือนก่อน

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

    • @ukaszgwizdaa5712
      @ukaszgwizdaa5712 2 หลายเดือนก่อน

      ​@@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  2 หลายเดือนก่อน

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

  • @googleyoutubechannel8554
    @googleyoutubechannel8554 3 หลายเดือนก่อน

    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  3 หลายเดือนก่อน

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

  • @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: th-cam.com/video/vqG1VXKteQg/w-d-xo.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

  • @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 3 หลายเดือนก่อน

    r u from sg brother? 😂

    • @DataLeveling
      @DataLeveling  3 หลายเดือนก่อน

      Yes brother I'm from sg

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

  • @user-ll7ki3wo4h
    @user-ll7ki3wo4h 3 หลายเดือนก่อน

    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  3 หลายเดือนก่อน

      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.

  • @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 หลายเดือนก่อน

    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  หลายเดือนก่อน

      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: th-cam.com/video/_JzDcgKgghY/w-d-xo.html

    • @DataLeveling
      @DataLeveling  หลายเดือนก่อน

      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

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

  • @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 หลายเดือนก่อน

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