Skip to content

Instantly share code, notes, and snippets.

@um4ng-tiw
Created July 8, 2021 13:45
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 um4ng-tiw/7290a550cc1ac800fa1566d11a68ab28 to your computer and use it in GitHub Desktop.
Save um4ng-tiw/7290a550cc1ac800fa1566d11a68ab28 to your computer and use it in GitHub Desktop.
model = Sequential()
model.add(Conv2D(32, (3,3), input_shape=(64,64,3), activation="relu"))
model.add(MaxPool2D(2,2))
model.add(Conv2D(32, (3,3), activation="relu"))
model.add(MaxPool2D(2,2))
model.add(Conv2D(16, (3,3), activation="relu"))
model.add(MaxPool2D(2,2))
model.add(Flatten())
model.add(Dense(128, activation="relu"))
model.add(Dense(4, activation="softmax"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment