diff --git a/val.py b/val.py index 496b941f9..4e4540293 100644 --- a/val.py +++ b/val.py @@ -160,7 +160,7 @@ def run( pad=pad, rect=rect, workers=workers, - min_items=opt.min_items, + min_items=min_items, prefix=colorstr(f'{task}: '))[0] seen = 0 diff --git a/val_dual.py b/val_dual.py index 4f0af05bf..37b043a52 100644 --- a/val_dual.py +++ b/val_dual.py @@ -160,7 +160,7 @@ def run( pad=pad, rect=rect, workers=workers, - min_items=opt.min_items, + min_items=min_items, prefix=colorstr(f'{task}: '))[0] seen = 0 diff --git a/val_triple.py b/val_triple.py index e8997a34b..d4a7031d9 100644 --- a/val_triple.py +++ b/val_triple.py @@ -160,7 +160,7 @@ def run( pad=pad, rect=rect, workers=workers, - min_items=opt.min_items, + min_items=min_items, prefix=colorstr(f'{task}: '))[0] seen = 0