spleeter separate -i audio_example.mp3 -p spleeter:2stems -o output
AttributeError: module 'tensorflow' has no attribute 'compat'
which I Google. conda install tensorflow-estimator=1.15.1
fixes.ModuleNotFoundError: No module named 'numba.decorators'
. pip install numba==0.43.0
fixes, despite raising three errors.TypeError: create_target_machine() got an unexpected keyword argument 'jitdebug'
.
pip install -r requirements.txt && pip install pytest pytest-xdist
, but there is no requirements.txt
file.
Oh you guys are my heroes! What a fantastic application of ML!
Has anyone actually deployed this technology, e.g. Making a website to perform splitting, or doing it off a mobile app? Do the creators have any plans in this direction?
Hi, we are using spleeter in production at moises.ai
My primary objective of this initiative is to build TFLite models on Spleeter...current approaches are quite tough (atleast for me)...Thanks...
Thanks for the efforts @VVasanth - sorry if I missed anything as I just got here - but isn't TF2.x already supported on the original project now? (https://github.com/deezer/spleeter)
If so, do we just need to re-train it with significant enough set of songs? (Is your effort addressing the same feature requested in: deezer/spleeter#354 Maybe your repo or some of it's additions can merge back on a PR if/as needed)
-i
syntax in the separate
command. You can now just pass your filepath (or multiple ones) as arguments to the command. Cheers and happy new year
Using spleeter on win 7, i7 sandy bridge , i get the following error;
any suggestions?
Traceback (most recent call last):
File "c:\users\frank\appdata\local\programs\python\python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 64, in <module>
from tensorflow.python._pywrap_tensorflow_internal import *
ImportError: DLL load failed: The specified module could not be found.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\users\frank\appdata\local\programs\python\python36\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "c:\users\frank\appdata\local\programs\python\python36\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\frank\AppData\Local\Programs\Python\Python36\Scripts\spleeter.exe__main.py", line 9, in <module>
File "c:\users\frank\appdata\local\programs\python\python36\lib\site-packages\spleeter\main.py", line 250, in entrypoint
spleeter()
File "c:\users\frank\appdata\local\programs\python\python36\lib\site-packages\typer\main.py", line 214, in call
return get_command(self)(args, *kwargs)
File "c:\users\frank\appdata\local\programs\python\python36\lib\site-packages\click\core.py", line 829, in call
return self.main(args, kwargs)
File "c:\users\frank\appdata\local\programs\python\python36\lib\site-packages\click\core.py", line 782, in main
rv = self.invoke(ctx)
File "c:\users\frank\appdata\local\programs\python\python36\lib\site-packages\click\core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "c:\users\frank\appdata\local\programs\python\python36\lib\site-packages\click\core.py", line 1066, in invoke
return ctx.invoke(self.callback, ctx.params)
File "c:\users\frank\appdata\local\programs\python\python36\lib\site-packages\click\core.py", line 610, in invoke
return callback(args, kwargs)
File "c:\users\frank\appdata\local\programs\python\python36\lib\site-packages\typer\main.py", line 497, in wrapper
return callback(use_params) # type: ignore
File "c:\users\frank\appdata\local\programs\python\python36\lib\site-packages\spleeter\main.py", line 107, in separate
from .audio.adapter import AudioAdapter
File "c:\users\frank\appdata\local\programs\python\python36\lib\site-packages\spleeter\audio\adapter.py", line 14, in <module>
import tensorflow as tf
File "c:\users\frank\appdata\local\programs\python\python36\lib\site-packages\tensorflow\init.py", line 41, in <module>
from tensorflow.python.tools import module_util as _module_util
File "c:\users\frank\appdata\local\programs\python\python36\lib\site-packages\tensorflow\python\init__.py", line 40, in <module>
from tensorflow.python.eager import context
File "c:\users\frank\appdata\local\programs\python\python36\lib\site-packages\tensorflow\python\eager\context.py", line 35, in <module>
from tensorflow.python import pywrap_tfe
File "c:\users\frank\appdata\local\programs\python\python36\lib\site-packages\tensorflow\python\pywrap_tfe.py", line 28, in <module>
from tensorflow.python import pywrap_tensorflow
File "c:\users\frank\appdata\local\programs\python\python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 83, in <module>
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "c:\users\frank\appdata\local\programs\python\python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 64, in <module>
from tensorflow.python._pywrap_tensorflow_internal import *
ImportError: DLL load failed: The specified module could not be found.
Failed to load the native TensorFlow runtime.
Hi,
I installed spleeter with pip, commands from command line works fine.
But I'm having problems while using the api via python script.
inputPath = 'E:\\songs\\split_test.wav'
outputPath = 'E:\\output'
separator = Separator('spleeter:2stems')
separator.separate_to_file(inputPath, outputPath)
separator.join(50)
Above code keeps giving following error and loops like forever. Am I doing something wrong?
Thanks
File "C:\Users\Samyak\AppData\Local\Programs\Python\Python38\lib\multiprocessing\spawn.py", line 134, in _check_not_importing_main
raise RuntimeError('''
RuntimeError:
An attempt has been made to start a new process before the
current process has finished its bootstrapping phase.
This probably means that you are not using fork to start your
child processes and you have forgotten to use the proper idiom
in the main module:
if __name__ == '__main__':
freeze_support()
...
The "freeze_support()" line can be omitted if the program
is not going to be frozen to produce an executable.
INFO:tensorflow:Restoring parameters from pretrained_models\2stems\model
DEBUG:spleeter:Writing file output/
Traceback (most recent call last):
File "C:\Users\Samyak\Desktop\condaSplit\venv\lib\site-packages\spleeter\audio\ffmpeg.py", line 180, in save
process.stdin.write(data.astype("<f4").tobytes())
BrokenPipeError: [Errno 32] Broken pipe