How to load CNN model in keras?

Machine Learning

Hi Guys,

I have downloaded one CNN model from google. Now I want to load this model to predict the output. How can I load CNN model in keras?



It is possible to load CNN model in Keras. In order to load the pre-created model in Keras, you will need to use the module called load_model. You need to use the below code to complete the loading action.

from keras.models import load_model

model = load_model('name.s4')


If you want to unleash your potential in this competitive field, please visit the Machine Learning course page for more information, where you can find the Machine Learning tutorials and Machine Learning frequently asked interview questions and answers as well.


This topic has been locked/unapproved. No replies allowed

Login to participate in this discussion.

Leave a reply

Before proceeding, please check your email for a verification link. If you did not receive the email, click here to request another.