Tensorflow安装
来源:互联网 发布:linux 安装万兆网卡 编辑:程序博客网 时间:2024/06/05 15:44
通过native pip安装1.3版本:
$ sudo apt-get install python-pip python-dev # for Python 2.7$ sudo apt-get install python3-pip python3-dev # for Python 3.n
$ sudo pip3 install --upgrade \ https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.3.0-cp34-cp34m-linux_x86_64.whl
这里安装的版本是比较低的0.12
安装pip3:
sudo apt-get install python3-pip2、升级pip3到9.0.1版本sudo pip3 install pymysqlsudo pip3 install --upgrade pip通过pip3 -V命令查看pip3版本是否已经是9.0.13、安装版本需求导入源# Python 2$ sudo pip install --upgrade $TF_BINARY_URL# Python 3$ sudo pip3 install --upgrade $TF_BINARY_URL其中环境变量 TF_BINARY_URL 根据你的环境进行设置,典型选项如下:# Ubuntu/Linux 64-bit, CPU only, Python 2.7$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.12.1-cp27-none-linux_x86_64.whl# Ubuntu/Linux 64-bit, GPU enabled, Python 2.7# 需要 CUDA toolkit 8.0 和 CuDNN v5. 其他版本只能用源码方式安装$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-0.12.1-cp27-none-linux_x86_64.whl# Mac OS X, CPU only, Python 2.7:$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-0.12.1-py2-none-any.whl# Mac OS X, GPU enabled, Python 2.7:$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/mac/gpu/tensorflow_gpu-0.12.1-py2-none-any.whl# Ubuntu/Linux 64-bit, CPU only, Python 3.4$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.12.1-cp34-cp34m-linux_x86_64.whl# Ubuntu/Linux 64-bit, GPU enabled, Python 3.4# 需要 CUDA toolkit 8.0 和 CuDNN v5. 其他版本只能用源码方式安装$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-0.12.1-cp34-cp34m-linux_x86_64.whl# Ubuntu/Linux 64-bit, CPU only, Python 3.5$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.12.1-cp35-cp35m-linux_x86_64.whl# Ubuntu/Linux 64-bit, GPU enabled, Python 3.5# Requires CUDA toolkit 8.0 and CuDNN v5. For other versions, see "Installing from sources" below.$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-0.12.1-cp35-cp35m-linux_x86_64.whl# Mac OS X, CPU only, Python 3.4 or 3.5:$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-0.12.1-py3-none-any.whl# Mac OS X, GPU enabled, Python 3.4 or 3.5:$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/mac/gpu/tensorflow_gpu-0.12.1-py3-none-any.whl4、安装tensorflowsudo pip3 install --upgrade $TF_BINARY_URL
阅读全文
0 0
- [TensorFLow] tensorFlow安装
- [TensorFlow] win10安装TensorFlow
- 【tensorflow】最新版tensorflow安装
- [TensorFlow] windows 安装TensorFlow
- Tensorflow安装
- 安装tensorflow
- Tensorflow安装
- Tensorflow 安装
- 安装tensorflow
- 安装tensorflow
- 安装tensorflow
- TensorFlow安装
- tensorflow安装
- 安装tensorflow
- TensorFlow安装
- tensorflow安装
- tensorflow安装
- tensorflow安装
- jquery 文字无缝滚动
- Socket的Connected属性
- Android Calendar获取年月日时分秒毫秒
- 极光推送
- DM368开发 -- 再论 UBL
- Tensorflow安装
- PMP
- 量子计算入门-第二部分
- exit函数和_exit函数之间的区别
- MongoDB一个基于分布式文件存储的数据库(介于关系数据库和非关系数据库之间的数据库)
- 数论——洛谷 P1445 没占到1444的愤怒
- sql语句中select……as的用法
- Struts2框架action传入页面list对象集合,修改对象集合数据后提交给action
- For input string:"name"