HEF version does not match

Hello community,
I’m hailo15H user.

I ran the file downlaod “yolov5m_nv12.hef” file from Hailo Model Zoo.
And run “Hailortcli path-hef yolov5m_nv12.hef” to get information of this file.

But, HEF version does not match error is occured.

[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)

An error like this appears.

What should I do in this case?

3 Likes

Hi! I have the same issue, but coming from a different situation: basically I followed the procedure for compiling a custom .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 exact same error.
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