Skip to content

Instantly share code, notes, and snippets.

@rakshitraj
Created July 9, 2020 18:42
Show Gist options
  • Save rakshitraj/51f8dd252a18864386e38d56e23fb06d to your computer and use it in GitHub Desktop.
Save rakshitraj/51f8dd252a18864386e38d56e23fb06d to your computer and use it in GitHub Desktop.
Solve the MNIST Image Classification Problem - Example 5
from keras.utils import to_categorical
train_labels = to_categorical(train_labels)
test_labels = to_categorical(test_labels)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment