"Couldn’t load custom C++ ops. This can happen if your PyTorch and "
RuntimeError: Couldn’t load custom C++ ops. This can happen if your PyTorch and torchvision versions are incompatible, or if you had errors while compiling torchvision from source. For further information on the compatible versions, check https://github.com/pytorch/vision#installation for the compatibility matrix. Please check your PyTorch version with torch.version and your torchvision version with torchvision.version and verify if they are compatible, and if not please reinstall torchvision so that it matches your PyTorch install.
torch版本1.6.0
源码编译的torchvision版本0.7.0
这里确定版本没有问题,重装过多遍
PyTorch and torchvision versions are incompatible报错:Error: Couldn‘t load custom C++ ops.
最新推荐文章于 2024-06-04 00:09:37 发布