pkuliyi2015 / sd-webui-stablesr

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

Colorfix not working #30

Open l3luel3l00d opened 1 year ago

l3luel3l00d commented 1 year ago

When I am using tiled diffusion + vae + stablesr I only get one output with weird coloration and it is not saved. Therefore I assume colorfix does not work for me somehow.

I also get this error: "Error fixing color with default method: Given groups=3, weight of size [3, 1, 3, 3], expected input[1, 4, 4098, 4098] to have 3 channels, but got 4 channels instead"

screenshot-127 0 0 1_7860-2023 06 13-15_12_06

pkuliyi2015 commented 1 year ago

Your model is not correct. Please use SD2.1 512 instead.

l3luel3l00d commented 1 year ago

Ohh, right I ll try it right away. Thanks!!

xiao-ning-ning commented 1 year ago

I have made sure that my model settings and other settings are correct, but this error still exists.what should I do

dalmackay commented 1 year ago

2.1 512 not working either.

Color fix cannot be applied.

l3luel3l00d commented 1 year ago

Using 512 model has worked for me 8K-SR-PN

zhocho commented 1 year ago

您的模型不正确。请改用 SD2.1 512。

Doesn’t the git introduction above mean that there are two versions? This question uses version 768. Why did you reply to use version 512? Is there any problem with version 768? Thank you!

mengjoan commented 3 months ago

[StableSR] Error fixing color with default method: Given groups=3, weight of size [3, 1, 3, 3], expected input[1, 4, 4098, 3074] to have 3 channels, but got 4 channels instead

mengjoan commented 3 months ago

Can anyone help me? I don’t know what the problem is. It’s working fine, but it can’t be used normally after upgrading. An error message appears {[StableSR] Error fixing color with default method: Given groups=3, weight of size [3, 1, 3, 3], expected input[1, 4, 4098, 3074] to have 3 channels, but got 4 channels instead}

100640002 commented 3 weeks ago

[StableSR] Error fixing color with default method: Given groups=3, weight of size [3, 1, 3, 3], expected input[1, 4, 1074, 602] to have 3 channels, but got 4 channels instead。

It's not that the image is enlarged, but a strange image is generated. It's the same whether it's 768 or 512. After turning off the function, everything is normal!

![Uploading 1.png…]()

100640002 commented 3 weeks ago

1 2