RasberryPi 5 AI Kit Demo Error (HAILO_OPEN_FILE_FAILURE)

Hi all,

Just bought a fresh Pi5 and the AI kit to play around, however I’ve been unable to get the demos working. I’ve verified the chip is recognized by the system, TAPPAS core and the Gstreamer element (basically following this page: hailo-rpi5-examples/doc/install-raspberry-pi5.md at main · hailo-ai/hailo-rpi5-examples · GitHub)

However when I attempt any demo from this page: https://www.raspberrypi.com/documentation/computers/ai.html

I get:
[HailoRT] [error] CHECK failed - Error opening file /usr/share/hailo-models/yolov6n.hef
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_OPEN_FILE_FAILURE(13)
[HailoRT] [error] Failed parsing HEF file
[HailoRT] [error] Failed creating HEF
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_OPEN_FILE_FAILURE(13)
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_OPEN_FILE_FAILURE(13)
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_OPEN_FILE_FAILURE(13)
Failed to create infer model, status = 13
HailoRT not ready!
HailoRT not ready!
HailoRT not ready!

The camera feed opens, however no post-processing is applied and the not ready error repeats every second and rapidly fills the terminal.

Please advise on how to get this working, Ive installed everything required and run the checks, unsure why the model file would be missing or where to get it from.

Cheers,

Hey @bhosking42,

Welcome to the Hailo Community!

It seems like there might be an issue with your HEF file permissions or installation. Let’s verify your setup:

  1. First, check if HailoRT is properly installed and the driver is working:
hailortcli fw-control identify
  1. Once you’ve confirmed HailoRT is working, install the Raspberry Pi 5 examples:
git clone https://github.com/hailo-ai/hailo-rpi5-examples
cd hailo-rpi5-examples
./install.sh
  1. You can then try running the pipelines following our guide here:
    hailo-rpi5-examples/doc/basic-pipelines.md at main · hailo-ai/hailo-rpi5-examples · GitHub

If you’re still having issues after these steps, let me know and I’ll help you troubleshoot further!

Best regards,
Omria

Hi Omria,

Thanks for the help!

I can confirm that I’m able to run the demos present on that specific page - the trouble arrives when I attempt to execute the code found on Pi’s documentation itself: https://www.raspberrypi.com/documentation/computers/ai.html

I’d like to try the object detection demo using hailo_yolov6_inference, however that is when I obtain the error I copied above.

Cheers,
Brad