Created
April 28, 2019 17:09
-
-
Save kedevked/06603289c49dbd1baab1e5c538d06fa3 to your computer and use it in GitHub Desktop.
convolutional layers for dog breed classifier
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.add(Dense(input_shape=[224, 224, 3], units=16)) | |
model.add(Conv2D(filters = 16, kernel_size=2, strides=1, padding ='valid', activation='relu')) | |
model.add(MaxPooling2D(pool_size = (2), strides=(2), padding ='valid')) | |
model.add(Conv2D(filters = 32, kernel_size=2, strides=1, padding ='valid', activation='relu')) | |
model.add(MaxPooling2D(pool_size = (2), strides=(2), padding ='valid')) | |
model.add(Conv2D(filters = 64, kernel_size=2, strides=1, padding ='valid', activation='relu')) | |
model.add(MaxPooling2D(pool_size = (2), strides=(2), padding ='same')) | |
model.add(GlobalAveragePooling2D()) | |
model.add(Dense(units=133, activation='softmax')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment