tf-keras-版本问题解决

问题1

conda install keras==2.2.5 
(tf14) C:\Users\Administrator>conda install keras==2.2.5
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.

PackagesNotFoundError: The following packages are not available from current channels:

  - keras==2.2.5

尝试

pip install keras==2.2.5

问题2

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

尝试

pip install h5py==2.10.0

你可能感兴趣的:(AI,keras,人工智能,深度学习)