Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I finetune with my own MIDI folder? #2

Open
aletote opened this issue Aug 13, 2019 · 1 comment
Open

How do I finetune with my own MIDI folder? #2

aletote opened this issue Aug 13, 2019 · 1 comment

Comments

@aletote
Copy link

aletote commented Aug 13, 2019

I can generate files fine now with the checkpoint 400k provided but I don't understand the instructions on how to finetune for my own MIDI folder instead of NES MIDIs.
Can you help me please?

@ruohoruotsi
Copy link

Hi there, I think you need to

  1. Convert your MIDI into the TX1 (Transformer) format, since that's what is used for training/fine-tuning from these checkpoints. See https://github.com/chrisdonahue/LakhNES/blob/master/data/adapt_lakh_to_nes.py
  2. Substitute your new TX format data in the training scripts, in lieu of the NES TX data, I'm still on step (1) but this is what I imagine will be the next step: https://github.com/chrisdonahue/LakhNES/blob/master/model/train.py

There are other data prep files and utils that may be necessary, since this project is kind of dormant, best way is to just jump in there and see what breaks. Best to stay on the version of Python & PyTorch he recommends, within a virtualenv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants