ultralytics 8.0.18 new python callbacks and minor fixes (#580)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Jeroen Rombouts <36196499+jarombouts@users.noreply.github.com>
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
Ayush Chaurasia 2023-01-23 23:01:29 +05:30 committed by GitHub
parent e9ab157330
commit 936414c615
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 136 additions and 106 deletions

View file

@ -185,7 +185,7 @@ def polygons2masks_overlap(imgsz, segments, downsample_ratio=1):
return masks, index
def check_dataset_yaml(dataset, autodownload=True):
def check_det_dataset(dataset, autodownload=True):
# Download, check and/or unzip dataset if not found locally
data = check_file(dataset)
@ -254,7 +254,7 @@ def check_dataset_yaml(dataset, autodownload=True):
return data # dictionary
def check_dataset(dataset: str):
def check_cls_dataset(dataset: str):
"""
Check a classification dataset such as Imagenet.