Skip to content

[TFLITE] STRIDED_SLICE is not supported by DNN #26140

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
pfeatherstone opened this issue Sep 11, 2024 · 0 comments · May be fixed by opencv/opencv_extra#1254 or #27273
Open

[TFLITE] STRIDED_SLICE is not supported by DNN #26140

pfeatherstone opened this issue Sep 11, 2024 · 0 comments · May be fixed by opencv/opencv_extra#1254 or #27273
Assignees
Milestone

Comments

@pfeatherstone
Copy link

pfeatherstone commented Sep 11, 2024

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@1.988] global tflite_importer.cpp:252 populateNet DNN/TFLite: Problem during import of operator [STRIDED_SLICE]:(model_12/tf.strided_slice/StridedSlice) (192/208). Exception: OpenCV(4.10.0-dev) /home/pf/Downloads/repos/opencv-4.x/modules/dnn/src/tflite/tflite_importer.cpp:246: error: (-213:The function/feature is not implemented) Unsupported operator type STRIDED_SLICE in function 'populateNet'

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

Additional context

I am using opencv master. Unfortunately I can't drop the model weights as they are over 25MB.

@pfeatherstone pfeatherstone changed the title [TFLITE IMPORTER] [TFLITE IMPORTER] STRIDED_SLICE Sep 11, 2024
@asmorkalov asmorkalov added this to the 4.11.0 milestone Sep 11, 2024
@asmorkalov asmorkalov modified the milestones: 4.11.0, 4.12.0 Dec 23, 2024
@asmorkalov asmorkalov changed the title [TFLITE IMPORTER] STRIDED_SLICE [TFLITE] STRIDED_SLICE is not supported by DNN Apr 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants