-
Notifications
You must be signed in to change notification settings - Fork 7
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
ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject #3
Comments
Hej, I will try to help you! The program needs two different versions of Madmom to work: one for drum transcription, and one for beat detection. This is confusing, but sadly the algorithms for beat and drums estimation are in two different forks of madmom. Because I don't know how you can't install both versions in the same environment with pip, I did the ugly workaround of creating with the installation process the virtual environment "madmomDrumsEnv". This one seems to work for you. Now, you still require the version of madmom for the beat detection which seems to be the one raising the issue:
This one is not contained in the virtual environment "madmomDrumsEnv". Instead, its location depends on how you installed Automix. Could you check if madmom is correctly installed with: Good luck! |
Hey @MZehren , |
Ok, this is strange. Since the program fails when you load Madmom, I expect that you wouldn't be able to load Mamdom (the one outside of the madmomDrumEnv) from your own code either. Can you replicate the issue somewhere else, or is it only when importing my file? The software works with both .mp3 and .wav IIRC. |
Hey Michael, |
Great to hear! |
please help! Spent too much time trying to make this work. I have all the dependencies installed. and this is working for me:
madmomDrumsEnv/bin/python madmom-0.16.dev0/bin/DrumTranscriptor
not sure what is still missing. numpy version outside of
madmomDrumsEnv
is 1.20.3 and inmadmomDrumsEnv
is 1.16.6.I appreciate any tip to solve this. My environment is python3.8.10
The text was updated successfully, but these errors were encountered: