diff --git a/modules/dnn/src/onnx/onnx_importer.cpp b/modules/dnn/src/onnx/onnx_importer.cpp index ec2d2c4c25..1beea181f2 100644 --- a/modules/dnn/src/onnx/onnx_importer.cpp +++ b/modules/dnn/src/onnx/onnx_importer.cpp @@ -777,6 +777,10 @@ void ONNXImporter::populateNet(Net dstNet) { layerParams.type = "ReLU"; } + else if (layer_type == "Elu") + { + layerParams.type = "ELU"; + } else if (layer_type == "PRelu") { layerParams.type = "PReLU";