keras版本maskrcnn提示str object has no attribute decode
报错
original_keras_version = f.attrs['keras_version'].decode('utf8')
AttributeError: 'str' object has no attribute 'decode'
解决
卸载原来的h5py模块,安装2.10版本
pip install h5py==2.10 -i https://pypi.tuna.tsinghua.edu.cn/simple/
参考:https://blog.csdn.net/xiqi4145/a
原创
2021-03-16 12:04:28 ·
831 阅读 ·
0 评论