Skip to content

Issue loading TFLite net #23992

@PetarPetrov8991

Description

@PetarPetrov8991
System information (version)
  • OpenCV => 4.8.0
  • Operating System / Platform => Windows 10 64 Bit
  • Compiler => Visual Studio 2022
Detailed description

So, I saw that tflite support has been added, but when I try readNetFromTFLite(detect.tflite);, I get:

[ERROR:0@0.395] global tflite_importer.cpp:243 cv::dnn::dnn4_v20230620::TFLiteImporter::populateNet DNN/TFLite: Problem during import of operator [PACK]:(ssd_mobile_net_v2_fpn_keras_feature_extractor/FeatureMaps/top_down/nearest_neighbor_upsampling/nearest_neighbor_upsampling/w_stack) (65/157). Exception: OpenCV(4.8.0) G:\opencv\opencv-4.8.0\modules\dnn\src\tflite\tflite_importer.cpp:235: error: (-213:The function/feature is not implemented) Unsupported operator type PACK in function 'cv::dnn::dnn4_v20230620::TFLiteImporter::populateNet'

OpenCV(4.8.0) G:\opencv\opencv-4.8.0\modules\dnn\src\tflite\tflite_importer.cpp:235: error: (-213:The function/feature is not implemented) Unsupported operator type PACK in function 'cv::dnn::dnn4_v20230620::TFLiteImporter::populateNet'

The model was trained and converted by following this tutorial:

Metadata

Metadata

Assignees

Labels

bugcategory: dnnconfirmedThere is stable reproducer / investigation complete

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions