From db37c34919e5cb7377e8ed863a17d206a0d28c39 Mon Sep 17 00:00:00 2001 From: xushaoyong Date: Tue, 27 Jun 2017 18:48:49 +0800 Subject: [PATCH] modify some detail of augmentor --- data_utils/augmentor/augmentation.py | 3 ++- data_utils/augmentor/speed_perturb.py | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/data_utils/augmentor/augmentation.py b/data_utils/augmentor/augmentation.py index f8fd214a..9dced473 100644 --- a/data_utils/augmentor/augmentation.py +++ b/data_utils/augmentor/augmentation.py @@ -9,7 +9,8 @@ from data_utils.augmentor.volume_perturb import VolumePerturbAugmentor from data_utils.augmentor.shift_perturb import ShiftPerturbAugmentor from data_utils.augmentor.speed_perturb import SpeedPerturbAugmentor from data_utils.augmentor.resample import ResampleAugmentor -from data_utils.augmentor.online_bayesian_normalization import OnlineBayesianNormalizationAugmentor +from data_utils.augmentor.online_bayesian_normalization import \ + OnlineBayesianNormalizationAugmentor class AugmentationPipeline(object): diff --git a/data_utils/augmentor/speed_perturb.py b/data_utils/augmentor/speed_perturb.py index 8c6c8b63..cc5738bd 100644 --- a/data_utils/augmentor/speed_perturb.py +++ b/data_utils/augmentor/speed_perturb.py @@ -15,10 +15,10 @@ class SpeedPerturbAugmentor(AugmentorBase): :param rng: Random generator object. :type rng: random.Random :param min_speed_rate: Lower bound of new speed rate to sample and should - not below 0.9. + not be smaller than 0.9. :type min_speed_rate: float :param max_speed_rate: Upper bound of new speed rate to sample and should - not above 1.1. + not be larger than 1.1. :type max_speed_rate: float """