fast-stable-diffusion icon indicating copy to clipboard operation
fast-stable-diffusion copied to clipboard

inpaint only masked affects entire image

Open Rb-diff opened this issue 1 year ago • 6 comments

Don't really know how else to describe it, I try using inpaint to fix a face and the result is notable and sometimes destructive changes made to the rest of the image in spite of a low mask blur, medium CFG and "inpaint only masked".

Is anyone else experiencing this and is there a fix. Is this colab or a1111?

it's making inpaint mostly unusable.

Rb-diff avatar Mar 30 '23 02:03 Rb-diff

Sometimes when I do inpainting and then send the resulting image back to inpaint again, the previous mask has not been removed although it's not visible. If I cannot see the "Start drawing" overlay, I click the mask undo button and (sometimes) the previous mask appears. Then I click the undo button until all the previous mask is gone and "Start drawing" is visible. Then I proceed as normal.

I don't know if this is the same thing that's causing your issue, but if you were to inpaint the bottom half of an image, send the result back to inpaint again, and then inpaint the top half of the image, the issue I'm describing would cause the entire image to be inpainted on the second pass.

pimpsuit avatar Mar 30 '23 17:03 pimpsuit

it helped a little but it seems as if the memory bleed/leak is getting worse with every iteration lately. I almost need to empty the browser cache between every image sometimes.

Rb-diff avatar Mar 30 '23 22:03 Rb-diff

same issue with OP. I fix issue by using older commit

Thodo4377 avatar Jun 05 '23 14:06 Thodo4377

I have the same issue with a1111. Possibly connected to memory problems?

kraddoc avatar Jun 08 '23 12:06 kraddoc

Same issue

alarmgoose avatar Oct 15 '23 07:10 alarmgoose

Issue still not fixed for sketch inpaint

ssbugman avatar Feb 09 '24 06:02 ssbugman