Resnet50 in keras

Hi,
Please see the problem below.


My h5 file is present in the local directory. Still I am getting the error.
When I run this as below:
result = classifier.predict(test_image), I get classifier name not defined error.
What to do?
Thanks in advance.
Regards

It looks like you have only saved the weights. Save the model using model.save instead of model.save_weights.

Hi,
I was able to run it successfully.Thanks.