support resample for vad inference pipeline

This commit is contained in:
haoneng.lhn 2023-11-06 17:12:01 +08:00
parent 8c904ecadd
commit e62eaed724

View File

@ -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,