Giter VIP home page Giter VIP logo

Comments (7)

stunlocked1 avatar stunlocked1 commented on June 9, 2024

I have the same issue

from beatnet.

stunlocked1 avatar stunlocked1 commented on June 9, 2024
ackend QtAgg is interactive backend. Turning interactive mode on.
Traceback (most recent call last):
  File "F:\Anaconda\envs\audio38\lib\runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "F:\Anaconda\envs\audio38\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "c:\Users\nkshv\.vscode\extensions\ms-python.python-2022.18.2\pythonFiles\lib\python\debugpy\adapter/../..\debugpy\launcher/../..\debugpy\__main__.py", line 39, in <module>
    cli.main()
  File "c:\Users\nkshv\.vscode\extensions\ms-python.python-2022.18.2\pythonFiles\lib\python\debugpy\adapter/../..\debugpy\launcher/../..\debugpy/..\debugpy\server\cli.py", line 430, in main
    run()
  File "c:\Users\nkshv\.vscode\extensions\ms-python.python-2022.18.2\pythonFiles\lib\python\debugpy\adapter/../..\debugpy\launcher/../..\debugpy/..\debugpy\server\cli.py", line 284, in run_file
    runpy.run_path(target, run_name="__main__")
  File "c:\Users\nkshv\.vscode\extensions\ms-python.python-2022.18.2\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_runpy.py", line 321, in run_path
    return _run_module_code(code, init_globals, run_name,
  File "c:\Users\nkshv\.vscode\extensions\ms-python.python-2022.18.2\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_runpy.py", line 135, in _run_module_code
    _run_code(code, mod_globals, init_globals,
  File "c:\Users\nkshv\.vscode\extensions\ms-python.python-2022.18.2\pythonFiles\lib\python\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_runpy.py", line 124, in _run_code
    exec(code, run_globals)
  File "f:\Stuff\Programming\beat manipulator\aaa.py", line 4, in <module>
    bm.wrapper_beatsample(filename=filename, lib='jump-reward-inference', suffix='jump-reward-inference', audio2=bm.generate_sine(0.1, 1000, 44100), scale=1)  
  File "f:\Stuff\Programming\beat manipulator\BeatManipulator.py", line 493, in wrapper_beatsample
    if beatmap is None: beatmap=analyze_beats(filename, samplerate, audio=audio, lib=lib)
  File "f:\Stuff\Programming\beat manipulator\BeatManipulator.py", line 102, in analyze_beats
    from jump_reward_inference.joint_tracker import joint_inference
  File "F:\Anaconda\envs\audio38\lib\site-packages\jump_reward_inference\joint_tracker.py", line 22, in <module>
    from BeatNet.BeatNet import BeatNet
  File "F:\Anaconda\envs\audio38\lib\site-packages\BeatNet\BeatNet.py", line 8, in <module>
    from madmom.features import DBNDownBeatTrackingProcessor
  File "F:\Anaconda\envs\audio38\lib\site-packages\madmom\__init__.py", line 24, in <module>
    from . import audio, evaluation, features, io, ml, models, processors, utils
  File "F:\Anaconda\envs\audio38\lib\site-packages\madmom\audio\__init__.py", line 27, in <module>
    from . import comb_filters, filters, signal, spectrogram, stft
  File "madmom\audio\comb_filters.pyx", line 1, in init madmom.audio.comb_filters
ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 from PyObject

from beatnet.

stunlocked1 avatar stunlocked1 commented on June 9, 2024

I used numpy==1.20.3 ,but it reported that ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject,I tried to upgrade numpy, but numba 0.54.1 requires numpy<1.21,>=1.17, but you have numpy 1.23.1 which is incompatible. and reported ImportError: Numba needs NumPy 1.20 or less

okay so in my conda 3.8 env I did
pip uninstall numpy
pip install numpy
pip uninstall numba
pip install numba
pip uninstall scipy
pip install scipy
pip uninstall torch
pip install torch

also i had to find a libsndfile.dll and put it next to my .py

and it seems to work

from beatnet.

altctrl00 avatar altctrl00 commented on June 9, 2024

Ok,thanks,I also curious about how to get the time signature using the given examples,all the output is 2D ndarray

from beatnet.

roimulia2 avatar roimulia2 commented on June 9, 2024

Hey @stunlocked1 are you available for a paid consultant?

from beatnet.

stunlocked1 avatar stunlocked1 commented on June 9, 2024

Hey @stunlocked1 are you available for a paid consultant?

uuh I am sanctioned

from beatnet.

roimulia2 avatar roimulia2 commented on June 9, 2024

What does this means? Haha @stunlocked1

from beatnet.

Related Issues (20)

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.