espnet3.bin.atlas.core.config.load_atlas_config
Less than 1 minute
espnet3.bin.atlas.core.config.load_atlas_config
espnet3.bin.atlas.core.config.load_atlas_config(config_path: Path)
Load a study config (a recipe’s conf/atlas*.yaml) over the Atlas defaults.
The defaults are resources/atlas_defaults.yaml; they do not depend on the recipe’s system or location. atlas.submission has no default, since how jobs are submitted depends on the cluster, and must be given.
- Parameters:config_path – Path to the study config.
- Returns: The merged, resolved config, with the study’s settings under its
atlaskey. - Return type: DictConfig
- Raises:ValueError – If
atlas.submissionis missing,controller.run_inis notlocalorqueue, orqueueis given withoutatlas.submission.instructions.
Example
>>> config = load_atlas_config(Path("egs3/mini_an4/esp2_asr/conf/atlas.yaml"))
>>> config.atlas.study_name
'mini_an4_ci_check'