GithubHelp home page GithubHelp logo

Comments (9)

guillaumekln avatar guillaumekln commented on May 22, 2024

The same error was reported in #12 (comment) but I was not able to reproduce it.

Can you share an audio file that produces this error?

from faster-whisper.

haveyouwantto avatar haveyouwantto commented on May 22, 2024

I'm afraid i can't send you the audio because it is copyrighted material. However, I can provide you with more details. I've noticed that this error consistently occurs at the end of the audio.

from faster-whisper.

David-Pye avatar David-Pye commented on May 22, 2024

To confirm I independently get the same error at the end of audio. I also can't share the audio. Note that I get it non deterministically, some times it's fine and ends with a final word of a... or a.

from faster-whisper.

haveyouwantto avatar haveyouwantto commented on May 22, 2024

Here's the content of jump_times and word_boundaries when this error occurs:

# jump_times
[0.]
# word_boundaries
[ 0  1  4  5  6  7  8  9 10 13 16 17 18 19 20 21 22 23 24 25 28 29 32 33
 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 51 54 55 56 57 58 59 60 61
 62 63 66]

from faster-whisper.

guillaumekln avatar guillaumekln commented on May 22, 2024

Does the same file run without errors when using word-level timestamps in openai/whisper?

Also what model size are you using?

from faster-whisper.

haveyouwantto avatar haveyouwantto commented on May 22, 2024

Yes, it can run normally in original whisper. I'm using large-v2 model

from faster-whisper.

guillaumekln avatar guillaumekln commented on May 22, 2024

Thanks for the info.

I found the issue. There is a small error in the DTW implementation in CTranslate2: OpenNMT/CTranslate2#1136

I will release a new version soon.

from faster-whisper.

Okabintaro avatar Okabintaro commented on May 22, 2024

Not sure if this is helpful or not but I had a similar traceback and found out that setting without_timestamps=True causes it to happen randomly. As soon as I set it to False, it never came back.
So yeah maybe just me being dumb setting the parameter, could be unrelated. Maybe could be caught by the library too.

Thanks for all your work btw. faster-whisper is really great!

from faster-whisper.

guillaumekln avatar guillaumekln commented on May 22, 2024

The error should be fixed with ctranslate2>=3.9.1.

from faster-whisper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.