The following line of code has something wrong. It has no retrained pet recognizer.h5 in the directory of /home/user/Documents/dl-cookbook/zoo/09/. Or it shows load_model is not defined.
keras_model = load_model('/zoo/09.3 retrained pet recognizer.h5')
The errors are quite strange considering the script is quite simple.
Issues
The following line of code has something wrong. It has no retrained pet recognizer.h5 in the directory of /home/user/Documents/dl-cookbook/zoo/09/. Or it shows load_model is not defined.
keras_model = load_model('/zoo/09.3 retrained pet recognizer.h5')
The errors are quite strange considering the script is quite simple.