Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Lonian6/remi-pytorch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

remi-pytorch

Implement the pop-music transformer and integrate with hugging face API

Data preparation

Please follow the steps in REMI. https://github.com/YatingMusic/remi

Training

You can change --dict_path to specify whether using chord or not.

from scratch

python main.py --dict_path your-path-here

continue

python main.py \
--is_continue 1 \
--continue_pth your-path-here

Testing

--dict_path should be same as training option.

generate from scratch

python main.py \
--is_train 0 \
--prompt 0 \
--output_path your-path-here \
--model_path your-path-here

continue generating

python main.py --is_train 0 \
--prompt_path your-path-here \
--output_path your-path-here \
--model_path your-path-here

About

Re-write the pop-music transformer and integrate with hugging face API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages