espnet.asr.asr_utils.get_model_conf
Less than 1 minute
espnet.asr.asr_utils.get_model_conf
espnet.asr.asr_utils.get_model_conf(model_path, conf_path=None)
Get model config information by reading a model config file (model.json).
- Parameters:
- model_path (str) – Model path.
- conf_path (str) – Optional model config path.
- Returns: Config information loaded from json file.
- Return type: list[int, int, dict[str, Any]]