Dear Community,
I’m trying to use hailo8 with ubuntu22. My hailoRT version is 4.17.0.
I changed some code of the example of gstreamer/multistream_lpr to replace the filesrc to rtsp source. Also use yolov8m instead of the car detection hef.
The error output likes this:
“Redistribute latency…
Redistribute latency…
Redistribute latency…
[HailoRT] [error] CHECK failed - src size must be 1228800. passed size - 0
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_INVALID_ARGUMENT(2)
[HailoRT] [error] Non-recoverable Async Infer Pipeline error. status error code: HAILO_INVALID_ARGUMENT(2)
[HailoRT] [error] Shutting down the pipeline with status HAILO_INVALID_ARGUMENT(2)
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_INVALID_ARGUMENT(2) - Can’t handle infer request since Pipeline status is HAILO_INVALID_ARGUMENT(2).
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_INVALID_ARGUMENT(2)
CHECK_EXPECTED_AS_STATUS failed with status=2
CHECK_SUCCESS failed with status=2
^Chandling interrupt.
Interrupt: Stopping pipeline …
Execution ended after 0:05:11.047721484
Setting pipeline to NULL …”
Since the error come from HailoRT, so I create it under hailort.
Now I paste the pipeline which can reproduce this issue:
gst-launch-1.0 rtspsrc location=rtsp://192.168.5.151/stream2 name=source_0 message-forward=true ! rtph264depay ! hailofilter name=set_id_0 so-path=/home/cupcake/tappas/apps/h8/gstreamer/libs/post_processes//libstream_id_tool.so config-path=CAM_0 qos=false ! queue name=pre_decode_qtdemux_q_0 leaky=no max-size-buffers=30 max-size-bytes=0 max-size-time=0 ! decodebin ! queue name=pre_postproc_q_0 leaky=no max-size-buffers=30 max-size-bytes=0 max-size-time=0 ! videoconvert qos=false ! video/x-raw,format=RGB,pixel-aspect-ratio=1/1 ! queue name=hailo_prestream_mux_q_0 leaky=no max-size-buffers=30 max-size-bytes=0 max-size-time=0 ! fun.sink_0 rtspsrc location=rtsp://192.168.5.153/stream2 name=source_1 message-forward=true ! rtph264depay ! hailofilter name=set_id_1 so-path=/home/cupcake/tappas/apps/h8/gstreamer/libs/post_processes//libstream_id_tool.so config-path=CAM_1 qos=false ! queue name=pre_decode_qtdemux_q_1 leaky=no max-size-buffers=30 max-size-bytes=0 max-size-time=0 ! decodebin ! queue name=pre_postproc_q_1 leaky=no max-size-buffers=30 max-size-bytes=0 max-size-time=0 ! videoconvert qos=false ! video/x-raw,format=RGB,pixel-aspect-ratio=1/1 ! queue name=hailo_prestream_mux_q_1 leaky=no max-size-buffers=30 max-size-bytes=0 max-size-time=0 ! fun.sink_1 hailoroundrobin name=fun ! queue leaky=no max-size-bytes=0 max-size-time=0 name=hailo_pre_infer_q_0 max-size-buffers=10 ! hailocropper so-path=/home/cupcake/tappas/apps/h8/gstreamer/libs/post_processes//cropping_algorithms/libwhole_buffer.so use-letterbox=false function-name=create_crops internal-offset=true name=car_detect_cropper hailoaggregator name=car_detect_agg car_detect_cropper.src_0 ! queue name=car_detect_q leaky=no max-size-buffers=30 max-size-bytes=0 max-size-time=0 ! car_detect_agg.sink_0 car_detect_cropper.src_1 ! queue name=hailo_car_detect_q leaky=no max-size-buffers=15 max-size-bytes=0 max-size-time=0 ! videoscale n-threads=4 method=0 add-borders=false qos=false ! video/x-raw,width=640,height=640,pixel-aspect-ratio=1/1 ! queue leaky=no max-size-bytes=0 max-size-time=0 name=car_det_format_q3 max-size-buffers=13 ! hailonet hef-path=/home/cupcake/tappas/apps/h8/gstreamer/resources/hef/yolov8m.hef nms-score-threshold=0.3 nms-iou-threshold=0.45 output-format-type=HAILO_FORMAT_TYPE_FLOAT32 ! queue name=hailo_post_q leaky=no max-size-buffers=13 max-size-bytes=0 max-size-time=0 ! hailofilter function-name=yolov8m so-path=/home/cupcake/tappas/apps/h8/gstreamer/libs/post_processes//libyolo_hailortpp_post.so qos=false ! queue name=hailo_remap_q leaky=no max-size-buffers=13 max-size-bytes=0 max-size-time=0 ! car_detect_agg.sink_1 car_detect_agg. ! identity name=fps_probe ! fakesink name=license_plate_ocr_sink sync=false async=false qos=false
If only use one rtsp source, there will be no problem.
If I remove “hailonet hef-path=/home/cupcake/tappas/apps/h8/gstreamer/resources/hef/yolov8m.hef nms-score-threshold=0.3 nms-iou-threshold=0.45 output-format-type=HAILO_FORMAT_TYPE_FLOAT32”, The pipeline will also be OK.
I also changed the yolov8m to yolov5m_wo_spp_60p, problem exists.
So I’m wondering if you know how to solve the problem? Is it a bug for hailort?