conda安装指定版本的gpu-cpu虚拟环境
anaconda中没有的版本使用清华镜像安装
linux下
如:
conda install cudatoolkit=8.0 -c https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-64/
conda install cudnn=6.0.21 -c https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-64/
pip install tensorflow-gpu==1.4.0
完美安装老版本的tfgpu版
windows下
找到相关镜像源 安装匹配版本即可
前提是创建虚拟环境之后的操作