Skip to content

Commit

Permalink
Update input_feature.py
Browse files Browse the repository at this point in the history
  • Loading branch information
astorfi committed Apr 30, 2018
1 parent 2b72998 commit 8baf1ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code/0-input/input_feature.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ def __call__(self, sample):
feature, label = sample['feature'], sample['label']

# Mean variance normalization of the spectrum.
feature = speechpy.processing.cmvn(feature, variance_normalization=True)
# The following line should be Uncommented if cepstral mean variance normalization is desired!
# feature = speechpy.processing.cmvn(feature, variance_normalization=True)

return {'feature': feature, 'label': label}

Expand Down

0 comments on commit 8baf1ba

Please sign in to comment.