Skip to content

Instantly share code, notes, and snippets.

@saurabhpal97
Created May 31, 2019 08:44
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 saurabhpal97/e578b840021b57829fbb9ced8118592f to your computer and use it in GitHub Desktop.
Save saurabhpal97/e578b840021b57829fbb9ced8118592f to your computer and use it in GitHub Desktop.
from keras.models import load_model
#load the model
test_model = load_model('weights-improvement-108-0.86.hdf5')
#calculate the performance metrics
perf = test_model.evaluate(x_test,y_test)
print('Validation loss - ',perf[0])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment