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:
parent
e9ab157330
commit
936414c615
24 changed files with 136 additions and 106 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue