hello,
I am getting the same errors when trying to convert an onnx model to hef both with the CLI and python as illustrated in the tutorial (Dataflow Compiler v3.28.0)
The CLI commands I use:
hailo parser onnx --hw-arch hailo8l resnet_v1_18.onnx
hailo optimize --hw-arch hailo8l --calib-set-path resnet_v1_18_calib.npy resnet_v1_18.har
hailo compiler --hw-arch hailo8l resnet_v1_18_optimized.har
(the onnx and npy files come from the tutorials package)
When I try
hailortcli parse-hef resnet_v1_18.hef
on the Raspberry Pi 5, I get the errors
[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 CLI] [error] CHECK_SUCCESS failed with status=HAILO_INVALID_HEF(26) - Failed to parse HEF
If instead I try to parse or run one of the installed hailo-models (e.g. yolov6n.hef), it runs fine.