报错详情
File "/home/ffggh/miniconda3/envs/py36/lib/python3.6/site-packages/keras/engine/saving.py", line 242, in _deserialize_model
model_config = json.loads(model_config.decode('utf-8'))
AttributeError: 'str' object has no attribute 'decode'
原因
h5py文件版本太高
解决办法:
pip install h5py==2.10