Last active
November 11, 2018 16:39
-
-
Save weklund/12e20ecb2d00d38d240bc34c6b4a15d7 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 = InceptionResNetV2(weights = 'imagenet', include_top = False) | |
model = Sequential() | |
model.add(GlobalAveragePooling2D(input_shape = train_features_inception.shape[1:])) | |
model.add(Dropout(0.2)) | |
model.add(Dense(1024, activation = 'relu')) | |
model.add(Dropout(0.2)) | |
model.add(Dense(512, activation = 'relu')) | |
model.add(Dropout(0.2)) | |
model.add(Dense(128, activation = 'relu')) | |
model.add(Dropout(0.2)) | |
model.add(Dense(3, activation ='softmax')) | |
model.summary() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment