Here I write a tutorial for you guys.
troubleshooting:CHECK failed - HEF file length does not match (status = 26), that because your host HailoData Compiler is not suitable with Pi5 HialoRT.
And when you meet error like can not find dateset
please check hailo_model_zoo/docs/DATA.rst at master · hailo-ai/hailo_model_zoo · GitHub to install dataset and copy dataset to the folder, if the folder is not exit please make one.
Some time you will find error like no alls
, just do like this:
git clone https://github.com/hailo-ai/hailo_model_zoo/tree/master
cd hailo_model_zoo
Then copy hailo_model_zoo
floder to the error folder
I tried to use the tutorial. Instead of yolo8, i changed the lines to “yolo5” (I dont know if I can do this or not). then after going forward line by line according to the tutorial, when do " ```
bash run.sh object-detection-hailo
gst_parse_error: no element "hailonet" (1)
hailomuxer name=hmux filesrc location=./video/detection0.mp4 name=src_0 ! queue name=queue_dec264 max-size-buffers=3 max-size-bytes=0 max-size-time=0 ! qtdemux ! h264parse ! avdec_h264 max-threads=2 ! video/x-raw,format=I420 ! queue name=queue_scale max-size-buffers=3 max-size-bytes=0 max-size-time=0 ! videoscale n-threads=2 ! queue name=queue_src_convert max-size-buffers=3 max-size-bytes=0 max-size-time=0 ! videoconvert n-threads=3 name=src_convert
Can you please help me with this error?
Hey @jiahao.li even though some issues are being reported on the tutorial, I want to thank you very much for putting this information out there. You are helping the community greatly with this content.
Input this command and show me result
hailortcli fw-control identify
and
lspci | grep Hailo
narges@raspberrypi:~ $ hailortcli fw-control identify
[HailoRT] [warning] Unsupported firmware operation. Host: 4.18.0, Device: 4.17.0
Executing on device: 0000:01:00.0
Identifying board
Control Protocol Version: 2
Firmware Version: 4.17.0 (release,app,extended context switch buffer)
Logger Version: 0
Board Name: Hailo-8
Device Architecture: HAILO8L
Serial Number: HLDDLBB242602014
Part Number: HM21LB1C2LAE
Product Name: HAILO-8L AI ACC M.2 B+M KEY MODULE EXT TMP
narges@raspberrypi:~ $ lspci | grep Hailo
0000:01:00.0 Co-processor: Hailo Technologies Ltd. Hailo-8 AI Processor (rev 01)
narges@raspberrypi:~ $
I still get this error with hailonet.
It worked for me, but by using the provided models like yolov8n. Can you please let me know if it also works for yolov5 or not? i tried to use my yolov5 model, it didnt work.