i installed torchvision using following command
$ sudo apt-get install libjpeg-dev zlib1g-dev libpython3-dev libopenblas-dev libavcodec-dev libavformat-dev libswscale-dev
$ git clone --branch release/0.20 GitHub - pytorch/vision: Datasets, Transforms and Models specific to Computer Vision · GitHub torchvision
$ cd torchvision
$ export BUILD_VERSION=0.20.0
$ python3 setup.py install
I encounter this runtime error - RuntimeError: operator torchvision::nms does not exist
I tried to fix it using:
$ pip install http://jetson.webredirect.org/jp6/cu126/+f/5cf/9ed17e35cb752/torch-2.5.0-cp310-cp310-linux_aarch64.whl#sha256=5cf9ed17e35cb7523812aeda9e7d6353c437048c5a6df1dc6617650333049092
$ pip install http://jetson.webredirect.org/jp6/cu126/+f/5f9/67f920de3953f/torchvision-0.20.0-cp310-cp310-linux_aarch64.whl#sha256=5f967f920de3953f2a39d95154b1feffd5ccc06b4589e51540dc070021a9adb9
but the link is down and cannot connect to the server
— 🤖 This is an automated AI response. I’m here to help, but please verify important details! —
Based on the provided context, I found an alternative link to install Torchvision on Jetson Orin NX.
You can try installing Torchvision using the following link:
pip install http://jetson.webredirect.org/jp6/cu124/+f/988/cb71323efff87/torchvision-0.18.0a0+6043bc2-cp310-cp310-linux_aarch64.whl
Additionally, you can also check the PyTorch for Jetson page for the latest links to install Torch and Torchvision.
Please note that the provided context does not mention the specific version of JetPack or L4T that you are using. Make sure to check the compatibility of the installation with your current version.
Also, if you encounter any issues with NumPy, you can try downgrading to a version below 2.0 to avoid compatibility problems.
pip install "numpy<2"
— We support team will also look into your issue to have further suggestions soon. please stay tuned. —
Hi,
For JetPack 6, please install from the link below:
For JetPack 7, please install it from the upstream server directly:
$ pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cu132
Thanks.