I have a Jetson Nano (Jetpack4.6.1) and I want to run Yolov8 for object detection in images.
In order to use Yolo through the ultralytics library, I had to install Python3.8, and then I performed some black magic to finally install pytorch and torchvision. Those parts all work now.
But now, I’m trying to install TensorRT.
Because the architecture is arm64, the deb files I found on this download page don’t work. Doing pip install directly doesn’t seem to work either (it returns an error: “RuntimeError: TensorRT does not currently build wheels for Tegra systems”). I tried to follow those instructions, but the cuda version here is 10.2.
Then I also tried this guide for the python binding, and beyond the fact that the version of Python I have is 3.8 not 3.9 (so I tried to change the commands here to 3.8 instead), I almost seemed to run smoothly, but I end up with an install of tensorrt that only include a init.py, so when I import tensort (in Python), it says “no module named tensorrt.tensorrt” or something like that.
Is there any way to make tensorrt work with Jetson Nano, ultralytics (requiring Python3.8) and Cuda10.2? Or am I approaching the issue from the wrong angle?