Skip to content

Instantly share code, notes, and snippets.

@afozbek
Created January 28, 2019 07:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save afozbek/5430bffbcacf0fd7c944b89f5af8cef6 to your computer and use it in GitHub Desktop.
Save afozbek/5430bffbcacf0fd7c944b89f5af8cef6 to your computer and use it in GitHub Desktop.
medium
assert(X_train.shape[0] == y_train.shape[0]), "The number of images is not equal .."
assert(X_test.shape[0] == y_test.shape[0]), "The number of images is not equal .."
assert(X_train.shape[1:] == (28, 28)), "The dimension of the images are not 28x28"
assert(X_test.shape[1:] == (28, 28)), "The dimension of the images are not 28x28"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment