Ubuntu16.04编译Tensorflow
来源:互联网 发布:双色球九宫图算法杀号 编辑:程序博客网 时间:2024/05/17 04:25
apt-get install openjdk-8-jdk
echo "deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list
curl https://bazel.build/bazel-release.pub.gpg | sudo apt-key add -
apt-get update
apt-get install bazel
git clone https://github.com/tensorflow/tensorflow
cd tensorflow/
./configure
bazel build -c opt --copt=-mavx --copt=-mavx2 --copt=-mfma --copt=-mfpmath=both --copt=-msse4.2 -k //tensorflow/tools/pip_package:build_pip_package
bazel-bin/tensorflow/tools/pip_package/build_pip_package /tmp/tensorflow_pkg
pip3 install /tmp/tensorflow_pkg/tensorflow-1.3.0rc2-cp35-cp35m-linux_x86_64.whl
echo "deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list
curl https://bazel.build/bazel-release.pub.gpg | sudo apt-key add -
apt-get update
apt-get install bazel
git clone https://github.com/tensorflow/tensorflow
cd tensorflow/
./configure
bazel build -c opt --copt=-mavx --copt=-mavx2 --copt=-mfma --copt=-mfpmath=both --copt=-msse4.2 -k //tensorflow/tools/pip_package:build_pip_package
bazel-bin/tensorflow/tools/pip_package/build_pip_package /tmp/tensorflow_pkg
pip3 install /tmp/tensorflow_pkg/tensorflow-1.3.0rc2-cp35-cp35m-linux_x86_64.whl
阅读全文
0 0
- Ubuntu16.04编译Tensorflow
- Ubuntu16.04编译tensorflow官方Android demo
- tensorflow+ubuntu16.04
- Ubuntu16.04配置TensorFlow
- Ubuntu16.04安装tensorflow
- Ubuntu16.04 Tensorflow安装
- ubuntu16.04 安装tensorflow
- ubuntu16.04安装tensorflow
- [TensorFlow] ubuntu16.04 pip3安装 TensorFlow
- Tensorflow+Ubuntu16.04+Gpu配置
- Ubuntu16.04+Tensorflow+CUDA8.0
- ubuntu16.04 cuda cudnn tensorflow
- Ubuntu16.04安装TensorFlow教程
- Ubuntu16.04+CUDA8.0+Tensorflow
- Ubuntu16.04 安装Tensorflow-CPU
- Ubuntu16.04安装anaconda3+tensorflow
- ubuntu16.04安装tensorflow-gpu
- ubuntu16+tensorflow
- 求一个n阶方阵对角线元素之和
- GUID介绍
- js中i++与++i的区别
- 3. 线性模型性能分析--混淆矩阵(Confusion Matrix)
- redis
- Ubuntu16.04编译Tensorflow
- hdu 4455 Substrings # dp / 线段树
- Set
- ThinkPHP5的安装方式
- Android图片加载框架最全解析(四),玩转Glide的回调与监听
- JAVA String类型不可变
- centos 安装jdk
- 关于C#中几种定时器精度的测试与探究
- 9、halcon定位学习(1)--基于形状的匹配