-
Notifications
You must be signed in to change notification settings - Fork 230
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
Add dataset for audio tagging #1241
Conversation
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.
Could you add a unit test for this dataset? Thanks.
- multi-channel: currently not supported | ||
'supervisions': [ | ||
{ | ||
# For audio event, which can be mapped to a multi-hot tensor |
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.
Don't you prefer to construct the multi-hot tensor inside the dataset instead?
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.
Sorry for getting back so late.
My intention was that users might need the name of the audio event for other tasks, for example, audio captioning.
Added the unit test. |
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.
Thanks
This PR adds a dataset for audio tagging. It can be used to train an audio tagging model to predict the sound event of an audio clip.
It requires a new custom field named
audio_event
in the supervision of each cut, an example of this would be like: