Skip to content
Snippets Groups Projects
Commit 440e1011 authored by Daniel Povey's avatar Daniel Povey Committed by GitHub
Browse files

Merge pull request #874 from wonkyuml/online-feature-fbank-fix

Online feature fbank fix
parents 72756771 38213c03
No related branches found
No related tags found
No related merge requests found
......@@ -183,6 +183,8 @@ void OnlineNnet2FeaturePipeline::InputFinished() {
BaseFloat OnlineNnet2FeaturePipelineInfo::FrameShiftInSeconds() const {
if (feature_type == "mfcc") {
return mfcc_opts.frame_opts.frame_shift_ms * 1.0e-03;
} else if (feature_type == "fbank") {
return fbank_opts.frame_opts.frame_shift_ms * 1.0e-03;
} else if (feature_type == "plp") {
return plp_opts.frame_opts.frame_shift_ms * 1.0e-03;
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment