官网安装链接:https://pytorch.org/get-started/locally/
使用中科大镜像
pip安装
pip install -i https://pypi.mirrors.ustc.edu.cn/simple torch torchvision torchaudio -f https://download.pytorch.org/whl/lts/1.7.1/torch_lts.html
官网安装链接:https://pytorch.org/get-started/locally/
使用中科大镜像
pip安装
pip install -i https://pypi.mirrors.ustc.edu.cn/simple torch torchvision torchaudio -f https://download.pytorch.org/whl/lts/1.7.1/torch_lts.html