Tensorflow安装 & 遇到的问题及解决方案

来源:互联网 发布:买火车票的软件 编辑:程序博客网 时间:2024/05/16 05:55

  参照官网上给出的安装步骤,特别简单就装好了(比装Caffe简单多了( ̄︶ ̄)↗)。我自己的环境配置是:Ubuntu + py2.7 + 英伟达gpu。

pip uninstall tensorflowpip install tensorflow-gpu

  tensorflow 尽量从 源码 安装,这样运行起来会更快,遇到的 Warning 也更少


Problem & Solution

Problem_0

  如果 TensorFlow 程序运行缓慢, 可能和 protobuf pip package 有关

Solution

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


阅读全文
1 0