asteroid-team / torch-audiomentations

Fast audio data augmentation in PyTorch. Inspired by audiomentations. Useful for deep learning.
MIT License
969 stars 88 forks source link

Fix a bug where BandPassFilter didn't work on GPU #138

Closed iver56 closed 2 years ago

iver56 commented 2 years ago

Close #137

ahikaml commented 2 years ago

Just one comment - it should be selected_samples.device instead of samples.device

iver56 commented 2 years ago

I see where that comment is coming from - torch-audiomentations is in flux, and that variable has been renamed lately: https://github.com/asteroid-team/torch-audiomentations/commit/4ec0aaf00db5bf70facf23dd7cc2b61c8585fb5a#diff-1cf4d3614a67d1ef0ec702b0927ec9934de0c88abb1c8e90bf07321d631037eeR83

This change is not released yet

ahikaml commented 2 years ago

Got it. Thanks