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

Adding GetSamplingFrequency to OnlineNnet2FeaturePipelineInfo #3939

Merged

Conversation

hugovbraun
Copy link
Contributor

Adding an easy way to get the frequency associated with the feature config.

@hugovbraun hugovbraun force-pushed the get_model_freq_feat_pipelines_info branch from 667a2f0 to 9adc64c Compare February 19, 2020 00:19
@naxingyu
Copy link
Contributor

How about add it in online feature interface?

@@ -241,5 +241,17 @@ BaseFloat OnlineNnet2FeaturePipelineInfo::FrameShiftInSeconds() const {
}
}

BaseFloat OnlineNnet2FeaturePipelineInfo::GetModelFrequency() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please call this GetSamplingFrequency()

@danpovey
Copy link
Contributor

danpovey commented Feb 19, 2020 via email

@naxingyu
Copy link
Contributor

naxingyu commented Feb 19, 2020 via email

@hugovbraun hugovbraun force-pushed the get_model_freq_feat_pipelines_info branch from 9adc64c to c6bf0e6 Compare February 19, 2020 19:44
@hugovbraun
Copy link
Contributor Author

@danpovey updated

@hugovbraun hugovbraun changed the title Adding GetModelFrequency to OnlineNnet2FeaturePipelineInfo Adding GetSamplingFrequency to OnlineNnet2FeaturePipelineInfo Feb 19, 2020
@danpovey danpovey merged commit 1082e8c into kaldi-asr:master Feb 20, 2020
hugovbraun added a commit to hugovbraun/kaldi that referenced this pull request Mar 3, 2020
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.

3 participants