tensorflow mac 安装教程
来源:互联网 发布:破解路由器密码的软件 编辑:程序博客网 时间:2024/06/05 06:49
tensorflow 最近很火,花了一个小时在自己电脑上安装了一个tensorflow
官方文档上看着挺简单,有几个坑
怕出问题的话用mac的 root 用户安装
根据自己电脑上的 python版本 选择安装2.7或者3
1、安装管理组件
sudo easy_install pip (3.8.1 以上)
保险起见执行一下
sudo easy_install --upgrade six
sudo easy_install --upgrade pip
2、 安装开始
python
pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.0.1-py2-none-any.whl
或者 python3
pip3 install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.0.1-py3-none-any.whl
3、进入环境测试
python
>>> import tensorflow as tf
>>> hello = tf.constant('Hello, TensorFlow!')
>>> sess = tf.Session()
>>> print(sess.run(hello))
4、问题 numpy 升级(低版本包报错)http://blog.csdn.net/shi_weihappy/article/details/50938486
- tensorflow mac 安装教程
- TensorFlow简要教程系列(一)Mac安装TensorFlow
- mac 安装tensorflow
- mac下安装tensorflow
- TensorFlow安装(Mac
- Mac 上安装 tensorflow
- Mac安装tensorflow 1.0
- Mac安装tensorflow
- Mac安装TensorFlow/Caffe
- MAC安装tensorflow
- MAC, Centos 安装tensorflow。
- Mac安装TensorFlow
- Mac安装tensorflow
- Mac安装TensorFlow
- mac安装tensorflow
- mac源码安装tensorflow
- mac 安装 tensorflow
- MAC Tensorflow安装
- 汇编
- 通过网站域名获取该网站的源码
- Zookeeper使用--Java API
- 通过XmlDocument读写Xml文档
- VS2013配置proCC++开发环境
- tensorflow mac 安装教程
- Android 存储路径
- MAVEN创建多模块项目(水平与树形结构)
- iOS-获取webview的 url 和 title 和 html
- 非最大抑制(NMS)
- 使用git上传项目到码云的方法
- linux 强制杀掉java线程
- Python学习笔记
- Java运行时动态加载类之URLClassLoader