Ask Your Question

Revision history [back]

Tensorflow YOLO module in OpenCV 3.2

I was trying to run the Tiny YOLO Model using the DNN Module. I'm getting the following error:

Pad:Pad(input)(Pad/paddings) Tpaddings:[ ] T:0 OpenCV Error: Unspecified error (Unknown layer type Pad in op Pad) in populateNet, file /home/asobti/opencv_contrib/modules/dnn/src/tensorflow/tf_importer.cpp, line 729 terminate called after throwing an instance of 'cv::Exception' what(): /home/asobti/opencv_contrib/modules/dnn/src/tensorflow/tf_importer.cpp:729: error: (-2) Unknown layer type Pad in op Pad in function populateNet

It seems like the layer "Pad" is not implemented in the importer. Is there a workaround for this?