CIFAR 10 dataset

The CIFAR 10 dataset runs up till 12000 images and then a new epoch starts that too runs till 12000 images. Can anyone explain to me why it doesn’t go till 50,000 images as the training data contains 50000 images and not 12000

My CIFAR10 dataset has 50k images in the training set. What does it say if you print(len(data_loader)) where dataloader is your training data. Perhaps your batch size is 5 -> 12*5=60