alphacep / alphacep/vosk-api

Installation instructions: missing steps

Offen
#2,049 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Jupyter Notebook
Sterne
15.1k
Forks
1.8k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I visited https://alphacephei.com/vosk/install to look for the installation instructions.
I want to take the easiest approach:
```cmd
pip3 install vosk
```
That worked, great! So, I don't need all the "compile yourself" stuff.

Now, let's transcribe my meeting:
```cmd
vosk-transcriber -i 260708_0212.MP3 -o Meeting.txt
```
That doesn't work, and IMHO, of course not. Because I haven't downloaded a model and I haven't specified the language to use.

The installation instructions simply skip the step of downloading a model from https://alphacephei.com/vosk/models
No worries, I downloaded a German model. That's a ZIP file. I can unzip it. But where do I need to put those files?
Let me try to help myself:
```cmd
vosk-transcriber –-help
[...]
usage: vosk-transcriber.exe [-h] [--model MODEL]
vosk-transcriber.exe: error: unrecognized arguments: –-help
```
Hmm, that's not overly helpful. What does "MODEL" stand for? Is it a path to a file, a folder, a name, a server URL?
Also, the `-i` and `-o` command line arguments are not listed. Why would the example `vosk-transcriber -i test.mp4 -o test.txt` ever work?

Honestly, it's quite hard for me to get this up and running, even for me who studied computer science. I couldn't complete this in 15 minutes and I think that is hindering the success of Vosk.

My next try:
```cmd
vosk-transcriber -i 260708_0212.MP3 -o Meeting.txt --model E:\Downloads\vosk-model-de-tuda-0.6-900k
[...]
LOG (VoskAPI:ReadDataFiles():model.cc:317) Loading CARPA model from E:\Downloads\vosk-model-de-tuda-0.6-900k/rescore/G.carpa
ERROR (VoskAPI:ReadInternal():const-arpa-lm.cc:610) ConstArpaLm section reading failed.
[...]
Exception: Failed to create a model
```

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.