keras运行过程出现如下错误:
original_keras_version = f.attrs['keras_version'].decode('utf8')
AttributeError: 'str' object has no attribute 'decode'
方法:
卸载重装不同版本
pip uninstall h5py
pip install h5py==2.10.0
keras运行过程出现如下错误:
original_keras_version = f.attrs['keras_version'].decode('utf8')
AttributeError: 'str' object has no attribute 'decode'
方法:
卸载重装不同版本
pip uninstall h5py
pip install h5py==2.10.0