-
Notifications
You must be signed in to change notification settings - Fork 79
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
building algorithms/cc #3
Comments
Hi, I'm glad you're switching to Python! :) The issue you're reporting should be fixed on the "develop" branch. Please, checkout that branch (since it's much more stable than the master python setup.py build Indeed, the problem originates because of the gcc version, which in Linux In the develop branch, and in order for you to play around with msaf, take ./run_msaf.py ../datasets/Sargon -bid foote -lid fmc2d -j 4 This will run msaf on the Sargon dataset, with the foote algorithm for You should be able to evaluate your results by typing: ./run_msaf.py ../datasets/Sargon -bid foote -lid fmc2d -j 4 -e More options: ./run_msaf.py -h Let me know if you have any questions. I'm glad to help :) On Fri, Mar 13, 2015 at 4:50 AM jenmadtu notifications@github.com wrote:
|
Thank you with the devel trick, i indeed could install it now :) As you suggested i run
Another trick to make it work maybe? :) |
You need You should be able to install it by doing:
(as they mentioned here). Let me know if this works! |
well to install ffmpeg i did:
that made it work. The next error is in my eyes kinda tricky
|
Woah, that's weird. Can you try it with just one track? e.g.,
What versions of librosa, numpy, and scipy do you have? You might need to use the latest librosa devel branch (sorry, they are about to release the new version, which is the one I've been using with msaf devel). Let me know if that fixes it. And thanks for your patience and perseverance! |
Fyi, on my Ubuntu 14.04, msaf works with these library versions:
|
this might be an issue. although if i do
it says i have the newest versions. I will figure out how i get the versions you mention. |
and it fails if i only do one track also |
Yeah, msaf won't run on librosa 0.3, you need the newest librosa from the However, this error message is pretty obscure. Thanks for reporting this.
|
Ok i feel like we are getting there. I took another crack at it. I feel like good things should be reported as well so this worked 👍
However this didnt
|
Ok, we're getting there! Try this to segment the whole dataset: And then, to evaluate it, type this: So yeah, it's a two-step process. The fact that you had problems with it makes me think it is not so intuitive? |
or maybe i should just read the instructions carefully ;) everything seems to work now. I will try out your different segmentation algorithms largescale now :) |
Awesome! If you are gonna do some large-scale segmentation, I recommend you use the Have fun, and let me know if you have any more questions! |
Hi Guys
I have ventured into the land of Python (ignorantly) on my ubuntu 14.04 machine (compiled python using gcc 4.9) convinced by @urinieto
I do seem to have some problems compiling the algorithms/cc hope you can help
i had some issues with size_t and had to
include <cstddef>
in TempoTrackV2.h since apparently newer version of gcc have issues with size_t. (just FYI)Now ive run into another issue which is a bit more tricky and hope you can help out.
i do the following
~/downloads/msaf/algorithms/cc# python setup.py build_ext --force --inplace
i can see that i have problems with
dsp/segmentation/ClusterMeltSegmenter.cpp:389:48: error: ‘nth_element’ was not declared in this scope nth_element(v.begin(), v.begin()+n, v.end());
where nth_element seems to be the bad guy. It might again be an issue with the new version of the gcc compiler. Any suggestions?
The text was updated successfully, but these errors were encountered: