Skip to content

Instantly share code, notes, and snippets.

@um4ng-tiw
Last active July 1, 2021 14:36
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/d033d66b92ff15f24815853a9c64d83d to your computer and use it in GitHub Desktop.
Save um4ng-tiw/d033d66b92ff15f24815853a9c64d83d to your computer and use it in GitHub Desktop.
model = Sequential()
model.add(Conv2D(16, (3,3), input_shape=(50, 50, 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(32, activation="relu"))
model.add(Dense(1, activation="sigmoid"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment