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

Bug: shift augmentation sometimes produces silent tensor #77

Open
janvainer opened this issue Dec 22, 2020 · 2 comments
Open

Bug: shift augmentation sometimes produces silent tensor #77

janvainer opened this issue Dec 22, 2020 · 2 comments

Comments

@janvainer
Copy link

Hi, I was playing with the augmentations in this repo and I am sometimes getting silent audio results with the Shift augmentation. It happens shorter audio files with duration around one second (16319 samples).

  Shift:
      min_shift: -0.1
      max_shift: 0.1
      shift_unit: "fraction"
      rollover: True
      mode: "per_example"
      p: 1

Are you able to reproduce this behavior for some short audio? I cannot provide the audio files, but can run more experiments if you wish.

@mogwai
Copy link
Contributor

mogwai commented Dec 22, 2020

Was the sample rate 16000?

Was the waveform on a cuda device or cpu?

@iver56
Copy link
Collaborator

iver56 commented Jan 4, 2021

If this bug exists, it should be fixed. @janvainer if you can make a unit test or a small script that reliably reproduces the issue, that would be swell :)

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

3 participants