深度学习实战演练

第三章(1.2)windows下安装Anaconda+Tenso

2019-01-13  本文已影响1人  _两只橙_

一、下载

image image

二、安装Anaconda

三、验证

image

四、TensorFlow安装(安装的是cpu版本)

cd Program Files\Anaconda3\Scripts 
pip install --upgrade --ignore-installed tensorflow
pip install --upgrade --ignore-installed tensorflow-gpu

五、测试

python
import tensorflow as tf
hello = tf.constant('Hello, TensorFlow!')
sess = tf.Session()
print(sess.run(hello))
a = tf.constant(10)
b = tf.constant(32)
print(sess.run(a + b))

六、配置PyCharm最新激活码

import tensorflow as tf
hello = tf.constant('Hello, TensorFlow!')
sess = tf.Session()
print(sess.run(hello))

七、配置清华源

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

conda config –set show_channel_urls yes()

关注我的技术公众号,每天推送优质文章
关注我的音乐公众号,工作之余放松自己
微信扫一扫下方二维码即可关注:


音乐公众号
技术公众号
上一篇 下一篇

猜你喜欢

热点阅读