-
Notifications
You must be signed in to change notification settings - Fork 450
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Long duration causing memory leaks #356
Comments
Does this help?
How long? How much memory is used for audios of which size?
Cutting audio into 5-15m long segments should not harm the overall quality very much. |
Sorry for the late reply. Yes that helped very well, disabling the gradients solved the leakage
Thank you for the support.. |
I was having same issue with memory leak. This seems to have fixed it for me as well. THanks! |
Any idea why this works? |
Hi,
I'm using Silero VAD to catch speeches in a long audio records. When using
get_speech_timestamps
function it's causing memory leak. Eventually the process consuming all memory and starting to write swap. Any advice to prevent this apart from cutting the samples multiple pieces?silero-vad/utils_vad.py
Line 267 in 563106e
Just for information using reset states solving the problem but making predictions less accurate...
The text was updated successfully, but these errors were encountered: