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

[Bug]: Outpainting adds random noise at final sample step

Open TimothyKrell opened this issue 2 years ago • 4 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues and checked the recent builds/commits

What happened?

After running outpainting extension, the last sample step switches to random colored noise. Intermediate sampling steps appear correct

Steps to reproduce the problem

  1. Turn on outpainting script
  2. set to left, 144 extension
  3. generate

What should have happened?

No noise in final generation

Commit where the problem happens

Not sure

What platforms do you use to access UI ?

Windows

What browsers do you use to access the UI ?

Brave

Command Line Arguments

No response

Additional information, context and logs

Sounds similar to #4133. image

TimothyKrell avatar Nov 28 '22 14:11 TimothyKrell

i have this problem too

wakariah avatar Dec 18 '22 02:12 wakariah

me too 00128-3369036883-king ,8k ,hi resolution ,profesional foto

rewixx avatar Dec 27 '22 10:12 rewixx

I have this problem with my Radeon 6700 card. But only when i outpaint down and/or right. Left and up works fine. Same thing for both poor man's and MK2. Edit: quick update. Found a solution on Reddit for my problem. If i add "--no-half --precision full --no-half-vae --opt-sub-quad-attention --opt-split-attention-v1" both inpainting and outpainting works as expexted

Dankoman avatar May 05 '23 13:05 Dankoman

I ran into this issue today after working on a variety of projects, including a previous outpainting session that worked fine.

Restarting the server and trying different command line parameters did nothing.

Ultimately, making sure I closed the browser tab completely and restarting from a blank session fixed it.

My theory is that perhaps something about the fact that I had been using Inpaint earlier (with a mask) might have interfered with the outpainting script's ability to merge the outpainted image with the original one (tried both Outpainting MK2 and Poor Man's). Like others have said, everything looked fine during the preview steps -- it was just the final merge that failed and left me with noise in the newly expanded area.

Unfortunately, now that it's working again I haven't been able to duplicate the issue yet. It may have to do with the length of the session.

RTX4070 / Windows 11.

quill18 avatar Jul 02 '24 19:07 quill18