From aa78069c585115e29ba5759a2d856be0222bc12c Mon Sep 17 00:00:00 2001 From: albinxavi <62288451+albinxavi@users.noreply.github.com> Date: Sun, 25 Apr 2021 17:48:14 +0530 Subject: [PATCH] Change default value of hide-conf argument to false (#2925) --- detect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/detect.py b/detect.py index a2b3045bc500..f5e53d991504 100644 --- a/detect.py +++ b/detect.py @@ -172,7 +172,7 @@ def detect(opt): parser.add_argument('--exist-ok', action='store_true', help='existing project/name ok, do not increment') parser.add_argument('--line-thickness', default=3, type=int, help='bounding box thickness (pixels)') parser.add_argument('--hide-labels', default=False, action='store_true', help='hide labels') - parser.add_argument('--hide-conf', default=True, action='store_true', help='hide confidences') + parser.add_argument('--hide-conf', default=False, action='store_true', help='hide confidences') opt = parser.parse_args() print(opt) check_requirements(exclude=('pycocotools', 'thop'))