Skip to content

Commit

Permalink
Change default value of hide-conf argument to false (ultralytics#2925)
Browse files Browse the repository at this point in the history
(cherry picked from commit aa78069)
  • Loading branch information
albinxavi authored and Lechtr committed Apr 28, 2021
1 parent b5d7d45 commit a1a7305
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion detect.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
Expand Down

0 comments on commit a1a7305

Please sign in to comment.