tensorflow安装新
来源:互联网 发布:淘宝收藏量什么意思 编辑:程序博客网 时间:2024/06/06 18:04
使用native pip安装tensorflow1.2的GPU版本:
(1)卸载原有的tensorflow
$ sudo pip uninstall tensorflow # for Python 2.7$ sudo pip3 uninstall tensorflow # for Python 3.n(2)安装python和pip3
$ sudo apt-get install python-pip python-dev # for Python 2.7$ sudo apt-get install python3-pip python3-dev # for Python 3.n(3)安装tensorflow1.2GPU版本$ sudo pip3 install --upgrade https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.2.0-cp34-cp34m-linux_x86_64.whl(4)tensorflow1.3版本需要cudnn6.0的支持,所以在安装1.3版本时先安装cudnn6.0,对于cudnn5.0安装1.2版本,下面有1.3版本的tensorflow源,由于1.3有130M比1.2
的87M大很多.说明添加了很多新特性.
相关的url,在tensorflow的官方文档最后有:
The URL of the TensorFlow Python package
A few installation mechanisms require the URL of the TensorFlow Python package.The value you specify depends on three factors:
- operating system
- Python version
- CPU only vs. GPU support
This section documents the relevant values for Linux installations.
Python 2.7
CPU only:
https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.3.0-cp27-none-linux_x86_64.whl
GPU support:
https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.3.0-cp27-none-linux_x86_64.whl
Note that GPU support requires the NVIDIA hardware and software described inNVIDIA requirements to run TensorFlow with GPU support.
Python 3.4
CPU only:
https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.3.0-cp34-cp34m-linux_x86_64.whl
GPU support:
https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.3.0-cp34-cp34m-linux_x86_64.whl
Note that GPU support requires the NVIDIA hardware and software described inNVIDIA requirements to run TensorFlow with GPU support.
Python 3.5
CPU only:
https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.3.0-cp35-cp35m-linux_x86_64.whl
GPU support:
https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.3.0-cp35-cp35m-linux_x86_64.whl
Note that GPU support requires the NVIDIA hardware and software described inNVIDIA requirements to run TensorFlow with GPU support.
Python 3.6
CPU only:
https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.3.0-cp36-cp36m-linux_x86_64.whl
GPU support:
https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.3.0-cp36-cp36m-linux_x86_64.whl
Note that GPU support requires the NVIDIA hardware and software described inNVIDIA requirements to run TensorFlow with GPU support.
- tensorflow安装新
- [TensorFLow] tensorFlow安装
- [TensorFlow] win10安装TensorFlow
- 【tensorflow】最新版tensorflow安装
- [TensorFlow] windows 安装TensorFlow
- Tensorflow安装
- 安装tensorflow
- Tensorflow安装
- Tensorflow 安装
- 安装tensorflow
- 安装tensorflow
- 安装tensorflow
- TensorFlow安装
- tensorflow安装
- 安装tensorflow
- TensorFlow安装
- tensorflow安装
- tensorflow安装
- Java空对象模式
- ModelSim仿真入门之一:软件介绍
- VS工具箱加载自定义控件不显示,显示不全
- python中*号**的区别
- jdk1.8新特性比较器浅析
- tensorflow安装新
- 新能源整车装车调试流程
- C#中Equals和= =(等于号)的比较)
- Java策略模式
- 中国用户,到底想要什么样的智能音箱?
- jQuery,attr(i,origValue)中i和origValue参数怎么传来的?
- BZOJ 3410 [Usaco2009 Dec]Selfish Grazing 自私的食草者 贪心
- Genymotion Android stdio 的配置
- Sublime Text构建node.js环境