版本    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最新版本

原文链接:https://blog.csdn.net/baishuiniyaonulia/article/details/118977952

Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐