Update check_requirements() ROOT (#11557)
This commit is contained in:
1 parent
ec2b8538cd
commit
eef637cd04
8 files changed
+9
-9
No files matched your search
+1
-1
@@ -275,7 +275,7 @@ def parse_opt():
|
||||
|
||||
|
||||
def main(opt):
|
||||
check_requirements(exclude=('tensorboard', 'thop'))
|
||||
check_requirements(ROOT / 'requirements.txt', exclude=('tensorboard', 'thop'))
|
||||
run(**vars(opt))
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -434,7 +434,7 @@ def parse_opt():
|
||||
|
||||
|
||||
def main(opt):
|
||||
check_requirements(requirements=ROOT / 'requirements.txt', exclude=('tensorboard', 'thop'))
|
||||
check_requirements(ROOT / 'requirements.txt', exclude=('tensorboard', 'thop'))
|
||||
|
||||
if opt.task in ('train', 'val', 'test'): # run normally
|
||||
if opt.conf_thres > 0.001: # https://github.com/ultralytics/yolov5/issues/1466
|
||||
|
||||
Reference in new issue
Block a user