tips:目前使用的是tensorflow1.4 版本,bazel 是0.8.0版本,使用源码安装gpu版本
1. 第一步,下载相应的tensorflow的源代码
git clone https://github.com/tensorflow/tensorflow
2.安装bazel
2.1 安装相关的依赖
sudo apt-get install build-e
tips:目前使用的是tensorflow1.4 版本,bazel 是0.8.0版本,使用源码安装gpu版本
1. 第一步,下载相应的tensorflow的源代码
git clone https://github.com/tensorflow/tensorflow
2.安装bazel
2.1 安装相关的依赖
sudo apt-get install build-e