Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error in argument #1

Open
agripparuth opened this issue May 27, 2020 · 0 comments
Open

error in argument #1

agripparuth opened this issue May 27, 2020 · 0 comments

Comments

@agripparuth
Copy link

i wanna ask for this error, what should i do??

usage: real_time_object_detection.py
[-h] -p PROTOTXT -m MODEL
[-c PROBABILITY]
real_time_object_detection.py: error:
the following arguments are required:
-p/--prototxt, -m/--model

the arguments:

construct the argument parser and parse the arguments

ap = argparse.ArgumentParser()
ap.add_argument("-p", "--prototxt", required = True, help = "path to Caffe 'deploy' prototxt file")
ap.add_argument("-m", "--model", required = True, help = "path to Caffe pre-trained model")
ap.add_argument("-c", "--probability", type = float, default = 0.2, help = "minimum probability to filter weak detections")
args = vars(ap.parse_args())

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant