Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Error while reading DeepLabv3+ tensorflow model in OpenCV

I am getting the following error while trying to import the model for DeepLabv3+ semantic segmentation ( https://github.com/tensorflow/models/tree/master/research/deeplab ) in OpenCV using readNetFromTensorflow.

libc++abi.dylib: terminating with uncaught exception of type cv::Exception: OpenCV(3.4.3) /Users/snayak/opencv/opencv-3.4.3/modules/dnn/src/tensorflow/tf_importer.cpp:1145: error: (-213:The function/feature is not implemented) Unsupported squeeze configuration in function 'populateNet'

I used the frozen_inference_graph.pb file which is given at
http://download.tensorflow.org/models/deeplabv3_pascal_trainval_2018_01_04.tar.gz

The tensorboard model graph is attached here.

Any help in resolving this would be greatly appreciated. Thanks !