Hi! I basically I followed the procedure for compiling a custom yolov8m_pose.hef file through WSL and Hailo Dataflow Compiler. I managed to obtain the .hef file but when I try to open it, I get the following error:
[HailoRT] [error] CHECK failed - HEF version does not match. Should be 1 but detected 2
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_INTERNAL_FAILURE(8)
[HailoRT] [error] Failed parsing HEF file
[HailoRT] [error] Failed creating HEF
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_INTERNAL_FAILURE(8)
[HailoRT CLI] [error] CHECK_SUCCESS failed with status=HAILO_INTERNAL_FAILURE(8)
The commands I ran, in order (for the hailo8 version), were:
hailomz parse yolov8m_pose --ckpt best.onnx
hailomz optimize yolov8m_pose --calib-path train
hailomz compile yolov8m_pose --har yolov8m_pose.har
The versions I have been using are:
- packages installed in WSL Ubuntu 22.04 for conversion onnx → hef:
- golang-github-hailocab-go-hostpool-dev/jammy 0.0~git20160125.0.e80d13c-1.1 all
- hailort/now 4.20.0 amd64 [installed,local]
- hailo-dataflow-compiler 3.31.0
- hailo-model-zoo 2.15.0 /home/btsuser/hailo_model_zoo
- hailort 4.20.0
- packages installed in a RaspberryPi 5, on which I would like to open the hef file (thorugh C++ project):
- golang-github-hailocab-go-hostpool-dev/stable,stable 0.0~git20160125.0.e80d13c-1.1 all
- hailo-all/stable,stable 4.20.0 all
- hailo-dkms/stable,stable,now 4.19.0-1 all [installed]
- hailo-tappas-core-3.28.2/stable 3.28.2 arm64
- hailo-tappas-core/stable 3.31.0+1-1 arm64 [upgradable from: 3.30.0-1]
- hailofw/stable,stable,now 4.20.0-1 all [installed,automatic]
- hailort-pcie-driver/now 4.19.0 all [installed,local]
- hailort/stable 4.20.0-1 arm64 [upgradable from: 4.19.0-3]
- python3-hailort/stable 4.20.0-1 arm64 [upgradable from: 4.19.0-2]
- rpicam-apps-hailo-postprocess-dbgsym/stable 1.7.0-1 arm64
- rpicam-apps-hailo-postprocess/stable 1.7.0-1 arm64
Any help would be appreciated, thanks.