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.

C++ Accessing the inference engine in a forked process

Murugappan__Indrajit
538 Views

We are using OpenVINO R5 and trying to load the networks in the parent process and inference calls are made in the forked child.

The Infer() call is hanging in the child process. The same call works fine when performed in the parent process.

Is multiprocessing supported for OpenVINO models in C++?

Thanks

Indrajit

 

0 Kudos
2 Replies
nikos1
Valued Contributor I
538 Views

Hello Murugappan,

I am also experiencing a related threading issue in a slightly different situation than yours. Mine is around Infer request too. I think the best way to proceed would be if we prepare a minimal repro; just a few C++ lines code demonstrating the issue. Do you think you could provide such a minimal repro for your case? I am also working on mine ( ETA end of the week I hope) that I believe is related but cannot be 100% sure.

Cheers,

nikos

0 Kudos
Monica__Zhao
Beginner
538 Views

Hello, your problem has been solved. Can you use asynchronous processing? We look forward to your reply!

0 Kudos
Reply