Torch torchvision and facenet pytorch installation on jetson agx orin

I am trying to install compatible version of torch and torchvision with facenet pytorch-2.6.0 in jetson agx orin jetpack 6.0 using wheel files but it is showing incompatible version. I have installed the following versions, but it is still showing incompatible.

pip list

Then from facenet-pytorch/setup.py check that your versions of these packages are within the requirements and if not, for example

install_requires=[
‘numpy>=1.24.0,<2.0.0’,
‘Pillow>=10.2.0,<10.3.0’,
‘requests>=2.0.0,<3.0.0’,
‘torch>=2.2.0,<=2.3.0’,
‘torchvision>=0.17.0,<=0.18.0’,
‘tqdm>=4.0.0,<5.0.0’,
],

pip install numpy==1.26.4
pip install pillow==10.2.0
pip install requests==2.32.3
pip install tqdm==4.67.1

If all these are good since they are the requirements for facenet_pytorch, you could ignore the pip incompatibles for now and try one of the examples.

If it works then if you have other python applications then you could use venv or conda to have separate virtual environments in which to work.

Thanks for the response.

Hi,

We provide compatible JP6.0 to torch/torchaudio/torchvision.
Please refer to below topics:

Thanks

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