I am Facing Another Package Dependencey Error Related to Dancing2Music Application is :-
“Librose” package Error, For this I have tried with below links to install it:-
and I have Checked with importing package in python3 in that, I am getting Run-time Error:-
chaithra@chaithra-desktop:~/Dancing2Music$ python3
Python 3.6.9 (default, Jun 29 2022, 11:45:57)
[GCC 8.4.0] on linux
Type “help”, “copyright”, “credits” or “license” for more information.
import librosa
/home/chaithra/.local/lib/python3.6/site-packages/numba/core/errors.py:154: UserWarning: Insufficiently recent colorama version found. Numba requires colorama >= 0.3.9
warnings.warn(msg)
Traceback (most recent call last):
File “”, line 1, in
File “/home/chaithra/.local/lib/python3.6/site-packages/librosa/init.py”, line 209, in
from . import core
File “/home/chaithra/.local/lib/python3.6/site-packages/librosa/core/init.py”, line 5, in
from .convert import * # pylint: disable=wildcard-import
File “/home/chaithra/.local/lib/python3.6/site-packages/librosa/core/convert.py”, line 7, in
from . import notation
File “/home/chaithra/.local/lib/python3.6/site-packages/librosa/core/notation.py”, line 8, in
from …util.exceptions import ParameterError
File “/home/chaithra/.local/lib/python3.6/site-packages/librosa/util/init.py”, line 77, in
from .utils import * # pylint: disable=wildcard-import
File “/home/chaithra/.local/lib/python3.6/site-packages/librosa/util/utils.py”, line 9, in
import numba
File “/home/chaithra/.local/lib/python3.6/site-packages/numba/init.py”, line 211, in
import numba.typed
File “/home/chaithra/.local/lib/python3.6/site-packages/numba/typed/init.py”, line 1, in
from .typeddict import Dict
File “/home/chaithra/.local/lib/python3.6/site-packages/numba/typed/typeddict.py”, line 22, in @njit
File “/home/chaithra/.local/lib/python3.6/site-packages/numba/core/decorators.py”, line 260, in njit
return jit(*args, **kws)
File “/home/chaithra/.local/lib/python3.6/site-packages/numba/core/decorators.py”, line 183, in jit
return wrapper(pyfunc)
File “/home/chaithra/.local/lib/python3.6/site-packages/numba/core/decorators.py”, line 212, in wrapper
**dispatcher_args)
File “/home/chaithra/.local/lib/python3.6/site-packages/numba/core/dispatcher.py”, line 777, in init
self.targetctx = self.targetdescr.target_context
File “/home/chaithra/.local/lib/python3.6/site-packages/numba/core/registry.py”, line 47, in target_context
return self._toplevel_target_context
File “/home/chaithra/.local/lib/python3.6/site-packages/numba/core/utils.py”, line 277, in get
res = instance.dict[self.name] = self.func(instance)
File “/home/chaithra/.local/lib/python3.6/site-packages/numba/core/registry.py”, line 31, in _toplevel_target_context
return cpu.CPUContext(self.typing_context)
File “/home/chaithra/.local/lib/python3.6/site-packages/numba/core/base.py”, line 260, in init
self.init()
File “/home/chaithra/.local/lib/python3.6/site-packages/numba/core/compiler_lock.py”, line 35, in _acquire_compile_lock
return func(*args, **kwargs)
File “/home/chaithra/.local/lib/python3.6/site-packages/numba/core/cpu.py”, line 47, in init
self._internal_codegen = codegen.JITCPUCodegen(“numba.exec”)
File “/home/chaithra/.local/lib/python3.6/site-packages/numba/core/codegen.py”, line 1100, in init
self._init(self._llvm_module)
File “/home/chaithra/.local/lib/python3.6/site-packages/numba/core/codegen.py”, line 1105, in _init
target = ll.Target.from_triple(ll.get_process_triple())
File “/home/chaithra/.local/lib/python3.6/site-packages/llvmlite/binding/targets.py”, line 197, in from_triple
raise RuntimeError(str(outerr))
RuntimeError: Unable to find target for this triple (no targets are registered)
Thankyou, I am able to install librosa and numba packages.
After all the dependency package installation, have tried to run the Decomposition command from the link:-
but, In that, I am getting Error like,
chaithra@chaithra-desktop:~/Dancing2Music$ python3 train_decomp.py --name Decomp
2022-11-22 18:19:21.235734: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.10.2
WARNING:tensorflow:Deprecation warnings have been disabled. Set TF_ENABLE_DEPRECATION_WARNINGS=1 to re-enable them.
Traceback (most recent call last):
File “train_decomp.py”, line 41, in
os.mkdir(args.log_dir)
FileNotFoundError: [Errno 2] No such file or directory: ‘./logs/Decomp’
Is that souces has some issue ?
or
If there is a proper documentation to install the application?
yes, I have crated folder, and I have issued the decomposition command, Error changed has another “File_Not_Found_Error”
ERROR:-
chaithra@chaithra-desktop:~/Dancing2Music$ python3 train_decomp.py --name Decomp
2022-11-28 12:03:13.200869: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.10.2
WARNING:tensorflow:Deprecation warnings have been disabled. Set TF_ENABLE_DEPRECATION_WARNINGS=1 to re-enable them.
/home/chaithra/.local/lib/python3.6/site-packages/OpenSSL/_util.py:6: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography and will be removed in a future release.
from cryptography.hazmat.bindings.openssl.binding import Binding
Traceback (most recent call last):
File “train_decomp.py”, line 44, in
os.mkdir(args.snapshot_dir)
FileNotFoundError: [Errno 2] No such file or directory: ‘./snapshot/Decomp’
and I have Created "snapshot/Decomp folders also, agian error changed as :-
chaithra@chaithra-desktop:~/Dancing2Music$ python3 train_decomp.py --name Decomp
2022-11-28 12:03:46.435730: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.10.2
WARNING:tensorflow:Deprecation warnings have been disabled. Set TF_ENABLE_DEPRECATION_WARNINGS=1 to re-enable them.
/home/chaithra/.local/lib/python3.6/site-packages/OpenSSL/_util.py:6: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography and will be removed in a future release.
from cryptography.hazmat.bindings.openssl.binding import Binding
Traceback (most recent call last):
File “train_decomp.py”, line 46, in
data_loader = get_loader(batch_size=args.batch_size, shuffle=True, num_workers=args.num_workers, dataset=args.dataset, data_dir=args.data_dir, tolerance=args.tolerance)
File “/home/chaithra/Dancing2Music/data.py”, line 190, in get_loader
a2d = PoseDataset(data_dir, tolerance)
File “/home/chaithra/Dancing2Music/data.py”, line 25, in init
with open(z_fname, ‘r’) as f:
FileNotFoundError: [Errno 2] No such file or directory: ‘./data/unitList/zumba_unit.txt’
Is that, Dancing2Music application source should have all this files and folder to exceute the Decomposition and Composition Commands?