go-asticoqui icon indicating copy to clipboard operation
go-asticoqui copied to clipboard

Segmentation Fault after Transcribing Some Audio

Open AndyEsser opened this issue 3 years ago • 3 comments

Good morning!

I recently switched from DeepSpeech bindings to Coqui bindings for Transcription. My Golang service has a websocket that receives WAV data that is Signed 16-bit PCM data at 16 kHz which matches the data the models I'm using was trained on.

I have witnessed some panics that has happened a couple times, but I can't find what causes it in a reproducible fashion yet. However, please see below Stack Trace - the culprit seems to be in the SpeechToText function and below:

https://pastebin.com/6DDpcj3Z

Is this a known bug/issue - or do I need to do something different - I never witnessed this issue when using the DeepSpeech bindings

AndyEsser avatar Jan 12 '22 09:01 AndyEsser

Mmm this is not a known bug in the GO lib 🤔 The call to C.Model_STT seems identical between Coqui and DeepSpeech, I would go with an issue with Coqui itself. I've you tries with a more recent version of Coqui?

asticode avatar Jan 12 '22 17:01 asticode

Thanks for your response - I'm using the latest release (downloaded yesterday) for Coqui from here https://github.com/coqui-ai/STT/releases/tag/v1.0.0 - but have been unable to replicate the issue on my development Mac - it only seems to throw the problems on our Ubuntu servers - so perhaps an issue with the Linux version - I will dig a little deeper.

AndyEsser avatar Jan 12 '22 17:01 AndyEsser

@AndyEsser still running into this issue? If so, you should definitely post the issue and info on GitHub.com/coqui-ai/STT

JRMeyer avatar Feb 20 '22 15:02 JRMeyer