cubiq / ComfyUI_IPAdapter_plus

GNU General Public License v3.0
3.17k stars 238 forks source link

Question about the mask of the IPAdapter Encoderd node #459

Closed wencxxxxxx closed 2 months ago

wencxxxxxx commented 2 months ago

When I used the mask of the IPAdapter Encoderd node, the generated image turned yellow and gray, which was not the normal sampling result

cubiq commented 2 months ago

impossible to say without looking at what you are exactly doing

wencxxxxxx commented 2 months ago

impossible to say without looking at what you are exactly doing

屏幕截图 2024-04-13 012607 屏幕截图 2024-04-13 012702 like this, What's the problem, please? thank you.

cubiq commented 2 months ago

that is correct. you are removing over 50% of the image and keep a weight of 1.0.

you need to fill what is not covered by the clip vision with some other conditioning (another IPAdapter for example or stronger text prompt) and/or lower the weight.

wencxxxxxx commented 2 months ago

I see. The meaning of masking is not to select a specific part of the reference image to affect the sampling result, but to blacken a certain part of the image to get a new reference image to affect the sampling result. Why not change the meaning of the mask to select specific parts of the reference diagram to affect the sampling results, and the other parts do not affect the sampling results.