import stable_whisper
model = stable_whisper.load_model('large-v2')
# this modified model run just like the original model but accepts additional arguments
result = model.transcribe('/content/drive/MyDrive/meet2.wav',language="id",vad=True)
ValueError: Expected parameter logits (Tensor of shape (1, 51865)) of distribution Categorical(logits: torch.Size([1, 51865])) to satisfy the constraint IndependentConstraint(Real(), 1), but found invalid values:
tensor([[nan, nan, nan, ..., nan, nan, nan]], device='cuda:0')
got error when using vad
it work fine when vad is not included
here the sample audio:
https://drive.google.com/file/d/1AMidkSBtZdDFk34Jh7pvNQNJ9W5Je36e/view?usp=share_link
the error: