This repository contains a basic version of our code related to the model presented in the ISMIR2022 paper:
A deep learning method for melody extraction from a polyphonic symbolic music representation.
The data corpus that it is based on can be found here.

Main end-to-end script

Run bash run.sh

How to process the features

Run process_data.py

How to prepare the data for training

Run create_stats_dict.py

How to Train a melody extraction model

Run train.py

How to run inference

Run predict.py