GithubHelp home page GithubHelp logo

terry-yip / speech-to-text Goto Github PK

View Code? Open in Web Editor NEW
14.0 2.0 1.0 32.93 MB

Speaker diarization and speech to text

License: Apache License 2.0

Python 100.00%
speech-to-text speaker-diarization deepspeech uisrnn ghostvlad librosa webrtcvad speech-recognition

speech-to-text's People

Contributors

terry-yip avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

adam-aalah

speech-to-text's Issues

alphabet = glob.glob(dirName + "/alphabet.txt")[0] IndexError: list index out of range

DEBUG:speaker_diarization:[Speaker diarization] Clustering utterance features
DEBUG:speaker_diarization:[Speaker diarization] Tagging segments speakers
DEBUG:main:Processing speech recognition
Traceback (most recent call last):
File "/content/speech-to-text/speech_to_text.py", line 69, in
main(sys.argv[1:])
File "/content/speech-to-text/speech_to_text.py", line 35, in main
output_graph, alphabet, lm, trie = wavTranscriber.resolve_models(model_path)
File "/content/speech-to-text/wavTranscriber.py", line 80, in resolve_models
alphabet = glob.glob(dirName + "/alphabet.txt")[0]
IndexError: list index out of range

Please resolve this issue.

wavTranscriber - IndexError: list index out of range

Hi @terry-yip

I have one question if you dont mind.

When I run your app with

python3 speech_to_text.py --audio=wavs/test2.wav

i get error:

DEBUG:__main__:Processing speech recognition
Traceback (most recent call last):
  File "speech_to_text.py", line 69, in <module>
    main(sys.argv[1:])
  File "speech_to_text.py", line 35, in main
    output_graph, alphabet, lm, trie = wavTranscriber.resolve_models(model_path)
  File "/home/ivan/PycharmProjects/speech-to-text/wavTranscriber.py", line 77, in resolve_models
    pb = glob.glob(dirName + "/*.pb")[0]
IndexError: list index out of range

Can you please tell me if you can point where is the problem in this case?

I run this code on Ubuntu.

nice work btw!

EDIT: I have solved this step.
Can you please provide what versions of deepspeech, tensorflow etc. you used?

Version of libs

Hi,

I'm trying to run your code, but are having some trouble with incompatible libraries.
Which version did you use for..

pytorch
keras
tensorflow
pyaudio
librosa
webrtcvad
deepspeech

?

Thanks :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.