You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there, I'm getting this error when using the VAD module: Provided number of samples is 320 (Supported values: 256 for 8000 sample rate, 512 for 16000)
here is my little demo code. The sample rate is 8000 with 1 channel
Any ideas on this? The program itself doesn't raise an error...it is something inside silero itself that is printing the error but not actually raising:
Traceback of TorchScript, original code (most recent call last):
File "/home/keras/notebook/nvme1/adamnsandle/silero-models-research/vad/model/vad_annotator.py", line 484, in forward
num_samples = 512 if sr == 16000 else 256
if x.shape[-1] != num_samples:
raise ValueError(f"Provided number of samples is {x.shape[-1]} (Supported values: 256 for 8000 sample rate, 512 for 16000)")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <--- HERE
batch_size = x.shape[0]
builtins.ValueError: Provided number of samples is 320 (Supported values: 256 for 8000 sample rate, 512 for 16000)
The text was updated successfully, but these errors were encountered:
Hi there, I'm getting this error when using the VAD module:
Provided number of samples is 320 (Supported values: 256 for 8000 sample rate, 512 for 16000)
here is my little demo code. The sample rate is 8000 with 1 channel
Any ideas on this? The program itself doesn't raise an error...it is something inside silero itself that is printing the error but not actually raising:
The text was updated successfully, but these errors were encountered: