FeatureLearningRotNet icon indicating copy to clipboard operation
FeatureLearningRotNet copied to clipboard

CIFAR10 self.data does not have attribute test_labels ,test_data

Open xiaopanchen opened this issue 3 years ago • 0 comments

When run CIFAR10_ConvClassifier_on_RotNet_NIN4blocks_Conv2_feats_K1000.py, there are some errors iin dataloader.py.

    if self.dataset_name == 'cifar10':
        labels = self.data.test_labels if (self.split == 'test') else self.data.train_labels
        data = self.data.test_data if (self.split == 'test') else self.data.train_data

I found that self.data does not have attribute test_labels ,test_data, train_labels, and train_data. How to solve this? Thk.

xiaopanchen avatar Jan 28 '22 02:01 xiaopanchen