Skip to content

Instantly share code, notes, and snippets.

@joelouismarino
Last active July 30, 2017 03:50
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 joelouismarino/80007d609b6877822fddc1ef1cd2b71c to your computer and use it in GitHub Desktop.
Save joelouismarino/80007d609b6877822fddc1ef1cd2b71c to your computer and use it in GitHub Desktop.
from googlenet_custom_layers import PoolHelper, LRN
from keras.models import model_from_json
model = model_from_json(open('googlenet_architecture.json').read(), custom_objects={"PoolHelper": PoolHelper, "LRN": LRN})
model.load_weights('googlenet_weights.h5')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment