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:
parent
6c44ce21d9
commit
a5410ed79e
22 changed files with 79 additions and 81 deletions
|
|
@ -141,7 +141,7 @@ def train(cfg=DEFAULT_CFG, use_python=False):
|
|||
data = cfg.data or "mnist160" # or yolo.ClassificationDataset("mnist")
|
||||
device = cfg.device if cfg.device is not None else ''
|
||||
|
||||
args = dict(model=model, data=data, device=device, verbose=True)
|
||||
args = dict(model=model, data=data, device=device)
|
||||
if use_python:
|
||||
from ultralytics import YOLO
|
||||
YOLO(model).train(**args)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue