*** Please note that this reply is generated by LLM automatically ***
The issue you’re experiencing with PyTorch and TorchVision on your Jetson Orin device is likely due to a mismatch between the versions of JetPack, PyTorch, and TorchVision.
JetPack 4.6.1 (JP 4.6.1) is the version installed on your Jetson Orin device. To determine the correct versions of PyTorch and TorchVision, you should refer to the NVIDIA JetPack documentation or the PyTorch website for the compatible versions.
For JetPack 4.6.1, the recommended PyTorch version is 1.12.0a0+git2bdcce3, and the recommended TorchVision version is 0.13.0a0+git2bdcce3.
However, you have installed PyTorch 1.10.0 (torch-1.10.0+cu113-cp310-cp310-linux_aarch64.whl) and TorchVision 0.11.1 (torchvision-0.11.1+cu113-cp310-cp310-linux_aarch64.whl), which might not be compatible with JetPack 4.6.1.
To resolve the issue, you should uninstall the existing PyTorch and TorchVision packages and install the correct versions compatible with JetPack 4.6.1.
Here are the steps to install the correct versions:
- Uninstall the existing PyTorch and TorchVision packages:
pip3 uninstall torch torchvision
2. Install the correct PyTorch version:
```bash
pip3 install torch==1.12.0+cu113 -f https://nvidia.box.com/shared/static/6jg9j0s7j8m6l2z1n3zj7w9pemzq4p5v.whl
- Install the correct TorchVision version:
pip3 install torchvision==0.13.0+cu113 -f https://nvidia.box.com/shared/static/6jg9j0s7j8m6l2z1n3zj7w9pemzq4p5v.whl
After installing the correct versions, you should be able to use PyTorch and TorchVision without any issues.
In summary, the correct PyTorch and TorchVision versions for JetPack 4.6.1 on Jetson Orin are:
- PyTorch: 1.12.0a0+git2bdcce3
- TorchVision: 0.13.0a0+git2bdcce3
*** Please give the thumbs up if you get answers you like. Or provide feedback to help us improve the answer. ***