重新安装torchvision pip install torchvision==0.12.0+cu113 -f https://download.pytorch.org/whl/torch_stable.html