Skip to content

Conversation

dhunstack
Copy link
Contributor

Path for GTZAN dataset added in comments.
Following fixes were done -

  • Add error handling during audio load to handle erroneous mp3 files
  • Update positional arguments in librosa.feature.mfcc to keyword arguments

Path for GTZAN dataset added in comments.
Following fixes were done -
 - Add error handling during audio load to handle erroneous `mp3` files
 - Update positional arguments in `librosa.feature.mfcc` to keyword
   arguments

Signed-off-by: Anmol Mishra <[email protected]>
Copy link
Owner

@musikalkemist musikalkemist left a comment

Choose a reason for hiding this comment

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

In the Except block, I'd suggest to print info about the file(s) that couldn't be loaded, so the programme doesn't skip files silently.

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