0
点赞
收藏
分享

微信扫一扫

180801 Anaconda安装及添加清华Pytorch镜像


  • Anaconda安装

bash Anaconda2-4.4.0-Linux-x86_64.sh

  • 添加清华镜像

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --set show_channel_urls yes

  • 添加Pytorch镜像

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/

# for legacy win-64
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/peterjc123/

  • Pytorch安装

conda install pytorch

  • tensorflow 安装

pip install tensorflow==1.4.1

  • keras 安装

pip install keras==2.1.0

keras-preprocessing 1.0.2 has requirement keras>=2.1.6, but you’ll have keras 2.1.0 which is incompatible.
keras-applications 1.0.4 has requirement keras>=2.1.6, but you’ll have keras 2.1.0 which is incompatible.

  • 更新h5py

pip install h5py==2.8.0rc1


举报

相关推荐

0 条评论