游雁
2023-02-14 560dafa8ad10b2f0a20c7ce57c28a2b27f1b525b
mfcca
1个文件已修改
1个文件已删除
3 ■■■■■ 已修改文件
docs/images/wechat.png 补丁 | 查看 | 原始文档 | blame | 历史
funasr/bin/asr_inference_mfcca.py 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
docs/images/wechat.png
Binary files differ
funasr/bin/asr_inference_mfcca.py
@@ -470,6 +470,7 @@
    ngram_weight: float = 0.9,
    nbest: int = 1,
    num_workers: int = 1,
    param_dict: dict = None,
    **kwargs,
):
    assert check_argument_types()
@@ -520,6 +521,8 @@
    def _forward(data_path_and_name_and_type,
                 raw_inputs: Union[np.ndarray, torch.Tensor] = None,
                 output_dir_v2: Optional[str] = None,
                 fs: dict = None,
                 param_dict: dict = None,
                 ):
        # 3. Build data-iterator
        if data_path_and_name_and_type is None and raw_inputs is not None: