Po Chen Liu
Po Chen Liu

Reputation: 253

Google Colab: not using all training samples

I'm loading the MNIST data into Google Colab, which I can see is about 60,000 samples

enter image description here

But for some reason it will only train on 1875 samples:

enter image description here

What is going on here?

Upvotes: 1

Views: 162

Answers (1)

can
can

Reputation: 419

1875 is not the number of samples, it is number of steps.

Keras uses batches to train and default batch size is 32.

60000 / 32 = 1875

Upvotes: 1

Related Questions