TensorFlow0.7 的安装
来源:互联网 发布:基于云计算的oracle 编辑:程序博客网 时间:2024/06/08 08:33
可以使用二进制包, 或者使用源代码, 安装 TensorFlow。本文采用二进制包安装。
二进制安装
TensorFlow Python API 依赖 Python 2.7 版本.
在 Linux 和 Mac 下最简单的安装方式, 是使用 pip 安装.
尝试第一个 TensorFlow 程序
二进制安装
TensorFlow Python API 依赖 Python 2.7 版本.
在 Linux 和 Mac 下最简单的安装方式, 是使用 pip 安装.
Ubuntu/Linux
# 仅使用 CPU 的版本sudo pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.7.0-cp27-none-linux_x86_64.whl# 开启 GPU 支持的版本 (安装该版本的前提是已经安装了 CUDA sdk)sudo pip install https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.5.0-cp27-none-linux_x86_64.whl</span>
尝试第一个 TensorFlow 程序
$ python>>> import tensorflow as tf>>> hello = tf.constant('Hello, TensorFlow!')>>> sess = tf.Session()>>> print sess.run(hello)Hello, TensorFlow!>>> a = tf.constant(10)>>> b = tf.constant(32)>>> print sess.run(a+b)42>>></span>
0 0
- TensorFlow0.7 的安装
- 安装tensorflow0.11方法
- CentOS安装python2.7和pip和cuda8.0和TensorFlow0.12
- win7下安装tensorflow0.12RC版本
- 从零安装深度学习环境Ubuntu16.0.4+TensorFlow0.11
- Windows10下安装TensorFlow0-12-0 for GPU
- 关于Ubuntu16.04+tensorflow0.12.0 运行方式学习的注意
- ubuntu-kylin 16.04 LTS +VM12pro+py2.7+tensorflow0.8.0+mnist
- ubuntu 14.04LTS下源码编译安装TensorFlow0.8-No GPU
- ubuntu14.04下tensorflow环境配置(tensorflow0.12多种安装方式+cuda7.5升级8.0)
- Ubuntu16.04+cuda-8.0+cudnn-v5.1+tensorflow0.8-gpu/tensorflow1.0-gpu安装教程
- tensorflow0.8.0-LSTM
- tensorflow0.10.0 ptb_word_lm.py 源码解析
- tensorflow0.10.0升级到tensorflow.011.0
- 从TensorFlow0.12升级到TensorFlow1.1
- TensorFlow0.8源码阅读 -- 代码目录结构讲解
- ubuntu16.04 + cuda8.0+cudnnv5 +tensorflow0.9 环境配置
- TensorFlow0.8源码阅读 -- 代码目录结构讲解
- 策略模式
- leetcode(58)-Range Sum Query - Immutable
- AngularJS 知识总结
- vb13
- Windows 7(Win7)下Visual Studio 2012(VS2012)编译jrtplib与MinGW编译jrtplib
- TensorFlow0.7 的安装
- 开源控件GifView
- VB程序语言1
- 【JS】:JS实现页面反向显示
- Android活动的四种启动方式(standard singleTop singleTask singleInstance)
- 问题:iOS8设置tableview的setSeparatorInset:UIEdgeInsetsZero不起作用
- 初入程序员的某一天
- [IMX6DL]do_gettimeofday()的精度分析
- CQOI2016 day2 模拟赛总结