雾聪
2023-05-17 09e46dcf072bc68a2d20bd6ad0a43b986cc7430a
funasr/bin/asr_inference_uniasr.py
@@ -379,6 +379,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: