Skip to content

Instantly share code, notes, and snippets.

@naotokui
Created August 1, 2018 07:47
Show Gist options
  • Star 20 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save naotokui/a2b331dd206b13a70800e862cfe7da3c to your computer and use it in GitHub Desktop.
Save naotokui/a2b331dd206b13a70800e862cfe7da3c to your computer and use it in GitHub Desktop.
drumkit sound classification model used in https://codepen.io/naotokui/pen/rrGGNJ
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@domyounglee
Copy link

Thanks for sharing the code, Naotokui. :)
But I found some missing facts in your code.
In the BatchNormalization function, the axis should be -1 if the Channel is the last dimension.( if you run on Tensorflow based Keras)

And could you tell me where the augmented dataset is?
Actually the Instance size of the shared dataset(https://s3-ap-northeast-1.amazonaws.com/codepen-dev/drumkit_dataset.zip)
is different from the shown result in the notebook.
I have only 2574 number of datasets where 27069 instances are trained according to your notebook result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment