louiskirsch / speechT

An opensource speech-to-text software written in tensorflow
Apache License 2.0
158 stars 36 forks source link

issue with pretrained model #28

Open m3m3-chan opened 5 years ago

m3m3-chan commented 5 years ago

Hello, great work on this repo! I used the pretrained model with the live recording but when I do I get very inaccurate results.

what I did:

  1. downloaded Kenlm-english & extracted it to project root (same path as speecht-cli: speecht-master/kenlm-english )
  2. downloaded pretrained model & extracted it under train folder( path: speecht-master/train/best_run)
  3. I run this command : python speecht-cli record --train-dir train --run-name best_run --language-model kenlm-english/
  4. eg input: hello 123, eg output:
    Generate MFCCs or power spectrogram
    Running speech recognition
    decoded: unrew winke  ith leane 

    is there anything I'm doing wrong? or is the model expected to perform like that with ENG ?

would appreciate your help!