Skip to content

cv::dnn::experimental_dnn_v4::`anonymous-namespace'::TFImporter::populateNet #11691

@gulingfengze

Description

@gulingfengze
System information (version)
  • OpenCV =>3.4.1
  • Operating System / Platform =>Windows 64 Bit
  • Compiler => Visual Studio 2015
Detailed description

After generating frozen_inference_graph.pb files using the faster_rcnn_resnet50 , the graph.pbtxt file was successfully generated through tf_text_graph_faster_rcnn. py, but there was an error porting to Windows:

Traceback (most recent call last):
File "E:/Pycharm/Projects/ObjectDetection/object_detection/opencv_xml_2.py", line 10, in
cvNet = cv.dnn.readNetFromTensorflow('frozen_inference_graph.pb', 'graph.pbtxt')
cv2.error: OpenCV(3.4.1) C:\projects\opencv-python\opencv\modules\dnn\src\tensorflow\tf_importer.cpp:1582: error: (-2) Unknown layer type CropAndResize in op CropAndResize in function cv::dnn::experimental_dnn_v4::`anonymous-namespace'::TFImporter::populateNet

I have verified that frozen_inference_graph.pb is work.

Steps to reproduce

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions