Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix inverted assignment of hef models (8/8L mismatch) #754

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

danielmaier42
Copy link

I recently discovered issues running the examples from the official raspberry pi documentations found here:

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

When running the following command, my system complains about HailoRT not being ready:

rpicam-hello -t 0 --post-process-file ~/rpicam-apps/assets/hailo_yolov8_pose.json --lores-width 640 --lores-height 640

The actual error was the following:

[HailoRT] [error] HEF format is not compatible with device. Device arch: HAILO8L, HEF arch: HAILO8
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_INVALID_HEF(26)
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_INVALID_HEF(26)
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_INVALID_HEF(26)
Failed to create configured infer model, status = 26
HailoRT not ready!

As you can see in the changed files - there is a mismatch between the Hailo 8 (26 TOPS) and Hailo 8 L (13TOPS).
It works just fine with those changes. 😊

@naushir
Copy link
Collaborator

naushir commented Dec 6, 2024

Thank you for this fix. All looks good, but would you be able to resubmit with the following commit message please?

postprocess: hailo: Fix inverted assignment of hef models (8/8L mismatch)

Signed-off-by: Your Name <your@email.com>

I can then merge your fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants