ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

ConditioningSetArea - areas must be dividable by 64

Open kutny opened this issue 3 years ago • 1 comments

Hi,

first thanks a lot for your work! The visual form of the pipeline helped me a lot to better understand some basic concepts of SD!

My challenge: I would like to "inpaint" all the 5 windows in the following room using image2image or depth2image. I hoped that such approach would help SD to render the windows in a correct size and position - currently, the model often forgets them or make them much bigger

.

The problem is that I cannot create a small enough ConditioningSetArea (smaller than 64x64 or just at any size which is not dividable by 64).

Do you think that there is some solution to that? Standard inpainting uses a mask image where the mask can have any shape. Can such mask also be used in your approach somehow?

Thanks

kutny avatar Jan 31 '23 16:01 kutny

Yes it will be possible to use masks in that way once I implement them.

comfyanonymous avatar Jan 31 '23 16:01 comfyanonymous

Both Conditioning masks and non multiples of 64 for ConditioningSetArea are implemented now.

comfyanonymous avatar May 02 '23 18:05 comfyanonymous