Skip to content
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

Online feature pipeline keeps mfcc features forever #3258

Closed
rosun82 opened this issue Apr 23, 2019 · 1 comment
Closed

Online feature pipeline keeps mfcc features forever #3258

rosun82 opened this issue Apr 23, 2019 · 1 comment

Comments

@rosun82
Copy link
Contributor

rosun82 commented Apr 23, 2019

It seems that the kaldi::OnlineNnet2FeaturePipeline keeps the extracted features forever. Is there any possibilities to add interfaces to release the memory occupied by old features? In such case, the frames ready would become a range.

@danpovey
Copy link
Contributor

That was addressed in #3038. I believe if you put, say, --max-feature-vectors=500 in your mfcc.conf (or whatever type of feature config you have, in that online config directory), it should activate.
Caution: I am not sure if this has been tested with i-vectors + silence-weighting, it's possible that could crash.

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

No branches or pull requests

2 participants