Ask Your Question

Error - ReadProtoFromBinaryFile

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

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

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


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 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

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

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

edit flag offensive delete link more
Login/Signup to Answer

Question Tools



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

Seen: 1,030 times

Last updated: Oct 02 '18