安装torch中遇到的bug
首先你的查看你的torch版本是否是1.10.1 torchvision版本0.11.2 torchaudio版本0.10.1
如果是的话,降低版本 网站Previous PyTorch Versions | PyTorch
安装口令:
pip install torch==1.10.0+cu102 torchvision==0.11.0+cu102 torchaudio==0.10.0 -f https://download.pytorch.org/whl/torch_stable.html