File tree Expand file tree Collapse file tree 4 files changed +4
-6
lines changed Expand file tree Collapse file tree 4 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,6 @@ class CV_EXPORTS LayerFactory
67
67
static void unregisterLayer (const String &type);
68
68
69
69
// ! Check if layer is registered.
70
- // ! @note Thread-safe, but the mutex will be unlocked after this function terminates.
71
70
static bool isLayerRegistered (const std::string& type);
72
71
73
72
/* * @brief Creates instance of registered layer.
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ class LayerHandler
114
114
return ;
115
115
}
116
116
117
- std::stringstream ss;
117
+ std::ostringstream ss;
118
118
ss << " DNN: Not supported types:\n " ;
119
119
for (const auto & typeset : layers)
120
120
{
Original file line number Diff line number Diff line change @@ -209,7 +209,6 @@ class ONNXLayerHandler : public detail::PayloadedLayerHandler<LayerPayload>
209
209
210
210
protected:
211
211
ONNXImporter* importer;
212
- const std::string str_domain_ai_onnx = " ai.onnx" ;
213
212
};
214
213
215
214
ONNXLayerHandler::ONNXLayerHandler (ONNXImporter* importer_) : importer(importer_){}
@@ -891,7 +890,7 @@ void ONNXImporter::handleNode(const opencv_onnx::NodeProto& node_proto)
891
890
const auto & dispatch = getDispatchMap (node_proto);
892
891
893
892
bool declared_domain = onnx_opset_map.find (layer_type_domain) != onnx_opset_map.end ();
894
- CV_LOG_WARNING (NULL , " DNN/ONNX: processing node with " << node_proto.input_size () << " inputs and "
893
+ CV_LOG_DEBUG (NULL , " DNN/ONNX: processing node with " << node_proto.input_size () << " inputs and "
895
894
<< node_proto.output_size () << " outputs: "
896
895
<< cv::format (" [%s]:(%s)" , layer_type.c_str (), name.c_str ())
897
896
<< cv::format (" from %sdomain='" , declared_domain ? " " : " undeclared " )
Original file line number Diff line number Diff line change @@ -3090,8 +3090,8 @@ void TFImporter::populateNet()
3090
3090
{
3091
3091
const tensorflow::NodeDef& layer = net.node (li);
3092
3092
3093
- CV_LOG_DEBUG (NULL , " DNN/TF: (" << li << " /" << layersSize << " ) Parse layer "
3094
- << layer. name () << " @ " << layer. op () << " with " << layer.input_size () << " inputs " );
3093
+ CV_LOG_DEBUG (NULL , " DNN/TF: processing node (" << li << " /" << layersSize << " ) with " << layer. input_size () << " inputs: "
3094
+ << cv::format ( " [%s]:(%s) " , layer.op (). c_str (), layer. name (). c_str ()) );
3095
3095
3096
3096
parseNode (layer);
3097
3097
}
You can’t perform that action at this time.
0 commit comments