Last active
July 29, 2021 08:17
-
-
Save bhavbhavyaa/a974675579f23c32eff42fad6c3b087d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
model = Sequential() | |
model.add(Conv2D(16,(5,5),input_shape = (256,256,3))) | |
model.add(Activation('relu')) | |
model.add(MaxPooling2D(pool_size = (4,4))) | |
model.add(Conv2D(32,(5,5))) | |
model.add(Activation('relu')) | |
model.add(MaxPooling2D(pool_size = (4,4))) | |
model.add(Conv2D(64,(5,5))) | |
model.add(Activation('relu')) | |
model.add(MaxPooling2D(pool_size = (4,4))) | |
model.add(Flatten()) | |
model.add(Dense(512,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