vjgpt / Object-Detection

This project is used for object detection using Yolov3 and Fast RCNN.
7 stars 8 forks source link

Getting the error Can't open "./mask_rcnn_inception_v2_coco_2018_01_28/frozen_inference_graph.pb #1

Open karthikadeva opened 5 years ago

karthikadeva commented 5 years ago

Hi I am getting the following error while trying to execute the command python mask_rcnn.py --image=data\cars.jpg. Pls help to resolve the issue and much appreciated.

Following is the complete log PS F:\Object-Detection-master\Object-Detection-master> python mask_rcnn.py --image=data\cars.jpg Traceback (most recent call last): File "mask_rcnn.py", line 99, in net = cv.dnn.readNetFromTensorflow(modelWeights, textGraph); cv2.error: OpenCV(4.1.0) C:\projects\opencv-python\opencv\modules\dnn\src\caffe\caffe_io.cpp:1132: error: (-2:Unspecified erro r) FAILED: fs.is_open(). Can't open "./mask_rcnn_inception_v2_coco_2018_01_28/frozen_inference_graph.pb" in function 'cv::dnn: :ReadProtoFromBinaryFile'

agavrel commented 4 years ago

Hi,

You can get it from http://download.tensorflow.org/models/object_detection/mask_rcnn_inception_v2_coco_2018_01_28.tar.gz