QaisarRajput / mask-rcnn-opencv

Mask RCNN using OpenCV DNN Library
13 stars 6 forks source link

mask_rcnn_video_live.py: error: argument -m/--mask-rcnn is required #1

Open Algabri opened 4 years ago

Algabri commented 4 years ago

I'm running the code by python2.7, why did it give this error:

usage: mask_rcnn_video_live.py [-h] -m MASK_RCNN [-c CONFIDENCE]
                               [-t THRESHOLD]
mask_rcnn_video_live.py: error: argument -m/--mask-rcnn is required

please help me to fix it.

QaisarRajput commented 4 years ago

You need to give path to the "mask-rcnn" folder, where the pre-trained model is

Algabri commented 4 years ago

I downloaded your code, then run it. but I am working on python 2.7