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

the CP token channels is not same? #15

Open
GuangtaoLyu opened this issue Aug 7, 2024 · 2 comments
Open

the CP token channels is not same? #15

GuangtaoLyu opened this issue Aug 7, 2024 · 2 comments

Comments

@GuangtaoLyu
Copy link

hello,
thank you for your great work.
i preprocessed my data to CP.
i find that most of them are (1,512,4) but some of them are (2,512,4).
this is why?
thank you.

@wazenmai
Copy link
Owner

wazenmai commented Aug 7, 2024

Hi, @GuangtaoLyu.
The shape of CP data after running MIDI-BERT/data_creation/prepare_data/main.py is (x, y, z), where x is number of sequences, y is number of tokens in a sequence, z is number of channels in one CP token.

The related code of deciding number of sequences (x) is here.

@GuangtaoLyu
Copy link
Author

GuangtaoLyu commented Aug 8, 2024 via email

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