游雁
2023-05-08 c197b3aa85ef7de4fdcfc1f706ab95205fdb8617
funasr/bin/vad_inference_online.py
@@ -156,8 +156,6 @@
    
    if batch_size > 1:
        raise NotImplementedError("batch decoding is not implemented")
    if ngpu > 1:
        raise NotImplementedError("only single GPU decoding is supported")
    logging.basicConfig(
        level=log_level,
@@ -168,7 +166,7 @@
        device = "cuda"
    else:
        device = "cpu"
        batch_size = 1
    # 1. Set random-seed
    set_all_random_seed(seed)