1. 添加源

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/
conda config --add channels https://mirrors.sjtug.sjtu.edu.cn/anaconda/pkgs/main/
conda config --add channels https://mirrors.sjtug.sjtu.edu.cn/anaconda/pkgs/free/

2. 安装

进官网选择合适版本:https://pytorch.org/get-started/locally/

复制命令,将最后的-c pytorch去掉,如:

conda install pytorch torchvision cudatoolkit=10.0 

相关文章:

  • 2022-02-20
  • 2021-09-13
  • 2021-09-10
  • 2021-09-13
  • 2021-08-09
  • 2022-12-23
  • 2023-03-30
  • 2022-12-23
猜你喜欢
  • 2021-11-28
  • 2022-01-12
  • 2021-12-22
  • 2022-12-23
  • 2021-11-26
  • 2021-06-07
  • 2021-06-21
相关资源
相似解决方案