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

RuntimeError: bool value of non-empty torch.cuda.ByteTensor objects is ambiguous #124

Open
dandingol03 opened this issue Dec 24, 2020 · 0 comments

Comments

@dandingol03
Copy link

dandingol03 commented Dec 24, 2020

Hi, @yjxiong
Thanks for your wonderful work. I run main.py on colab to train with ucf101 dataset, but there is a runtime error when i run the statement as below:
best_prec1 = max(prec1, best_prec1)
It throw a runtime error: bool value of non-empty torch.cuda.ByteTensor objects is ambiguous
Here is my os setting:
torch: 0.3.1
torchvision: 0.2.1

Thanks in advance.

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