Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

method error to Step 1 : Time warping #5

Open
eeric opened this issue May 8, 2019 · 0 comments
Open

method error to Step 1 : Time warping #5

eeric opened this issue May 8, 2019 · 0 comments

Comments

@eeric
Copy link

eeric commented May 8, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant