Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4912

Hailo • AI Kit Hailo, some demos seem busted

$
0
0
I am following these instructions to run the AI Hailo demos on a RPI5 with the original AI (not+) Kit 13 TOPS version:
https://www.raspberrypi.com/documentati ... -detection

I ran the first demo listed there and got an error about a missing file hef file:

Code:

rpicam-hello -t 0 --post-process-file /usr/share/rpi-camera-assets/hailo_yolov6_inference.json[22:30:06.540047194] [53451]  INFO Camera camera_manager.cpp:325 libcamera v0.0.0+5106-b4da73c7-dirty (2024-12-09T19:26:07CST)[22:30:06.549299584] [53452]  INFO RPI pisp.cpp:695 libpisp version v1.0.7 28196ed6edcf 08-12-2024 (09:49:31)[22:30:06.634243425] [53452]  INFO RPI pisp.cpp:1154 Registered camera /base/axi/pcie@120000/rp1/i2c@88000/imx708@1a to CFE device /dev/media2 and ISP device /dev/media0 using PiSP variant BCM2712_C0Made X/EGL preview windowPostprocessing requested lores: 640x640 BGR888Reading post processing stage "hailo_yolo_inference"Reading post processing stage "object_detect_draw_cv"Mode selection for 2304:1296:12:P    SRGGB10_CSI2P,1536x864/0 - Score: 3400    SRGGB10_CSI2P,2304x1296/0 - Score: 1000    SRGGB10_CSI2P,4608x2592/0 - Score: 1900Stream configuration adjusted[22:30:07.837392521] [53451]  INFO Camera camera.cpp:1197 configuring streams: (0) 2304x1296-YUV420 (1) 640x640-BGR888 (2) 2304x1296-BGGR_PISP_COMP1[22:30:07.837967409] [53452]  INFO RPI pisp.cpp:1450 Sensor: /base/axi/pcie@120000/rp1/i2c@88000/imx708@1a - Selected sensor format: 2304x1296-SBGGR10_1X10 - Selected CFE format: 2304x1296-PC1B[b][HailoRT] [error] CHECK failed - Error opening file /usr/share/hailo-models/yolov6n.hef[/b][HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_OPEN_FILE_FAILURE(13)[HailoRT] [error] Failed parsing HEF file[HailoRT] [error] Failed creating HEF[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_OPEN_FILE_FAILURE(13)[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_OPEN_FILE_FAILURE(13)[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_OPEN_FILE_FAILURE(13)Failed to create infer model, status = 13HailoRT not ready!
I had previously run this step which also installed the demo files into /usr/share/rpi-camera-assets and /usr/share/hailo-models

Code:

sudo apt install hailo-all
I can "fix" this problem by changing the json file content from:
"hef_file_8L": "/usr/share/hailo-models/yolov6n.hef",
To:
"hef_file_8L": "/usr/share/hailo-models/yolov6n_h8l.hef",

The second demo example runs flawlessly. There are a few other broken demos that I can "fix" by changing the json file.
I manually downloaded the debian package file rpicam-apps-hailo-postprocess_1.5.3-1_arm64.deb and the contents
match my installation.

Is my installation incorrect? Are these demos broke?

Statistics: Posted by austin944 — Sun Dec 15, 2024 6:35 pm



Viewing all articles
Browse latest Browse all 4912

Trending Articles