manifold_mixup icon indicating copy to clipboard operation
manifold_mixup copied to clipboard

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

Open samunaai opened this issue 3 years ago • 0 comments

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,

samunaai avatar Jul 13 '21 08:07 samunaai