Hello,
I am having trouble running the halio-CLIP app on a raspberry pi 5 with a Hailo 8L chip. I cloned the repo and ran the install script. When I enter the venv and try and run the demo app with python clip_application.py --input demo
, I see this in the output
[HailoRT] [error] CHECK failed - Error opening file <actual path here>/clip_resnet_50x4_h8l.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)
The main window for the app with the sliders and text box pops up, and I can change values/move sliders/click buttons. But nothing else happens with the demo.
The clip_resnet_50x4_h8l.hef
that gives the error above does exist at the expected path, and it has permissions 644.
Additionally, if I try and run python clip_application.py --input rpi
, I get the same error about failing to open the hef file, and the program eventually segfaults.
2025-07-10 00:54:57,157 - clip_app.logger_setup - INFO - Loading model RN50x4 on device cpu, this might take a while...
2025-07-10 00:55:03,282 - clip_app.logger_setup - INFO - Using clip for text embedding
2025-07-10 00:55:03,282 - clip_app.logger_setup - INFO - Loading embeddings from /home/userpi/git/hailo-CLIP/embeddings.json
2025-07-10 00:55:03,284 - clip_app.logger_setup - INFO - Text box 0 is set to negative: True
Segmentation fault
For reference, I have successfully run the basic_pipelines/detection.py
example from the hailo-rpi5-examples
repo, successfully getting detections wiith my rpi camera, so my setup seems to be working in that regard.
Any help would be appreciated, thanks in advance!