espnet3.demo.resolve.load_infer_config
Less than 1 minute
espnet3.demo.resolve.load_infer_config
espnet3.demo.resolve.load_infer_config(infer_path: Path) → DictConfig
Load an inference config file and resolve OmegaConf references.
- Parameters:infer_path – Absolute path to an inference YAML file.
- Returns: DictConfig with all OmegaConf interpolations resolved.
Example
>>> cfg = load_infer_config(Path("exp/demo/config/infer.yaml"))
>>> isinstance(cfg, DictConfig)
True