Baisc Pipeline - [HailoRT] [error] CHECK failed - Error opening file /home/admin/hailo-rpi5-examples/basic_pipelines/../resources/yolov6n.hef

Hi,

when I am trying to open Basic Pipeline i get this error:

[HailoRT] [error] CHECK failed - Error opening file /home/admin/hailo-rpi5-examples/basic_pipelines/…/resources/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)
CHECK_EXPECTED_AS_STATUS failed with status=13

Apparently I need to install HEF3.27? but i cant find it on this website…

Would appreciate any help!

Hey @macmonte123

Welcome to the Hailo Community!

I understand you’re facing an issue with opening the yolov6n.hef file, resulting in a HAILO_OPEN_FILE_FAILURE(13) error. Let’s go through some steps to resolve this, ensuring we consider the latest versions for Raspberry Pi:

  1. First, verify that the yolov6n.hef file exists in the specified path: /home/admin/hailo-rpi5-examples/basic_pipelines/.../resources/yolov6n.hef. If it’s missing, you’ll need to download or regenerate it.

  2. Ensure you’re using the latest compatible versions of HailoRT and the HEF file for Raspberry Pi. You can check the Hailo Developer Zone or contact Hailo support for the most recent compatible versions.

  3. Check file permissions. Try running:

    sudo chmod 755 /home/admin/hailo-rpi5-examples/basic_pipelines/.../resources/yolov6n.hef
    
  4. If the file is missing or corrupted, re-download the model zoo or regenerate the HEF file using the latest Dataflow Compiler compatible with Raspberry Pi.

  5. For Raspberry Pi specifically:

    • Make sure you have the latest Raspberry Pi OS installed and updated.
    • Update your Hailo SDK for Raspberry Pi to the latest version:
      sudo apt update
      sudo apt full-upgrade
      sudo apt install hailo-all
      

Regards,
Omri