From b3f11ec9e95392b382499fd422c14e51fd6f70f3 Mon Sep 17 00:00:00 2001 From: NauchtanRobotics Date: Fri, 24 Sep 2021 23:44:01 +1000 Subject: [PATCH] Fix arg help string to match 'classes' arg name (#4893) --- detect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/detect.py b/detect.py index 9b9e7c74644b..08e78bf64a3b 100644 --- a/detect.py +++ b/detect.py @@ -267,7 +267,7 @@ def parse_opt(): parser.add_argument('--save-conf', action='store_true', help='save confidences in --save-txt labels') parser.add_argument('--save-crop', action='store_true', help='save cropped prediction boxes') parser.add_argument('--nosave', action='store_true', help='do not save images/videos') - parser.add_argument('--classes', nargs='+', type=int, help='filter by class: --class 0, or --class 0 2 3') + parser.add_argument('--classes', nargs='+', type=int, help='filter by class: --classes 0, or --classes 0 2 3') parser.add_argument('--agnostic-nms', action='store_true', help='class-agnostic NMS') parser.add_argument('--augment', action='store_true', help='augmented inference') parser.add_argument('--visualize', action='store_true', help='visualize features')