This is the official repository of Learning to Generate Piano Music With Sustain Pedals
The dataset used in this project, AIlabs.tw Pop1K7, can be found here.
-
Install PyTorch and fast transformer:
-
torch==1.7.0 (Please install it according to your CUDA version.)
-
fast transformer :
pip install --user pytorch-fast-transformers
or refer to the original repository
-
-
Other requirements:
pip install -r requirements.txt
Pre-trained models are not included in this repository
- To be completed...
- Change the MODE to
train
orinference
on lines 36 & 37
@article{
{SusPedal},
author = {Ching, Joann and Yi-Hsuan, Yang},
title = {Learning to Generate Piano Music With Sustain Pedals},
booktitle = {arXiv preprint arXiv:2111.01216},
year = {2021}
}