Pytorch and torchvision compatability error

Hi , I installed pytorch (1.12.0a0+2c916ef.nv22.3) and torch vision(0.13.0) on Jetpack 5.0.2.

getting below error while running yolov5

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 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.

Kindly help to resolve

Your torchvision version might be too new, so try to downgrade it to e.g. 0.12.