根据不同的配置选择不同的版本

一:python 3.6+cuda9.0     参考https://www.cnblogs.com/fanfzj/p/8521728.html

二:python3.6+cuda8.0       之前电脑已经装了matlab+cuda8版本的faster-rcnn跑vgg网络,所以为了二者兼容,只能选择python3.6+cuda8.0 ,cuda8并不支持tensorflow-gpu最新的版本1.9,所以选择1.4安装然后按照上面的链接安装运行。

又因为python3.6和TensorFlow-gpu的老版本1.4不兼容,所以在Anaconda Prompt下安装。

先卸载pip uninstall tensorflow-gpu

选择安装版本:pip install tensorflow-gpu==1.4.0

参考:https://blog.csdn.net/gangeqian2/article/details/79358543

https://blog.csdn.net/weixin_38285131/article/details/79416592

 

TensorFlow GPU版本的配置

相关文章: