How to Solve NameError: name 'model_from_json' is not defined -- keras

Solution: Import the 'model_from_json' module

To Solve the error, add the following line to the top of your code.

from keras.models import model_from_json

 

For more information:
Python keras model_from_json