Giter Site home page Giter Site logo

Comments (5)

m-bain avatar m-bain commented on July 16, 2024

What do you mean by incoherent timestamps, could you be more specific, eg with example

from whisperx.

Dec1lent avatar Dec1lent commented on July 16, 2024

He might be talking about the not completed diarize option. As whisper itself is incredible good at timestamps and is basically a complete package (except of a few languages). As the diarize option does not take into account cross-talking speakers. I myself just doubled the audio files length by using Ffmpeg '-filter:a', 'atempo=0.5' and the diarize accuracy is usually within 1 second to switch speakers and can switch between cross-talking people accurately within 3 seconds. So every small talk answers like 'yes' and 'no', will be under the speaker who asked the question instead of the person answering. Which makes sense, but could be fixed almost completely, because Whisper detects a new sentence by itself far better than Pyannote does. So just having one or two worded sentences be a completely new speaker and then you can manually search for the speaker and replace with the name and ofcourse in the end divide the time in the output file by 2 with something like the 'Datetime' package.

@puresky07

from whisperx.

puresky07 avatar puresky07 commented on July 16, 2024

Thank you both of you! It is about timestamps overlapping: segment B starts before segment A ends. I thought it was because of cross-talking too, I would understand the problem, but it is not. For example in the following example (from a .word.srt file):

62
00:00:37,316 --> 00:00:37,456
so

63
00:00:37,440 --> 00:00:37,500
so

64
00:00:38,745 --> 00:00:39,206
we

And the speaker doesn't repeat "so" at this particular moment (just a little pause).

from whisperx.

puresky07 avatar puresky07 commented on July 16, 2024

Btw running WhisperX with the commit ba102fe (see issue #49), I had much less timestamps incoherence (only 13 files, against 139 in current version).

from whisperx.

m-bain avatar m-bain commented on July 16, 2024

recent VAD filter push should hopefully handle this a582a59

from whisperx.

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.