Skip to content

error in argument #1

@agripparuth

Description

@agripparuth

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())

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions