Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.

Python API wait(-1) is not blocking

Caspi__Itai
Beginner
262 Views

Hi,

It seems like calling wait(-1) in the Python API is not blocking as it is supposed to be according to the documentation.

Also, it is unclear how to use it properly - 

Assuming I have a writer thread and a reader thread and 2 requests, if the writer thread finished both requests, 

the reader thread will see both as finished and will continue reading from them as if they were new outputs.

I did not find any mechanism to reset the InferenceRequest "finished" state.

 

Thanks,

Itai

0 Kudos
0 Replies
Reply