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

Fix highlevel parameter in MusicExtractor, which couldn't be specified #1052

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

antlarr
Copy link

@antlarr antlarr commented Oct 2, 2020

Specifying the highlevel parameter in the MusicExtractor constructor
raised a RuntimeError exception because the value of highlevel.svm_models
wasn't being set with the right type.

Since Pool::set doesn't support a vector of strings, this fixes the issue by
adding the paths passed as arguments one by one, so the resulting type
is vector<string>.

Fixes #1051

Previously, specifying the highlevel parameter in the MusicExtractor constructor
raised a RuntimeError exception because the value of `highlevel.svm_models`
wasn't being set with the right type.

Fixes MTG#1051
antlarr added a commit to antlarr/bard that referenced this pull request Oct 2, 2020
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

Successfully merging this pull request may close these issues.

highlevel parameter can't be used in MusicExtractor
1 participant