tensorflow安装(持续更新)

更新时间:2018/9/14晚

tensorflow1.8安装

安装环境:ubuntu18.04LTS

安装步骤:

<1>sudo apt install python3-pip

<2>sudo pip3 install --upgrade tensorflow网址

tensorflow网址:https://www.tensorflow.org/install/install_linux#the_url_of_the_tensorflow_python_package

参考链接:https://www.tensorflow.org/install/install_linux

------------------------------------------------------------------------------------------------------------------

This blog is only to record steps for train cifar10 for myself, writed tough. so any problem interested inform me.

1. steps for installing tensorflow0.8.0 on ubuntu 14.10

 python2.5 and python3.4 is default installed on ubuntu. but when install python-pip will need to solve releationship.

<1>sudo apt-get install python3.4-pip python3.4-dev

<2>sudo pip install --upgrade <url for tensorflow > #note here version is tensorflow0.8.0

2.train cifar10

 Firstly change max_step 1 000 000 with 20 000 (avoid train too long time)

<1>python3.4 cifar10.py

<2>python3.4 cifar10_train

 see you tommow

<3>tensorboard --logdir=/tmp/cifar10_train

3 Result:

some problems may come out to solve:

 (1) moulde get_or_create_global_step is not support.

 this is because of conflict about tensorflow version,need to upgrade tensorflow to version 1.2

sudo pip3 uninstall tensorflow

sudo pip3 install --upgrade <url>

 (2)only google chrome can show tensorboard

         (3) sudo apt-get install pythom3-matplotlib -y

         (4)sudo apt-get install python3-scipy python3-sklearn

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值