albinxavi
commited on
Change default value of hide-conf argument to false (#2925)
Browse files
detect.py
CHANGED
@@ -172,7 +172,7 @@ if __name__ == '__main__':
|
|
172 |
parser.add_argument('--exist-ok', action='store_true', help='existing project/name ok, do not increment')
|
173 |
parser.add_argument('--line-thickness', default=3, type=int, help='bounding box thickness (pixels)')
|
174 |
parser.add_argument('--hide-labels', default=False, action='store_true', help='hide labels')
|
175 |
-
parser.add_argument('--hide-conf', default=
|
176 |
opt = parser.parse_args()
|
177 |
print(opt)
|
178 |
check_requirements(exclude=('pycocotools', 'thop'))
|
|
|
172 |
parser.add_argument('--exist-ok', action='store_true', help='existing project/name ok, do not increment')
|
173 |
parser.add_argument('--line-thickness', default=3, type=int, help='bounding box thickness (pixels)')
|
174 |
parser.add_argument('--hide-labels', default=False, action='store_true', help='hide labels')
|
175 |
+
parser.add_argument('--hide-conf', default=False, action='store_true', help='hide confidences')
|
176 |
opt = parser.parse_args()
|
177 |
print(opt)
|
178 |
check_requirements(exclude=('pycocotools', 'thop'))
|