Replies: 1 comment
-
That repository is unrelated to this repository. You should start a discussion or issue there. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I follow the step(Make prediction on multiple audios programmatically), which describes at https://github.com/mailong25/self-supervised-speech-recognition
from stt import Transcriber transcriber = Transcriber(pretrain_model = 'path/to/pretrain.pt', finetune_model = 'path/to/finetune.pt', dictionary = 'path/to/dict.ltr.txt', lm_type = 'kenlm', lm_lexicon = 'path/to/lm/lexicon.txt', lm_model = 'path/to/lm/lm.bin', lm_weight = 1.5, word_score = -1, beam_size = 50) hypos = transcriber.transcribe(['path/to/wavs/0_1.wav','path/to/wavs/0_2.wav']) print(hypos)
However, I meet this message(ImportError: cannot import name 'Transcriber' from 'stt').
Could you please provide some solution?
Beta Was this translation helpful? Give feedback.
All reactions