-
Notifications
You must be signed in to change notification settings - Fork 89
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
feat: update ApplyBackgroundNoise augmentation #48
Conversation
This is a work in progress but I'd love to receive early feedback anyway. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add torchaudio>=0.6.0 to the list of required dependencies in setup.py
I can take another look when it's out of draft :) |
Co-authored-by: Iver Jordal <1470603+iver56@users.noreply.github.com>
Co-authored-by: Iver Jordal <1470603+iver56@users.noreply.github.com>
There's a merge conflict, and this is the reason: https://github.com/asteroid-team/torch-audiomentations/pull/50/files#diff-6e77014151191ab9ff2d304e38e00227aacf5f13c96d97b95bb4ace36bf834c1 |
This PR now fails because tests try to augment 2d samples. |
Yes, we should adapt (or remove) tests that currently provide 2d input. We can enforce/assert 3d input in a different pull request. |
I tried to use this transform in the demo script. I proposed a few changes in your branch here: hbredin#1 I'm currently getting an exception like this:
Edit: I think it's because |
I tried to run the demo script, and I got an exception like this:
Somehow the numbers don't add up in this case, and I think it's related to signal and noise having different original sample rates
Could you try to run the demo script and see if you can reproduce it?
|
LGTM! 🚀 |
No description provided.