I created one CNN model and it works fine. I want to save this model so that I can use this in future. How can I do that?
You can save your CNN model in keras. For that you have to import one module named save_model. Use the below given code to do this task.
from keras.models import save_model
model = save_model(model,'/path/name.h5')
Hope this will help.
To import one pre-created ML model, you ...READ MORE
You can do this task using numpy ...READ MORE
When you add your NN layer, it ...READ MORE
Try something like this:
array([[nan, 0.2, nan],
You are trying to use pre-created weight of ...READ MORE
You may get this error if your ...READ MORE
Check the python version installed. Tensorflow is ...READ MORE
Make the following changes in your script, ...READ MORE
You can load your pre-created model in ...READ MORE
To save your Machine Learning model, you ...READ MORE
Already have an account? Sign in.