Error while using CIFAR10 dataset
anshulg825 opened this issue · 1 comments
anshulg825 commented
Hi when I am running the code using CIFAR10, I am getting the below error. While running the same for MNIST gives a warning that train_labels has been removed. I checked torchvision repo for understanding the error and could not find train_labels there. In MNIST it has been changed to targets, which is fine since they have raised a warning, but in CIFAR10, there is no train_labels
AttributeError: 'CIFAR10' object has no attribute 'train_labels'
anshulg825 commented
Okay nevermind figured it out, PyTorch and Torchvision have changed a lot of stuff