pkuliyi2015 / sd-webui-stablesr

StableSR for Stable Diffusion WebUI - Ultra High-quality Image Upscaler
https://iceclear.github.io/projects/stablesr/
Other
1.05k stars 54 forks source link

Didn't work as expected; Upscale better w/ Tiled Diffusion + Tiled VAE and w/o StableSR #5

Closed snakeninny closed 1 year ago

snakeninny commented 1 year ago

The original image is

不清晰的图片

W/o StableSR

Model is Deliberate and the parameters are as follows: FireShot Capture 039 - Stable Diffusion - notebooksg jarvislabs ai

Output: 00015-606013714

W/ StableSR

I followed your usage tutorial: FireShot Capture 040 - Stable Diffusion - notebooksg jarvislabs ai

Ouput: tmprcasf67b

StableSR didn't work. Did I miss anything? Thank you!

snakeninny commented 1 year ago

W/ VQGAN VAE:

Screenshot 2023-05-24 at 13 19 32

Output: 00018-1286673448

pkuliyi2015 commented 1 year ago

Hi friends, this is because when you use StableSR, you leave the scale factor = 2 and it is too small. The output is only 256*304, far less than StableSR's working range.

Just set the scale factor in StableSR to 4, it works correctly.

On my side:

image

You can see the texture is significantly more detailed than your posted image.

snakeninny commented 1 year ago

you leave the scale factor = 2

Seems that StableSR scale factor is the alternative of Tiled Diffusion scale factor when are both enabled. I have tested StableSR scale factor 4 to 6, the output was the best. 7 started to get bad turn and 16 was even worse. Thank you!