Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installed on Windows but unable to run omnizart chord transcribe #78

Closed
MohammedMehdiTBER opened this issue Aug 1, 2022 · 1 comment

Comments

@MohammedMehdiTBER
Copy link

Tried to install vamp using python2.7 x86 yet still like if It doesn't affect python3.8:
This is the returned error:

omnizart chord transcribe "C:\Users\MohammedMehdiTBER\Music\Mohammed Al-Haddad\Malak Ghair Allah (You Have No One Except Allah)[03] Rouhi we Zadi [Malak Ghair Allah (You Have No One Except Allah)] [Mohammed Al-Haddad].flac"
RuntimeError: module compiled against API version 0x10 but this version of numpy is 0xd
Traceback (most recent call last):
File "C:\Program Files\Python38\Scripts\omnizart-script.py", line 33, in
sys.exit(load_entry_point('omnizart==0.5.0', 'console_scripts', 'omnizart')())
File "C:\Program Files\Python38\lib\site-packages\click\core.py", line 829, in call
return self.main(*args, **kwargs)
File "C:\Program Files\Python38\lib\site-packages\click\core.py", line 782, in main
rv = self.invoke(ctx)
File "C:\Program Files\Python38\lib\site-packages\click\core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "C:\Program Files\Python38\lib\site-packages\click\core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "C:\Program Files\Python38\lib\site-packages\click\core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "C:\Program Files\Python38\lib\site-packages\click\core.py", line 610, in invoke
return callback(*args, **kwargs)
File "C:\Program Files\Python38\lib\site-packages\omnizart-0.5.0-py3.8.egg\omnizart\cli\chord\transcribe.py", line 16, in transcribe
chord.app.transcribe(input_audio, model_path=model_path, output=output)
File "C:\Program Files\Python38\lib\site-packages\omnizart-0.5.0-py3.8.egg\omnizart\utils.py", line 328, in getattr
module = self._load()
File "C:\Program Files\Python38\lib\site-packages\omnizart-0.5.0-py3.8.egg\omnizart\utils.py", line 313, in load
module = importlib.import_module(self.name)
File "C:\Program Files\Python38\lib\importlib_init
.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in load_unlocked
File "", line 848, in exec_module
File "", line 219, in call_with_frames_removed
File "C:\Program Files\Python38\lib\site-packages\omnizart-0.5.0-py3.8.egg\omnizart\chord_init
.py", line 32, in
from omnizart.chord.app import ChordTranscription
File "C:\Program Files\Python38\lib\site-packages\omnizart-0.5.0-py3.8.egg\omnizart\chord\app.py", line 14, in
from omnizart.feature.chroma import extract_chroma
File "C:\Program Files\Python38\lib\site-packages\omnizart-0.5.0-py3.8.egg\omnizart\feature\chroma.py", line 1, in
import vamp
File "C:\Program Files\Python38\lib\site-packages\vamp_init
.py", line 163, in
import vampyhost
ImportError: numpy.core.multiarray failed to import

@BreezeWhite
Copy link
Member

BreezeWhite commented Nov 27, 2022

This is an known issues as pointed out in issue #6. The only available way to use chord transcription on Windows is either use the provided colab script or the docker image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants