Omniscient Mozart, being able to transcribe everything in the music, including vocal, drum, chord, beat, instruments, and more.

Overview

OMNIZART

build docs PyPI version PyPI - License PyPI - Downloads Docker Pulls

DOI DOI

Omnizart is a Python library that aims for democratizing automatic music transcription. Given polyphonic music, it is able to transcribe pitched instruments, vocal melody, chords, drum events, and beat. This is powered by the research outcomes from Music and Culture Technology (MCT) Lab. The paper has been published to Journal of Open Source Software (JOSS).

Transcribe your favorite songs now in Colab Open In Colab or Replicate

Quick start

Visit the complete document for detailed guidance.

Pip

# Install omnizart
pip install omnizart

# Download the checkpoints
omnizart download-checkpoints

# Transcribe your songs
omnizart drum transcribe <path/to/audio.wav>
omnizart chord transcribe <path/to/audio.wav>
omnizart music transcribe <path/to/audio.wav>

Docker

docker pull mctlab/omnizart:latest
docker run -it mctlab/omnizart:latest bash

Supported applications

Application Transcription Training Evaluation Description
music ✔️ ✔️ Transcribe musical notes of pitched instruments.
drum ✔️ ⁉️ Transcribe events of percussive instruments.
vocal ✔️ ✔️ Transcribe note-level vocal melody.
vocal-contour ✔️ ✔️ Transcribe frame-level vocal melody (F0).
chord ✔️ ✔️ Transcribe chord progressions.
beat ✔️ ✔️ Transcribe beat position.

NOTES The current implementation for the drum model has unknown bugs, preventing loss convergence when training from scratch. Fortunately, you can still enjoy drum transcription with the provided checkpoints.

Compatibility Issue

Currently, Omnizart is incompatible for ARM-based MacOS system due to the underlying dependencies. More details can be found in the issue #38.

Citation

If you use this software in your work, please cite:

@article{Wu2021,
  doi = {10.21105/joss.03391},
  url = {https://doi.org/10.21105/joss.03391},
  year = {2021},
  publisher = {The Open Journal},
  volume = {6},
  number = {68},
  pages = {3391},
  author = {Yu-Te Wu and Yin-Jyun Luo and Tsung-Ping Chen and I-Chieh Wei and Jui-Yang Hsu and Yi-Chin Chuang and Li Su},
  title = {Omnizart: A General Toolbox for Automatic Music Transcription},
  journal = {Journal of Open Source Software}
}
Comments
  • Test fails with missing ./tests/resource/sample_feature.hdf file

    Test fails with missing ./tests/resource/sample_feature.hdf file

    I run the tests locally and got:

    $ python -m pytest
    ===================================================================================== test session starts =====================================================================================
    platform linux -- Python 3.6.9, pytest-5.4.3, py-1.10.0, pluggy-0.13.1
    rootdir: /home/audeering.local/hwierstorf/tmp/omnizart/omnizart
    plugins: mock-3.6.1, cov-2.12.0                   
    collected 81 items                                                                                                                                                                            
                                                  
    tests/test_load_label.py .......                                                                                                                                                        [  8%]
    tests/test_utils.py ..................                                                                                                                                                  [ 30%]
    tests/beat/test_app.py ..                                                                                                                                                               [ 33%]
    tests/chord/test_app.py ...                                                                                                                                                             [ 37%] tests/drum/test_app.py ..                                                                                                                                                               [ 39%]
    tests/drum/test_labels.py .                                                                                                                                                             [ 40%]
    tests/drum/test_prediction.py ............                                                                                                                                              [ 55%]
    tests/feature/test_wrapper_func.py .F                                                                                                                                                   [ 58%]
    tests/music/test_app.py ....                                                                                                                                                            [ 62%] 
    tests/music/test_inference.py .....                                                                                                                                                     [ 69%] 
    tests/music/test_labels.py ........                                                                                                                                                     [ 79%] 
    tests/music/test_prediction.py ..........                                                                                                                                               [ 91%]
    tests/patch_cnn/test_app.py ..                                                                                                                                                          [ 93%]
    tests/vocal/test_app.py ...                                                                                                                                                             [ 97%]
    tests/vocal_contour/test_app.py ..                                                                                                                                                      [100%]
    
    ========================================================================================== FAILURES ===========================================================================================
    ___________________________________________________________________________________ test_extract_patch_cqt ____________________________________________________________________________________
    
    mocker = <pytest_mock.plugin.MockerFixture object at 0x7f95824cb0b8>
    
        def test_extract_patch_cqt(mocker):
    >       with h5py.File("./tests/resource/sample_feature.hdf", "r") as fin:
    
    tests/feature/test_wrapper_func.py:14:
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
    .venv/lib/python3.6/site-packages/h5py/_hl/files.py:408: in __init__
        swmr=swmr)
    .venv/lib/python3.6/site-packages/h5py/_hl/files.py:173: in make_fid
        fid = h5f.open(name, flags, fapl=fapl)
    h5py/_objects.pyx:54: in h5py._objects.with_phil.wrapper
        ???
    h5py/_objects.pyx:55: in h5py._objects.with_phil.wrapper
        ???
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
    
    >   ???
    E   OSError: Unable to open file (unable to open file: name = './tests/resource/sample_feature.hdf', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)
    
    h5py/h5f.pyx:88: OSError
    ====================================================================================== warnings summary =======================================================================================
    .venv/lib/python3.6/site-packages/tensorflow/python/autograph/utils/testing.py:21
      /home/audeering.local/hwierstorf/tmp/omnizart/omnizart/.venv/lib/python3.6/site-packages/tensorflow/python/autograph/utils/testing.py:21: DeprecationWarning: the imp module is deprecated in
     favour of importlib; see the module's documentation for alternative uses
        import imp
    
    .venv/lib/python3.6/site-packages/jsonschema/validators.py:928
    tests/test_utils.py::test_serializable_with_schema
    tests/test_utils.py::test_serializable_with_schema
    tests/music/test_app.py::test_load_model[None]
    tests/music/test_app.py::test_load_model[Piano]
    tests/music/test_app.py::test_load_model[Stream]
    tests/music/test_app.py::test_load_model[Pop]
      /home/audeering.local/hwierstorf/tmp/omnizart/omnizart/.venv/lib/python3.6/site-packages/jsonschema/validators.py:928: DeprecationWarning: The metaschema specified by $schema was not found.
     Using the latest draft to validate, but this will raise an error in the future.
        cls = validator_for(schema)
    
    -- Docs: https://docs.pytest.org/en/latest/warnings.html
    =================================================================================== short test summary info ===================================================================================
    FAILED tests/feature/test_wrapper_func.py::test_extract_patch_cqt - OSError: Unable to open file (unable to open file: name = './tests/resource/sample_feature.hdf', errno = 2, error messag...
    ===================================================================== 1 failed, 80 passed, 8 warnings in 61.78s (0:01:01) =====================================================================
    
    opened by hagenw 14
  • Problem with model_to/from_yaml

    Problem with model_to/from_yaml

    I installed omnizart from pip on Fedora 33. When running the command: $ omnizart drum transcribe --output drum.mid File.mp3 I've got the following error message:

    Traceback (most recent call last):
      File "/home/collette/python/omnizart/bin/omnizart", line 8, in <module>
        sys.exit(entry())
      File "/home/collette/python/omnizart/lib/python3.9/site-packages/click/core.py", line 829, in __call__
        return self.main(*args, **kwargs)
      File "/home/collette/python/omnizart/lib/python3.9/site-packages/click/core.py", line 782, in main
        rv = self.invoke(ctx)
      File "/home/collette/python/omnizart/lib/python3.9/site-packages/click/core.py", line 1259, in invoke
        return _process_result(sub_ctx.command.invoke(sub_ctx))
      File "/home/collette/python/omnizart/lib/python3.9/site-packages/click/core.py", line 1259, in invoke
        return _process_result(sub_ctx.command.invoke(sub_ctx))
      File "/home/collette/python/omnizart/lib/python3.9/site-packages/click/core.py", line 1066, in invoke
        return ctx.invoke(self.callback, **ctx.params)
      File "/home/collette/python/omnizart/lib/python3.9/site-packages/click/core.py", line 610, in invoke
        return callback(*args, **kwargs)
      File "/home/collette/python/omnizart/lib/python3.9/site-packages/omnizart/cli/drum/transcribe.py", line 26, in transcribe
        drum.app.transcribe(input_audio, model_path, output=output)
      File "/home/collette/python/omnizart/lib/python3.9/site-packages/omnizart/drum/app.py", line 68, in transcribe
        model, model_settings = self._load_model(model_path, custom_objects=self.custom_objects)
      File "/home/collette/python/omnizart/lib/python3.9/site-packages/omnizart/base.py", line 30, in _load_model
        model = self._get_model_from_yaml(arch_path, custom_objects=custom_objects)
      File "/home/collette/python/omnizart/lib/python3.9/site-packages/omnizart/base.py", line 79, in _get_model_from_yaml
        return model_from_yaml(open(arch_path, "r").read(), custom_objects=custom_objects)
      File "/home/collette/python/omnizart/lib/python3.9/site-packages/keras/saving/model_config.py", line 74, in model_from_yaml
        raise RuntimeError(
    RuntimeError: Method `model_from_yaml()` has been removed due to security risk of arbitrary code execution. Please use `Model.to_json()` and `model_from_json()` instead.
    
    opened by ycollet 7
  • Colab issue on using models - runtime error due to name conflict with built-in Keras model

    Colab issue on using models - runtime error due to name conflict with built-in Keras model

    Hey there,

    I was able to get Colab to install omnizart with the deprecated-legacy command mentioned in an earlier issue thread. However, I'm unable to run the chords, vocals and most other models without getting the error below

    2021-11-26 13:30:18 Extracting feature 2021-11-26 13:30:24 Loading model 2021-11-26 13:30:24 Using built-in model /usr/local/lib/python3.7/dist-packages/omnizart/checkpoints/chord/chord_v1 for transcription. WARNING:tensorflow:SavedModel saved prior to TF 2.5 detected when loading Keras model. Please ensure that you are saving the model with model.save() or tf.keras.models.save_model(), NOT tf.saved_model.save(). To confirm, there should be a file named "keras_metadata.pb" in the SavedModel directory.

    RuntimeError Traceback (most recent call last) in () 34 }[model] 35 ---> 36 midi = app.transcribe(f"{uploaded_audio}.wav", model_path=model_path) 37 38 # Synthesize MIDI and play

    3 frames /usr/local/lib/python3.7/dist-packages/keras/saving/saved_model/load.py in _revive_layer_or_model_from_config(self, metadata, node_id) 536 'your class with @keras.utils.register_keras_serializable and ' 537 'include that file in your program, or pass your class in a ' --> 538 'keras.utils.CustomObjectScope that wraps this load call.') from e 539 else: 540 raise

    RuntimeError: Unable to restore object of class 'MultiHeadAttention' likely due to name conflict with built-in Keras class '<class 'keras.layers.multi_head_attention.MultiHeadAttention'>'. To override the built-in Keras definition of the object, decorate your class with @keras.utils.register_keras_serializable and include that file in your program, or pass your class in a keras.utils.CustomObjectScope that wraps this load call.

    This practically means that most of the model is broken, at least on my end. I'm only able to run the first two models. I'd really like to be able to use the other ones- any solutions?

    opened by mongrelite 7
  • make install fails

    make install fails

    I first started by running (inside my virtual environment that I used before to run omnizart):

    $ poetry install
    $ python -m pytest
    

    which results in errors as the checkpoint files are stored under ~/.local/.../site-packages/ as described in CONTRIBUTING.md.

    I then switched to start from scratch by deactivating my virtual environment and running:

    $ make install
    

    but this fails with:

    Installing the current project: omnizart (0.4.1)
    ./scripts/install.sh: line 109: omnizart: command not found
    Makefile:57: recipe for target 'install' failed
    make: *** [install] Error 127
    
    opened by hagenw 7
  • Installation issues on MacOS

    Installation issues on MacOS

    (This is a part of JOSS review https://github.com/openjournals/joss-reviews/issues/3391)

    Hi, I had three issues installing omnizart on macos using pip install omnizart (python3.9, miniconda).

    The first issue is coming from madmom which asks to install Cython manually. This is technically not the issue of omnizart, but it'd be nice if this is mentioned somewhere for beginners.

    The second issue is coming from vamp.

    Collecting vamp<2.0.0,>=1.1.0
      Using cached vamp-1.1.0.tar.gz (107 kB)
        ERROR: Command errored out with exit status 1:
         command: /Users/keunwoochoi/miniconda3/envs/omnizart/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/b_/qpqwldc90rd6kd6spwd9f_q80000gn/T/pip-install-bk7368ox/vamp_76483087bd584264b4ab165b4152fe3a/setup.py'"'"'; __file__='"'"'/private/var/folders/b_/qpqwldc90rd6kd6spwd9f_q80000gn/T/pip-install-bk7368ox/vamp_76483087bd584264b4ab165b4152fe3a/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/b_/qpqwldc90rd6kd6spwd9f_q80000gn/T/pip-pip-egg-info-d6aulwnk
             cwd: /private/var/folders/b_/qpqwldc90rd6kd6spwd9f_q80000gn/T/pip-install-bk7368ox/vamp_76483087bd584264b4ab165b4152fe3a/
        Complete output (5 lines):
        Traceback (most recent call last):
          File "<string>", line 1, in <module>
          File "/private/var/folders/b_/qpqwldc90rd6kd6spwd9f_q80000gn/T/pip-install-bk7368ox/vamp_76483087bd584264b4ab165b4152fe3a/setup.py", line 3, in <module>
            import numpy as np
        ModuleNotFoundError: No module named 'numpy'
        ----------------------------------------
    WARNING: Discarding https://files.pythonhosted.org/packages/66/65/a54958777fa667ef881ceec18dd0b423b2ba2c77543060b21aff0e1dbcb6/vamp-1.1.0.tar.gz#sha256=d40e0916e958e2806d37920f903c2518cc46959a4f21e020737b6a48f6e7e82d (from https://pypi.org/simple/vamp/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
    ERROR: Could not find a version that satisfies the requirement vamp<2.0.0,>=1.1.0 (from omnizart) (from versions: 1.0.0, 1.0.1, 1.0.2, 1.1.0)
    ERROR: No matching distribution found for vamp<2.0.0,>=1.1.0
    

    I could avoid this issue by manually installing numpy. This is probably, again, due to vamp not omnizart, but maybe this should be mentioned somewhere as well? Moreover, since numpy is used in omnizart directly (https://github.com/Music-and-Culture-Technology-Lab/omnizart/search?q=import+numpy), shouldn't the setup.py include numpy as a requirement? That would also solve the installation issue anyway so maybe not a bad idea.

    Finally, the third issue is about numba and llvmlite.

    (omnizart) keunwoochoi@KCs-qmul-mbp Downloads $ pip install numpy
    Collecting numpy
      Downloading numpy-1.21.0-cp39-cp39-macosx_10_9_x86_64.whl (16.9 MB)
         |████████████████████████████████| 16.9 MB 900 kB/s
    Installing collected packages: numpy
    Successfully installed numpy-1.21.0
    (omnizart) keunwoochoi@KCs-qmul-mbp Downloads $ pip install omnizart
    Collecting omnizart
      Using cached omnizart-0.1.0-py3-none-any.whl (3.5 MB)
    Collecting tensorflow<3.0.0,>=2.3.0
      Downloading tensorflow-2.5.0-cp39-cp39-macosx_10_11_x86_64.whl (195.7 MB)
         |████████████████████████████████| 195.7 MB 109 kB/s
    Collecting tqdm<5.0.0,>=4.49.0
      Using cached tqdm-4.61.1-py2.py3-none-any.whl (75 kB)
    Collecting pyfluidsynth<2.0.0,>=1.2.5
      Using cached pyFluidSynth-1.3.0-py3-none-any.whl (18 kB)
    Collecting madmom<0.17.0,>=0.16.1
      Using cached madmom-0.16.1.tar.gz (20.0 MB)
    Collecting jsonschema<4.0.0,>=3.2.0
      Using cached jsonschema-3.2.0-py2.py3-none-any.whl (56 kB)
    Collecting numba==0.48
      Downloading numba-0.48.0.tar.gz (2.0 MB)
         |████████████████████████████████| 2.0 MB 7.6 MB/s
    Collecting opencv-python<5.0.0,>=4.4.0
      Using cached opencv_python-4.5.2.54-cp39-cp39-macosx_10_15_x86_64.whl (43.7 MB)
    Collecting urllib3<2.0.0,>=1.25.11
      Using cached urllib3-1.26.6-py2.py3-none-any.whl (138 kB)
    Collecting pyyaml<6.0.0,>=5.3.1
      Downloading PyYAML-5.4.1-cp39-cp39-macosx_10_9_x86_64.whl (259 kB)
         |████████████████████████████████| 259 kB 4.1 MB/s
    Collecting click<8.0.0,>=7.1.2
      Using cached click-7.1.2-py2.py3-none-any.whl (82 kB)
    Collecting vamp<2.0.0,>=1.1.0
      Using cached vamp-1.1.0.tar.gz (107 kB)
    Collecting pretty_midi<0.3.0,>=0.2.9
      Using cached pretty_midi-0.2.9.tar.gz (5.6 MB)
    Collecting librosa<0.9.0,>=0.8.0
      Using cached librosa-0.8.1-py3-none-any.whl (203 kB)
    Collecting llvmlite<0.32.0,>=0.31.0dev0
      Downloading llvmlite-0.31.0.tar.gz (110 kB)
         |████████████████████████████████| 110 kB 5.7 MB/s
    Requirement already satisfied: numpy>=1.15 in /Users/keunwoochoi/miniconda3/envs/omnizart/lib/python3.9/site-packages (from numba==0.48->omnizart) (1.21.0)
    Requirement already satisfied: setuptools in /Users/keunwoochoi/miniconda3/envs/omnizart/lib/python3.9/site-packages (from numba==0.48->omnizart) (52.0.0.post20210125)
    Collecting pyrsistent>=0.14.0
      Using cached pyrsistent-0.17.3.tar.gz (106 kB)
    Collecting six>=1.11.0
      Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
    Collecting attrs>=17.4.0
      Downloading attrs-21.2.0-py2.py3-none-any.whl (53 kB)
         |████████████████████████████████| 53 kB 2.8 MB/s
    Collecting packaging>=20.0
      Downloading packaging-20.9-py2.py3-none-any.whl (40 kB)
         |████████████████████████████████| 40 kB 1.4 MB/s
    Collecting resampy>=0.2.2
      Using cached resampy-0.2.2.tar.gz (323 kB)
    Collecting decorator>=3.0.0
      Downloading decorator-5.0.9-py3-none-any.whl (8.9 kB)
    Collecting pooch>=1.0
      Using cached pooch-1.4.0-py3-none-any.whl (51 kB)
    Collecting joblib>=0.14
      Downloading joblib-1.0.1-py3-none-any.whl (303 kB)
         |████████████████████████████████| 303 kB 3.9 MB/s
    Collecting scikit-learn!=0.19.0,>=0.14.0
      Downloading scikit_learn-0.24.2-cp39-cp39-macosx_10_13_x86_64.whl (7.3 MB)
         |████████████████████████████████| 7.3 MB 6.6 MB/s
    Collecting soundfile>=0.10.2
      Using cached SoundFile-0.10.3.post1-py2.py3.cp26.cp27.cp32.cp33.cp34.cp35.cp36.pp27.pp32.pp33-none-macosx_10_5_x86_64.macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.whl (613 kB)
    Collecting scipy>=1.0.0
      Downloading scipy-1.7.0-cp39-cp39-macosx_10_9_x86_64.whl (32.1 MB)
         |████████████████████████████████| 32.1 MB 3.1 MB/s
    Collecting audioread>=2.0.0
      Downloading audioread-2.1.9.tar.gz (377 kB)
         |████████████████████████████████| 377 kB 4.1 MB/s
    Requirement already satisfied: cython>=0.25 in /Users/keunwoochoi/miniconda3/envs/omnizart/lib/python3.9/site-packages (from madmom<0.17.0,>=0.16.1->omnizart) (0.29.23)
    Collecting mido>=1.2.8
      Using cached mido-1.2.10-py2.py3-none-any.whl (51 kB)
    Collecting pyparsing>=2.0.2
      Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
    Collecting requests
      Using cached requests-2.25.1-py2.py3-none-any.whl (61 kB)
    Collecting appdirs
      Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
    Collecting threadpoolctl>=2.0.0
      Using cached threadpoolctl-2.1.0-py3-none-any.whl (12 kB)
    Collecting cffi>=1.0
      Downloading cffi-1.14.5-cp39-cp39-macosx_10_9_x86_64.whl (177 kB)
         |████████████████████████████████| 177 kB 3.8 MB/s
    Collecting pycparser
      Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
    Collecting protobuf>=3.9.2
      Downloading protobuf-3.17.3-cp39-cp39-macosx_10_9_x86_64.whl (1.0 MB)
         |████████████████████████████████| 1.0 MB 4.7 MB/s
    Collecting keras-preprocessing~=1.1.2
      Using cached Keras_Preprocessing-1.1.2-py2.py3-none-any.whl (42 kB)
    Collecting astunparse~=1.6.3
      Using cached astunparse-1.6.3-py2.py3-none-any.whl (12 kB)
    Collecting opt-einsum~=3.3.0
      Using cached opt_einsum-3.3.0-py3-none-any.whl (65 kB)
    Collecting six>=1.11.0
      Using cached six-1.15.0-py2.py3-none-any.whl (10 kB)
    Collecting typing-extensions~=3.7.4
      Using cached typing_extensions-3.7.4.3-py3-none-any.whl (22 kB)
    Collecting numpy>=1.15
      Downloading numpy-1.19.5-cp39-cp39-macosx_10_9_x86_64.whl (15.6 MB)
         |████████████████████████████████| 15.6 MB 2.2 MB/s
    Collecting tensorflow-estimator<2.6.0,>=2.5.0rc0
      Using cached tensorflow_estimator-2.5.0-py2.py3-none-any.whl (462 kB)
    Collecting tensorboard~=2.5
      Using cached tensorboard-2.5.0-py3-none-any.whl (6.0 MB)
    Collecting google-pasta~=0.2
      Using cached google_pasta-0.2.0-py3-none-any.whl (57 kB)
    Collecting grpcio~=1.34.0
      Downloading grpcio-1.34.1-cp39-cp39-macosx_10_10_x86_64.whl (3.7 MB)
         |████████████████████████████████| 3.7 MB 3.4 MB/s
    Collecting keras-nightly~=2.5.0.dev
      Using cached keras_nightly-2.5.0.dev2021032900-py2.py3-none-any.whl (1.2 MB)
    Collecting h5py~=3.1.0
      Downloading h5py-3.1.0-cp39-cp39-macosx_10_9_x86_64.whl (2.9 MB)
         |████████████████████████████████| 2.9 MB 6.0 MB/s
    Requirement already satisfied: wheel~=0.35 in /Users/keunwoochoi/miniconda3/envs/omnizart/lib/python3.9/site-packages (from tensorflow<3.0.0,>=2.3.0->omnizart) (0.36.2)
    Collecting wrapt~=1.12.1
      Using cached wrapt-1.12.1.tar.gz (27 kB)
    Collecting termcolor~=1.1.0
      Using cached termcolor-1.1.0.tar.gz (3.9 kB)
    Collecting flatbuffers~=1.12.0
      Using cached flatbuffers-1.12-py2.py3-none-any.whl (15 kB)
    Collecting absl-py~=0.10
      Downloading absl_py-0.13.0-py3-none-any.whl (132 kB)
         |████████████████████████████████| 132 kB 4.4 MB/s
    Collecting gast==0.4.0
      Using cached gast-0.4.0-py3-none-any.whl (9.8 kB)
    Collecting google-auth-oauthlib<0.5,>=0.4.1
      Using cached google_auth_oauthlib-0.4.4-py2.py3-none-any.whl (18 kB)
    Collecting google-auth<2,>=1.6.3
      Downloading google_auth-1.32.0-py2.py3-none-any.whl (147 kB)
         |████████████████████████████████| 147 kB 7.4 MB/s
    Collecting werkzeug>=0.11.15
      Using cached Werkzeug-2.0.1-py3-none-any.whl (288 kB)
    Collecting tensorboard-plugin-wit>=1.6.0
      Using cached tensorboard_plugin_wit-1.8.0-py3-none-any.whl (781 kB)
    Collecting markdown>=2.6.8
      Using cached Markdown-3.3.4-py3-none-any.whl (97 kB)
    Collecting tensorboard-data-server<0.7.0,>=0.6.0
      Using cached tensorboard_data_server-0.6.1-py3-none-macosx_10_9_x86_64.whl (3.5 MB)
    Collecting cachetools<5.0,>=2.0.0
      Using cached cachetools-4.2.2-py3-none-any.whl (11 kB)
    Collecting pyasn1-modules>=0.2.1
      Using cached pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
    Collecting rsa<5,>=3.1.4
      Using cached rsa-4.7.2-py3-none-any.whl (34 kB)
    Collecting requests-oauthlib>=0.7.0
      Using cached requests_oauthlib-1.3.0-py2.py3-none-any.whl (23 kB)
    Collecting pyasn1<0.5.0,>=0.4.6
      Using cached pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
    Collecting idna<3,>=2.5
      Using cached idna-2.10-py2.py3-none-any.whl (58 kB)
    Collecting chardet<5,>=3.0.2
      Using cached chardet-4.0.0-py2.py3-none-any.whl (178 kB)
    Requirement already satisfied: certifi>=2017.4.17 in /Users/keunwoochoi/miniconda3/envs/omnizart/lib/python3.9/site-packages (from requests->pooch>=1.0->librosa<0.9.0,>=0.8.0->omnizart) (2021.5.30)
    Collecting oauthlib>=3.0.0
      Using cached oauthlib-3.1.1-py2.py3-none-any.whl (146 kB)
    Building wheels for collected packages: numba, audioread, llvmlite, madmom, pretty-midi, pyrsistent, resampy, termcolor, vamp, wrapt
      Building wheel for numba (setup.py) ... done
      Created wheel for numba: filename=numba-0.48.0-cp39-cp39-macosx_10_15_x86_64.whl size=2023786 sha256=2f2d94926e7a7fad8b499957b533d5643c8b6fc25d48a8663839ca8d5bdb4073
      Stored in directory: /Users/keunwoochoi/Library/Caches/pip/wheels/67/f4/34/43855bda1e661dc1afedcb295d313a510239d901336fd636c3
      Building wheel for audioread (setup.py) ... done
      Created wheel for audioread: filename=audioread-2.1.9-py3-none-any.whl size=23141 sha256=e05ddce16154efe95cce8eff92ada4e631b6fd68b20562490b011eb73e0cc5a8
      Stored in directory: /Users/keunwoochoi/Library/Caches/pip/wheels/a2/a3/bd/ec1568ce7515115a11ab686d509ad302124c782af065de47ee
      Building wheel for llvmlite (setup.py) ... error
      ERROR: Command errored out with exit status 1:
       command: /Users/keunwoochoi/miniconda3/envs/omnizart/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/b_/qpqwldc90rd6kd6spwd9f_q80000gn/T/pip-install-zm0_lgqc/llvmlite_3f00322f7ef34eaea1d20083d31c6732/setup.py'"'"'; __file__='"'"'/private/var/folders/b_/qpqwldc90rd6kd6spwd9f_q80000gn/T/pip-install-zm0_lgqc/llvmlite_3f00322f7ef34eaea1d20083d31c6732/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/b_/qpqwldc90rd6kd6spwd9f_q80000gn/T/pip-wheel-iow1oe63
           cwd: /private/var/folders/b_/qpqwldc90rd6kd6spwd9f_q80000gn/T/pip-install-zm0_lgqc/llvmlite_3f00322f7ef34eaea1d20083d31c6732/
      Complete output (26 lines):
      running bdist_wheel
      /Users/keunwoochoi/miniconda3/envs/omnizart/bin/python /private/var/folders/b_/qpqwldc90rd6kd6spwd9f_q80000gn/T/pip-install-zm0_lgqc/llvmlite_3f00322f7ef34eaea1d20083d31c6732/ffi/build.py
      LLVM version... Traceback (most recent call last):
        File "/private/var/folders/b_/qpqwldc90rd6kd6spwd9f_q80000gn/T/pip-install-zm0_lgqc/llvmlite_3f00322f7ef34eaea1d20083d31c6732/ffi/build.py", line 105, in main_posix
          out = subprocess.check_output([llvm_config, '--version'])
        File "/Users/keunwoochoi/miniconda3/envs/omnizart/lib/python3.9/subprocess.py", line 424, in check_output
          return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
        File "/Users/keunwoochoi/miniconda3/envs/omnizart/lib/python3.9/subprocess.py", line 505, in run
          with Popen(*popenargs, **kwargs) as process:
        File "/Users/keunwoochoi/miniconda3/envs/omnizart/lib/python3.9/subprocess.py", line 951, in __init__
          self._execute_child(args, executable, preexec_fn, close_fds,
        File "/Users/keunwoochoi/miniconda3/envs/omnizart/lib/python3.9/subprocess.py", line 1821, in _execute_child
          raise child_exception_type(errno_num, err_msg, err_filename)
      FileNotFoundError: [Errno 2] No such file or directory: 'llvm-config'
    
      During handling of the above exception, another exception occurred:
    
      Traceback (most recent call last):
        File "/private/var/folders/b_/qpqwldc90rd6kd6spwd9f_q80000gn/T/pip-install-zm0_lgqc/llvmlite_3f00322f7ef34eaea1d20083d31c6732/ffi/build.py", line 168, in <module>
          main()
        File "/private/var/folders/b_/qpqwldc90rd6kd6spwd9f_q80000gn/T/pip-install-zm0_lgqc/llvmlite_3f00322f7ef34eaea1d20083d31c6732/ffi/build.py", line 162, in main
          main_posix('osx', '.dylib')
        File "/private/var/folders/b_/qpqwldc90rd6kd6spwd9f_q80000gn/T/pip-install-zm0_lgqc/llvmlite_3f00322f7ef34eaea1d20083d31c6732/ffi/build.py", line 107, in main_posix
          raise RuntimeError("%s failed executing, please point LLVM_CONFIG "
      RuntimeError: llvm-config failed executing, please point LLVM_CONFIG to the path for llvm-config
      error: command '/Users/keunwoochoi/miniconda3/envs/omnizart/bin/python' failed with exit code 1
      ----------------------------------------
      ERROR: Failed building wheel for llvmlite
      Running setup.py clean for llvmlite
      Building wheel for madmom (setup.py) ... done
      Created wheel for madmom: filename=madmom-0.16.1-cp39-cp39-macosx_10_9_x86_64.whl size=20034572 sha256=9c8033540055c2adbd97b32cc4b9d2162353c87c42c70833e96bf910fc44e7bf
      Stored in directory: /Users/keunwoochoi/Library/Caches/pip/wheels/36/ef/d2/83e70102b6dd138c8caa880441130bed9618ce53bd8323e339
      Building wheel for pretty-midi (setup.py) ... done
      Created wheel for pretty-midi: filename=pretty_midi-0.2.9-py3-none-any.whl size=5591952 sha256=8c057d76530e28dc5a73d08425224ab7fe4031ec2c1ad6cc6a9f5c30ae9286b7
      Stored in directory: /Users/keunwoochoi/Library/Caches/pip/wheels/f0/3e/3d/126d7680aae66f3baed077a43a77b91f86e1b4a887fd703cc6
      Building wheel for pyrsistent (setup.py) ... done
      Created wheel for pyrsistent: filename=pyrsistent-0.17.3-cp39-cp39-macosx_10_9_x86_64.whl size=66664 sha256=c29100d99826858bc823131f85e019a5c6059beba6c5977f9d415b7fd47b246f
      Stored in directory: /Users/keunwoochoi/Library/Caches/pip/wheels/00/cc/12/e712d3979a4aeee423b34a832d97c803e1a67659060315a7e0
      Building wheel for resampy (setup.py) ... done
      Created wheel for resampy: filename=resampy-0.2.2-py3-none-any.whl size=320718 sha256=30f1ac0e52485a15054e353b0e26b6e3f7c7d23d0f9df09db0ee7c8c3ed413f6
      Stored in directory: /Users/keunwoochoi/Library/Caches/pip/wheels/86/2c/7d/46a32a246b0e5939cea2c5ec1492164073e0c5d16d666ae2cd
      Building wheel for termcolor (setup.py) ... done
      Created wheel for termcolor: filename=termcolor-1.1.0-py3-none-any.whl size=4829 sha256=75f7097a55c2ff3dbd7a667e314e49ead82b30fe639dcba46bbd05261a854d39
      Stored in directory: /Users/keunwoochoi/Library/Caches/pip/wheels/b6/0d/90/0d1bbd99855f99cb2f6c2e5ff96f8023fad8ec367695f7d72d
      Building wheel for vamp (setup.py) ... done
      Created wheel for vamp: filename=vamp-1.1.0-cp39-cp39-macosx_10_9_x86_64.whl size=121246 sha256=de70095b604a0458d0acee1ac3e47eeeddc509b8d3568e38c13cc4e329e22149
      Stored in directory: /Users/keunwoochoi/Library/Caches/pip/wheels/b4/05/84/e80fa019e912618654dbfe89cbc2614701dcd7fbbf744aa012
      Building wheel for wrapt (setup.py) ... done
      Created wheel for wrapt: filename=wrapt-1.12.1-cp39-cp39-macosx_10_9_x86_64.whl size=30854 sha256=1580e6613eb95ce043f8580850b2893590216f18ee261fa3c2e9cbbda072ffe2
      Stored in directory: /Users/keunwoochoi/Library/Caches/pip/wheels/98/23/68/efe259aaca055e93b08e74fbe512819c69a2155c11ba3c0f10
    Successfully built numba audioread madmom pretty-midi pyrsistent resampy termcolor vamp wrapt
    Failed to build llvmlite
    Installing collected packages: urllib3, pyasn1, idna, chardet, six, rsa, requests, pyasn1-modules, oauthlib, cachetools, requests-oauthlib, pyparsing, pycparser, numpy, llvmlite, google-auth, werkzeug, threadpoolctl, tensorboard-plugin-wit, tensorboard-data-server, scipy, protobuf, packaging, numba, markdown, joblib, grpcio, google-auth-oauthlib, cffi, appdirs, absl-py, wrapt, typing-extensions, termcolor, tensorflow-estimator, tensorboard, soundfile, scikit-learn, resampy, pyrsistent, pooch, opt-einsum, mido, keras-preprocessing, keras-nightly, h5py, google-pasta, gast, flatbuffers, decorator, audioread, attrs, astunparse, vamp, tqdm, tensorflow, pyyaml, pyfluidsynth, pretty-midi, opencv-python, madmom, librosa, jsonschema, click, omnizart
      Attempting uninstall: numpy
        Found existing installation: numpy 1.21.0
        Uninstalling numpy-1.21.0:
          Successfully uninstalled numpy-1.21.0
        Running setup.py install for llvmlite ... error
        ERROR: Command errored out with exit status 1:
         command: /Users/keunwoochoi/miniconda3/envs/omnizart/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/b_/qpqwldc90rd6kd6spwd9f_q80000gn/T/pip-install-zm0_lgqc/llvmlite_3f00322f7ef34eaea1d20083d31c6732/setup.py'"'"'; __file__='"'"'/private/var/folders/b_/qpqwldc90rd6kd6spwd9f_q80000gn/T/pip-install-zm0_lgqc/llvmlite_3f00322f7ef34eaea1d20083d31c6732/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/b_/qpqwldc90rd6kd6spwd9f_q80000gn/T/pip-record-xr4wnbyg/install-record.txt --single-version-externally-managed --compile --install-headers /Users/keunwoochoi/miniconda3/envs/omnizart/include/python3.9/llvmlite
             cwd: /private/var/folders/b_/qpqwldc90rd6kd6spwd9f_q80000gn/T/pip-install-zm0_lgqc/llvmlite_3f00322f7ef34eaea1d20083d31c6732/
        Complete output (29 lines):
        running install
        running build
        got version from file /private/var/folders/b_/qpqwldc90rd6kd6spwd9f_q80000gn/T/pip-install-zm0_lgqc/llvmlite_3f00322f7ef34eaea1d20083d31c6732/llvmlite/_version.py {'version': '0.31.0', 'full': 'fe7d985f6421d87f613bd414479d29d912771562'}
        running build_ext
        /Users/keunwoochoi/miniconda3/envs/omnizart/bin/python /private/var/folders/b_/qpqwldc90rd6kd6spwd9f_q80000gn/T/pip-install-zm0_lgqc/llvmlite_3f00322f7ef34eaea1d20083d31c6732/ffi/build.py
        LLVM version... Traceback (most recent call last):
          File "/private/var/folders/b_/qpqwldc90rd6kd6spwd9f_q80000gn/T/pip-install-zm0_lgqc/llvmlite_3f00322f7ef34eaea1d20083d31c6732/ffi/build.py", line 105, in main_posix
            out = subprocess.check_output([llvm_config, '--version'])
          File "/Users/keunwoochoi/miniconda3/envs/omnizart/lib/python3.9/subprocess.py", line 424, in check_output
            return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
          File "/Users/keunwoochoi/miniconda3/envs/omnizart/lib/python3.9/subprocess.py", line 505, in run
            with Popen(*popenargs, **kwargs) as process:
          File "/Users/keunwoochoi/miniconda3/envs/omnizart/lib/python3.9/subprocess.py", line 951, in __init__
            self._execute_child(args, executable, preexec_fn, close_fds,
          File "/Users/keunwoochoi/miniconda3/envs/omnizart/lib/python3.9/subprocess.py", line 1821, in _execute_child
            raise child_exception_type(errno_num, err_msg, err_filename)
        FileNotFoundError: [Errno 2] No such file or directory: 'llvm-config'
    
        During handling of the above exception, another exception occurred:
    
        Traceback (most recent call last):
          File "/private/var/folders/b_/qpqwldc90rd6kd6spwd9f_q80000gn/T/pip-install-zm0_lgqc/llvmlite_3f00322f7ef34eaea1d20083d31c6732/ffi/build.py", line 168, in <module>
            main()
          File "/private/var/folders/b_/qpqwldc90rd6kd6spwd9f_q80000gn/T/pip-install-zm0_lgqc/llvmlite_3f00322f7ef34eaea1d20083d31c6732/ffi/build.py", line 162, in main
            main_posix('osx', '.dylib')
          File "/private/var/folders/b_/qpqwldc90rd6kd6spwd9f_q80000gn/T/pip-install-zm0_lgqc/llvmlite_3f00322f7ef34eaea1d20083d31c6732/ffi/build.py", line 107, in main_posix
            raise RuntimeError("%s failed executing, please point LLVM_CONFIG "
        RuntimeError: llvm-config failed executing, please point LLVM_CONFIG to the path for llvm-config
        error: command '/Users/keunwoochoi/miniconda3/envs/omnizart/bin/python' failed with exit code 1
        ----------------------------------------
    ERROR: Command errored out with exit status 1: /Users/keunwoochoi/miniconda3/envs/omnizart/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/b_/qpqwldc90rd6kd6spwd9f_q80000gn/T/pip-install-zm0_lgqc/llvmlite_3f00322f7ef34eaea1d20083d31c6732/setup.py'"'"'; __file__='"'"'/private/var/folders/b_/qpqwldc90rd6kd6spwd9f_q80000gn/T/pip-install-zm0_lgqc/llvmlite_3f00322f7ef34eaea1d20083d31c6732/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/b_/qpqwldc90rd6kd6spwd9f_q80000gn/T/pip-record-xr4wnbyg/install-record.txt --single-version-externally-managed --compile --install-headers /Users/keunwoochoi/miniconda3/envs/omnizart/include/python3.9/llvmlite Check the logs for full command output.
    (omnizart) keunwoochoi@KCs-qmul-mbp Downloads $
    

    It's actually a known issue (https://github.com/librosa/librosa/issues/1270) with Python 3.9 and would be difficult to fix here. Instead, I'd suggest specifying the supported python versions.

    opened by keunwoochoi 6
  • Support Python 3.9 (and maybe 3.10?)

    Support Python 3.9 (and maybe 3.10?)

    As a follow-up to #69, it would be nice to have support for Python 3.9+, which is forbidden in pyproject.toml:

    https://github.com/Music-and-Culture-Technology-Lab/omnizart/blob/86bd36353e3eb410b5db3c18ef05f31dabfb0c7f/pyproject.toml#L26

    Although there might be a reason why Python 3.9 is not currently supported. On the other hand, it seems to be very much used: a quick search at the Ubuntu packages directory shows that Python 3.9 is the default version in Ubuntu 21.10, and Python 3.10 is the default one in Ubuntu 22.04 (recently launched).

    (Thanks for the amazing project by the way!)

    opened by schneiderfelipe 5
  • My comments on `paper.md`

    My comments on `paper.md`

    Hi, I'm one of the JOSS reviewers of this repo. Before checking the software side of the work, I'd like to leave my comments on the paper here. I read this version (https://github.com/openjournals/joss-reviews/issues/3218#issuecomment-855172230) of the paper. I noticed it's a bit updated but not the part I'd like to mention about.


    L11-14: It's a bit long, making the sentence slightly vague.

    L25-26: What do you mean exactly by "multifaceted nature"? This can be clarified.

    L29: "previous solution" -> "previous solutions". Also, maybe some citations of the solutions?

    L30-31: I think this sentences can be re-written a bit to clarify. The current one confused me a bit.

    L34-35: I found this sentence out of context a little. Wouldn't it make more sense to mention it in the first paragraph of "Statement of need"?

    L36-37: -> "..original papers. The models can.."

    L56-58: Really? But how much instrument-agnostic is it?

    L61-62: "which predicts percussive events from a given input audio." → probably no need to mention? This is assumed in the definition of drum transcription.

    L69-70: It sounds like the pitch extractor not a "module" while note segmentation is, and that confuses me.

    L76 : "The training includes.." → "The training data includes.."

    L80: "function" → probably, keep using "model" for consistency?

    L109: remove "also".


    Best, Keunwoo

    opened by keunwoochoi 5
  • Music-Piano in colab runs into shape mismatch error

    Music-Piano in colab runs into shape mismatch error

    Using the colab notebook linked in https://music-and-culture-technology-lab.github.io/omnizart-doc/ (https://bit.ly/omnizart-colab) results in a value error (attached) but only when the 'Music-Piano' mode is selected regardless of if uploaded via MP3 or Youtube link image image

    opened by Alx-AI 5
  • Vocal Transcription not working in the colab notebook

    Vocal Transcription not working in the colab notebook

    Steps to reproduce

    1. Open notebook
    2. upload an mp3 file
    3. Choose mode = vocal
    4. Transcription fails with the error below
    image

    There are also some errors in the environment setup section of the notebook. I will be happy to help if any further details/tests are needed

    opened by vumaasha 5
  • Colab OpError: /content/omnizart/omnizart/checkpoints/vocal/vocal_semi/variables/variables.data-00000-of-00001; No such file or directory

    Colab OpError: /content/omnizart/omnizart/checkpoints/vocal/vocal_semi/variables/variables.data-00000-of-00001; No such file or directory

    Output and stack trace:

    2022-11-24 14:03:24 Separating vocal track from the audio...
    INFO:Vocal Transcription:Separating vocal track from the audio...
    2022-11-24 14:03:56 Loading model...
    INFO:Vocal Transcription:Loading model...
    2022-11-24 14:03:56 Using built-in model /content/omnizart/omnizart/checkpoints/vocal/vocal_semi for transcription.
    INFO:Base Class:Using built-in model /content/omnizart/omnizart/checkpoints/vocal/vocal_semi for transcription.
    WARNING:tensorflow:SavedModel saved prior to TF 2.5 detected when loading Keras model. Please ensure that you are saving the model with model.save() or tf.keras.models.save_model(), *NOT* tf.saved_model.save(). To confirm, there should be a file named "keras_metadata.pb" in the SavedModel directory.
    ---------------------------------------------------------------------------
    RuntimeError                              Traceback (most recent call last)
    [/usr/local/lib/python3.7/dist-packages/tensorflow/python/training/py_checkpoint_reader.py](https://localhost:8080/#) in get_tensor(self, tensor_str)
         69     return CheckpointReader.CheckpointReader_GetTensor(
    ---> 70         self, compat.as_bytes(tensor_str))
         71   # TODO(b/143319754): Remove the RuntimeError casting logic once we resolve the
    
    RuntimeError: /content/omnizart/omnizart/checkpoints/vocal/vocal_semi/variables/variables.data-00000-of-00001; No such file or directory
    
    During handling of the above exception, another exception occurred:
    
    OpError                                   Traceback (most recent call last)
    11 frames
    [<ipython-input-3-34236953df67>](https://localhost:8080/#) in <module>
         34 }[model]
         35 
    ---> 36 midi = app.transcribe(f"{uploaded_audio}.wav", model_path=model_path)
         37 
         38 # Synthesize MIDI and play
    
    [/content/omnizart/omnizart/vocal/app.py](https://localhost:8080/#) in transcribe(self, input_audio, model_path, output)
         98 
         99         logger.info("Loading model...")
    --> 100         model, model_settings = self._load_model(model_path)
        101 
        102         logger.info("Extracting feature...")
    
    [/content/omnizart/omnizart/base.py](https://localhost:8080/#) in _load_model(self, model_path, custom_objects)
         62 
         63         try:
    ---> 64             model = tf.keras.models.load_model(model_path, custom_objects=custom_objects)
         65         except (OSError):
         66             raise FileNotFoundError(
    
    [/usr/local/lib/python3.7/dist-packages/tensorflow/python/keras/saving/save.py](https://localhost:8080/#) in load_model(filepath, custom_objects, compile, options)
        204         filepath = path_to_string(filepath)
        205         if isinstance(filepath, str):
    --> 206           return saved_model_load.load(filepath, compile, options)
        207 
        208   raise IOError(
    
    [/usr/local/lib/python3.7/dist-packages/tensorflow/python/keras/saving/saved_model/load.py](https://localhost:8080/#) in load(path, compile, options)
        150   for node_id, loaded_node in keras_loader.loaded_nodes.items():
        151     nodes_to_load[keras_loader.get_path(node_id)] = loaded_node
    --> 152   loaded = tf_load.load_partial(path, nodes_to_load, options=options)
        153 
        154   # Finalize the loaded layers and remove the extra tracked dependencies.
    
    [/usr/local/lib/python3.7/dist-packages/tensorflow/python/saved_model/load.py](https://localhost:8080/#) in load_partial(export_dir, filters, tags, options)
        773     A dictionary mapping node paths from the filter to loaded objects.
        774   """
    --> 775   return load_internal(export_dir, tags, options, filters=filters)
        776 
        777 
    
    [/usr/local/lib/python3.7/dist-packages/tensorflow/python/saved_model/load.py](https://localhost:8080/#) in load_internal(export_dir, tags, options, loader_cls, filters)
        904       try:
        905         loader = loader_cls(object_graph_proto, saved_model_proto, export_dir,
    --> 906                             ckpt_options, filters)
        907       except errors.NotFoundError as err:
        908         raise FileNotFoundError(
    
    [/usr/local/lib/python3.7/dist-packages/tensorflow/python/saved_model/load.py](https://localhost:8080/#) in __init__(self, object_graph_proto, saved_model_proto, export_dir, ckpt_options, filters)
        161 
        162     self._load_all()
    --> 163     self._restore_checkpoint()
        164 
        165     for node in self._nodes:
    
    [/usr/local/lib/python3.7/dist-packages/tensorflow/python/saved_model/load.py](https://localhost:8080/#) in _restore_checkpoint(self)
        487                                   self._checkpoint_options).expect_partial()
        488     else:
    --> 489       load_status = saver.restore(variables_path, self._checkpoint_options)
        490     load_status.assert_existing_objects_matched()
        491     checkpoint = load_status._checkpoint
    
    [/usr/local/lib/python3.7/dist-packages/tensorflow/python/training/tracking/util.py](https://localhost:8080/#) in restore(self, save_path, options)
       1299       dtype_map = reader.get_variable_to_dtype_map()
       1300     try:
    -> 1301       object_graph_string = reader.get_tensor(base.OBJECT_GRAPH_PROTO_KEY)
       1302     except errors_impl.NotFoundError:
       1303       # The object graph proto does not exist in this checkpoint. Try the
    
    [/usr/local/lib/python3.7/dist-packages/tensorflow/python/training/py_checkpoint_reader.py](https://localhost:8080/#) in get_tensor(self, tensor_str)
         72   # issue with throwing python exceptions from C++.
         73   except RuntimeError as e:
    ---> 74     error_translator(e)
         75 
         76 
    
    [/usr/local/lib/python3.7/dist-packages/tensorflow/python/training/py_checkpoint_reader.py](https://localhost:8080/#) in error_translator(e)
         46     raise errors_impl.InternalError(None, None, error_message)
         47   else:
    ---> 48     raise errors_impl.OpError(None, None, error_message, errors_impl.UNKNOWN)
         49 
         50 
    
    OpError: /content/omnizart/omnizart/checkpoints/vocal/vocal_semi/variables/variables.data-00000-of-00001; No such file or directory
    
    opened by R-N 4
  • JOSS editorial review: bibliography

    JOSS editorial review: bibliography

    I found inconsistencies in the bibliography when it comes e.g. Proceedings of ISMIR. I suggest to have all bib entries use:

    booktitle = {Proceedings of the International Society for Music Information Retrieval Conference ({ISMIR})}
    

    https://github.com/openjournals/joss-reviews/issues/3391

    opened by faroit 4
  • Colab: ValueError: rate must be specified when data is a numpy array or list of audio samples.

    Colab: ValueError: rate must be specified when data is a numpy array or list of audio samples.

    When Using Google Colab, I get "ValueError: rate must be specified when data is a numpy array or list of audio samples." I tried with multiple input audio files and did the Environment Setup. I am using the music-assemble mode.

    opened by GameParrot 2
  • can't  install with conda: ResolvePackageNotFound

    can't install with conda: ResolvePackageNotFound

    i did

    git clone https://github.com/Music-and-Culture-Technology-Lab/omnizart
    cd omnizart
    

    then

    (audio39) C:\Users\banana\omnizart>conda env create -f environment.yml                                     
    Collecting package metadata (repodata.json): done
    Solving environment: failed
    
    ResolvePackageNotFound:
      - markupsafe==2.0.1=py36h27cfd23_0
      - libtiff==4.3.0=h6f004c6_2
      - libvpx==1.11.0=h9c3ff4c_3
      - ncurses==6.3=h9c3ff4c_0
      - llvmlite==0.36.0=py36h05121d2_0
      - numba==0.53.1=py36h1328434_1
      - lame==3.100=h7f98852_1001
      - libpciaccess==0.16=h516909a_0
      - libcurl==7.81.0=h2574ce0_0
      - libiconv==1.16=h516909a_0
      - krb5==1.19.2=hcc1bbae_3
      - bzip2==1.0.8=h7f98852_4
      - tk==8.6.11=h27826a3_1
      - ca-certificates==2021.10.26=h06a4308_2
      - libopenblas==0.3.18=pthreads_h8fe5266_0
      - libllvm10==10.0.1=he513fc3_3
      - cython==0.29.24=py36hc4f0c31_0
      - scipy==1.5.3=py36h81d768a_1
      - libprotobuf==3.18.0=h780b84a_1
      - ld_impl_linux-64==2.36.1=hea4e1c9_2
      - libgcc-ng==11.2.0=h1d223b6_12
      - pyyaml==5.4.1=py36h8f6f2f9_1
      - xorg-kbproto==1.0.7=h7f98852_1002
      - libdeflate==1.8=h7f98852_0
      - gettext==0.19.8.1=h73d1719_1008
      - libssh2==1.10.0=ha56f1ee_2
      - icu==69.1=h9c3ff4c_0
      - pyrsistent==0.17.3=py36h8f6f2f9_2
      - libgfortran5==11.2.0=h5c6108e_12
      - xz==5.2.5=h516909a_1
      - cffi==1.14.6=py36hd8eec40_1
      - libcblas==3.9.0=13_linux64_openblas
      - libdrm==2.4.109=h7f98852_0
      - zstd==1.5.2=ha95c52a_0
      - typed-ast==1.4.3=py36h8f6f2f9_0
      - lcms2==2.12=hddcbb42_0
      - setuptools==58.0.4=py36h5fab9bb_2
      - kiwisolver==1.3.1=py36h605e78d_1
      - pillow==8.3.2=py36h676a545_0
      - tornado==6.1=py36h8f6f2f9_1
      - multidict==5.2.0=py36h8f6f2f9_0
      - xorg-xextproto==7.3.0=h7f98852_1002
      - svt-av1==0.9.0=h9c3ff4c_0
      - scikit-learn==0.24.2=py36hc89565f_1
      - future==0.18.2=py36h5fab9bb_3
      - yaml==0.2.5=h7f98852_2
      - yarl==1.6.3=py36h8f6f2f9_2
      - chardet==4.0.0=py36h5fab9bb_1
      - xorg-fixesproto==5.0=h7f98852_1002
      - libogg==1.3.4=h7f98852_1
      - libedit==3.1.20191231=he28a2e2_2
      - matplotlib-base==3.3.4=py36hd391965_0
      - hdf5==1.10.6=nompi_h6a2412b_1114
      - libpng==1.6.37=h21135ba_2
      - nettle==3.6=he412f7d_0
      - certifi==2021.5.30=py36h5fab9bb_0
      - libgomp==11.2.0=h1d223b6_12
      - sqlite==3.37.0=h9cd32fc_0
      - libva==2.13.0=h7f98852_2
      - libblas==3.9.0=13_linux64_openblas
      - gnutls==3.6.13=h85f3911_1
      - openjpeg==2.4.0=hb52868f_1
      - xorg-libxfixes==5.0.3=h7f98852_1004
      - lazy-object-proxy==1.4.3=py36h8c4c3a4_2
      - libxcb==1.13=h7f98852_1004
      - freetype==2.10.4=h0708190_1
      - libxml2==2.9.12=h885dcf4_1
      - _libgcc_mutex==0.1=conda_forge
      - xorg-libx11==1.7.2=h7f98852_0
      - libwebp-base==1.2.2=h7f98852_1
      - immutables==0.16=py36h8f6f2f9_0
      - xorg-libxau==1.0.9=h7f98852_0
      - gmp==6.2.1=h58526e2_0
      - libnsl==2.0.0=h7f98852_0
      - aom==3.2.0=h9c3ff4c_2
      - libgfortran-ng==11.2.0=h69a702a_12
      - jpeg==9e=h7f98852_0
      - brotlipy==0.7.0=py36h8f6f2f9_1001
      - anyio==3.3.2=py36h5fab9bb_0
      - audioread==2.1.9=py36h5fab9bb_0
      - cryptography==35.0.0=py36hb60f036_0
      - libzlib==1.2.11=h36c2ea0_1013
      - libsndfile==1.0.31=h9c3ff4c_1
      - python==3.6.15=hb7a2778_0_cpython
      - lerc==3.0=h9c3ff4c_0
      - numpy==1.19.5=py36hfc0c790_2
      - openssl==1.1.1m=h7f8727e_0
      - x264==1!161.3030=h7f98852_1
      - libnghttp2==1.46.0=h812cca2_0
      - readline==8.1=h46c0cb4_0
      - x265==3.5=h4bd325d_1
      - xorg-libxdmcp==1.1.3=h7f98852_0
      - pthread-stubs==0.4=h36c2ea0_1001
      - _openmp_mutex==4.5=1_gnu
      - sniffio==1.2.0=py36h5fab9bb_1
      - openh264==2.1.1=h780b84a_0
      - libvorbis==1.3.7=h9c3ff4c_0
      - lz4-c==1.9.3=h9c3ff4c_1
      - libffi==3.4.2=h7f98852_5
      - liblapack==3.9.0=13_linux64_openblas
      - libev==4.33=h516909a_1
      - libflac==1.3.3=h9c3ff4c_1
      - xorg-libxext==1.3.4=h7f98852_1
      - tensorboard-data-server==0.6.0=py36hc39840e_0
      - c-ares==1.18.1=h7f98852_0
      - aiohttp==3.7.4.post0=py36h8f6f2f9_0
      - jbig==2.1=h7f98852_2003
      - zlib==1.2.11=h36c2ea0_1013
      - h5py==3.1.0=nompi_py36hc1bc4f5_100
      - libopus==1.3.1=h7f98852_1
      - libstdcxx-ng==11.2.0=he4da1e4_12
      - ffmpeg==4.4.1=h6987444_0
      - xorg-xproto==7.0.31=h7f98852_1007
      - pysocks==1.7.1=py36h5fab9bb_3
    
    
    (audio39) C:\Users\banana\omnizart>conda activate omnizart
    
    EnvironmentNameNotFound: Could not find conda environment: omnizart
    You can list all discoverable environments with `conda info --envs`.
    
    opened by stunlocked1 0
  • Installed on Linux but unable to run

    Installed on Linux but unable to run

    `┌──(mohammedmehditber㉿mmt)-[~]

    └─$ python3.8 -m omnizart
    /usr/local/bin/python3.8: No module named omnizart.main; 'omnizart' is a package and cannot be directly executed ` └─$ omnizart (Doesn't work also)

    opened by MohammedMehdiTBER 2
  • Unable to install omnizart in linux and windows

    Unable to install omnizart in linux and windows

    Every time, It shows ms those errors when trying to install omnizart using pip (python3.9) `Building wheels for collected packages: numba, madmom, pretty_midi, vamp, audioread, llvmlite, resampy Building wheel for numba (setup.py) ... error error: subprocess-exited-with-error

    × python setup.py bdist_wheel did not run successfully. │ exit code: 1 ................... (Delected some logs).................. ild/lib.linux-x86_64-3.10/numba/cuda/tests/cudadrv/data running build_ext building 'numba._dynfunc' extension Warning: Can't read registry to find the necessary compiler setting Make sure that Python modules winreg, win32api or win32con are installed. C compiler: x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC

      creating build/temp.linux-x86_64-3.10
      creating build/temp.linux-x86_64-3.10/numba
      compile options: '-I/usr/include/python3.10 -c'
      extra options: '-g'
      x86_64-linux-gnu-gcc: numba/_dynfuncmod.c
      x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.10/numba/_dynfuncmod.o -o build/lib.linux-x86_64-3.10/numba/_dynfunc.cpython-310-x86_64-linux-gnu.so
      building 'numba._dispatcher' extension
      C compiler: x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
      
      creating build/temp.linux-x86_64-3.10/numba/typeconv
      compile options: '-I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.10 -c'
      x86_64-linux-gnu-gcc: numba/_dispatcher.cx86_64-linux-gnu-gcc: numba/_dispatcherimpl.cpp
      
      x86_64-linux-gnu-gcc: numba/_hashtable.cx86_64-linux-gnu-gcc: numba/_typeof.c
      
      numba/_dispatcher.c: In function ‘call_trace’:
      numba/_dispatcher.c:26:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘use_tracing’; did you mean ‘tracing’?
         26 |     tstate->use_tracing = 0;
            |             ^~~~~~~~~~~
            |             tracing
      numba/_dispatcher.c:28:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘use_tracing’; did you mean ‘tracing’?
         28 |     tstate->use_tracing = ((tstate->c_tracefunc != NULL)
            |             ^~~~~~~~~~~
            |             tracing
      numba/_dispatcher.c: In function ‘call_cfunc’:
      numba/_dispatcher.c:301:17: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘use_tracing’; did you mean ‘tracing’?
        301 |     if (tstate->use_tracing && tstate->c_profilefunc)
            |                 ^~~~~~~~~~~
            |                 tracing
      numba/_dispatcher.c: In function ‘Dispatcher_call’:
      numba/_dispatcher.c:507:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘use_tracing’; did you mean ‘tracing’?
        507 |     if (ts->use_tracing && ts->c_profilefunc)
            |             ^~~~~~~~~~~
            |             tracing
      numba/_dispatcher.c: In function ‘call_cfunc’:
      numba/_dispatcher.c:349:1: warning: control reaches end of non-void function [-Wreturn-type]
        349 | }
            | ^
      x86_64-linux-gnu-gcc: numba/typeconv/typeconv.cpp
      error: Command "x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.10 -c numba/_dispatcher.c -o build/temp.linux-x86_64-3.10/numba/_dispatcher.o" failed with exit status 1
      [end of output]
    

    note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for numba Running setup.py clean for numba Building wheel for madmom (setup.py) ... done Created wheel for madmom: filename=madmom-0.16.1-cp310-cp310-linux_x86_64.whl size=21272880 sha256=a608f657428c6fb0f34d4a2ff9c40298ef5da49da8230a4f6bcfb8a7362995a0 Stored in directory: /root/.cache/pip/wheels/87/18/20/105f9248e5f504f5ab190338516558cacaf6d5d7fadd5e7947 Building wheel for pretty_midi (setup.py) ... done Created wheel for pretty_midi: filename=pretty_midi-0.2.9-py3-none-any.whl size=5591954 sha256=481a0857293048ec4b327b87ea5cf8da6cc2d3ae33d00f81d21bc471b140aff5 Stored in directory: /root/.cache/pip/wheels/f5/05/68/55f44833c1801964b3ef0881e1798952bf53352a89d3a5932c Building wheel for vamp (setup.py) ... done Created wheel for vamp: filename=vamp-1.1.0-cp310-cp310-linux_x86_64.whl size=1705732 sha256=71bec5754bb26ee9eecad46613dd4139af801d607d36016dd5382b83b3480f61 Stored in directory: /root/.cache/pip/wheels/36/9e/b1/230ac612a8aa718cf3e2485eac386ae72a4da61d7c31ac4bb2 Building wheel for audioread (setup.py) ... done Created wheel for audioread: filename=audioread-2.1.9-py3-none-any.whl size=23153 sha256=ae2038f6bacba83ca8c426aade5fcbbbbfcaa95d5278d6eab944706ca281fc63 Stored in directory: /root/.cache/pip/wheels/66/b4/4e/a554aa3e95c6d113b3eebe0e1d81ea6b075566fd4a1fca0307 Building wheel for llvmlite (setup.py) ... error error: subprocess-exited-with-error

    × python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [26 lines of output] running bdist_wheel /usr/bin/python3.10 /tmp/pip-install-i1cmbqt6/llvmlite_1c0fb6b0c7094099a3dc6ee225501b56/ffi/build.py LLVM version... Traceback (most recent call last): File "/tmp/pip-install-i1cmbqt6/llvmlite_1c0fb6b0c7094099a3dc6ee225501b56/ffi/build.py", line 105, in main_posix out = subprocess.check_output([llvm_config, '--version']) File "/usr/lib/python3.10/subprocess.py", line 420, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, File "/usr/lib/python3.10/subprocess.py", line 501, in run with Popen(*popenargs, **kwargs) as process: File "/usr/lib/python3.10/subprocess.py", line 969, in init self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/lib/python3.10/subprocess.py", line 1845, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'llvm-config'

      During handling of the above exception, another exception occurred:
      
      Traceback (most recent call last):
        File "/tmp/pip-install-i1cmbqt6/llvmlite_1c0fb6b0c7094099a3dc6ee225501b56/ffi/build.py", line 168, in <module>
          main()
        File "/tmp/pip-install-i1cmbqt6/llvmlite_1c0fb6b0c7094099a3dc6ee225501b56/ffi/build.py", line 158, in main
          main_posix('linux', '.so')
        File "/tmp/pip-install-i1cmbqt6/llvmlite_1c0fb6b0c7094099a3dc6ee225501b56/ffi/build.py", line 107, in main_posix
          raise RuntimeError("%s failed executing, please point LLVM_CONFIG "
      RuntimeError: llvm-config failed executing, please point LLVM_CONFIG to the path for llvm-config
      error: command '/usr/bin/python3.10' failed with exit code 1
      [end of output]
    

    note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for llvmlite Running setup.py clean for llvmlite Building wheel for resampy (setup.py) ... done Created wheel for resampy: filename=resampy-0.2.2-py3-none-any.whl size=320730 sha256=25b9bbb71e1e9bf98be424a3e227f0bfd5e9a9748a1f55ae649e7016d1157e40 Stored in directory: /root/.cache/pip/wheels/e5/a0/79/29e61754e5b3941ad4c7d01bf5bea99768e64e4bdd3180f32b Successfully built madmom pretty_midi vamp audioread resampy Failed to build numba llvmlite Installing collected packages: vamp, tensorboard-plugin-wit, mido, llvmlite, libclang, keras, flatbuffers, audioread, wrapt, threadpoolctl, tensorflow-io-gcs-filesystem, tensorflow-estimator, tensorboard-data-server, soundfile, rsa, pyfluidsynth, pretty_midi, pooch, opt-einsum, opencv-python, oauthlib, numba, keras-preprocessing, joblib, h5py, grpcio, google-pasta, gast, click, cachetools, astunparse, absl-py, scikit-learn, resampy, requests-oauthlib, madmom, google-auth, librosa, google-auth-oauthlib, tensorboard, tensorflow, omnizart Running setup.py install for llvmlite ... error error: subprocess-exited-with-error

    × Running setup.py install for llvmlite did not run successfully. │ exit code: 1 ╰─> [31 lines of output] running install /usr/lib/python3/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running build got version from file /tmp/pip-install-i1cmbqt6/llvmlite_1c0fb6b0c7094099a3dc6ee225501b56/llvmlite/_version.py {'version': '0.31.0', 'full': 'fe7d985f6421d87f613bd414479d29d912771562'} running build_ext /usr/bin/python3.10 /tmp/pip-install-i1cmbqt6/llvmlite_1c0fb6b0c7094099a3dc6ee225501b56/ffi/build.py LLVM version... Traceback (most recent call last): File "/tmp/pip-install-i1cmbqt6/llvmlite_1c0fb6b0c7094099a3dc6ee225501b56/ffi/build.py", line 105, in main_posix out = subprocess.check_output([llvm_config, '--version']) File "/usr/lib/python3.10/subprocess.py", line 420, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, File "/usr/lib/python3.10/subprocess.py", line 501, in run with Popen(*popenargs, **kwargs) as process: File "/usr/lib/python3.10/subprocess.py", line 969, in init self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/lib/python3.10/subprocess.py", line 1845, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'llvm-config'

      During handling of the above exception, another exception occurred:
      
      Traceback (most recent call last):
        File "/tmp/pip-install-i1cmbqt6/llvmlite_1c0fb6b0c7094099a3dc6ee225501b56/ffi/build.py", line 168, in <module>
          main()
        File "/tmp/pip-install-i1cmbqt6/llvmlite_1c0fb6b0c7094099a3dc6ee225501b56/ffi/build.py", line 158, in main
          main_posix('linux', '.so')
        File "/tmp/pip-install-i1cmbqt6/llvmlite_1c0fb6b0c7094099a3dc6ee225501b56/ffi/build.py", line 107, in main_posix
          raise RuntimeError("%s failed executing, please point LLVM_CONFIG "
      RuntimeError: llvm-config failed executing, please point LLVM_CONFIG to the path for llvm-config
      error: command '/usr/bin/python3.10' failed with exit code 1
      [end of output]
    

    note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure

    × Encountered error while trying to install package. ╰─> llvmlite

    note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure. `

    opened by MohammedMehdiTBER 2
  • Installation instructions fail under Ubuntu 21.10

    Installation instructions fail under Ubuntu 21.10

    I did exactly how explained in the documentation:

    $ pip install numpy Cython
    Collecting numpy
      Using cached numpy-1.22.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (16.8 MB)
    Collecting Cython
      Using cached Cython-0.29.28-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (1.9 MB)
    Installing collected packages: numpy, Cython
    Successfully installed Cython-0.29.28 numpy-1.22.3
    
    ~ took 7s
    $ sudo apt install libsndfile-dev fluidsynth ffmpeg
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    Note, selecting 'libsndfile1-dev' instead of 'libsndfile-dev'
    ffmpeg is already the newest version (7:4.4-6ubuntu5).
    fluidsynth is already the newest version (2.1.7-1.1).
    libsndfile1-dev is already the newest version (1.0.31-2).
    0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
    
    ~
    $ pip install omnizart
    Collecting omnizart
      Using cached omnizart-0.1.0-py3-none-any.whl (3.5 MB)
    Collecting numba==0.48
      Using cached numba-0.48.0-cp39-cp39-linux_x86_64.whl
    Collecting vamp<2.0.0,>=1.1.0
      Using cached vamp-1.1.0-cp39-cp39-linux_x86_64.whl
    Collecting madmom<0.17.0,>=0.16.1
      Using cached madmom-0.16.1-cp39-cp39-linux_x86_64.whl
    Collecting opencv-python<5.0.0,>=4.4.0
      Using cached opencv_python-4.5.5.64-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (60.5 MB)
    Collecting tensorflow<3.0.0,>=2.3.0
      Using cached tensorflow-2.8.0-cp39-cp39-manylinux2010_x86_64.whl (497.6 MB)
    Collecting jsonschema<4.0.0,>=3.2.0
      Using cached jsonschema-3.2.0-py2.py3-none-any.whl (56 kB)
    Collecting pretty_midi<0.3.0,>=0.2.9
      Using cached pretty_midi-0.2.9-py3-none-any.whl
    Requirement already satisfied: urllib3<2.0.0,>=1.25.11 in /usr/lib/python3/dist-packages (from omnizart) (1.26.5)
    Requirement already satisfied: pyyaml<6.0.0,>=5.3.1 in /usr/lib/python3/dist-packages (from omnizart) (5.3.1)
    Collecting librosa<0.9.0,>=0.8.0
      Using cached librosa-0.8.1-py3-none-any.whl (203 kB)
    Collecting pyfluidsynth<2.0.0,>=1.2.5
      Using cached pyFluidSynth-1.3.0-py3-none-any.whl (18 kB)
    Collecting tqdm<5.0.0,>=4.49.0
      Using cached tqdm-4.64.0-py2.py3-none-any.whl (78 kB)
    Requirement already satisfied: click<8.0.0,>=7.1.2 in /usr/lib/python3/dist-packages (from omnizart) (7.1.2)
    Collecting llvmlite<0.32.0,>=0.31.0dev0
      Using cached llvmlite-0.31.0.tar.gz (110 kB)
    Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from numba==0.48->omnizart) (52.0.0)
    Requirement already satisfied: numpy>=1.15 in ./.local/lib/python3.9/site-packages (from numba==0.48->omnizart) (1.22.3)
    Requirement already satisfied: six>=1.11.0 in /usr/lib/python3/dist-packages (from jsonschema<4.0.0,>=3.2.0->omnizart) (1.16.0)
    Collecting attrs>=17.4.0
      Using cached attrs-21.4.0-py2.py3-none-any.whl (60 kB)
    Collecting pyrsistent>=0.14.0
      Using cached pyrsistent-0.18.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (115 kB)
    Collecting packaging>=20.0
      Using cached packaging-21.3-py3-none-any.whl (40 kB)
    Collecting decorator>=3.0.0
      Using cached decorator-5.1.1-py3-none-any.whl (9.1 kB)
    Collecting audioread>=2.0.0
      Using cached audioread-2.1.9-py3-none-any.whl
    Collecting joblib>=0.14
      Using cached joblib-1.1.0-py2.py3-none-any.whl (306 kB)
    Collecting soundfile>=0.10.2
      Using cached SoundFile-0.10.3.post1-py2.py3-none-any.whl (21 kB)
    Collecting pooch>=1.0
      Using cached pooch-1.6.0-py3-none-any.whl (56 kB)
    Collecting resampy>=0.2.2
      Using cached resampy-0.2.2-py3-none-any.whl
    Collecting scikit-learn!=0.19.0,>=0.14.0
      Using cached scikit_learn-1.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (26.4 MB)
    Collecting scipy>=1.0.0
      Using cached scipy-1.8.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (42.1 MB)
    Collecting mido>=1.2.8
      Using cached mido-1.2.10-py2.py3-none-any.whl (51 kB)
    Requirement already satisfied: cython>=0.25 in ./.local/lib/python3.9/site-packages (from madmom<0.17.0,>=0.16.1->omnizart) (0.29.28)
    Collecting pyparsing!=3.0.5,>=2.0.2
      Using cached pyparsing-3.0.8-py3-none-any.whl (98 kB)
    Requirement already satisfied: requests>=2.19.0 in /usr/lib/python3/dist-packages (from pooch>=1.0->librosa<0.9.0,>=0.8.0->omnizart) (2.25.1)
    Collecting appdirs>=1.3.0
      Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
    Collecting threadpoolctl>=2.0.0
      Using cached threadpoolctl-3.1.0-py3-none-any.whl (14 kB)
    Collecting cffi>=1.0
      Using cached cffi-1.15.0-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (444 kB)
    Collecting pycparser
      Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
    Collecting libclang>=9.0.1
      Using cached libclang-14.0.1-py2.py3-none-manylinux1_x86_64.whl (14.5 MB)
    Collecting keras-preprocessing>=1.1.1
      Using cached Keras_Preprocessing-1.1.2-py2.py3-none-any.whl (42 kB)
    Collecting tensorflow-io-gcs-filesystem>=0.23.1
      Using cached tensorflow_io_gcs_filesystem-0.25.0-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (2.1 MB)
    Collecting flatbuffers>=1.12
      Using cached flatbuffers-2.0-py2.py3-none-any.whl (26 kB)
    Collecting opt-einsum>=2.3.2
      Using cached opt_einsum-3.3.0-py3-none-any.whl (65 kB)
    Requirement already satisfied: protobuf>=3.9.2 in /usr/lib/python3/dist-packages (from tensorflow<3.0.0,>=2.3.0->omnizart) (3.12.4)
    Collecting absl-py>=0.4.0
      Using cached absl_py-1.0.0-py3-none-any.whl (126 kB)
    Collecting h5py>=2.9.0
      Using cached h5py-3.6.0-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (4.5 MB)
    Collecting astunparse>=1.6.0
      Using cached astunparse-1.6.3-py2.py3-none-any.whl (12 kB)
    Collecting typing-extensions>=3.6.6
      Using cached typing_extensions-4.2.0-py3-none-any.whl (24 kB)
    Collecting keras<2.9,>=2.8.0rc0
      Using cached keras-2.8.0-py2.py3-none-any.whl (1.4 MB)
    Collecting tf-estimator-nightly==2.8.0.dev2021122109
      Using cached tf_estimator_nightly-2.8.0.dev2021122109-py2.py3-none-any.whl (462 kB)
    Collecting termcolor>=1.1.0
      Using cached termcolor-1.1.0-py3-none-any.whl
    Collecting google-pasta>=0.1.1
      Using cached google_pasta-0.2.0-py3-none-any.whl (57 kB)
    Collecting grpcio<2.0,>=1.24.3
      Using cached grpcio-1.46.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.4 MB)
    Collecting wrapt>=1.11.0
      Using cached wrapt-1.14.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (77 kB)
    Collecting gast>=0.2.1
      Using cached gast-0.5.3-py3-none-any.whl (19 kB)
    Collecting tensorboard<2.9,>=2.8
      Using cached tensorboard-2.8.0-py3-none-any.whl (5.8 MB)
    Requirement already satisfied: wheel<1.0,>=0.23.0 in /usr/lib/python3/dist-packages (from astunparse>=1.6.0->tensorflow<3.0.0,>=2.3.0->omnizart) (0.34.2)
    Collecting markdown>=2.6.8
      Using cached Markdown-3.3.7-py3-none-any.whl (97 kB)
    Collecting tensorboard-data-server<0.7.0,>=0.6.0
      Using cached tensorboard_data_server-0.6.1-py3-none-manylinux2010_x86_64.whl (4.9 MB)
    Collecting google-auth-oauthlib<0.5,>=0.4.1
      Using cached google_auth_oauthlib-0.4.6-py2.py3-none-any.whl (18 kB)
    Collecting werkzeug>=0.11.15
      Using cached Werkzeug-2.1.2-py3-none-any.whl (224 kB)
    Collecting tensorboard-plugin-wit>=1.6.0
      Using cached tensorboard_plugin_wit-1.8.1-py3-none-any.whl (781 kB)
    Collecting google-auth<3,>=1.6.3
      Using cached google_auth-2.6.6-py2.py3-none-any.whl (156 kB)
    Collecting cachetools<6.0,>=2.0.0
      Using cached cachetools-5.0.0-py3-none-any.whl (9.1 kB)
    Collecting rsa<5,>=3.1.4
      Using cached rsa-4.8-py3-none-any.whl (39 kB)
    Collecting pyasn1-modules>=0.2.1
      Using cached pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
    Collecting requests-oauthlib>=0.7.0
      Using cached requests_oauthlib-1.3.1-py2.py3-none-any.whl (23 kB)
    Collecting importlib-metadata>=4.4
      Using cached importlib_metadata-4.11.3-py3-none-any.whl (18 kB)
    Requirement already satisfied: zipp>=0.5 in /usr/lib/python3/dist-packages (from importlib-metadata>=4.4->markdown>=2.6.8->tensorboard<2.9,>=2.8->tensorflow<3.0.0,>=2.3.0->omnizart) (1.0.0)
    Collecting pyasn1<0.5.0,>=0.4.6
      Using cached pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
    Requirement already satisfied: oauthlib>=3.0.0 in /usr/lib/python3/dist-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<0.5,>=0.4.1->tensorboard<2.9,>=2.8->tensorflow<3.0.0,>=2.3.0->omnizart) (3.1.0)
    Building wheels for collected packages: llvmlite
      Building wheel for llvmlite (setup.py) ... error
      ERROR: Command errored out with exit status 1:
       command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-h5twqgap/llvmlite_69ce54ce335e452e9d0440e39568c630/setup.py'"'"'; __file__='"'"'/tmp/pip-install-h5twqgap/llvmlite_69ce54ce335e452e9d0440e39568c630/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-b88zt9pn
           cwd: /tmp/pip-install-h5twqgap/llvmlite_69ce54ce335e452e9d0440e39568c630/
      Complete output (15 lines):
      running bdist_wheel
      /usr/bin/python3 /tmp/pip-install-h5twqgap/llvmlite_69ce54ce335e452e9d0440e39568c630/ffi/build.py
      LLVM version... 13.0.0
    
      Traceback (most recent call last):
        File "/tmp/pip-install-h5twqgap/llvmlite_69ce54ce335e452e9d0440e39568c630/ffi/build.py", line 168, in <module>
          main()
        File "/tmp/pip-install-h5twqgap/llvmlite_69ce54ce335e452e9d0440e39568c630/ffi/build.py", line 158, in main
          main_posix('linux', '.so')
        File "/tmp/pip-install-h5twqgap/llvmlite_69ce54ce335e452e9d0440e39568c630/ffi/build.py", line 120, in main_posix
          raise RuntimeError(msg)
      RuntimeError: Building llvmlite requires LLVM 7.0+ Be sure to set LLVM_CONFIG to the right executable path.
      Read the documentation at http://llvmlite.pydata.org/ for more information about building llvmlite.
    
      error: command '/usr/bin/python3' failed with exit code 1
      ----------------------------------------
      ERROR: Failed building wheel for llvmlite
      Running setup.py clean for llvmlite
    Failed to build llvmlite
    Installing collected packages: pyasn1, rsa, pyasn1-modules, cachetools, requests-oauthlib, pyparsing, pycparser, llvmlite, importlib-metadata, google-auth, werkzeug, threadpoolctl, tensorboard-plugin-wit, tensorboard-data-server, scipy, packaging, numba, markdown, joblib, grpcio, google-auth-oauthlib, cffi, appdirs, absl-py, wrapt, typing-extensions, tf-estimator-nightly, termcolor, tensorflow-io-gcs-filesystem, tensorboard, soundfile, scikit-learn, resampy, pyrsistent, pooch, opt-einsum, mido, libclang, keras-preprocessing, keras, h5py, google-pasta, gast, flatbuffers, decorator, audioread, attrs, astunparse, vamp, tqdm, tensorflow, pyfluidsynth, pretty-midi, opencv-python, madmom, librosa, jsonschema, omnizart
        Running setup.py install for llvmlite ... error
        ERROR: Command errored out with exit status 1:
         command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-h5twqgap/llvmlite_69ce54ce335e452e9d0440e39568c630/setup.py'"'"'; __file__='"'"'/tmp/pip-install-h5twqgap/llvmlite_69ce54ce335e452e9d0440e39568c630/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-wnrsu259/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/schneider/.local/include/python3.9/llvmlite
             cwd: /tmp/pip-install-h5twqgap/llvmlite_69ce54ce335e452e9d0440e39568c630/
        Complete output (18 lines):
        running install
        running build
        got version from file /tmp/pip-install-h5twqgap/llvmlite_69ce54ce335e452e9d0440e39568c630/llvmlite/_version.py {'version': '0.31.0', 'full': 'fe7d985f6421d87f613bd414479d29d912771562'}
        running build_ext
        /usr/bin/python3 /tmp/pip-install-h5twqgap/llvmlite_69ce54ce335e452e9d0440e39568c630/ffi/build.py
        LLVM version... 13.0.0
    
        Traceback (most recent call last):
          File "/tmp/pip-install-h5twqgap/llvmlite_69ce54ce335e452e9d0440e39568c630/ffi/build.py", line 168, in <module>
            main()
          File "/tmp/pip-install-h5twqgap/llvmlite_69ce54ce335e452e9d0440e39568c630/ffi/build.py", line 158, in main
            main_posix('linux', '.so')
          File "/tmp/pip-install-h5twqgap/llvmlite_69ce54ce335e452e9d0440e39568c630/ffi/build.py", line 120, in main_posix
            raise RuntimeError(msg)
        RuntimeError: Building llvmlite requires LLVM 7.0+ Be sure to set LLVM_CONFIG to the right executable path.
        Read the documentation at http://llvmlite.pydata.org/ for more information about building llvmlite.
    
        error: command '/usr/bin/python3' failed with exit code 1
        ----------------------------------------
    ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-h5twqgap/llvmlite_69ce54ce335e452e9d0440e39568c630/setup.py'"'"'; __file__='"'"'/tmp/pip-install-h5twqgap/llvmlite_69ce54ce335e452e9d0440e39568c630/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-wnrsu259/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/schneider/.local/include/python3.9/llvmlite Check the logs for full command output.
    

    This seems to be related to #26 and #29.

    Some information about the environment:

    $ neofetch
                .-/+oossssoo+/-.               schneider@lenovo
            `:+ssssssssssssssssss+:`           ----------------
          -+ssssssssssssssssssyyssss+-         OS: Ubuntu 21.10 x86_64
        .ossssssssssssssssssdMMMNysssso.       Host: 80R0 Lenovo G50-8
       /ssssssssssshdmmNNmmyNMMMMhssssss/      Kernel: 5.13.0-40-gener
      +ssssssssshmydMMMMMMMNddddyssssssss+     Uptime: 4 hours, 51 min
     /sssssssshNMMMyhhyyyyhmNMMMNhssssssss/    Packages: 2739 (dpkg),
    .ssssssssdMMMNhsssssssssshNMMMdssssssss.   Shell: zsh 5.8
    +sssshhhyNMMNyssssssssssssyNMMMysssssss+   Resolution: 1440x900
    ossyNMMMNyMMhsssssssssssssshmmmhssssssso   DE: GNOME 40.5
    ossyNMMMNyMMhsssssssssssssshmmmhssssssso   WM: Mutter
    +sssshhhyNMMNyssssssssssssyNMMMysssssss+   WM Theme: Adwaita
    .ssssssssdMMMNhsssssssssshNMMMdssssssss.   Theme: Yaru-dark [GTK2/
     /sssssssshNMMMyhhyyyyhdNMMMNhssssssss/    Icons: Yaru [GTK2/3]
      +sssssssssdmydMMMMMMMMddddyssssssss+     CPU: Intel i7-5500U (4)
       /ssssssssssshdmNNNNmyNMMMMhssssss/      GPU: Intel HD Graphics
        .ossssssssssssssssssdMMMNysssso.       Memory: 3708MiB / 7866M
          -+sssssssssssssssssyyyssss+-
            `:+ssssssssssssssssss+:`
                .-/+oossssoo+/-.
    
    ~
    $ python3 --version                                                Python 3.9.7
    
    ~
    $ pip --version
    pip 20.3.4 from /usr/lib/python3/dist-packages/pip (python 3.9)
    
    opened by schneiderfelipe 4
  • Performance issue

    Performance issue

    (https://github.com/openjournals/joss-reviews/issues/3391)

    In the review checklist, we have this item

    Functionality: Have the functional claims of the software been confirmed? Performance: If there are any performance claims of the software, have they been confirmed? (If there are no claims, please check off this item.)

    On it, can you improve the doc regarding how models are supposed to perform? I ran a few files with omnizart music transcribe and realized for typical multi-instrument pop music, the performance might be under general expectation people would have.

    Also, I found "music" to be a little too general. Shall we instead say it like "harmonic part", "tonal instruments", etc, and specify that the output would be a single-track midi file?

    opened by keunwoochoi 0
Releases(v0.5.0)
  • v0.5.0(Dec 9, 2021)

  • v0.4.2(Nov 16, 2021)

    Changelog

    0.4.2 - 2021-11-16

    Accumulated release. Various improvements and bug fix. See details below.

    Feature

    • Migrate checkpoints from private Google Drive to Github release. See here
    • Replace opencv

    Dependency

    • Upgrade Tensorflow version to 2.5.0 for Nvidia 30 series GPU compatibility.
    • Upgrade Spleeter version to 2.3.0 for new TF version compatibility.
    • Replace Opencv with PIL for drum feature resizing and remove opencv from the dependency.

    Enhancement

    • Simplify model loading mechanism by unifying the all checkpoint format to use TF format.
    • Lazy import extraction functions to boost loading time.
    • Change the order of Dockerfile commands for better utilizing cache.

    Documentation

    • Add notice about compatibility issue of running on certain CPU architecture.
    • Add explaination about enabling auto completion.
    • Rephrase sentences in paper according to JOSS review feedback.
    • Add explaination about installing development dependencies.
    • Use pepy as the alternative source for 'download' state badge.

    Bugs

    • Fix bug of unable to find vocal contour checkpoint.
    • Fix bug of fail to custom layers of chord module.
    • Fix various unit tests bugs.
    • Fix minor linter errors.
    Source code(tar.gz)
    Source code(zip)
  • v0.4.1(Jun 4, 2021)

    Changelog

    0.4.1 - 2021-06-04

    Hotfix version according to issue #23

    Feature

    • Add a new piano transcription model and set it as the default model while using music module.

    Bugs

    • Fix bug while parsing weight files in the checkpoint folder.
    Source code(tar.gz)
    Source code(zip)
  • v0.4.0(May 31, 2021)

    Changelog

    0.4.0 - 2021-05-31

    Various improvements on music module and some critical bug fixes.

    Enhancement

    • Improve the peak finding and thresholding strategy for more stable and better performance.
    • Modify the feeding strategy of feature slices with adjustable overlapping rate while making predictions.
    • Apply learning rate scheduler for music module.
    • Replace the usage of custom training loop of music module with the built-in TF .fit() function.

    Bugs

    • Fix a critical bug of inference of music module that would lead to missing onsets.
    • Fix generation of pertubation of vocal module while training.

    Documentation

    • Merge the demo page into master from build_doc branch.
    Source code(tar.gz)
    Source code(zip)
  • v0.3.4(May 10, 2021)

  • v0.3.3(May 7, 2021)

    Changelog

    0.3.3 - 2021-05-07

    Hotfix version according to issue #19.

    Bugs

    • Fix column inconsistency of aggregate_f0_info and write_agg_f0_results.
    • Update version of dependencies according to the security alert.
    Source code(tar.gz)
    Source code(zip)
  • v0.3.2(Feb 13, 2021)

    Changelog

    0.3.2 - 2021-02-13

    Enhancement

    • Move load_label functions of different datasets into dataset structure classes.
    • Add custom exception on fail downloading GD file due to access limit.
    • Add unit tests on parsing label files into shared intermediate format.

    Bugs

    • Fix wrong access name of the dict in vocal midi inference function.
    • Fix bug of generating beat module training labels.
    Source code(tar.gz)
    Source code(zip)
  • v0.3.0(Jan 17, 2021)

    Changelog

    0.3.0 - 2021-01-17

    Release the beat module for symbolic domain beat transcription.

    Features

    • Release beat module.
    • Add an example patch-cnn module for demonstrating the implementation progress.

    Enhancement

    • Refactor the flow of chord module for parsing the feature and label files.
    • Modularize F0 information aggragation functions to utils.py and io.py.
    • Improve verbosity on fail to open hdf files.

    Documentation

    • Re-arrange the side bar with an additional group of CLI.
    • Add custom CSS style for adjusting the width of audio and video elements.

    Bugs

    • Fix Spleeter import errors after upgrading to v2.1.2.
    Source code(tar.gz)
    Source code(zip)
  • v0.2.0(Dec 13, 2020)

    Changelog

    0.2.0 - 2020-12-13

    Vocal melody transcription in both frame- and note-level are live!

    We release the modules for vocal melody transcription after a decent amount of effort. Now you can transcribe your favorite singing voice.

    Features

    • Release vocal and vocal-contour submodules.

    Enhancement

    • Improve chord transcription results by filtering out chord predictions with short duration.
    • Resolve the path for transcription output in a consistent way.

    Documentation

    • Re-organize Quick Start and Tutorial pages to improve accessibility.
    • Move the section for development from README.md to CONTRIBUTING.md.

    Bug Fix

    • Fix bugs of passing the wrong parameter to vamp for chroma feature extraction.
    Source code(tar.gz)
    Source code(zip)
  • v0.1.1(Dec 1, 2020)

    Changelog

    0.1.1 - 2020-12-01

    Features

    • Add more supported datasets for download and process.
    • Supports to save checkpoints in .pb format with customized model checkpoint callback.

    Enhancement

    • Huge refactor of constants.dataset. Improves reusability and add more useful common utilities.
    • Modularize common parts of app classes.
    • Construct base class of loading dataset samples. Reduce duplicate code and reuse the same functionalities.
    • Filter out messy Tensorflow warnings when using CLI.

    Bug Fix

    • Resolved bugs of some function parameters not actually being used inside functions.
    • Fix CFP extraction down_fs don't actually work.
    Source code(tar.gz)
    Source code(zip)
  • v0.1.0(Nov 16, 2020)

    Changelog

    0.1.0

    Features

    • Add command for synthesizing MIDI file.
    • Provides colab for quick start now!

    Enhancement

    • Lazy import application instance for avoiding pulling large amount of dependencies.
    • Group sub-commands into different sections when showing help message.
    Source code(tar.gz)
    Source code(zip)
  • v0.1.0-beta.2(Nov 9, 2020)

    Changelog

    0.1.0-beta.2

    Enhancement

    • Better dealing with the input model path.
    • Better approach for resolving dataset path when given with "./".
    • Add documentation for Conda user for manually install omnizart.

    Bug Fix

    • Fix wrong save path of checkpoints.
    • Fix installation script for not upgrading pip after activating virtual environment.
    Source code(tar.gz)
    Source code(zip)
  • v0.1.0-beta.1(Nov 7, 2020)

    Changelog

    0.1.0-beta.0 - 2020-11-05

    First release of omnizart CLI tool, as well as a python package.

    Features

    • Multi-instrument transcription
    • Drum transcription
    • Chord transcription
    • Download datasets
    • Extract feature of datasets for each module
    • Train models for each module

    Source code(tar.gz)
    Source code(zip)
Convert complex chord names to midi notes

ezchord Simple python script that can convert complex chord names to midi notes Prerequisites pip install midiutil Usage ./ezchord.py Dmin7 G7 C timi

Alex Zhang 2 Dec 20, 2022
BART aids transcribe tasks by taking a source audio file and creating automatic repeated loops, allowing transcribers to listen to fragments multiple times

BART (Beyond Audio Replay Technology) aids transcribe tasks by taking a source audio file and creating automatic repeated loops, allowing transcribers to listen to fragments multiple times (with possible overlap between segments).

null 2 Feb 4, 2022
Users can transcribe their favorite piano recordings to MIDI files after installation

Users can transcribe their favorite piano recordings to MIDI files after installation

null 190 Dec 17, 2022
Tune in is a Collaborative Music Playing Systems where multiple guests can join a room and enjoy the song being played

✨A collaborative music playing systems?? where multiple guests can join a room ➡?? and enjoy the song?? being played.

Vedansh Vijaywargiya 8 Nov 5, 2022
❤️ Hi There Im Cozmo Music Bot A next gen powerful telegram group Music bot for get your Songs and music @Venuja_Sadew

?? Cozmo MUSIC ?? Cozmo Music is a Music powerfull bot for playing music on telegram voice chat groups. Requirements FFmpeg NodeJS nodesource.com Pyth

Venuja Sadew 3 Jan 8, 2022
NovaMusic is a music sharing robot. Users can get music and music lyrics using inline queries.

A music sharing telegram robot using Redis database and Telebot python library using Redis database.

Hesam Norin 7 Oct 21, 2022
Okaeri-Music is a telegram music bot project, allow you to play music on voice chat group telegram.

Okaeri-Music is a telegram bot project that's allow you to play music on telegram voice chat group

Wahyusaputra 1 Dec 22, 2021
Okaeri-Music is a telegram music bot project, allow you to play music on voice chat group telegram.

??️ PROJECT MUSIC,THIS IS MAINTAINED Okaeri-Music is a telegram bot project that's allow you to play music on telegram voice chat group Features ?? Th

Okaeri-Project 2 Dec 23, 2021
C++ library for audio and music analysis, description and synthesis, including Python bindings

Essentia Essentia is an open-source C++ library for audio analysis and audio-based music information retrieval released under the Affero GPL license.

Music Technology Group - Universitat Pompeu Fabra 2.3k Jan 3, 2023
A small project where I identify notes and key harmonies in a piece of music and use them further to recreate and generate the same piece of music through Python

A small project where I identify notes and key harmonies in a piece of music and use them further to recreate and generate the same piece of music through Python

null 5 Oct 7, 2022
Music player and music library manager for Linux, Windows, and macOS

Ex Falso / Quod Libet - A Music Library / Editor / Player Quod Libet is a music management program. It provides several different ways to view your au

Quod Libet 1.2k Jan 7, 2023
Just-Music - Spotify API Driven Music Web app, that allows to listen and control and share songs

Just Music... Just Music Is A Web APP That Allows Users To Play Song Using Spoti

Ayush Mishra 3 May 1, 2022
We built this fully functioning Music player in Python. The music player allows you to play/pause and switch to different songs easily.

We built this fully functioning Music player in Python. The music player allows you to play/pause and switch to different songs easily.

null 1 Nov 19, 2021
Royal Music You can play music and video at a time in vc

Royals-Music Royal Music You can play music and video at a time in vc Commands SOON String STRING_SESSION Deployment ?? Credits • ??ᴏᴍʏᴀ⃝??ᴇᴇᴛ • ??ғғɪ

null 2 Nov 23, 2021
This is an OverPowered Vc Music Player! Will work for you and play music in Voice Chatz

VcPlayer This is an OverPowered Vc Music Player! Will work for you and play music in Voice Chatz Telegram Voice-Chat Bot [PyTGCalls] ⇝ Requirements ⇜

null 1 Dec 20, 2021
Xbot-Music - Bot Play Music and Video in Voice Chat Group Telegram

XBOT-MUSIC A Telegram Music+video Bot written in Python using Pyrogram and Py-Tg

Fariz 2 Jan 20, 2022
Anki vector Music ❤ is the best and only Telegram VC player with playlists, Multi Playback, Channel play and more

Anki Vector Music ?? A bot that can play music on Telegram Group and Channel Voice Chats Available on telegram as @Anki Vector Music Features ?? Thumb

Damantha Jasinghe 12 Nov 12, 2022
Music player - endlessly plays your music

Music player First, if you wonder about what is supposed to be a music player or what makes a music player different from a simple media player, read

Albert Zeyer 482 Dec 19, 2022
SU Music Player — The first open-source PyTgCalls based Pyrogram bot to play music in voice chats

SU Music Player — The first open-source PyTgCalls based Pyrogram bot to play music in voice chats Note Neither this, or PyTgCalls are fully

SU Projects 58 Jan 2, 2023