Okay, thanks a lot. Now I can successfully convert using your model_zoo_onnx! This is great news. I have two more questions:
- If I train YOLOv5 with my own dataset, export it to ONNX, and then convert it to HEF format, do I have to go through the process of parsing → optimization → Parsing → compilation to get the HEF, or can I directly use hailomz for compilation?
- For the parameter file
—calibrb -path /path/to/calibration/imgs/dir/
, do the images need to be the training images, or can they just be images of the same specifications? How many such images are usually required?
Additionally, when I run the newly generated HEF on Raspberry Pi 5 with Hailo8L, I encounter the following error:
[HailoRT] [error] CHECK failed - HEF file length does not match
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_INVALID_HEF(26)
[HailoRT] [error] Failed parsing HEF file
[HailoRT] [error] Failed creating HEF
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_INVALID_HEF(26)
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_INVALID_HEF(26)
Failed to create infer model, status = 26
I have seen other posts suggesting this is an issue of incompatibility between Firmware Version: 4.17.0 (release, app, extended context switch buffer) and DFC version 3.28. I installed using the command sudo apt install hailo-all
. Is there a similar update command to upgrade the Firmware Version to 4.18? The post suggests reinstalling HailoRT and pcie-driver, but it also mentions that sudo apt install hailo-all
does not install the pcie-driver.this is that issue Model Zoo Model Download HEF Parser Error - General - Hailo Community