提交 ac4fd4f4 编写于 作者: L Liubov Batanina

Fix ReduceL2

上级 94f1c3d1
......@@ -784,6 +784,8 @@ void ONNXImporter::populateNet(Net dstNet)
CV_Assert_N(node_proto.input_size() == 1, layerParams.has("axes"));
CV_Assert(graph_proto.node_size() > li + 1 && graph_proto.node(li + 1).op_type() == "Div");
++li;
node_proto = graph_proto.node(li);
layerParams.name = node_proto.output(0);
layerParams.type = "Normalize";
DictValue axes_dict = layerParams.get("axes");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册