Incorrect labels

Hi everyone!

I have a problem with dataloader in pytorch. I use dataloader to get data and my input dataset is CIFAR10. I get images and labels with next().iter(), but when I check the labels are incorrect. For example; the image is a cat, but its label says it is a truck. How can I fix this? If you can help me, I would be really happy :slight_smile:

Cheers!

Can you share the code you use to for dataloader and iteration of labels and images?
I hope this tutorial on the CIFAR10 helps you

CIFAR10 Tutorial

1 Like

Thank you very much, the link was really helpful.

Cheers!