- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am trying to modify ReadNetwork() & LoadNetwork() sequence to ImportNetwork() for reducing compileNetwork elapse on runtime.
Segmentation fault in GetExecGraphinfo() with imported executable network in the following sequence . I use object_detection_sample_ssd in toolkit and mobilenet-ssd model to reproduce the symptom.
--
std::string blobFileName = fileNameNoExt(FLAGS_m) + ".blob";
ExecutableNetwork executable_network = ie.ImportNetwork(blobFileName, FLAGS_d, {});
CNNNetwork exec_graphinfo = executable_network.GetExecGraphInfo();
--
Following sequence does not cause segmentation fault.
--
CNNNetwork network = ie.ReadNetwork(FLAGS_m);
ExecutableNetwork executable_network = ie.LoadNetwork(network, FLAGS_d, configure(FLAGS_config));
CNNNetwork exec_graphinfo = executable_network.GetExecGraphInfo();
--
I generate mobilenet-ssd.blob with the following commnad :
myriad_compile -m <model_dir>/mobilenet-ssd.xml -ip U8 -op FP32
I am trying 2019R3.1 and 2020.3 LTS and get the same symptom.
I appreciate any suggestion for this symptom.
Best regards,
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here is addition information :
HW platform : Xeon E-2246G and NCS2 usb stick
OpenVINO toolkit : 2019.3.376 and 2020.3.194 x86_64 binary package
OS : Ubuntu 18.04.5 LTS
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Greetings,
Could you provide more details so that I could replicate this? (Src code, etc)
ReadNetwork() & LoadNetwork() is a core code. They are meant to be used as they are and modifications are not officially supported hence success in these is not guaranteed.
Sincerely,
Iffa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HI,
I attach cpp code to repuroduce the symptom. This is modified from openvino_2020.3.194/inference_engine/samples/cpp/object_detection_sample_ssd/main.cpp .
main.cpp_diff.txt shows added line to call GetExecGraphInfo() .
Best Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Greetings,
I had go through and cross checked your code. There are 3 possible ways to use ImportNetwork - https://docs.openvinotoolkit.org/latest/classInferenceEngine_1_1Core.html#af5dd52e92164a99ce9ed90f78b14d013
Need to understand which of them you have been trying to utilize when you provide blobFileName as a first argument.
This is the public example of what you are trying to do:- https://docs.openvinotoolkit.org/2020.1/_inference_engine_tools_compile_tool_README.html#import
Also one more example from internal notes :
executable_network[thread] = ie.ImportNetwork(FLAGS_m, HDDLDevices.at(0));
Perhaps you can try to use the parameters as above.
Sincerely,
Iffa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Greetings,
Intel will no longer monitor this thread since we have provided a solution. If you need any additional information from Intel, please submit a new question
Sincerely,
Iffa

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page