Ask Your Question
0

Error - ReadProtoFromBinaryFile

asked 2018-10-02 14:39:27 -0600

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

berak gravatar image

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

edit retag flag offensive close merge delete

Comments

code is here

and it literally means what it says ! please check again, if the file is there.

berak gravatar imageberak ( 2018-10-03 08:22:51 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-10-08 07:15:24 -0600

Yes I saw that i was inputting wrong path such a silly mistake.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2018-10-02 14:39:27 -0600

Seen: 4,015 times

Last updated: Oct 02 '18