Ubuntu16.04 Tensorflow安装
来源:互联网 发布:人工智能的负面影响 编辑:程序博客网 时间:2024/03/28 17:06
Anaconda安装
Anaconda官网下载相应的版本
下载的文件名为:Anaconda2-4.4.0-Linux-x86_64.sh
打开安装界面
bash Anaconda2-4.4.0-Linux-x86_64.sh
阅读协议,不停yes即可。
安装完之后,source ~/.bashrc
使用Anaconda环境变量。conda list
查看Anaconda下的包,至此,Anaconda安装完成。
创建环境
conda create -n tensorflow python=2.7
基于python2.7创建名为tensorflow的环境,此处的环境的意义与虚拟环境类似
使用环境
source activate tensorflow
安装tensorflow
pip install --upgrade tensorflow
tensorflow是否安装成功
python
# Pythonimport tensorflow as tfhello = tf.constant('Hello, TensorFlow!')sess = tf.Session()print(sess.run(hello))
至此,tensorflow安装完成。
参考自:https://www.tensorflow.org/install/install_linux
阅读全文
0 0
- Ubuntu16.04安装tensorflow
- Ubuntu16.04 Tensorflow安装
- ubuntu16.04 安装tensorflow
- ubuntu16.04安装tensorflow
- Ubuntu16.04安装TensorFlow教程
- Ubuntu16.04 安装Tensorflow-CPU
- Ubuntu16.04安装anaconda3+tensorflow
- ubuntu16.04安装tensorflow-gpu
- [TensorFlow] ubuntu16.04 pip3安装 TensorFlow
- Ubuntu16.04安装CUDA7.5+Caffe+tensorflow
- 基于ubuntu16.04 源码安装 tensorflow
- ubuntu16.04下安装TensorFlow(GPU加速)
- Ubuntu16.04快速安装/更新Tensorflow
- 在Ubuntu16.04下安装TensorFlow
- Ubuntu16.04+Anaconda 安装GPU版本tensorflow
- 深度学习tensorflow安装ubuntu16.04amd64
- Ubuntu16.04安装TensorFlow 1.2.0
- ubuntu16.04 python3安装opencv及tensorflow
- java前后端传值
- selenium学习过程中用到的资料链接
- C++ Traits(特征)和policy classes(策略类别)(8)---《C++ Templates》
- HDU4027 Can you answer these queries? (线段树单点更新 +优化)
- 前端chrome浏览器调试总结
- Ubuntu16.04 Tensorflow安装
- SpringMVC注解开发(基础)---SpringMVC学习笔记(七)
- HBase 默认配置
- android服务端与客户端
- Vasya is the beginning mathematician. He decided to make an important contribution to the science an
- js实现Div拖拽
- ActiveX控件属性:自定义属性的使用
- java 不规则二维数组的定义与输出 及 Arrays.fill(type[] A , type B)的用法 及 交换两行的方法
- Tomcat8.5源码分析-HostConfig