This error occurs when running yolov3 “RuntimeError: Couldn't load custom C++ ops”

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

pytorch==1.9.0
torchvision==0.10.0

Hi,

Could you try our l4t-pytorch container to see if works?

$  sudo docker run -it --rm --runtime nvidia --network host nvcr.io/nvidia/l4t-pytorch:r32.6.1-pth1.9-py3
root@nvidia-desktop:/# python3
Python 3.6.9 (default, Jan 26 2021, 15:33:00)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import torch; print(torch.__version__)
1.9.0
>>> import torchvision; print(torchvision.__version__)
0.10.0a0+300a8a4

Thanks.

I will try it,thank you first

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.