Spleeter won't produce the output in .mp3 in Windows nor in Linux after the latest update
-
[x] I didn't find a similar issue already open.
-
[x] I read the documentation (README AND Wiki)
-
[x] I have installed FFMpeg
-
[x] My problem is related to Spleeter only, not a derivative product (such as Webapplication, or GUI provided by others)
Description
Spleeter won't produce the output in .mp3 in Windows nor in Linux. Still, It works for .flacand .wav file formats.
Step to reproduce
- Installed dependencies of
ffmpegusingcondaand runconda update --alland Installed Spleeter using updatedpipand python 3.7/8/9 (tested on different versions) - Using 30 GB of virtual memory, I run in
conda promptasspleeter separate --verbose -p spleeter:2stems-16kHz -f {filename}-{instrument}.{codec} -d "7200" -c "mp3" -b "320k" --mwf -B "tensorflow" -o "output_mwf" "C:\Users\MohammedMehdiTBER\Music\example.mp3" - Got nothing after minutes of processing.
Output
(base) C:\Users\MohammedMehdiTBER\Music\Spleeter> spleeter separate --verbose -p spleeter:2stems-16kHz -f {filename}-{instrument}.{codec} -d "7200" -c "mp3" -b "320k" --mwf -B "tensorflow" -o "output_mwf" "C:\Users\MohammedMehdiTBER\Music\example.mp3"
(base) C:\Users\MohammedMehdiTBER\Music\Spleeter>
INFO:tensorflow:Apply unet for vocals_spectrogram
WARNING:tensorflow:From /home/mohammedmehditber/venv/lib/python3.8/site-packages/tensorflow/python/keras/layers/normalization.py:534: _colocate_with (from tensorflow.python.framework.ops) is deprecated and will be removed in a future version.
Instructions for updating:
Colocations handled automatically by placer.
INFO:tensorflow:Apply unet for drums_spectrogram
INFO:tensorflow:Apply unet for bass_spectrogram
INFO:tensorflow:Apply unet for other_spectrogram
INFO:tensorflow:Restoring parameters from pretrained_models/4stems/model
zsh: killed spleeter separate --verbose -B "librosa" -p -o "output_mwf" -f -d 7200 -c
Environment
| OS | Window / Linux | | Installation type | Conda / pip | | RAM available | 6G Physical 30GB Virtual | | Hardware spec | Intel Core i5 gen 2 |
Hi @MohammedMehdiTBER, I cannot reproduce on Linux. The output files are properly written after a few seconds. Can you provide more details. Particularly:
- I see you use the
-d 7200option. Are the file you're processing very long? have you tried with shorter files? - Do you perform the separation on CPU or GPU?
No, that duration is just long actually for making sure to process all the files that I don't know their duration in seconds. I don't have CUDA, so I may be using just CPU, and It makes the device frozen during the process until It finishes.
Ok. I see that you have a "zsh: killed" log. Did you kill the process or did it die by itself?