Skip to content

TFLite importer: add support to SPLIT operation #24965

@dmartinez-quercus

Description

@dmartinez-quercus

Describe the feature and motivation

I'm trying to import a TFLite model by using OpenCV (4.9.0) DNN module and it seems the "SPLIT" operation cannot be parsed. The "SPLIT" operation is commonly used in newer CNNs, so it would be nice to import TFLite models that use it.

[ERROR:0@0.022] global tflite_importer.cpp:244 populateNet DNN/TFLite: Problem during import of operator [SPLIT]:(MartzNet/tf.split_12/split) (8/138). Exception: OpenCV(4.9.0-dev) /home/user/Software/opencv/modules/dnn/src/tflite/tflite_importer.cpp:238: error: (-213:The function/feature is not implemented) Unsupported operator type SPLIT in function 'populateNet' terminate called after throwing an instance of 'cv::Exception' what(): OpenCV(4.9.0-dev) /home/user/Software/opencv/modules/dnn/src/tflite/tflite_importer.cpp:238: error: (-213:The function/feature is not implemented) Unsupported operator type SPLIT 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