Wrong Hailo8 module

I am having problem runnig Raspberry5 with AI hat Hailo8L. How can I change module fpr device arch and hef acrh?

pi@pi:~/hailo/tappas_v3.28.0/apps/h8/gstreamer/raspberrypi/detection $ ./detection.sh
Running yolov5
gst-launch-1.0 filesrc location=/home/pi/hailo/tappas_v3.28.0/apps/h8/gstreamer/raspberrypi/detection/resources/detection.mp4 name=src_0 ! qtdemux ! h264parse ! avdec_h264 max_threads=2 ! queue max-size-buffers=5 max-size-bytes=0 max-size-time=0 ! videoscale n-threads=2 ! queue max-size-buffers=5 max-size-bytes=0 max-size-time=0 ! videoconvert n-threads=3 ! queue max-size-buffers=5 max-size-bytes=0 max-size-time=0 ! hailonet hef-path=/home/pi/hailo/tappas_v3.28.0/apps/h8/gstreamer/raspberrypi/detection/resources/yolov5m_wo_spp_60p.hef batch-size=1 output-format-type=HAILO_FORMAT_TYPE_FLOAT32 nms-score-threshold=0.3 nms-iou-threshold=0.45 output-format-type=HAILO_FORMAT_TYPE_FLOAT32 ! queue max-size-buffers=5 max-size-bytes=0 max-size-time=0 ! hailofilter function-name=yolov5 so-path=/usr/lib/aarch64-linux-gnu/hailo/tappas/post-process/libyolo_hailortpp_post.so qos=false ! queue max-size-buffers=5 max-size-bytes=0 max-size-time=0 ! hailooverlay ! queue max-size-buffers=5 max-size-bytes=0 max-size-time=0 ! videoconvert n-threads=3 ! fpsdisplaysink video-sink=ximagesink name=hailo_display sync=false text-overlay=false
Setting pipeline to PAUSED …
Pipeline is PREROLLING …
Redistribute latency…
Redistribute latency…
Redistribute latency…
Redistribute latency…
[HailoRT] [error] HEF format is not compatible with device. Device arch: HAILO8L, HEF arch: HAILO8
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_INVALID_HEF(26)
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_INVALID_HEF(26)
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_INVALID_HEF(26)
CHECK_EXPECTED_AS_STATUS failed with status=26
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 131 (XInputExtension)
Minor opcode of failed request: 46 ()
Value in failed request: 0xd
Serial number of failed request: 62
Current serial number in output stream: 66
[HailoRT] [error] HEF format is not compatible with device. Device arch: HAILO8L, HEF arch: HAILO8

Hey @r.flodin

You seems to be running hef that was compiled for hailo8 and not hailo8L.

You can download the hef the was compiled for Hailo8L from GitHub - hailo-ai/hailo_model_zoo: The Hailo Model Zoo includes pre-trained models and a full building and evaluation environment .

for more examples on how to work with raspberry pi , please check out our examples : GitHub - hailo-ai/hailo-rpi5-examples.

Regards