在安装tensorflow-gpu版本时,需要先安装CUDA,cuDNN,而这3个软件/包的版本不匹配时,会导致安装不成功。
经过几次安装-卸载-又安装-又卸载-再安装……,终于摸索出了其中一个能成功安装的3个软件/包的版本匹配型号:
tensorflow-gpu版本为1.9.0,CUDA版本为9.0,cuDNN版本为——cuDNN 9.0-windows-x64-v7.1(windows7)
安装过程主要参考:手把手在Windows上安装TensorFlow无坑教程 以及 tensorflow 安装GPU版本,个人总结,步骤比较详细 还有最后如果要在spyder成功import tensorflow,需要参考:spyder中无法import tensorflow问题
——2018年10月4号