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

TypeError: part_to_inputs() takes exactly 4 arguments (3 given) #43

Open
hans-ekbrand opened this issue Feb 14, 2018 · 1 comment
Open

Comments

@hans-ekbrand
Copy link

hans-ekbrand commented Feb 14, 2018

part_to_inputs() requires four arguments, but it is called with only three arguments at line 125-126 in deepBach.py

The length argument seems to be missing, see data_utils.py line 142.

I tried to insert len(melody) as a second argument to part_to_inputs(), and deepBach.py then ran without errors, but the resulting xml-file was not correct.

@Ghadjeres
Copy link
Owner

Hi,
Sorry, I can provide no easy fix for the moment, but I'll refactor the whole project soon.

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