- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
namespace openVinoIE = ::InferenceEngine; openVinoIE::InferencePlugin plugin = openVinoIE::PluginDispatcher( {""}).getPluginByDevice("CPU"); openVinoIE::CNNNetReader networkReader; networkReader.ReadNetwork(_struct_file); networkReader.ReadWeights(_param_file); _network = networkReader.getNetwork(); for (auto input:_network.getInputsInfo()) { input.second->setPrecision(openVinoIE::Precision::FP32); input.second->setLayout(openVinoIE::Layout::NCHW); _input_names.emplace_back(input.first); _all_names.emplace_back(input.first); } for (auto output:_network.getOutputsInfo()){ output.second->setPrecision(openVinoIE::Precision::FP32); _output_names.emplace_back(output.first); _all_names.emplace_back(output.first); } _network.setBatchSize(_batch_size); _network.setTargetDevice(openVinoIE::TargetDevice::eCPU); // openVinoIE::QueryNetworkResult res; // plugin.QueryNetwork(_network, res); //EXCEPTION // if (openVinoIE::StatusCode::OK != res.rc) { // WEARDEX_LOG_ERROR("Network " << _struct_file << " contains OpenVINO unsupported layers."); // WEARDEX_LOG_ERROR(res.resp.msg); // return false; // } _executable_network = plugin.LoadNetwork(_network, {}); //EXCEPTION
terminate called after throwing an instance of 'InferenceEngine::details::InferenceEngineException' what(): Primitive descriptor was not found for node conv1. /teamcity/work/scoring_engine_build/releases/cvsdk-2018-r2/src/mkldnn_plugin/mkldnn_node.h:313
inference_engine/lib/ubuntu_16.04/intel64/libcpu_extension_avx2.so inference_engine/lib/ubuntu_16.04/intel64/libcpu_extension_sse4.so inference_engine/lib/ubuntu_16.04/intel64/libinference_engine.so inference_engine/lib/ubuntu_16.04/intel64/libMKLDNNPlugin.so inference_engine/external/mkltiny_lnx/lib/libiomp5.so inference_engine/external/mkltiny_lnx/lib/libmkl_tiny.so
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi XinYe,
Sorry for the late response since we are busying on multiple issues at the same time. Did you already solve this problem?
I want to reproduce what you did in order to solve the problem, could you tell me if you add a new file or add the code into the existing file?
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Liu, Mark (Intel),
I have had a deep inspection into the problem. It seems that when ever we link the application with OpenVINO and caffe. So, I think it might be namespace collision or something similar, between caffe, its dependencies and OpenVINO.
Thank you.
Xinye
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Xinye,
Do you want to report a bug or get a clue for work around?
I need the steps to reproduce the issue in both cases. Could you send me the description or clues to reproduce the problem?
Mark
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page