Tensorflow 升级到1.2.0版本

来源:互联网 发布:神速淘宝图片下载器 编辑:程序博客网 时间:2024/05/22 06:43

终端或命令行下输入:

Ubuntu版本

sudo pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.2.0-cp27-none-linux_x86_64.whl

Windows版本

pip install https://mirrors.tuna.tsinghua.edu.cn/tensorflow/windows/cpu/tensorflow-1.2.0rc1-cp35-cp35m-win_amd64.whl

测试:
终端或命令行下输入:

python

然后输入:

import tensorflow as tf  tf.__version__ 

结果返回:

‘1.2.0’

这里写图片描述