This file contains 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 | |
#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]) |
OlderNewer