fix
游雁
2023-05-12 48b9082a2d4b96e5aeb995ac7d39b01f298eb165
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)