i have a custom trained yolov8 object detection model that i want to run on my jetson-nano (Jetpack version 4.6.5) for that i require ultralytics and torchvision, the problem is ultralytics requires python3.8 or newer and torchvision specifically requires Python 3.6 for my version of jetpack. What can i do about this conflict?
Hi,
Please refer to this topic first.
Hi @patrick.nagelm8t1h , I haven’t build PyTorch for Python 3.8 myself, so some folks from the community may have more suggestions - have you tried building a specific version of PyTorch as opposed to PyTorch master? i.e. changing your git clone command to git clone --recursive --branch v1.7.0 http://github.com/pytorch/pytorch
@jonathan.boisclair was recently able to build PyTorch 1.7 for Python 3.8 on 20.04, but on 18.04 I don’t think you would need the additional patch that they did: htt…
Also refer to this topic Build from Source section
Below are pre-built PyTorch pip wheel installers for Jetson Nano, TX1/TX2, Xavier, and Orin with JetPack 4.2 and newer.
Download one of the PyTorch binaries from below for your version of JetPack, and see the installation instructions to run on your Jetson. These pip wheels are built for ARM aarch64 architecture, so run these commands on your Jetson (not on a host PC). You can also use the containers from jetson-containers .
PyTorch pip wheels
JetPack 6
PyTorch v2.3.0 JetPack 6.0 (L4T R36.2…
Thanks