Hello,
I would like to run the detection with tracker example using the Python API (Hailo-Application-Code-Examples/runtime/python/detection_with_tracker at main · hailo-ai/Hailo-Application-Code-Examples · GitHub).
After modifying the download_resources.sh to download the correct HEF file, I am still getting error about input size buffer.
./detection_with_tracker.py -i input_video.mp4 -o output_video.mp4 -l coco.txt -s 0.5
0%| | 0/349 [00:00<?, ?it/s][HailoRT] [error] CHECK failed - Input buffer size 0 is different than expected 1228800 for input ‘yolov5m_wo_spp_60p/input_layer1’
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_INVALID_OPERATION(6)
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_INVALID_OPERATION(6)
Exception in thread Thread-1 (run):
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/hailo_platform/pyhailort/pyhailort.py”, line 3282, in run_async
cpp_job = self._configured_infer_model.run_async(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
hailo_platform.pyhailort._pyhailort.HailoRTStatusException: 6
I have found similar posts about this error message ([HailoRT] [error] CHECK failed - Input buffer size 0 is different than expected 602112 for input 'yolov8m/input_layer1'), but nothing has worked.
Considering this example has been taken directly from the repo without any modifications, I expect it to just work. Does anyone have any suggestions here?