Skip to content

Conversation

@sivannavis
Copy link
Collaborator

@sivannavis sivannavis commented Feb 5, 2024

This PR points at Issue #40:

add another class to do spatial augmentations: channel swapping, random time frequency masking, time domain remixing, and soundscape rotation. See method details in https://arxiv.org/abs/2101.02919

1. formatting core.py
2. add basic ScaperAug class
3. add functions to do augmentation
4. add channel swapping method
5. tested channel swapping method
@sivannavis sivannavis requested a review from iranroman February 5, 2024 22:14
Comment on lines +678 to +679
def tf_masking(self, data, fs, label):
pass

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can use Pytorch's built-in TimeMasking and FrequencyMasking transforms to make completing the tf_masking() method easier

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

Successfully merging this pull request may close these issues.

2 participants