albinxavi commited on
Commit
aa78069
1 Parent(s): eae28a9

Change default value of hide-conf argument to false (#2925)

Browse files
Files changed (1) hide show
  1. detect.py +1 -1
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=True, action='store_true', help='hide confidences')
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'))