Fix and add missing infos about available CLI TASK commands in docs and code comments (#16697)
This commit is contained in:
parent
70ba988c68
commit
4b95ae70a0
4 changed files with 14 additions and 14 deletions
|
|
@ -452,12 +452,12 @@ class HUBDatasetStats:
|
|||
path = Path(path).resolve()
|
||||
LOGGER.info(f"Starting HUB dataset checks for {path}....")
|
||||
|
||||
self.task = task # detect, segment, pose, classify
|
||||
self.task = task # detect, segment, pose, classify, obb
|
||||
if self.task == "classify":
|
||||
unzip_dir = unzip_file(path)
|
||||
data = check_cls_dataset(unzip_dir)
|
||||
data["path"] = unzip_dir
|
||||
else: # detect, segment, pose
|
||||
else: # detect, segment, pose, obb
|
||||
_, data_dir, yaml_path = self._unzip(Path(path))
|
||||
try:
|
||||
# Load YAML with checks
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue