Skip to content

Instantly share code, notes, and snippets.

@kedevked
Created April 28, 2019 17:37
Show Gist options
  • Save kedevked/dfcda08a1fefb7e488ded40b730dcb20 to your computer and use it in GitHub Desktop.
Save kedevked/dfcda08a1fefb7e488ded40b730dcb20 to your computer and use it in GitHub Desktop.
transfer learning with only GlobalAveragePooling layer
model = Sequential()
model.add(GlobalAveragePooling2D(train_inception_v3.shape[1:]))
model.add(Dense(133, activation='softmax'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment