Tensorflow版本 Keras版本
Tensorflow 2.1
Tensorflow 2.0
Tensorflow 1.15 Keras 2.3.1
Tensorflow 1.14 Keras 2.2.5
Tensorflow 1.13
Tensorflow 1.12
Tensorflow 1.11 Keras 2.2.4
Tensorflow 1.10
Tensorflow 1.9 Keras 2.2.0
Tensorflow 1.8
Tensorflow 1.7
Tensorflow 1.5 Keras 2.1.6
Tensorflow 1.4 Keras 2.0.8
Tensorflow 1.3
Tensorflow 1.2
Tensorflow 1.1
Tensorflow 1.0 Keras 2.0.6
Tensorflow 0.12 Keras 1.2.2
两条命令解决:
pip uninstall keras
pip install keras==2.3.1