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

AttributeError: 'CIFAR100' object has no attribute 'targets' #14

Open
samunaai opened this issue Jul 13, 2021 · 0 comments
Open

AttributeError: 'CIFAR100' object has no attribute 'targets' #14

samunaai opened this issue Jul 13, 2021 · 0 comments

Comments

@samunaai
Copy link

Hi! Thanks so much for the well organised code!

Just wanted to double check regarding the torch and torchvision versions. With regards to the supervised models, torchvision 0.2.1 appears to give the error in the title. This seems to be confirmed by this other post mentioning that ".targets" is used from torchvision 0.4.1? Perhaps there were some retroactive library updates?

Warm regards,

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