Explorar o código

support resample for vad inference pipeline

haoneng.lhn %!s(int64=2) %!d(string=hai) anos
pai
achega
e62eaed724
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      funasr/bin/vad_inference_launch.py

+ 2 - 0
funasr/bin/vad_inference_launch.py

@@ -90,6 +90,7 @@ def inference_vad(
             preprocess_args=None,
             data_path_and_name_and_type=data_path_and_name_and_type,
             dtype=dtype,
+            fs=fs,
             batch_size=batch_size,
             key_file=key_file,
             num_workers=num_workers,
@@ -189,6 +190,7 @@ def inference_vad_online(
             preprocess_args=None,
             data_path_and_name_and_type=data_path_and_name_and_type,
             dtype=dtype,
+            fs=fs,
             batch_size=batch_size,
             key_file=key_file,
             num_workers=num_workers,