terry-yip / speech-to-text Goto Github PK
View Code? Open in Web Editor NEWSpeaker diarization and speech to text
License: Apache License 2.0
Speaker diarization and speech to text
License: Apache License 2.0
Hi!
I'm getting the same error.
pb = glob.glob(dirName + "/*.pb")[0]
IndexError: list index out of range
Can yu pls tell how this issue was solved.
Thanks
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.
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?
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 :)
Pls Help me for solving this issue
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.