• X
    Refactor whole data preprocessor for DS2 (re-design classes, re-organize dir,... · 70eb4001
    Xinghai Sun 提交于
    Refactor whole data preprocessor for DS2 (re-design classes, re-organize dir, add augmentaion interfaces etc.).
    
    1. Refactor data preprocessor with new added class AudioSegment, SpeechSegment, TextFeaturizer, AudioFeaturizer, SpeechFeaturizer.
    2. Add data augmentation interfaces and class AugmentorBase, AugmentationPipeline, VolumnPerturbAugmentor etc..
    3. Seperate normalizer's mean and std computing from training, by adding FeatureNormalizer and a seperate tool compute_mean_std.py.
    4. Re-organize directory.
    70eb4001
normalizer.py 1.9 KB