Skip to content

Instantly share code, notes, and snippets.

@josete89
Last active May 25, 2018 09:23
Show Gist options
  • Save josete89/3baf80dd7b18ed2e2ef4ce798eb484fd to your computer and use it in GitHub Desktop.
Save josete89/3baf80dd7b18ed2e2ef4ce798eb484fd to your computer and use it in GitHub Desktop.
from keras.models import Sequential
from keras import models
model = Sequential()
...
# serialize model
model.save('my_model.hd5')
# later...
# load model
model = models.load_model('my_model.hd5')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment