Skip to content

Are the genres of two music samples the same or different?

Notifications You must be signed in to change notification settings

nitinnat/Music-Genre-Verification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Music-Genre-Verification

Are the genres of two music samples the same or different?

  • This code contains an implementation of a Siamese-like convolutional neural network architecture to predict similarity of genre between two audio samples (processed as melspectrograms).

  • Download the fma_small dataset from https://github.com/mdeff/fma

  • Save the folders which are named as '000','001', etc containing the audio files in a folder called ./music_samples/ as the processing functions look for that folder.

  • Run python load_audio.py to extract and save the melspectrogram and the audio features (we don't use this directly in our code.)

  • Run the training and testing on the dataset:

python models.py

About

Are the genres of two music samples the same or different?

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages