Skip to content

[TFLITE IMPORTER] unsupported op leaky_relu #26131

@pfeatherstone

Description

@pfeatherstone

Describe the feature and motivation

I am trying to load a yolov3 model in tflite format. When calling cv::dnn::readNetFromTFLite() i get error:

[ERROR:0@0.621] global tflite_importer.cpp:252 populateNet DNN/TFLite: Problem during import of operator [LEAKY_RELU]:(model_12/tf.nn.leaky_relu/LeakyRelu) (1/208). Exception: OpenCV(4.10.0) /home/pf/Downloads/repos/opencv-4.10.0/modules/dnn/src/tflite/tflite_importer.cpp:246: error: (-213:The function/feature is not implemented) Unsupported operator type LEAKY_RELU in function 'populateNet'

terminate called after throwing an instance of 'cv::Exception'
  what():  OpenCV(4.10.0) /home/pf/Downloads/repos/opencv-4.10.0/modules/dnn/src/tflite/tflite_importer.cpp:246: error: (-213:The function/feature is not implemented) Unsupported operator type LEAKY_RELU in function 'populateNet'

Additional context

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions