您的位置:首页 > 其它

tensorflow学习笔记:01 安装tensorflow

2018-04-01 17:04 281 查看
1.首先安装VMWare虚拟机,然后安装linux系统,这里使用ubantu16.04.2.设置好系统使得其能链接外网3.访问清华大学镜像网站https://mirrors.tuna.tsinghua.edu.cn/help/tensorflow/
选择镜像,这里选择python27,cup计算tensorflow1.3.0 的包 底下会有命令如何安装:pip install \
  -i https://pypi.tuna.tsinghua.edu.cn/simple/ \
  https://mirrors.tuna.tsinghua.edu.cn/tensorflow/linux/gpu/选择后命令为:pip install \
  -i https://pypi.tuna.tsinghua.edu.cn/simple/ \
  https://mirrors.tuna.tsinghua.edu.cn/tensorflow/linux/cpu/tensorflow-1.3.0-cp27-none-linux_x86_64.whl
4.验证。输入python进入python命令行:>>> import tensorflow as tf;>>> tf.__version__'1.3.0'说明成功。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息