`
gutou9
  • 浏览: 139789 次
  • 性别: Icon_minigender_1
  • 来自: 大连
社区版块
存档分类
最新评论

安装 tensorflow

阅读更多

 

安装 anaconda3 

如果菜单缺少快捷方式 

conda update menuinst
conda install -f console_shortcut ipython ipython-notebook ipython-qtconsole launcher spyder

 

 

安装 tensorflow

pip install --ignore-installed --upgrade https://mirrors.tuna.tsinghua.edu.cn/tensorflow/windows/cpu/tensorflow-1.0.0rc0-cp35-cp35m-win_amd64.whl

 

出现 错误:

_pywrap_tensorflow_internal

 

解决:

安装低一些版本 如1.0

 

版本镜像

https://mirrors.tuna.tsinghua.edu.cn/tensorflow/windows/cpu/

 

测试 

在python中执行

 

import tensorflow as tf

hello = tf.constant('Hello, TensorFlow!')

sess = tf.Session()

sess.run(hello)

a = tf.constant(10)

b= tf.constant(32)

sess.run(a+b)

 

https://www.cnblogs.com/nosqlcoco/p/6923861.html

https://blog.csdn.net/darlingwood2013/article/details/60322258

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics