Closed liviasalgueiro closed 4 years ago
hey @liviasalgueiro hmm, I think the HDF file, which the program tries to open is broken. There are many potential causes. Please reinstall the package or locate the HDF file and remove it. 👍
hey @liviasalgueiro hmm, I think the HDF file, which the program tries to open is broken. There are many potential causes. Please reinstall the package or locate the HDF file and remove it. 👍
It worked, thank you!
Hi,
I am trying to use automatic_speech_recognition from PyPi repository. Below is the code I am using.
import automatic_speech_recognition as asr file = 'sample.wav' # sample rate 16 kHz, and 16 bit depth sample = asr.utils.read_audio(file) pipeline = asr.load('deepspeech2', lang='en') pipeline.model.summary() # TensorFlow model sentences = pipeline.predict([sample])
I get the below error on loading deepspeech model. Can anyone please guide me on the resolution for this.
OSError Traceback (most recent call last)
Hello, thank you for sharing this project!
I'm trying to run the code but I'm getting the following error. Could someone help me please? ------- INPUT import automatic_speech_recognition as asr pipeline = asr.load('deepspeech2', lang='en')
------- OUTPUT OSError: Unable to open file (truncated file: eof = 19259392, sblock->base_addr = 0, stored_eof = 454666120)
OSError Traceback (most recent call last)