Skip to content

Commit

Permalink
Change default value of hide label argument to False (ultralytics#2923)
Browse files Browse the repository at this point in the history
  • Loading branch information
albinxavi authored Apr 24, 2021
1 parent 687fa2c commit 244d93f
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 @@ -171,7 +171,7 @@ def detect(opt):
parser.add_argument('--name', default='exp', help='save results to project/name')
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=True, action='store_true', help='hide labels')
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')
opt = parser.parse_args()
print(opt)
Expand Down

0 comments on commit 244d93f

Please sign in to comment.