ml.utils.cli

Command-line interface utilities.

ml.utils.cli.get_exp_name(prefix: str | None = None, args: list[str] | None = None) str[source]
ml.utils.cli.get_stem(path_str: str) str[source]
ml.utils.cli.get_default_configs() list[pathlib.Path][source]
ml.utils.cli.parse_cli(args: list[str]) DictConfig[source]

Parses the remaining command-line arguments to a raw config.

Parameters:

args – The raw command-line arguments to parse

Returns:

The raw config, loaded from the provided arguments