python&anconda系列(亲测有效):tensorflow AttributeError: ‘str’ object has no attribute ‘decode’

tensorflow AttributeError: ‘str’ object has no attribute ‘decode’

报错信息

model_config = json.loads(model_config.decode('utf-8'))
AttributeError: 'str' object has no attribute 'decode'

解决办法

pip install h5py==2.1
posted @ 2024-01-26 09:56  坦笑&&life  阅读(5)  评论(0编辑  收藏  举报  来源