From 0e80a97f87b95da0672c88b333c27a470ee91206 Mon Sep 17 00:00:00 2001 From: Dmitry Kurtaev Date: Tue, 29 Oct 2024 10:20:51 +0300 Subject: [PATCH] Hotfix ie_ngraph.cpp in Debug --- modules/dnn/src/ie_ngraph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/dnn/src/ie_ngraph.cpp b/modules/dnn/src/ie_ngraph.cpp index 0897aaff1c..779cd1ebc0 100644 --- a/modules/dnn/src/ie_ngraph.cpp +++ b/modules/dnn/src/ie_ngraph.cpp @@ -162,7 +162,7 @@ void InfEngineNgraphNet::createNet(Target targetId) { CV_LOG_DEBUG(NULL, "DNN/NGRAPH: Add 'Result' output: " << output_node_it->first); CV_Assert(output_node_it->second); auto out = std::make_shared(output_node_it->second->node); - std::string name = output_node_it->first + (output_node_it->second->node.get_node()->get_output_size() == 1 ? "" : ".0") + std::string name = output_node_it->first + (output_node_it->second->node.get_node()->get_output_size() == 1 ? "" : ".0"); CV_LOG_DEBUG(NULL, "DNN-IE: Change friendly name from " << out->get_friendly_name() << " to " << name); out->set_friendly_name(name); outs.push_back(out);