sd-webui-controlnet icon indicating copy to clipboard operation
sd-webui-controlnet copied to clipboard

ensure ip-adapter Ensure mask_h * mask_w equals sequence_length in `apply_effective_region_mask` function

Open Suprhimp opened this issue 6 months ago • 0 comments

Hi,

I found that there is an error when I run ip-adapter with size 912x1144. which is one of the recommended pixel values for the generation of stable diffusion XL.

I think rounding to integer for mask_h and mask_w might cause the discrepancy.

I changed like below.

Thanks :)

Suprhimp avatar Aug 12 '24 13:08 Suprhimp