Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
RuoSongYL opened this issue Sep 11, 2023 · 4 comments

Comments

@RuoSongYL
Copy link

我也遇到了这个报错,看了前面的同样报错但是没找到解决办法。
首先,排除了应用了错误的模型,使用的确实是README中提到的两个512模型。
报错信息如下:
[StableSR] Error fixing color with default method: Given groups=3, weight of size [3, 1, 3, 3], expected input[1, 4, 3242, 2162] to have 3 channels, but got 4 channels instead
虽然有这个报错信息,但并没有影响出图。

I also encountered this error, read the previous same error but did not find a solution.
First, I rule out applying the wrong model and use the two 512 models mentioned in the README.
The error message is as follows:
[StableSR] Error fixing color with default method: Given groups=3, weight of size [3, 1, 3, 3], expected input[1, 4, 3242, 2162] to have 3 channels, but got 4 channels instead
Although there is this error message, it does not affect the drawing.

@WSJUSA
Copy link

WSJUSA commented Sep 28, 2023

same as this #49

@htians
Copy link

htians commented Nov 21, 2023

I also encountered this problem.

[Tiled VAE]: input_size: torch.Size([1, 4, 240, 124]), tile_size: 128, padding: 11
[Tiled VAE]: split to 2x1 = 2 tiles. Optimal tile size 128x128, original tile size 128x128
[Tiled VAE]: Fast mode enabled, estimating group norm parameters on 66 x 128 image
[Tiled VAE]: Executing Decoder Task Queue: 100%|█| 246/246 [00:00<00:00, 449.54i
[Tiled VAE]: Done in 1.733s, max VRAM alloc 5006.486 MB
[StableSR] Error fixing color with default method: Given groups=3, weight of size [3, 1, 3, 3], expected input[1, 4, 1922, 994] to have 3 channels, but got 4 channels instead

@wardensc2
Copy link

After a merge pull fix it seem that problem still existed

image

@mengjoan
Copy link

我也遇到了这个报错,看了前面的同样报错但是没找到解决办法。 首先,排除了应用了错误的模型,使用的确实是README中提到的两个512模型。 报错信息如下: [StableSR] 使用默认方法修复颜色错误:给定组=3,权重大小为[3, 1, 3, 3],预期输入[1, 4, 3242, 2162] 有 3 个通道,但得到的是 4 个通道虽然 有这个报错信息,但并没有影响出图。

我也遇到了这个错误,看了前面同样的错误但是没找到解决办法, 首先排除用错模型,用README里提到的两个512模型, 错误信息如下: [StableSR] Error fixing color with default method: Given groups=3, weight of size [3, 1, 3, 3], expected input[1, 4, 3242, 2162] to have 3 channels, but got 4 channels Instead 虽然有这个错误信息,但是不影响绘图。

影响出图啊,出的图片是乱七八糟的图片不能正常修复的乱七八糟的图片,请问你的能正常使用了吗,能给我回个信息吗

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

No branches or pull requests

5 participants