Open samimoftheworld opened 7 years ago
Any Solution found to this???
pip install speech_data
I came across with this error. I think the program doesn't know where to save the data set after downloading it. Line 24 of speech_data.py defines the working directory (where the downloaded data will be saved and processed). What I did was that I passed this directory as second argument in lines 369-372. Worked for me and it started downloading the data set.
This is what I did.
maybe_download( Source.DIGIT_SPECTROS, 'data/') maybe_download( Source.DIGIT_WAVES, 'data/') maybe_download( Source.NUMBER_IMAGES, 'data/') maybe_download( Source.NUMBER_WAVES, 'data/')
Hope this solves the issue
@laceywang1993 we can't download speech_data.py via pip or anything else. It is just a python program file taken from 'pannous/speech_recognition' project It is not a python package or something you can install through pip or conda. :-)
@comsian106 can you please explain that above line 24 issue. which has to be pasted exactly where can you please tell me through screen shot or the code of the line. would be very thankful
@comsian106 using windows, still getting the error URLError: <urlopen error [Errno 11001] getaddrinfo failed> from your solution. Where else do u make changes
$ python speech_data.py downloading speech datasets Traceback (most recent call last): File "speech_data.py", line 372, in
maybe_download( Source.DIGIT_SPECTROS)
TypeError: maybe_download() takes exactly 2 arguments (1 given)