selfclean_audio.config#
Members
Wrap a callable so that when it's called, the call will not be executed, but returns a dict that describes the call. |
|
Provide methods to save, load, and overrides an omegaconf config object which may contain definition of lazily-constructed objects. |
|
Provides a clean interface to easily construct essential objects from input lazy configs (omegaconf): dataloader, model. |
|
Enum for different experiment template types. |
|
|
- class selfclean_audio.config.LazyCall(target: Callable)[source]#
Wrap a callable so that when it’s called, the call will not be executed, but returns a dict that describes the call. Only supports keyword arguments.
- class selfclean_audio.config.LazyConfig[source]#
Provide methods to save, load, and overrides an omegaconf config object which may contain definition of lazily-constructed objects.
- static load(filename: str | Path) DictConfig | ListConfig[source]#
Load a config file (either Python or YAML).
- Parameters:
filename – absolute path or relative path w.r.t. current directory.
- static save(cfg: DictConfig, filename: str) None[source]#
Save a config object as YAML file. (same as
OmegaConf.save()).
- static apply_overrides(cfg: DictConfig, overrides: list[str]) DictConfig | ListConfig[source]#
Return a new config by applying overrides (provided as dotlist). See https://hydra.cc/docs/advanced/override_grammar/basic/ for dotlist syntax.