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

NoneType' object is not iterable #100

Open
shaokun11 opened this issue May 26, 2021 · 0 comments
Open

NoneType' object is not iterable #100

shaokun11 opened this issue May 26, 2021 · 0 comments

Comments

@shaokun11
Copy link

shaokun11 commented May 26, 2021

I change the musicxml file from haendel_hallelujah.muscxml to mozart_requiem_kyrie_satb.musicxml which you provide in the data directory, it rase a error as below.(inference.py content is same as the inference.ipynb which just remove the matplotlib something )
Traceback (most recent call last): File "inference.py", line 129, in <module> data = get_data_from_musicxml('data/mozart_requiem_kyrie_satb.musicxml', 132, convert_stress=True) File "/home/user/python-project/mellotron/mellotron_utils.py", line 453, in get_data_from_musicxml events = track2events(v) File "/home/user/python-project/mellotron/mellotron_utils.py", line 285, in track2events events.extend(adjust_event(e)) File "/home/user/python-project/mellotron/mellotron_utils.py", line 235, in adjust_event return [[token, freq, start_time, end_time] for token in tokens] TypeError: 'NoneType' object is not iterable
what should I change something?

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

1 participant