-
-
Notifications
You must be signed in to change notification settings - Fork 56.5k
Does opencv support faster_rcnn_inception_resnet_v2_atrous_oid? #14634
Copy link
Copy link
Closed
Labels
Milestone
Description
opencv version 4.1.0-dev
model http://download.tensorflow.org/models/object_detection/faster_rcnn_inception_resnet_v2_atrous_oid_2018_01_28.tar.gz
Detailed description
exception reading model :
cv2.error: OpenCV(4.1.0-dev) G:\Lib\opencv\modules\dnn\src\tensorflow\tf_importer.cpp:544: error: (-2:Unspecified error) Input layer not found: FirstStageBoxPredictor/ClassPredictor/BiasAdd in function 'cv::dnn::dnn4_v20190430::`anonymous-namespace'::TFImporter::connect'
Steps to reproduce
tf_text_graph_faster_rcnn.py --input frozen_inference_graph.pb --config pipeline.config --output frozen.pbtxt
Number of classes: 2854
Scales: [0.25, 0.5, 1.0, 2.0]
Aspect ratios: [0.5, 1.0, 2.0]
Width stride: 16.000000
Height stride: 16.000000
Features stride: 16.000000
then
cv.dnn.readNet('frozen_inference_graph.pb','frozen.pbtxt')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
cv2.error: OpenCV(4.1.0-dev) G:\Lib\opencv\modules\dnn\src\tensorflow\tf_importer.cpp:544: error: (-2:Unspecified error) Input layer not found: FirstStageBoxPredictor/ClassPredictor/BiasAdd in function 'cv::dnn::dnn4_v20190430::`anonymous-namespace'::TFImporter::connect'
Reactions are currently unavailable