为了记录在安装环境时的常用指令
接下来需要设置 Anaconda 仓库镜像,因为默认连接的是国外镜像地址,下载速度比较慢,我们把镜像地址改为清华大学开源软件镜像站,Anaconda Prompt 窗口输入:
1、conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
2、conda config --set show_channel_urls yes
由于某些代码或者算法框架需要制定版本的TensorFlow。
1、pip install tensorflow-gpu==1.4.0
2、conda install --channel https://conda.anaconda.org/anaconda tensorflow=1.5.0