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.

A question about OpenVINO And Java



I wrap an c++ API that logic is  as follows:

1.Load plugin;

2.Read Model IR;

3.Config input&output;

4.Load Model

My JAVA code interact with this API by JNI. I try to call this JNI API multiple times in Java in order to load multiple models,And sometime I get these error message:

terminate called after throwing an instance of 'InferenceEngine::details::InferenceEngineException'

  what():  std::exception



I get these message as follows when I open the core dump file and command 'bt'。

#0  0x0000000005aa5207 in raise () from /lib64/

#1  0x0000000005aa68f8 in abort () from /lib64/

#2  0x0000000005e9c7d5 in __gnu_cxx::__verbose_terminate_handler() () from /lib64/

#3  0x0000000005e9a746 in ?? () from /lib64/

#4  0x0000000005e9a773 in std::terminate() () from /lib64/

#5  0x0000000005e9a993 in __cxa_throw () from /lib64/

#6  0x0000000035b34012 in InferenceEngine::details::extract_exception(InferenceEngine::StatusCode, char*) () from /tmp/

#7  0x0000000035b486e8 in InferenceEngine::InferencePlugin::LoadNetwork(InferenceEngine::CNNNetwork, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) ()

   from /tmp/

May I reuqest you give me some advice, thanks a lot。

0 Kudos
0 Replies