Skip to content

Instantly share code, notes, and snippets.

@Gabe-flomo
Created September 28, 2020 20:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Gabe-flomo/acf4e79fb8248eb2daa7ae3bbf80b044 to your computer and use it in GitHub Desktop.
Save Gabe-flomo/acf4e79fb8248eb2daa7ae3bbf80b044 to your computer and use it in GitHub Desktop.
# load model
model = VGG16()
# remove the output layer
model = Model(inputs=model.inputs, outputs=model.layers[-2].output)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment