Skip to content

Instantly share code, notes, and snippets.

@alstat
Last active March 10, 2018 10:14
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 alstat/e8f2ac3b8374c6fd00300a1d0de213b3 to your computer and use it in GitHub Desktop.
Save alstat/e8f2ac3b8374c6fd00300a1d0de213b3 to your computer and use it in GitHub Desktop.
from numpy import arange, product, vstack, zeros
from keras.models import Sequential
from keras.layers import Activation, Dense, Dropout
from keras.datasets import cifar100
from keras.utils.np_utils import to_categorical
from matplotlib.pylab import axis, imshow, savefig, show, subplots
# Define the constants
CONST_N = 2000
CONST_EPOCHS = 30
CONST_PIXEL_MAX = 255
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment