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
Getting an error 'tensor is not a torch image.' when trying to run train.py #18
Comments
Hi, A few questions:
|
Hello.
|
I'm having no luck reproducing the error with the default args from the readme. Just to make sure:
|
I ran into the same problem. You are likely using torchvision=0.2.x. Early versions of torchvison don't support doing normalization over a 4D tensor. Try to upgrade to 0.8.x and it should work. |
@samotiian Did @duxiaodan's solution resolve your problem? |
I upgraded the torchvision and it is not working. Thanks |
Could you let me know what torch, torchvision, and cuda versions you're running? I'll try to recreate the environment and see if I can reproduce the issue. |
I do not remember what environment I used when I got that error. |
I'm closing this due to lack of activity. If you still have an error and need help, let me know. |
The text was updated successfully, but these errors were encountered: