Hi, I’ve encountered an issue when trying to deploy a custom NN with PyTorch on Jetson AGX Xavier (Developer Kit 32 GB, JetPack 5.1).
I’ve downloaded the latest official version from this link: https://docs.nvidia.com/frameworks/install-pytorch-jetson-platform/index.html
Afterwards, I installed torchvision, which we’re using in the project via pip: python3 -m pip install torchvision
.
After launching the application, an error occured. The error message said that the lib “couldn’t load custom C++ ops due to either incompatible pytorch and torchvision versions or problems when building the packages from source”. Unfortunately, I can’t provide a screenshot and/or log, because I don’t have internet access on the device at the moment.
Anyways, I’ve checked the compatibility matrix on official pytorch/vision repo and I don’t see a compatible torchvision version to pytorch that’s available for my platform:
Any feedback will be helpful, I will post logs and images under this thread once my internet connection comes back up.
EDIT: Here the actual error message:
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 [GitHub - pytorch/vision: Datasets, Transforms and Models specific to Computer Vision ](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.