SpecAugment icon indicating copy to clipboard operation
SpecAugment copied to clipboard

method error to Step 1 : Time warping

Open eeric opened this issue 6 years ago • 0 comments

your code was error on 75th line in spec_augment_pytorch.py. log mel spectrogram wasn't changed by Step 1 : Time warping. the module was modified as follows: for i in range(v): for j in range(tau): offset_x = 0 offset_y = 20 if j + offset_y < tau: warped_mel_spectrogram[i, j] = mel_spectrogram[i,(j + offset_y) % tau] else: warped_mel_spectrogram[i, j] = mel_spectrogram[i, j]

the means was as if translation to mel spectrogram, it wasn't fit to paper SpecAugment named.

eeric avatar May 08 '19 03:05 eeric