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

使用灰度图像报错 #28

Open
zhenglvv opened this issue Nov 2, 2023 · 0 comments
Open

使用灰度图像报错 #28

zhenglvv opened this issue Nov 2, 2023 · 0 comments

Comments

@zhenglvv
Copy link

zhenglvv commented Nov 2, 2023

在使用unet模型的时候 将输入的通道改成1后,报错
RuntimeError: Given groups=1, weight of size [64, 1, 7, 7], expected input[8, 3, 256, 256] to have 1 channels, but got 3 channels instead
M )@0XTIC8MFCVG10OT`ME5

但是我的图像确实是但通道的 是我还需要修改某些地方吗

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

1 participant