hi, I have a raspberry pi 5 with a hailo 8L. Is there a google colab notebook script to convert a yolov8 object detection model to a .hef file to run on the raspberry pi. Thanks mike
hi Michael, Thanks for your reply. I created a google colab notebook script following the example notebook that you referenced. I got a error when I tried to run !hailomz compile \. The error indicated that “The zoo’s internal metadata check is hardcoded and rejects hailo8l for yolov8n". I have a raspberry pi 5 with a hailo 8L hat. Could you please advise how I can correct this issue. Many Thanks mike
Hi @user921,
The line that finds the uploaded DFC wheel is commented out (for example). Change:
dfc_whl = 'dfc' # [f for f in uploaded.keys() if "hailo_dataflow_compiler" in f]
to:
dfc_whl = [f for f in uploaded.keys() if "hailo_dataflow_compiler" in f]
In the last cell change the target to Hailo8L:
!hailomz compile \
--ckpt /content/barcode-detection.onnx \
--calib-path /content/barcode-detect/valid/ \
--yaml /content/hailo_model_zoo/hailo_model_zoo/cfg/networks/yolov8s.yaml \
--classes 2 \
--hw-arch hailo8l \
--performance
Thanks,