在环境里pip list
显示torch==1.10.2,不是我安装的1.4.0,因此用pip uninstall torch删掉torch。
再环境里pip list
显示torch==1.4.0.
从官网上看出
应该是torch和torchvision版本不匹配,然后我不小心下载了新版本的torch,torch==1.4.0被覆盖了
在环境里pip list
显示torch==1.10.2,不是我安装的1.4.0,因此用pip uninstall torch删掉torch。
再环境里pip list
显示torch==1.4.0.
从官网上看出
应该是torch和torchvision版本不匹配,然后我不小心下载了新版本的torch,torch==1.4.0被覆盖了