Issue with Running Hailo8L on Windows using C++ - Need Guidance

I am currently working on integrating the Hailo8L into a Windows environment using C++ and have been referring to the Hailo Application Code Examples on GitHub. I successfully compiled the code, but when I attempt to run the program, I encounter the following issue:

During the write_all operation, I consistently get the error:
Got HAILO_TIMEOUT while waiting for input stream buffer yolov5m/input_layer1

Has anyone here worked on adapting or running Hailo8L on Windows using C++? Any guidance or tips would be greatly appreciated, especially regarding potential issues I may have overlooked in the process.

Thank you

Hey @13611

Welcome to the Hailo Community!

The error “Got HAILO_TIMEOUT while waiting for input stream buffer yolov5m/input_layer1” during the write_all operation could be caused by various factors. Here are the top 3 steps to help resolve it:

  1. Check Buffering and Timeout Settings: Double-check that the input stream buffer size and write timeout settings are properly configured for your specific model. You can utilize the hailo_stream_parameters APIs to verify these settings. Incorrect configurations can often result in timeouts.
  2. Examine Input Data Flow: Make sure that your application is providing data to the input stream at the expected rate. Any delays or missing data during the write_all operation could potentially cause timeouts. Confirm that your application logic aligns with the data requirements of your model.

If these steps don’t resolve the issue, it would be helpful if you could provide more details about the specific example you are working with and the model you are using. This additional information will allow me to better assist you in troubleshooting the problem.