STT is Extremely Slow; is there ways to increase speed? #2196
Replies: 2 comments
-
Have you thought of having several VMs / PCs? Using 1 PC to control them all via SSH / bash scripting, you can get the job done quicker... One of the best things about Linux distros...is that Linux is free ;) And no activation. Also, the Ubuntu server supports dynamic memory in hypervisors, and the server takes up very little memory when not in use... |
Beta Was this translation helpful? Give feedback.
-
What you need is multithreading. Using a for loop in a shell script spawns only one transcription process. You could make a socket server to host the model and spawn multiple clients at the same time to do your bidding. Like I did with Listen. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
EDIT: I think I found my own answer. However, any additional input is welcomed.
ORIGINAL TEXT:
Umm, the title kinda explains it all.
Background Information:
.wav
file format bympg123 -w new.wav old.mp3
.wav
files to transcribe to text files.for f in *.mp3; do stt --model model.tflite --scorer huge-vocabulary.scorer --audio ${f} > ${f}.txt
super fucking slow
. I started it before bed. Now after waking up I've found only about 25 episodes transcribed. At this rate, it will literally take days.Am I doing something wrong? Or is there a better way to do this?
I've noticed only 1 CPU core is doing anything and the rest of them are sitting idle at 0%.
Maybe coqui-ai-stt isn't a good tool for this job? Is there a better tool I should be using?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions