Hailo8L hailort API examples

When compiling hailort from sources, there is the -HAILO_BUILD_EXAMPLES=1 option which builds a set of example applications that demonstrate the API.
The download_hefs.sh script that comes with the sources is meant to load some hefs that are required to run these example apps.
That download_hefs.sh is hardcoded to download HAILO8 hefs. When changing the REMOTE_HEF_DIR to HAILO8L, the appropriate hefs are not available.

Here is a list of the hefs that are required for the examples:

  • “shortcut_net.hef”
  • “shortcut_net_nv12.hef”
  • “multi_network_shortcut_net.hef”
  • “resnet_v1_18.hef”

Do these precompiled models exist somewhere for the HAILO8L architecture?
Or is there a technical reason these examples do not work for the HAILO8L architecture?

Hi Sebastian,

Welcome to the Hailo Community!

I wanted to share some resources to help you get started. All of our compiled models are available in our model zoo repository at GitHub - hailo-ai/hailo_model_zoo: The Hailo Model Zoo includes pre-trained models and a full building and evaluation environment - you’ll find models specifically for the Hailo-8L there.

To test that HailoRT is working properly, I’d recommend downloading any YOLOv8 model and running these commands:

hailortcli run {model}
hailortcli run {model} --batch-size 8

Then you can compare the performance results with what’s listed in the model zoo.

If you’re looking for examples and want to do some testing, these repositories will be really helpful:

Let me know if you have any questions or run into any issues!