Created
September 8, 2020 17:31
-
-
Save WashingtonGold/6a10272c5869347e3dd0650cf387e93f 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
from keras.layers import Conv2D, MaxPooling2D, Flatten | |
image_1 = Conv2D(32, kernel_size=(3, 3), activation="relu")(image_input) #convolution | |
image_2 = MaxPooling2D(pool_size=(2, 2))(image_1) #max pooling | |
image_3 = Conv2D(64, kernel_size=(3, 3), activation="relu")(image_2) #convolution | |
image_4 = MaxPooling2D(pool_size=(2, 2))(image_3) #max pooling | |
image_5 = Flatten()(image_4) #flatten |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment