调用h5模型的时候报错:AttributeError: 'str' object has no attribute 'decode'

报错:AttributeError: 'str' object has no attribute 'decode'
解决:pip install 'h5py<3.0.0' -i https://pypi.tuna.tsinghua.edu.cn/simple

或者:pip install tensorflow h5py==2.10.0

posted on 2021-10-23 17:24  机场里的船  阅读(200)  评论(0)    收藏  举报