-
Notifications
You must be signed in to change notification settings - Fork 46
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
input.size[1] == 3 but got 4 instead #1
Comments
Hi @Amanda-Barbara , do you use a png image? If so, the last channel should be a A channel. You can simply ignored it by using |
yeah,I have done it, the last channel value are same. |
Seems like an out-of-memory problem. May be the gpu is occupied or the size of the image is too large. |
I have filtered the high-resolution images and the the project can go on running,thanks @yingcong |
Great! You are welcome. |
Hi,@yingcong , it has 4 channels when I input a color picture with your code like this:

do you know the reason? thank you!
The text was updated successfully, but these errors were encountered: