pytorch官网
pytorch各种旧版本
#CUDA 9.2
pip install torch 1.7.1 cu92 torchvision 0.8.2 cu92 torchaudio 0.7.2 -f https://download.pytorch.org/whl/torch_stable.html
方法 打开anaconda里你创建的虚拟环境 将上面的命令进去等待下载即可。
注 这里是GPU版本torch安装

pytorch官网
pytorch各种旧版本
#CUDA 9.2
pip install torch 1.7.1 cu92 torchvision 0.8.2 cu92 torchaudio 0.7.2 -f https://download.pytorch.org/whl/torch_stable.html
方法 打开anaconda里你创建的虚拟环境 将上面的命令进去等待下载即可。
注 这里是GPU版本torch安装