Skip to content

Instantly share code, notes, and snippets.

@dipanjanS
Created September 20, 2019 07:56
Show Gist options
  • Save dipanjanS/dc0ae158011f79daab9a137a18855a3f to your computer and use it in GitHub Desktop.
Save dipanjanS/dc0ae158011f79daab9a137a18855a3f to your computer and use it in GitHub Desktop.
EPOCHS = 10
train_images_scaled = train_images_gr / 255.
model.fit(train_images_scaled, train_labels, validation_split=0.1, epochs=EPOCHS)
# Output
Train on 54000 samples, validate on 6000 samples
Epoch 1/10
54000/54000 [====] - 7s 122us/sample - loss: 0.4614 - acc: 0.8323 - val_loss: 0.3462 - val_acc: 0.8725
Epoch 2/10
54000/54000 [====] - 5s 86us/sample - loss: 0.3073 - acc: 0.8892 - val_loss: 0.2825 - val_acc: 0.8950
...
...
Epoch 9/10
54000/54000 [====] - 5s 86us/sample - loss: 0.1401 - acc: 0.9468 - val_loss: 0.2269 - val_acc: 0.9207
Epoch 10/10
54000/54000 [====] - 5s 86us/sample - loss: 0.1242 - acc: 0.9531 - val_loss: 0.2600 - val_acc: 0.9173
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment