Fix solutions CI (#19675)
Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
parent
950ce9b639
commit
f9fdff5a28
@ -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…
x
Reference in New Issue
Block a user