Code Monkey home page Code Monkey logo

Comments (5)

MZehren avatar MZehren commented on July 29, 2024 1

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:

  File "/home/user/Automix/automix/featureExtraction/beats/madmomBeatDetection.py", line 5, in <module>
    import madmom

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:
pip3 install . --editable
The version should be 0.16.1

Good luck!

from automix.

gnai avatar gnai commented on July 29, 2024

Hey @MZehren ,
First, let me say, that's a very interesting approach and paper! Congrats !
Really appreciate the help!
Yes I have that version
Requirement already satisfied: madmom in /home/user/.local/lib/python3.8/site-packages (from AutoMix==0.1) (0.16.1)
I even tried installing this pip install pycocotools==2.0.0 from some issues I've seen on Stack. thinking maybe it would solve.
It should be able to read .wav and .mp3 right?

from automix.

MZehren avatar MZehren commented on July 29, 2024

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.

from automix.

gnai avatar gnai commented on July 29, 2024

Hey Michael,
I set up another venv and installed madmon again. Its working fine. Thank you ! :)

from automix.

MZehren avatar MZehren commented on July 29, 2024

Great to hear!

from automix.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.