-
Notifications
You must be signed in to change notification settings - Fork 452
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: 'CIFAR10' object has no attribute 'train_labels' #9
Comments
my problem is "ValueError: all the input array dimensions for the concatenation axis must match exactly, but along dimension 1, the array at index 0 has size 50000 and the array at index 1 has size 60000 |
I met the same problems as you before, I tried to use labels = np.array(dataset.targets) |
Could you provide a more detailed error message? For example, which line is this error come from? |
num_shards, num_imgs = 200, 250 |
Change train_labels to targets |
The text was updated successfully, but these errors were encountered: