前言
强烈推荐cuda8.0+cudnn5+ 然后直接pip安装!源码编译非常费劲 很多坑 de的我都意识模糊了
配置:ubuntu14,cuda7.5,cudnn版本未知(应该是5吧)
安装tensorflow 1.0.1-gpu
需要准备一台能翻墙疯狂google github issues的电脑
因为是cuda7.5还是公用服务器。被迫源码编译
进入主题
clone 要从github下载zip文件手动解压,不要用git clone, 否则丢文件git check 不出来但是编译会报错【原因未知】
大体按照官网安装。也就是install from source
装bazel. bazel 官网install页面挂了,去百度搜别人博客基本能装上。
$ cd tensorflow # cd to the top-level directory created
$ ./configure
这两行开始问题就比较大
首先 ./configure 不要用sudo!, 如果没权限就把tensorflow目录cp 到能不用sudo的
XLA just-in-time compiler (experimental)? [y/N]
点N
所