python3.6适配的tensorflow和keras
时间: 2023-10-29 20:40:04 浏览: 54
TensorFlow 1.13.1及以上版本和Keras 2.2.4及以上版本是适配Python 3.6的。建议使用conda或pip安装最新版本的TensorFlow和Keras。
安装TensorFlow:
- conda install tensorflow
- pip install tensorflow
安装Keras:
- conda install keras
- pip install keras
相关问题
python3.6 对应tensorflow和keras版本
Python3.6 对应的 TensorFlow 和 Keras 版本如下:
TensorFlow:
- TensorFlow 2.0 及以上版本需要使用 Python 3.5-3.8
- TensorFlow 1.x 版本可以在 Python 2.7 或 3.4-3.6 上运行
Keras:
- Keras 2.3.0 及以上版本需要使用 Python 3.5-3.7
- Keras 2.2.x 版本可以在 Python 2.7 或 3.4-3.6 上运行
需要注意的是,TensorFlow 2.0 已经完全集成了 Keras,因此在 TensorFlow 2.0 及以上版本中无需单独安装 Keras。而在 TensorFlow 1.x 版本中,可以通过 pip 安装 Keras。
tensorflow2.0 python3.6 适配的keras版本
TensorFlow 2.0 官方支持的 Keras 版本是 Keras API of TensorFlow,不需要单独安装 Keras 库。因此,TensorFlow 2.0 使用的是其内置的 Keras API 版本。