Created
December 2, 2018 12:28
-
-
Save hadifar/3ea5e30a8dd1971b377caf3e8b2226d3 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
from keras.models import load_model | |
model.save('my_model.h5') | |
del model # deletes the existing model | |
# returns a compiled model | |
# identical to the previous one | |
model = load_model('my_model.h5') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment