I recently received the Raspberry Pi PCIe Accelerator Module with the Hailo-8L and was able to run the examples from the rpi5-examples and the Hailo Application Code Examples (GitHub - hailo-ai/Hailo-Application-Code-Examples). However, suddenly I get the an error when running any of the examples from Hailo Application Code Examples. This specific error happens when running the object detection example. I downloaded the correct hef for the Hailo-8L from the model zoo repository.
[HailoRT] [error] CHECK failed - Memory size of vstream yolov7/input_layer1 does not match the frame count! (Expected 1228800, got 0)
I can successfully run the hef using hailort-cli run. Does anybody have any pointers to what I am doing wrong?
is this the python or CPP examples ?
Please add the exact application you are running and make sure that the repo is updated , if you are using python on the rpi5 ( hailo_platform) it is not yet supported , will be enabled soon.
Thank you for your response. Yes, I was indeed trying to run the python examples. I was able to build and run the C++ examples, which are working fine.
I look forward to Python support on the Pi 5 and will be using the C++ API for my stuff.
I am also facing the same problem. Earlier the example code from GitHub - hailo-ai/Hailo-Application-Code-Examples was working for object-detection python but now suddenly giving the same error, I am also using Hailo-8L
[HailoRT] [error] CHECK failed - Memory size of vstream ssd_mobilenet_v1/input_layer1 does not match the frame count! (Expected 270000, got 0)
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_INVALID_ARGUMENT(2)
I have this error too. I work on raspberry Pi 5 and installed hailort, pcie driver and python API package for python 3.11 with version 4.18 manuallly.
On raspberry both hailortcli benchmark ~/yolov8n.hef and running the model from python API works (on tracker hailo code example).
The problem occurs when I run the code inside docker container (I installed hailort==4.18 and python API package for python 3.10 there). user@docker:~$ hailortcli benchmark hailo/yolov8n.hef works but running the model through the python API does not. Is there anything I can do to fix this?