-
Notifications
You must be signed in to change notification settings - Fork 91
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
Could you please claim those augmentations that are differentiable? #152
Comments
Hi :) There is a .py-file for differentiability tests in the tests folder. You can see there that some transforms are intentionally skipped because they are not differentiable. I am on vacation right now, so I cannot do much more than this right now. Also note that you can make parts of your nn.Module "not differentiable" so it doesn't try to differentiate things that do not need it |
Hi :) Many thanks for the quick reply. The However, I do meet another issue, i.e., the Thanks in advance and wish you a wonderful vacation:) |
Check if your impulse response files and your audio inputs have the same sample rate. If not, you may see a slowdown. Also, it is recommended to load the files from SSD, as HDD may become a bottleneck. The convolution itself should be pretty fast, especially if it gets run on a decent GPU and with batched compute |
That's great!!! Many thanks for the help:) |
Hi Iver, One more question for adding background noise
Any idea on the reason for such issue |
Hmm what if you give it a directory instead of a file? And what version of torch-audiomentations are you using? |
I tried to only give a directory following the setting in |
Then I don't know. Can you try step-debugging it? |
Sure. Thanks. |
For any people else who may also meet the same issue of The follow command can help. Solution is inspired by |
Hi, thanks for providing this package for audio augmentation.
Currently, I am trying to introduce these augmentations into a forward function of torch model. However, some of them are not differentiable.
Could you please mark out those differentiable ones and those not?
Many thanks from Singapore!
The text was updated successfully, but these errors were encountered: