All Projects → Insiyaa → Music-Genre-Classification

Insiyaa / Music-Genre-Classification

Licence: other
Genre Classification using Convolutional Neural Networks

Programming Languages

Jupyter Notebook
11667 projects

Projects that are alternatives of or similar to Music-Genre-Classification

Image-Classification
Pre-trained VGG-Net Model for image classification using tensorflow
Stars: ✭ 29 (+7.41%)
Mutual labels:  cnn-model, cnn-for-visual-recognition, cnn-classification
neuralBlack
A Multi-Class Brain Tumor Classifier using Convolutional Neural Network with 99% Accuracy achieved by applying the method of Transfer Learning using Python and Pytorch Deep Learning Framework
Stars: ✭ 36 (+33.33%)
Mutual labels:  accuracy, transfer-learning, cnn-classification
Awesome Deep Learning Music
List of articles related to deep learning applied to music
Stars: ✭ 2,195 (+8029.63%)
Mutual labels:  music-information-retrieval, music-genre-classification
Weapon-Detection-And-Classification
Weapon Detection & Classification through CCTV surveillance using Deep Learning-CNNs.
Stars: ✭ 53 (+96.3%)
Mutual labels:  cnn-model, cnn-classification
pyTorch-text-classification
pyTorch-text-classification
Stars: ✭ 15 (-44.44%)
Mutual labels:  cnn-model, cnn-classification
Keras transfer cifar10
Object classification with CIFAR-10 using transfer learning
Stars: ✭ 120 (+344.44%)
Mutual labels:  transfer-learning, cnn-model
Music-Genre-Classification
Automatic Music Genre Classification with Machine Learning Techniques
Stars: ✭ 49 (+81.48%)
Mutual labels:  music-information-retrieval, music-genre-classification
CLMR
Official PyTorch implementation of Contrastive Learning of Musical Representations
Stars: ✭ 216 (+700%)
Mutual labels:  music-information-retrieval, music-classification
Deep-Learning-Experiments-implemented-using-Google-Colab
Colab Compatible FastAI notebooks for NLP and Computer Vision Datasets
Stars: ✭ 16 (-40.74%)
Mutual labels:  transfer-learning, fastai
ulm-basenet
Implementation of ULMFit algorithm for text classification via transfer learning
Stars: ✭ 94 (+248.15%)
Mutual labels:  transfer-learning, fastai
music-genre-classification
Zalo AI Challenge - Music Genre Classification
Stars: ✭ 23 (-14.81%)
Mutual labels:  music-information-retrieval, music-genre-classification
Deep-Learning-Coursera
Projects from the Deep Learning Specialization from deeplearning.ai provided by Coursera
Stars: ✭ 123 (+355.56%)
Mutual labels:  cnn-for-visual-recognition, cnn-classification
Open set domain adaptation
Tensorflow Implementation of open set domain adaptation by backpropagation
Stars: ✭ 27 (+0%)
Mutual labels:  transfer-learning
skripsiTF
Skripsi
Stars: ✭ 21 (-22.22%)
Mutual labels:  cnn-model
Water-classifier-fastai
Deploy your Flask web app classifier on Heroku which is written using fastai library.
Stars: ✭ 37 (+37.04%)
Mutual labels:  fastai
EntityTargetedActiveLearning
No description or website provided.
Stars: ✭ 17 (-37.04%)
Mutual labels:  transfer-learning
TrainCaffeCustomDataset
Transfer learning in Caffe: example on how to train CaffeNet on custom dataset
Stars: ✭ 20 (-25.93%)
Mutual labels:  transfer-learning
Pigment.O
Krita - Plugin - Color Picker and Mixer
Stars: ✭ 75 (+177.78%)
Mutual labels:  tone
CPCE-3D
Low-dose CT via Transfer Learning from a 2D Trained Network, In IEEE TMI 2018
Stars: ✭ 40 (+48.15%)
Mutual labels:  transfer-learning
tomato
Turkish-Ottoman Makam (M)usic Analysis TOolbox
Stars: ✭ 30 (+11.11%)
Mutual labels:  music-information-retrieval

Music Genre Classification

Beginning

This project started as a mini team project with an aim to learn different machine learning models. The initial problem statement was to classify music into any two categories. Different features like tempo, beats, stft, mfccs, etc were extracted using Librosa from the GTZAN Genre Collection dataset. On that data we implemented logistic regression and neural network from scratch independent of any framework.
The repository for this task is here.

What next?

After this project, I went on learning more about computer vision and deep learning. Reading more and more about it, I started thinking if I could apply CNNs on the music data. Also I hoped that transfer learning would help me attain accuracy closer to the State of the art models on GTZAN dataset.

Representing Music as Image

A very naive idea of mine was to simply plot the y values as shown below.

By soon I realized that it won't just work as it doesn't give much information about tones. While going through different articles for visualizing music, I came across this paper (luckily having the same idea as mine) and decided to go for melspectograms.
A spectrogram is a visual representation of the spectrum of frequencies of sound or other signal as they vary with time. Spectograms allow looking at the whole song once and get the information about the tones present right away!

These looked quite promising to me and so created a dataset using this notebook.

Transfer Learning

While exploring more and more about deep learning, I came across PyTorch and decided to use it. But later on I started with Practical Deep Learning for Coders, v3 and decided to use fastai library which is easier to use, intuitive, reliable and build on the top of PyTorch.
I used the pretrained models of ResNet34 and ResNet50 as feature extractors using Google Colab GPU.
ResNet34 has the accuracy of 75.6%
ResNet50 has the accuracy of 80.3%
The accuracy are pretty much comparable with the State of the art models.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].