tensorflow安装

起因

记录一下tensorflow安装的步骤,基于conda简单安装。

命令

1
2
3
conda install cudatoolkit==9.0 --channel https://conda.anaconda.org/anaconda
conda install cudnn==7.1.2 --channel https://conda.anaconda.org/anaconda
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple tensorflow-gpu==1.12