Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

cv exception using DNN

Hi

I test frozen_graph.pb CNN model fine in tensorflow code for MNIST.

But when I test with OpenCV, it output error log below.

error: C:\projects\opencv-python\opencv\modules\dnn\src\tensorflow\tf_importer.cpp:1487: error: (-2) Unknown layer type NoOp in op init in function cv::dnn::experimental_dnn_v3::`anonymous-namespace'::TFImporter::populateNet

frozen_graph.pb here.

https://drive.google.com/file/d/1C0akst_Af2g-3Z2vOHZjNLxeS20kdZdf/view?usp=sharing

Test image here.

https://drive.google.com/file/d/1rna2cACL9DEPVRck3T98vaJaxIyYsxLZ/view?usp=sharing

Please help.

Thanks

Hank