Hi! I'm testing the Metis M2 on a Rapsberry Pi 5 using the Ubuntu 22.04 container. I can successfully get results using the inference test suggested by the article:
./inference.py yolov8s-coco-onnx ./media/traffic1_480p.mp4
Unfortunately, I get around 4FPS. Is this expected? If I profile the device and the host separately (using --show-host-fps and --show-device-fps) I see that the device is running at ~800FPS while the host is the one bottlenecking at ~4FPS.
I tried enabling GLES processing using
export AXELERA_OPENGL_BACKEND=gles,3,1
but, unfortunately, it makes not much of a difference. I also tried setting the PCI to gen3 by setting the following in the /boot/firmware/config.txt, without any luck:
As a reference: these are the instructions I'm following:
- https://support.axelera.ai/hc/en-us/articles/26362016484114-Bring-up-Voyager-SDK-in-Raspberry-Pi-5
Is this performance normal for the Raspberry Pi5? Or am I doing something wrong?
Thanks!
Michael