用到的一些软件安装

Sklearn:

 pip install -U scikit-learn

TF:

 pip install tensorflow-gpu

python
Python 2.7.12 (default, Nov 19 2016, 06:48:10)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> print te
KeyboardInterrupt
>>> import tensorflow as tf
>>> print tf.__version__
1.3.0
>>>


 

遇到问题:

THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them.
    tensorflow-gpu from https://pypi.python.org/packages/1b/36/478c5cc40b280061130c30acad118940b442d35b36e11c7ffedd652db58f/tensorflow_gpu-1.1.0-cp27-cp27mu-manylinux1_x86_64.whl#md5=bd1bc90cbd2957947c16b08a4535bc21:
        Expected md5 bd1bc90cbd2957947c16b08a4535bc21
             Got        93bc5601eaf68dae866cb637a6077f5e

是因为网络问题,多TRY 几次就OK

PROTOBUF

https://developers.google.com/protocol-buffers/  对应下载需要版本,我用的3.1.0

vim  build.sh
  sudo apt-get install autoconf automake libtool curl make g++ unzip

  ./autogen.sh
  ./configure
  make
  make check
  sudo make install
  sudo ldconfig

protoc  --version 查看当前版本


 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值