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

CIFAR10 self.data does not have attribute test_labels ,test_data #25

Open
xiaopanchen opened this issue Jan 28, 2022 · 0 comments
Open

Comments

@xiaopanchen
Copy link

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.

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