I ran into some trouble when trying to save a Keras model:
Here is my code:
import h5py from keras.models import load_model try: import h5py
Make sure you use the latest version of Keras.
Also, this error has been reported here in the keras github: https://github.com/fchollet/keras/issues/3426
on linux:
sudo apt-get install libhdf5 sudo pip install h5py