Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
kaldi-commonvoice
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Simon Will
kaldi-commonvoice
Commits
440e1011
Commit
440e1011
authored
8 years ago
by
Daniel Povey
Committed by
GitHub
8 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #874 from wonkyuml/online-feature-fbank-fix
Online feature fbank fix
parents
72756771
38213c03
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/online2/online-nnet2-feature-pipeline.cc
+2
-0
2 additions, 0 deletions
src/online2/online-nnet2-feature-pipeline.cc
with
2 additions
and
0 deletions
src/online2/online-nnet2-feature-pipeline.cc
+
2
−
0
View file @
440e1011
...
...
@@ -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
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment