TannerGilbert / Tensorflow-Object-Detection-with-Tensorflow-2.0

Use the Tensorflow Object Detection API with Tensorflow 2
https://gilberttanner.com/blog/object-detection-with-tensorflow-2
MIT License
131 stars 78 forks source link

error: the following arguments are required: -m/--model, -l/--labelmap #10

Closed Vierana closed 3 years ago

Vierana commented 3 years ago

i run the code that you have and i got error

usage: newcameradetection.py [-h] -m MODEL -l LABELMAP newcameradetection.py: error: the following arguments are required: -m/--model, -l/--labelmap

how i can fix that ?

TannerGilbert commented 3 years ago

You need to pass the path to the model and labelmap, e.g. python newcameradetection.py -m <path to model> -l <path to labelmap>