Ask Your Question

Revision history [back]

Error - ReadProtoFromBinaryFile

Hi, Although this a basic issue. But still can anyone help me regarding this.

This is the error i am getting when i try to load model-weights & text-graph.

Opencv Version: '3.4.3' Ubuntu : 18.04

net = cv.dnn.readNetFromTensorflow("/home/mask_rcnn_inception_v2_coco_2018_01_28/mask_rcnn_inception_v2_coco_2018_01_28/frozen_inference_graph.pb", "/home/mask_rcnn_inception_v2_coco_2018_01_28/mask_rcnn_inception_v2_coco_2018_01_28.pbtxt") cv2.error: OpenCV(3.4.3) /io/opencv/modules/dnn/src/caffe/caffe_io.cpp:1132: error: (-2:Unspecified error) FAILED: fs.is_open(). Can't open "/home/mask_rcnn_inception_v2_coco_2018_01_28/mask_rcnn_inception_v2_coco_2018_01_28/frozen_inference_graph.pb" in function 'ReadProtoFromBinaryFile

click to hide/show revision 2
retagged

updated 2018-10-03 08:17:48 -0600

berak gravatar image

Error - ReadProtoFromBinaryFile

Hi, Although this a basic issue. But still can anyone help me regarding this.

This is the error i am getting when i try to load model-weights & text-graph.

Opencv Version: '3.4.3' Ubuntu : 18.04

net = cv.dnn.readNetFromTensorflow("/home/mask_rcnn_inception_v2_coco_2018_01_28/mask_rcnn_inception_v2_coco_2018_01_28/frozen_inference_graph.pb", "/home/mask_rcnn_inception_v2_coco_2018_01_28/mask_rcnn_inception_v2_coco_2018_01_28.pbtxt") cv2.error: OpenCV(3.4.3) /io/opencv/modules/dnn/src/caffe/caffe_io.cpp:1132: error: (-2:Unspecified error) FAILED: fs.is_open(). Can't open "/home/mask_rcnn_inception_v2_coco_2018_01_28/mask_rcnn_inception_v2_coco_2018_01_28/frozen_inference_graph.pb" in function 'ReadProtoFromBinaryFile