pytorch official website download problem solving

pytorch official website download problem solving

It was really too difficult to download pytorch from the official website before, the internet speed was very slow, the file was too big, and it couldn't be downloaded repeatedly.

Later, I saw some blogs saying to use Tsinghua mirror settings --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/, conda install pytorch torchvision
but still can’t download successfully, still fails

Later, I finally found a solution. The download and installation process only takes 5 minutes. I hate why I didn't see this method earlier, wasting my great youth!

Specific steps are as follows:

  1. Observing the corresponding versions of torch and torchvision on the official website,
    Insert picture description here
    you can see that torch 1.5.0 and torchvision 0.6.0 are corresponding, and the other versions can be deduced by analogy

  2. Enter the Tsinghua mirror website , select the corresponding whl file to download

Guess you like

Origin blog.csdn.net/qq_42946328/article/details/113118374