Running YOLOv8 on JetsonNano

Hi all,

I want to share with you a docker image that I’m using to run Yolov8n on my Jetson nano. I’m sharing it here to save the effort for anyone who is planning to do the same

Info of the nano:
HOST OS VERSION: [balenaOS 4.0.9+rev2]
OS VARIANT: development
SUPERVISOR VERSION: 16.0.3
CURRENT RELEASE: Development
TARGET RELEASE: Development

I made some functions in it to measure the speed of model. You can see it in the terminal output

Link for a full docker image : 167.7 KB file on MEGA

I made a build (2.7GB) with the docker image here under the name mwlvdev/jetson-nano-ubuntu:bionic-torch1.11-cp38-cuda10.2

If you decide to build it by yourself, you will see error

[Build]   [following] Executing: /tmp/apt-key-gpghome.HGNNmgu87O/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 1A127079A92F09ED
[Build]   [following] gpg: keyserver receive failed: Cannot assign requested address

I just had to rerun the build again until it was gone.

Regards,

1 Like