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

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

只要运行如下命令即可:

pip install tensorflow h5py==2.10.0

 

你可能感兴趣的:(model_config = json.loads(model_config.decode(‘utf-8‘)) AttributeError: ‘str‘ object has no attribut)