DDP, Comet, URLError fixes, improved error handling (#658)
Co-authored-by: Ayush Chaurasia <ayush.chaurarsia@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Tungway1990 <68179274+Tungway1990@users.noreply.github.com>
This commit is contained in:
@ -50,7 +50,7 @@ def val(cfg=DEFAULT_CFG, use_python=False):
|
||||
model = cfg.model or "yolov8n-cls.pt" # or "resnet18"
|
||||
data = cfg.data or "mnist160"
|
||||
|
||||
args = dict(model=model, data=data, verbose=True)
|
||||
args = dict(model=model, data=data)
|
||||
if use_python:
|
||||
from ultralytics import YOLO
|
||||
YOLO(model).val(**args)
|
||||
|
||||
Reference in New Issue
Block a user