TensorFlow教程之新手入门 1.2下载及安装
本文档为TensorFlow参考文档,本转载已得到TensorFlow中文社区授权。 下载与安装 你可以使用我们提供的二进制包, 或者使用源代码, 安装 TensorFlow. 二进制安装 TensorFlow Python API 依赖 Python 2.7 版本. 在 Linux 和 Mac 下最简单的安装方式, 是使用pip安装. 如果在安装过程中遇到错误, 请查阅常见问题. 为了简化安装步骤, 建议使用 virtualenv, 教程见这里. Ubuntu/Linux # 仅使用 CPU 的版本 $ pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.5.0-cp27-none-linux_x86_64.whl # 开启 GPU 支持的版本 (安装该版本的前提是已经安装了 CUDA sdk) $ pip install https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.5.0-cp27-none-li...