TensorFlow的历史版本与对应Python版本

版本 Python 版本 最后版本发布时间
tensorflow-2.4.0 3.6-3.8 2020年12月
tensorflow-2.3.0 3.5-3.8 2020年7月
tensorflow-2.2.0 3.5-3.8 2020年5月
tensorflow-2.1.0 3.5-3.7 2020年1月
tensorflow-2.0.0 3.5-3.7 2019年10月
tensorflow-1.15.0 3.5-3.7 2019年10月
tensorflow-1.14.0 3.5-3.7 2019年6月
tensorflow-1.13.0 3.5-3.7 2019年2月
tensorflow-1.12.0 3.5-3.6 2018年11月
tensorflow-1.11.0 3.5-3.6 2018年9月
tensorflow-1.10.0 3.5-3.6 2018年8月
tensorflow-1.9.0 3.5-3.6 2018年7月
tensorflow-1.8.0 3.5-3.6 2018年4月
tensorflow-1.7.0 3.5-3.6 2018年3月
tensorflow-1.6.0 3.5-3.6 2018年3月
tensorflow-1.5.0 3.5-3.6 2018年1月
tensorflow-1.4.0 3.5-3.6 2017年11月
tensorflow-1.3.0 3.5-3.6 2017年8月
tensorflow-1.2.0 3.5-3.6 2017年6月
tensorflow-1.1.0 3.5 2017年4月
tensorflow-1.0.0 3.5 2017年2月

对于TensorFlow 1.X,可以统一使用Tensorflow 1.15.0,对应的python版本为3.5-3.7。

pip install tensorflow==1.15.0 # CPU版本
pip install tensorflow_gpu==1.15.0 # GPU版本

对于TensorFlow 2.X,统一使用最新版本即可。

pip install tensorflow # tensorflow的CPU最新版本
pip install tensorflow_gpu # tensorflow的GPU最新版本

来源:白水baishui

物联沃分享整理
物联沃-IOTWORD物联网 » TensorFlow的历史版本与对应Python版本

发表评论