I’m working on a IOBoard equipped with the Raspberry CM5 and the Hailo-8L chip.
I have been working with the yolo model for some time without any problem, using hailo-rpi5-examples repository as a base.
Now I’d like to upgrade the device and add some depth estimation and I noticed the hailo repository had been updated with hailo-apps-infra so I thought it would be the right path to follow.
I have followed and installed successfully the hailo-apps-infra repo but when launching the command “hailo-depth” to run the example I have the following error :
”Loading environment variables from /home/innodura/INNOVIA_LIGHT/hailo-apps-infra/.env… All required environment variables loaded.
Segmentation error”
Sometimes its “Bus error” or “free() : corrupted unsorted chunks - Abandon”…
Anyway, I can’t launch this example (same for hailo-detection-simple and other).
What can cause this behaviour ? Is it linked to a lack of a library or the fact that there is a repository hailo-rpi-examples not up to date (I didn’t want to update it to avoid disturbing my previous working application) ?
I have installed hailo-apps-infra next to the old version of hailo-rpi-examples (not updated so far).
It’s not very clear wether the apps-infra does contain everything from rpi-examples or if these 2 repo have separated purpose.
To make it clearer, I used a previous version of hailo-rpi-examples as a base for my application and now I’d like to add depth capacities.
From what I get I had to update the hailo-rpi-examples but it’s now based on hailo-apps-infra in numerous calls of functions… so I started with hailo-apps-infra.
To answer your last question (pip list | grep hailo), here is the output : hailo-apps 25.7.0 hailort 4.20.0
It looks like I should have tappas-core library too, it is present when executing the command apt list | grep hailo, but not in pip list…
I just followed the main installation manual so I don’t if I should try to install it manually ?
Ah, I get it now! Let me clarify a couple of things:
1. About the repos: If you’re already using hailo-apps-infra, you won’t need hailo-rpi5-examples. I know it might seem redundant having two separate repos, but the reason we’ve kept them separate is that hailo-rpi5-examples will be opening up to the community for contributions soon, so we wanted to keep it structured that way.
2. Python bindings: You’ll need the tappas core python bindings for this to work. If you can’t find it on pip, try installing hailo-all or hailo-tappas-core using:
Unfortunately the latest command don’t solve my issue, I’m still struggling with this one.
To be noted, my raspberry is almost full, I had to clean up a little to have enough space to install all the dependencies, don’t know if it can impact the execution of the application.
Yeah, running low on space can definitely cause issues.
For the hailo-tappas python bindings - you should be able to grab them from our developer zone at https://hailo.ai/developer-zone/software-downloads/. Once you’ve downloaded the wheel file, just install it with:
After that, try recreating your venv or running the installation again and see if that sorts it out!
If this doesn’t sort out the dependency issue in hailo-rpi5-examples , please try to install a clean hailo-apps-infra and provide the log for the installation so i can identify the issue and help you !