WIN10安装tensorflow

环境:win10

清理环境

 如果之前安装有tensorflow,先清理干净,在CMD中依次输入下列代码,选择‘y’:

pip  uninstall protobuf

pip uninstall tensorflow

安装cpu版本的tensorflow:

pip install tensorflow
安装GPU版本的tensorflow:

pip install tensorflow-gpu
 下载CUDA,CUDA8对应cuDNN6.0(亲测可用);CUDA9对应cuDNN7.0(还没试过)


猜你喜欢

转载自blog.csdn.net/qq_36735489/article/details/79118391