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

Extractor value error from call as per README #19

Open
martindisley opened this issue May 10, 2021 · 0 comments
Open

Extractor value error from call as per README #19

martindisley opened this issue May 10, 2021 · 0 comments

Comments

@martindisley
Copy link

martindisley commented May 10, 2021

Hey Jordi

When I run extractor as per the readme:
taggram, tags = extractor(<path>, model='MTT_musicnn')
I get a value error:
File "<stdin>", line 1, in <module> ValueError: too many values to unpack (expected 2)

works fine if run it as per the tagging_example.ipynb:
taggram, tags = extractor(<path>, model='MTT_musicnn', extract_features=False)

Error:

>>> taggram, tags = extractor('Bounce08.wav', model='MTT_musicnn')
Computing spectrogram (w/ librosa) and tags (w/ tensorflow).. done!
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: too many values to unpack (expected 2)
>>> taggram, tags = extractor('Bounce08.wav', model='MTT_musicnn', extract_features=False)
Computing spectrogram (w/ librosa) and tags (w/ tensorflow).. done!
>>>

Edit: installed with PyPi

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