GithubHelp home page GithubHelp logo

Comments (3)

abhirooptalasila avatar abhirooptalasila commented on May 13, 2024

Hi
Are you using the latest version of AutoSub? If yes, I switched the default inference to Coqui STT as it has better support for different languages. You can change this by setting --engine to "ds" while running main.py and checking again.
If you are sure that you're using DeepSpeech, you can play around with the default parameter values here.

from autosub.

ibndias avatar ibndias commented on May 13, 2024

Are you using the latest version of AutoSub?

Yes I am using the latest master branch

If yes, I switched the default inference to Coqui STT as it has better support for different languages. You can change this by setting --engine to "ds" while running main.py and checking again.

Yes I also did change the engine to deepspeech

(sub) derry@10700k:~/ws/AutoSub$ python3 autosub/main.py --engine ds --file ./qjbBeORPUA4-oo9mOmdonl.mp4 
[INFO] ARGS: Namespace(dry_run=False, engine='ds', file='./qjbBeORPUA4-oo9mOmdonl.mp4', format=['srt', 'vtt', 'txt'], model=None, scorer=None, split_duration=5)
[INFO] Model: /home/derry/ws/AutoSub/deepspeech-0.9.3-models.pbmm
[INFO] Scorer: /home/derry/ws/AutoSub/deepspeech-0.9.3-models.scorer
[INFO] Input file: ./qjbBeORPUA4-oo9mOmdonl.mp4
[INFO] Extracted audio to audio/qjbBeORPUA4-oo9mOmdonl.wav
[INFO] Splitting on silent parts in audio file
[INFO] Running inference...
TensorFlow: v2.3.0-6-g23ad988
DeepSpeech: v0.9.3-0-gf2e9c85
...

play around with the default parameter values here.

Thanks for the hints, I got 'better' results using these numbers smoothing_window=0.5, weight=0.01.
However, I don't really understand how this parameter works. And also this magic number for st_win and st_step. Can you explain a little bit?

I think adding a switch to disable for silence removal is needed for non-movie video (full conversation). :)

from autosub.

abhirooptalasila avatar abhirooptalasila commented on May 13, 2024

This is a better explanation.
Thanks for the suggestion about silence removal. I'll think about how to decouple it from splitting the file.

from autosub.

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.