Community
cancel
Showing results for 
Search instead for 
Did you mean: 
TAO__WANG
Beginner
161 Views

A question about OpenVINO And Java

Hi,

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

include/details/ie_exception_conversion.hpp:81

 

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

#0  0x0000000005aa5207 in raise () from /lib64/libc.so.6

#1  0x0000000005aa68f8 in abort () from /lib64/libc.so.6

#2  0x0000000005e9c7d5 in __gnu_cxx::__verbose_terminate_handler() () from /lib64/libstdc++.so.6

#3  0x0000000005e9a746 in ?? () from /lib64/libstdc++.so.6

#4  0x0000000005e9a773 in std::terminate() () from /lib64/libstdc++.so.6

#5  0x0000000005e9a993 in __cxa_throw () from /lib64/libstdc++.so.6

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

#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/jniloader515382116072860854libopenvino.so

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

0 Kudos
0 Replies
Reply