[Bug]: Inpaint at full resolution with wildcards cause unmasked part being changed
Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
What happened?
when inpaint at full resolution is checked, the area that is not masked will be changed in the generated picture.
Steps to reproduce the problem
- check inpaint at full resolution
- draw mask on picture
- generate
- area without mask is changed
What should have happened?
should work like before, inpaint at full resolution only change the masked area
Commit where the problem happens
6bd6154a92eb05c80d66df661a38f8b70cc13729
What platforms do you use to access UI ?
Windows
What browsers do you use to access the UI ?
Google Chrome
Command Line Arguments
--autolaunch --xformers --ckpt D:\stable-diffusion-webui\models\Stable-diffusion\model.ckpt --gradio-img2img-tool color-sketch --opt-split-attention --deepdanbooru
Additional information, context and logs
original image
mask area
without full reso
with full reso

In hint.js, the hint for "Inpaint at full resolution" says it "[Upscales] masked region to target resolution, [does] inpainting, [downscales] back and [pastes] into original image." Notice how the changed area roughly matches the shape of your original mask, scaled up:
I suspect it's only upscaling the mask, and not the image underneath. And I'm assuming it's SUPPOSED to upscale both the image and the mask, run inpainting, then downscale the output back over the original image. I will take a look at trying to implement this.
In the mean time, if anyone reads this and finds my interpretation incorrect, please let me know.
I'm not able to replicate this. Are you sure there isn't anything else going on? Some other special settings or something you're using besides the default?

@timntorres just find out that you need both wildcards script and inpaint at full resolution to replicate. None + inpaint OK none + full reso inpaint OK wildcards + inpaint OK wildcards + full reso inpaint, things get crazy.
Closing as stale.