alphacep / alphacep/vosk-api

Issues with Loading Punctuation Models (vosk-recasepunc-en-0.22)

Offen
#1,711 1 Kommentar 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

Hi there,

I am facing some issues when trying to use the punctuation models for `vosk-recasepunc-en-0.22` and `vosk-recasepunc-de-0.21`.

The model ZIP file contains another ZIP archive named **`checkpoint`**, but I am unsure what exactly this `checkpoint` file is and how to load it properly. When I attempt to load the model using:

```python
from recasepunc import CasePuncPredictor
try:
predictor = CasePuncPredictor('vosk-recasepunc-en-0.22/checkpoint')
```

I get the following error:

```
PermissionError: [Errno 13] Permission denied
```

Could anyone provide clarification on:
1. What exactly the `checkpoint` file is and how it should be used to load the model?
2. How to correctly work with the punctuation models in general?

Any guidance or suggestions to resolve this issue would be greatly appreciated!

Thank you in advance!

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.