Skip to content

Commit 123d1a3

Browse files
author
xushaoyong
committed
modify some detail of augmentor
1 parent c85297d commit 123d1a3

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

deep_speech_2/data_utils/augmentor/augmentation.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
from data_utils.augmentor.shift_perturb import ShiftPerturbAugmentor
1010
from data_utils.augmentor.speed_perturb import SpeedPerturbAugmentor
1111
from data_utils.augmentor.resample import ResampleAugmentor
12-
from data_utils.augmentor.online_bayesian_normalization import OnlineBayesianNormalizationAugmentor
12+
from data_utils.augmentor.online_bayesian_normalization import \
13+
OnlineBayesianNormalizationAugmentor
1314

1415

1516
class AugmentationPipeline(object):

deep_speech_2/data_utils/augmentor/speed_perturb.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ class SpeedPerturbAugmentor(AugmentorBase):
1515
:param rng: Random generator object.
1616
:type rng: random.Random
1717
:param min_speed_rate: Lower bound of new speed rate to sample and should
18-
not below 0.9.
18+
not be smaller than 0.9.
1919
:type min_speed_rate: float
2020
:param max_speed_rate: Upper bound of new speed rate to sample and should
21-
not above 1.1.
21+
not be larger than 1.1.
2222
:type max_speed_rate: float
2323
"""
2424

0 commit comments

Comments
 (0)