出现UserWarning: Failed to load image Python extension: libc10_cuda.so: cannot o
将cuda版本的torch和torchvision按照官网上的链接重装就好了
pip install torch1.11.0+cu113 torchvision0.12.0+cu113 torchaudio==0.11.0 --extra-index-url https://download.pytorch.org/whl/cu113
出现UserWarning: Failed to load image Python extension: libc10_cuda.so: cannot o
将cuda版本的torch和torchvision按照官网上的链接重装就好了
pip install torch1.11.0+cu113 torchvision0.12.0+cu113 torchaudio==0.11.0 --extra-index-url https://download.pytorch.org/whl/cu113