pip install torchvision -i https://pypi.douban.com/simple/ 安装torchvision后,系统自动安装对应版本的torch,卸载不匹配的torch。