Selaa lähdekoodia

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

modifyDataloader
albinxavi GitHub 3 vuotta sitten
vanhempi
commit
aa78069c58
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      detect.py

+ 1
- 1
detect.py Näytä tiedosto

@@ -172,7 +172,7 @@ if __name__ == '__main__':
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'))

Loading…
Peruuta
Tallenna