pytorch 安装太慢解决办法

https://blog.csdn.net/qq_41936559/article/details/102699082

先输入

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

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

去官网copy安装命令,把-c pytorch删掉

over

python -c "import torch; print(torch.cuda.is_available())"
posted @ 2020-08-20 10:14  苟不理包子  阅读(3231)  评论(0编辑  收藏  举报