Giter Club home page Giter Club logo

music-boundary-detection's Introduction

Music boundary detection using U-Net

This works for SALAMI v2.0 dataset.

Hyperparameters and configurations are in hparams.py

Feature Extraction

python feature_extraction.py KIND_DATA [--mode=MODE] [--num-workers=N]
  • KIND_DATA can be 'train' or 'test'.
  • MODE can be 'io', 'in', or 'out' (means what feature will be processed). Default is 'io'.
  • N can be an integer from 1 to cpu_count(). Default is cpu_count() - 1.

Creation of Test set

By match_salami_file_struct.py, mp3 audio files and annotation text files are saved as SALAMI files.

DNN Training and Testing

python train_test.py [--test=EPOCH] [--(hyperparameter name)=(python script or str)]

Test Result Analysis

python analyze_test.py EPOCH [--song={ID1, ID2, ...}]
  • ID1,ID2,... are song ids to be plotted in forms of mel and boundary.

Requirements

  • python >= 3.7 (or 3.6 with dataclasses backport)
  • numpy
  • matplotlib
  • PyTorch >= 1.0
  • tensorboardX >= 1.7
  • librosa
  • tqdm
  • torchsummary
  • mir_eval

music-boundary-detection's People

Contributors

sytronik avatar hjlee9605 avatar chungks603 avatar

Stargazers

yucheng-zeng avatar fcqfcq avatar Yanshu WANG avatar

Watchers

James Cloos avatar  avatar  avatar

music-boundary-detection's Issues

SALAMI dataset

Thank you for sharing the work on music boundary detection! I am currently also interested in this topic but I am confusing about how to obtain the SALAMI dataset. I see the project page of SALAMI on github, but I still don't know how to get access to the corresponding audio files. Looking forward to your reply!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.