diff --git a/.vscode/launch.json b/.vscode/launch.json index f7701bf..5990161 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -14,6 +14,16 @@ ], "justMyCode": true }, + // { + // "name": "Quick, Specific Debug", + // "type": "python", + // "request": "launch", + // "module": "wyzely_detect", + // "args": [ + // "--run-scale", "0.25", "--view-scale", "0.5", "--no-remove-representations", "--detect-object", "person", "--detect-object", "cell phone" + // ], + // "justMyCode": true + // }, { // "name": "Python: Module", "name": "Full Debug", diff --git a/wyzely_detect/utils/cli_args.py b/wyzely_detect/utils/cli_args.py index 0b6eaf0..0f9e1ef 100644 --- a/wyzely_detect/utils/cli_args.py +++ b/wyzely_detect/utils/cli_args.py @@ -154,7 +154,7 @@ def set_argparse(): object_detection = argparser.add_argument_group("Object Detection options") object_detection.add_argument( "--detect-object", - nargs="*", + action="append", default=[], type=str, help="The object(s) to detect. Must be something the model is trained to detect",