kijai / ComfyUI-IC-Light

Using IC-LIght models in ComfyUI
Apache License 2.0
624 stars 31 forks source link

Error occurred when executing easy imageDetailTransfer: The size of tensor a (1360) must match the size of tensor b (1365) at non-singleton dimension 2 #44

Closed 0002kgHg closed 2 weeks ago

0002kgHg commented 1 month ago

In my workflow, I only want to use ic-light to change the lighting and shading of the character's face. However, simply using the background removal node will also keep the character's body, which is not what I want. Therefore, as shown in the image below, I used yolo or G-dino for head recognition and then connected ic-light. However, after ksampler generated the image, I wanted to use the Easy Use image detail transfer node, but it failed. In the past, when I used those background removal nodes, there were no errors. I am not sure if this is an issue with ic-light or with the image transfer node, or if the output images and masks from the background removal nodes differ from those of the detection nodes. 企业微信截图_17201689238374

ousennke commented 1 month ago

same problem

BlackBirdCDY commented 1 month ago

Excuse me, have you solved it now

0002kgHg commented 1 month ago

对不起,你现在解决了吗

I didn`t continue to build this workflow

wapiters commented 1 week ago

I had this problem when i used the iclight_sd15_fc.safetensors. Changing it to iclight_sd15_fbc.safetensors solved the problem in my case.