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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing data files #1

Closed
smcio opened this issue Jul 26, 2022 · 7 comments
Closed

Missing data files #1

smcio opened this issue Jul 26, 2022 · 7 comments

Comments

@smcio
Copy link

smcio commented Jul 26, 2022

Hi there @billyblu2000,

Looks like very cool work you're doing here - thanks 馃檪

I tried to run your project, and I found that several data files required to be in the 'chorderator/static' directory are missing (as per your .gitignore file). For example, the 'chorderator/static/model_master_final.pt' seems to be missing, as also 'chorderator/static/phrase_data0714.npz' and 'edge_weights_0714.npz'.

Would you be able to share these files by any chance please? It'd be great to try out your project 馃檪

Thanks & all the best,
Shaun

@smcio smcio changed the title Data files Missing data files Jul 26, 2022
@billyblu2000
Copy link
Owner

Sure. Sorry currently the code is not very neat and there might be bugs. I will refine the聽code soon and upload the missing files in this聽week or in the coming聽week.聽

@smcio
Copy link
Author

smcio commented Jul 26, 2022

Sure. Sorry currently the code is not very neat and there might be bugs. I will refine the聽code soon and upload the missing files in this聽week or in the coming聽week.

Thanks, very much appreciated!

@billyblu2000
Copy link
Owner

Data files link updated in README. I will keep this issue open for several weeks in case there will be any future updates and bugs.

@smcio
Copy link
Author

smcio commented Aug 1, 2022

Hi @billyblu2000 - thanks for uploading these files - much appreciated.

That has satisfied that dependency, but in running demo.py, I'm also now getting this error:

FileNotFoundError: [Errno 2] No such file or directory: '/Users/xxx/AccoMontage2/resource/phrase_split_data/melodies.pk'

Looks like the repository seems to be missing a 'phrase_split_data' directory, with a 'melodies.pk' file. Is this a file I need to generate somehow, or might you be able to commit it to the repository/to a file share? :)

Thanks again for your time, and all the best
Shaun

@billyblu2000
Copy link
Owner

billyblu2000 commented Aug 1, 2022

Hi @billyblu2000 - thanks for uploading these files - much appreciated.

That has satisfied that dependency, but in running demo.py, I'm also now getting this error:

FileNotFoundError: [Errno 2] No such file or directory: '/Users/xxx/AccoMontage2/resource/phrase_split_data/melodies.pk'

Looks like the repository seems to be missing a 'phrase_split_data' directory, with a 'melodies.pk' file. Is this a file I need to generate somehow, or might you be able to commit it to the repository/to a file share? :)

Thanks again for your time, and all the best Shaun

Hi @smcio, sure no problem, thank you for reporting bugs.

However, the error you saw is probably not the true error. Sorry that I catch the true error such that it become a little confusing. I have now deleted that catch and throw out the true error directly.

The true error is probably: AccoMontage2 cannot find the input melody. Please check the the path and the name is correct.

And this might be because I provided a wrong path in the demo. I have now updated the path in the demo, together with the tonic, note shift information. Please check it out.

Melody path can be specify with the format like:

import chorderator as cdt
cdt.set_melody('MIDI demos/inputs/hpps65/melody.mid')

Hope this will solve the problem.

billyblu

@smcio
Copy link
Author

smcio commented Aug 3, 2022

Thanks @billyblu2000 - those changes did indeed fix the problem. Thanks again for your help on this, and great work on your research.

Best,
Shaun

@billyblu2000
Copy link
Owner

Thanks @billyblu2000 - those changes did indeed fix the problem. Thanks again for your help on this, and great work on your research.

Best, Shaun

No problem and thank you very much for interesting.

Issue closed.

billyblu

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