mirror of
https://github.com/ultralytics/ultralytics
synced 2026-05-24 09:38:39 +00:00
Fix solutions CI (#19675)
Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
parent
950ce9b639
commit
f9fdff5a28
1 changed files with 3 additions and 0 deletions
|
|
@ -684,6 +684,9 @@ def handle_yolo_solutions(args: List[str]) -> None:
|
|||
check_dict_alignment(full_args_dict, overrides) # dict alignment
|
||||
|
||||
# Get solution name
|
||||
if not args:
|
||||
LOGGER.warning("⚠️ No solution name provided. i.e `yolo solutions count`. Defaulting to 'count'.")
|
||||
args = ["count"]
|
||||
if args[0] == "help":
|
||||
LOGGER.info(SOLUTIONS_HELP_MSG)
|
||||
return # Early return for 'help' case
|
||||
|
|
|
|||
Loading…
Reference in a new issue