AttributeError: ‘str‘ object has no attribute ‘decode
AttributeError: ‘str’ object has no attribute ‘decode’**问题描述:original_keras_version = f.attrs[‘keras_version’].decode(‘utf8’)AttributeError: ‘str’ object has no attribute ‘decode’解决方案:修改h5py模块的版本pip install h5py==2.10...