def mel_augmentation(features):

    features = mask_augmentation.mask_frequency(features, width_freq_mask = 12)
    features = mask_augmentation.mask_time(
        features, width_time_mask = int(features.shape[0] * 0.05)
    )
    return features
Exemple #2
0
def mel_augmentation(features):
    features = mask_augmentation.mask_frequency(features)
    return mask_augmentation.mask_time(features)