Skip to content

Commit

Permalink
Change default value of hide label argument to False (#2923)
Browse files Browse the repository at this point in the history
  • Loading branch information
albinxavi committed Apr 24, 2021
1 parent de19d39 commit eae28a9
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 eae28a9

Please sign in to comment.