游雁
2023-04-21 4e0aae556bbfb81f765ddb3e247f34441c607c5e
funasr/bin/asr_inference.py
@@ -346,6 +346,8 @@
    **kwargs,
):
    assert check_argument_types()
    ncpu = kwargs.get("ncpu", 1)
    torch.set_num_threads(ncpu)
    if batch_size > 1:
        raise NotImplementedError("batch decoding is not implemented")
    if word_lm_train_config is not None: