惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

宝玉的分享
宝玉的分享
NISL@THU
NISL@THU
E
Exploit-DB.com RSS Feed
L
LINUX DO - 热门话题
L
Lohrmann on Cybersecurity
K
Kaspersky official blog
Project Zero
Project Zero
Cisco Talos Blog
Cisco Talos Blog
T
The Exploit Database - CXSecurity.com
P
Palo Alto Networks Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
T
Threatpost
S
Schneier on Security
G
GRAHAM CLULEY
The Hacker News
The Hacker News
T
Threat Research - Cisco Blogs
Scott Helme
Scott Helme
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
P
Privacy & Cybersecurity Law Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
Cyberwarzone
Cyberwarzone
C
CERT Recently Published Vulnerability Notes
T
Tor Project blog
AWS News Blog
AWS News Blog
Simon Willison's Weblog
Simon Willison's Weblog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
爱范儿
爱范儿
P
Privacy International News Feed
云风的 BLOG
云风的 BLOG
P
Proofpoint News Feed
S
Securelist
G
Google Developers Blog
The Last Watchdog
The Last Watchdog
Google Online Security Blog
Google Online Security Blog
美团技术团队
F
Fortinet All Blogs
小众软件
小众软件
Recorded Future
Recorded Future
V
Visual Studio Blog
B
Blog RSS Feed
H
Help Net Security
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Google DeepMind News
Google DeepMind News
Blog — PlanetScale
Blog — PlanetScale
博客园 - 聂微东
Stack Overflow Blog
Stack Overflow Blog
Martin Fowler
Martin Fowler
Latest news
Latest news
Spread Privacy
Spread Privacy
H
Heimdal Security Blog

博客园 - onekey

MPU9250九轴陀螺仪--读接口数据 MPU9250九轴陀螺仪--连接MPU9250 Elasticsearch -- 索引管理 centos 7下rabbitmq安装(转) CentOS下Redis的安装(转) CentOS7.5 安装MySQL8 tar Ntrip协议简介(转) 路径规划(3)--搭建Ntrip环境:NtripServer,NtripClient and NtripCaster 路径规划(2)--设置基站和移动站 路径规划(1)--连接GPS接收端 环境搭建--使用pytharm远程调试树莓派 在CentOS 7上安装Nginx elasticsearch -- Logstash实现mysql同步数据到elasticsearch elasticsearch -- 安装 elasticsearch -- kibana安装配置 Elasticsearch -- Head插件安装 TensorFlow官方文档中文版 myeclipse编译、输出 win7 64位下使用oracle ado.net entity framework
在Win10 Anaconda中安装Tensorflow
onekey · 2017-01-08 · via 博客园 - onekey

有需要的朋友可以参考一下

1、安装Anaconda

 下载:https://www.continuum.io/downloads,我用的是Python 3.5 

下载完以后,安装。

安装完以后,打开Anaconda Prompt,输入清华的仓库镜像,更新包更快:

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/

conda config --set show_channel_urls yes


推荐第一行命令输入两次,以便把这个镜像地址放在首位。

2、安装TensorFlow

继续打开Anaconda Prompt,输入:

conda create -n tensorflow python=3.5

安装完以后,输入:

activate tensorflow

激活后,我选择安装的是CPU版本,输入:

安装失败的话多试几次

 
 1 # 进入一个交互式 TensorFlow 会话.
 2 import tensorflow as tf
 3 sess = tf.InteractiveSession()
 4 
 5 x = tf.Variable([1.0, 2.0])
 6 a = tf.constant([3.0, 3.0])
 7 
 8 # 使用初始化器 initializer op 的 run() 方法初始化 'x' 
 9 x.initializer.run()
10 
11 # 增加一个减法 sub op, 从 'x' 减去 'a'. 运行减法 op, 输出结果 
12 sub = tf.sub(x, a)
13  sub.eval()
14 # ==> [-2. -1.]

4、关闭

当你不用 TensorFlow 的时候,关闭环境:

  deactivate