Commit 1f57eb93 authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #15911 from l-bat:fix_reducel2

parents 6773b938 ac4fd4f4
......@@ -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% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment