Skip to content

[bug] avoid doble upscaling in inpaint#14966

Merged
AUTOMATIC1111 merged 1 commit intoAUTOMATIC1111:devfrom
light-and-ray:avoid_doble_upscaling_in_inpaint
Feb 19, 2024
Merged

[bug] avoid doble upscaling in inpaint#14966
AUTOMATIC1111 merged 1 commit intoAUTOMATIC1111:devfrom
light-and-ray:avoid_doble_upscaling_in_inpaint

Conversation

@light-and-ray
Copy link
Copy Markdown
Contributor

@light-and-ray light-and-ray commented Feb 19, 2024

Description

Since upscaler progressbar appeared, I've noticed image is upscaled two times for inpainting if upscaler_for_img2img is overridden. I debugged with console log, and Image.show(), they are exactly the same images and exactly the same target resolution. It happens because of saving original_denoised_image outside apply_overlay function

Reproduce:

  1. Override upscaler for img2img
  2. Inpaint area = Only masked
  3. Inpaint area that bigger then 512x512 in 512x512 resolution
  4. See in console two upscales

Checklist:

@AUTOMATIC1111 AUTOMATIC1111 merged commit 0a27193 into AUTOMATIC1111:dev Feb 19, 2024
AUTOMATIC1111 added a commit that referenced this pull request Feb 20, 2024
…_inpaint

[bug] avoid doble upscaling in inpaint
@light-and-ray light-and-ray deleted the avoid_doble_upscaling_in_inpaint branch February 20, 2024 13:37
@pawel665j pawel665j mentioned this pull request Apr 16, 2024
ruchej pushed a commit to ruchej/stable-diffusion-webui that referenced this pull request Sep 30, 2024
…_upscaling_in_inpaint

[bug] avoid doble upscaling in inpaint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants