mirror-web/_posts/help/1970-01-01-tensorflow.md
2016-12-22 22:21:09 +08:00

2.5 KiB

category layout mirrorid
help help tensorflow

TensorFlow 镜像使用帮助

请先安装 python 环境,科学计算用途建议安装 anaconda。 TensorFlow 安装方法请参考 https://www.tensorflow.org/get_started,把 https://storage.googleapis.com/ 替换为 https://mirrors.tuna.tsinghua.edu.cn/ 即可。

或直接运行下列命令,一步完成整个安装过程。

{% raw %}

GPU CPU

Linux Mac OS X

{{py}} {{py}}

{{tfver}}

pip install \
  -i https://pypi.tuna.tsinghua.edu.cn/simple/ \
  https://mirrors.tuna.tsinghua.edu.cn/tensorflow/{{form.os}}/{{form.xpu}}/{{tensorflow}}

{% endraw %}