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'
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'