alphacep / alphacep/vosk-api

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

Aperta
#1,711 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Jupyter Notebook
Stelle
15.1k
Fork
1.8k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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!

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.