sandrohanea / whisper.net

Whisper.net. Speech to text made simple using Whisper Models
MIT License
506 stars 77 forks source link

whisper_full_with_state: failed to compute log mel spectrogram #120

Closed Evilmaax closed 8 months ago

Evilmaax commented 8 months ago

Hi guys. I was transcribing flawlessly, but aiming to a more faster process I added the .WithSpeedUp2x() on the builder section and now any audio is being transcribed. I only get the whisper_full_with_state: failed to compute log mel spectrogram error. This is my builder

using var processor = whisperFactory.CreateBuilder()
    .WithLanguage("auto")
    .WithSpeedUp2x()
    .WithPrintProgress()
    .WithSingleSegment()
    .Build();

Is this related to whisper.net or is related to whisper.cpp by ggerganov?

Evilmaax commented 8 months ago

If you came here to search about the same problem as my, give a look at ggerganov/whisper.cpp#1373