Skip to content

Conversation

@limdongjin
Copy link

@limdongjin limdongjin commented Apr 6, 2023

The "BeamSearchDecoderCTC" code has potential memory leaks. Even though the decoder object was removed (by calling "__del__" function), memory deallocation may not be achieved neatly, and I have experienced this issue.
To deallocate memory for the decoder, the "cleanup" function must be explicitly called. Instead, when the "__del__" function is called, it seems natural to have the "cleanup" function also called.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant