Skip to content

Instantly share code, notes, and snippets.

@Blaizzy
Last active April 10, 2019 09:21
Show Gist options
  • Select an option

  • Save Blaizzy/93db6e70fd1f6aafb58debce4edf0114 to your computer and use it in GitHub Desktop.

Select an option

Save Blaizzy/93db6e70fd1f6aafb58debce4edf0114 to your computer and use it in GitHub Desktop.
from keras import layers
from keras import models
model = models.Sequential()
model.add(layers.Conv2D(32, kernel_size = (3,3), activation='relu', input_shape=(28,28,1)))
model.add(layers.MaxPooling2D((2,2)))
model.add(layers.Conv2D(64, kernel_size=(3,3), activation='relu'))
model.add(layers.MaxPooling2D((2,2)))
model.add(layers.Conv2D(64, kernel_size=(3,3), activation='relu'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment