4.22 Post-Processors/Tappas

I’ve got a raspberry pi 5 and AI Hat+ and I’m working on an object detection project using Hailo 8L - yolov8s.hef and I can’t figure out where to find the compatible post-procressor for version 4.22. Did Hailo stop distributing tappas in the more recent .deb builds. I found a post-processor in 3.11 but it isn’t compatible with yolov8s.hef. Please help.

is there a files i can download called…?
hailo-post-processes_4.22.0_arm64.deb that includes libyolo_hailortpp_post.so

I’ve been stalled on this for a long time and can’t find any documentation that helps.

additional information…

SDK bits on the Pi

dpkg -l | grep -iE ‘hailort|hailo-.*tappas|post.*process’ | awk ‘{print $2, $3}’
gst-inspect-1.0 hailofilter | sed -n ‘1,12p’
gst-inspect-1.0 hailotools | sed -n ‘1,20p’

The NMS vstream name from your HEFs

hailortcli parse-hef /home/traffic/traffic/models/yolov5s.hef | grep -i ‘nms’ -A2
hailortcli parse-hef /home/traffic/traffic/models/yolov8s.hef | grep -i ‘nms’ -A2

Who owns the currently-installed adapter (the old one)

dpkg -S /usr/lib/aarch64-linux-gnu/hailo/tappas/post_processes/libyolo_hailortpp_post.so

I found this previous comment but there is a problem…. The Tappas-Core 5 build that is in the software downloads area is amd not arm64.

What is there…
hailo-tappas-core_5.0.0_amd64.deb
What I need…
hailo-tappas-core_5.0.0_arm64.deb

Hi ,

To upgrade to version 4.22, please follow these steps:

  1. First, remove your current installation using the removal guide posted above!

  2. Then install the following components in order:

    • Driver 4.22

    • HailoRT 4.22

    • PyHailoRT 4.22

    • Tappas-core 5.0.0

    • Tappas-core Python 5.0.0

Let me know if you need any clarification on the installation or removal steps!

Now I’m at a complete loss. are there no arm64 prebuilt postprocessors available for 4.22? Does 4.22 just not work for Raspberry pi?

I’ve attempted every combination of installations and .hef files and I always get “yolov8s/yolov8_nms_postprocess is not an NMS type”.

Any help would be appreciated.

Hi.

There were some changes in HailoRT and the post process include dependencies and we will release an updated package soon in collaboration with RPi.

Meanwhile I suggest you to use our official version which is tested and its installation flow is handled by RPi (apt install hailo-all).
Don’t worry you are not missing anything :sweat_smile: . Your best bet is to always use the latest official supported package by RPi.

have you tried with

’libyolo_hailortpp_postprocess.so’

it is compatible with all yolov8 versions

thank you. I’m still struggling to get this working. The problem is that it seem the official raspberry pi page for the AI hat+ seems to support up to 4.19.

https://www.raspberrypi.com/documentation/computers/ai.html

but the model zoo for Hailo8L only appears to supply V2 .hef files. The problem is that 4.19 need version 1 hef files but i can’t find a source for those in the model zoo.

Ideally i need a copy of YOLOv5s.hef in version 1

I think I’ve found the main issue. From what I tell, the newest version of the complete AI software stack that will run on the Pi 5 and AI Hat+ is 4.19. What I have learned is that the .hef files in the model zoo on github are all in a version 2 format. I’ve come to understand that the software, 4.19 and older are require version 1 .hef files to work properly. (for a long time I didn’t realize there were two different versions of .hef files.

Digging deeper I was not able to find any precompiled version 1 .hef files, but it is possible to compile them on the correct PC hardware running a linux docker. I happen to have hardware that can run it, but my old PC is struggling.

Unfortunately I have not found a way to compile .hef files on Apple silicon. (Which is my primary machine)

I currently have my system slogging away in docker, trying to compile, but it has been going for several hours and I have no idea how long it could take.

I have compiled the Hailo 4.22 and Tappas 5.0 for the Rpi5 with Ubuntu 24.04 and things seem to work ok for what I tried;-) So, there is no big problem with running that on the Rpi5/ARM64. I don’t know, why the official Raspberry Pi OS is stuck with the old version.

– Marco

I’m running the 4.22 version without problems on my rpi 5 plus hailo hat+

Hey All,

You can use the dev branch in the hailo-apps-infra repo , This has the 4.22 post process , will update to main and do a release next Sunday!

1 Like