Dear community,
I think that hailo has work more in order to allow developers to use more easily the promising systems that they are providing.
Anyway i have followed this tutorial Raspberry Pi AI Kit: ONNX to HEF Conversion and i have done the translation from onnx yolo segment to the hef file by using the dataflow compiler in windows.
when i try to run the follow command in order to test the yolo segmentation model in local mp4
(venv_hailo_rpi5_examples) pi@raspberrypi:~/hailo-rpi5-examples $ python3 basic_pipelines/detection.py --hef-path /home/pi/Desktop/segmentation/yolov8n_seg.hef --input /home/pi/Desktop/segmentation/Progetto_video.mp4
this what i have seen in the output
Auto-detected Hailo architecture: hailo8l
filesrc location="/home/pi/Desktop/segmentation/Progetto_video.mp4" name=source ! queue name=source_queue_dec264 leaky=no max-size-buffers=3 max-size-bytes=0 max-size-time=0 ! qtdemux ! h264parse ! avdec_h264 max-threads=2 ! queue name=source_scale_q leaky=no max-size-buffers=3 max-size-bytes=0 max-size-time=0 ! videoscale name=source_videoscale n-threads=2 ! queue name=source_convert_q leaky=no max-size-buffers=3 max-size-bytes=0 max-size-time=0 ! videoconvert n-threads=3 name=source_convert qos=false ! video/x-raw, format=RGB, pixel-aspect-ratio=1/1 ! queue name=inference_scale_q leaky=no max-size-buffers=3 max-size-bytes=0 max-size-time=0 ! videoscale name=inference_videoscale n-threads=2 qos=false ! queue name=inference_convert_q leaky=no max-size-buffers=3 max-size-bytes=0 max-size-time=0 ! video/x-raw, pixel-aspect-ratio=1/1 ! videoconvert name=inference_videoconvert n-threads=2 ! queue name=inference_hailonet_q leaky=no max-size-buffers=3 max-size-bytes=0 max-size-time=0 ! hailonet name=inference_hailonet hef-path=/home/pi/Desktop/segmentation/yolov8n_seg.hef batch-size=2 nms-score-threshold=0.3 nms-iou-threshold=0.45 output-format-type=HAILO_FORMAT_TYPE_FLOAT32 force-writable=true ! queue name=inference_hailofilter_q leaky=no max-size-buffers=3 max-size-bytes=0 max-size-time=0 ! hailofilter name=inference_hailofilter so-path=/home/pi/hailo-rpi5-examples/basic_pipelines/../resources/libyolo_hailortpp_postprocess.so qos=false ! queue name=identity_callback_q leaky=no max-size-buffers=3 max-size-bytes=0 max-size-time=0 ! identity name=identity_callback ! queue name=hailo_display_hailooverlay_q leaky=no max-size-buffers=3 max-size-bytes=0 max-size-time=0 ! hailooverlay name=hailo_display_hailooverlay ! queue name=hailo_display_videoconvert_q leaky=no max-size-buffers=3 max-size-bytes=0 max-size-time=0 ! videoconvert name=hailo_display_videoconvert n-threads=2 qos=false ! queue name=hailo_display_q leaky=no max-size-buffers=3 max-size-bytes=0 max-size-time=0 ! fpsdisplaysink name=hailo_display video-sink=xvimagesink sync=true text-overlay=false signal-fps-measurements=true
Showing FPS
NMS score threshold is set, but there is no NMS output in this model.
CHECK_SUCCESS failed with status=6
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.136: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.141: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.160: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.165: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.178: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.180: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.181: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.194: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.200: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.201: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.209: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.223: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.226: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.232: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.241: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.244: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.250: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.259: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.267: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.275: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.285: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.289: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.305: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.306: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.326: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.326: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.339: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.344: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.356: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.361: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.381: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.386: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.396: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.407: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.411: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.422: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.439: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.444: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.449: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.463: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.468: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.487: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.499: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.506: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.515: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.516: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.529: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.534: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.562: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.562: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.588: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.593: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.608: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.616: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.629: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.637: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.654: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.665: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.672: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.685: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.695: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.703: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.724: gst_queue_array_push_tail: assertion 'array != NULL' failed
(Hailo Detection App:6195): GStreamer-Base-CRITICAL **: 14:37:09.725: gst_queue_array_push_tail: assertion 'array != NULL' failed
someone can help me to understand the problem and how to fix it?