Comments (7)
While I am not associated with the project, it seems like (from the error) that you need to install setuptools 41.0.0 or greater? Obviously ideally pip would correctly install this dependency, but does installing that package manually unblock you?
from spleeter.
OK. This is now officially awesome.
from spleeter.
python -m pip install --upgrade pip setuptools
did the upgrade from 40.x to 41.x and it works now. Thanks.
from spleeter.
We added the good setuptools
dependency to the package requirements and the next release will fix that up.
from spleeter.
How long should a run take? I started a run against a song (2:48 duration) this afternoon and it is still running at 9:25 pm. Here is what it shows so far:
D:>spleeter separate -i test.mp3
INFO:tensorflow:Downloading model archive https://github.com/deezer/spleeter/releases/download/v1.4.0/2stems.tar.gz
INFO:tensorflow:Using config: {'_model_dir': 'pretrained_models\2stems', '_tf_random_seed': None, '_save_summary_steps': 100, '_save_checkpoints_steps': None, '_save_checkpoints_secs': 600, '_session_config': gpu_options {
per_process_gpu_memory_fraction: 0.7
}
, '_keep_checkpoint_max': 5, '_keep_checkpoint_every_n_hours': 10000, '_log_step_count_steps': 100, '_train_distribute': None, '_device_fn': None, '_protocol': None, '_eval_distribute': None, '_experimental_distribute': None, '_experimental_max_worker_delay_secs': None, '_service': None, '_cluster_spec': <tensorflow.python.training.server_lib.ClusterSpec object at 0x00000196FADC2B38>, '_task_type': 'worker', '_task_id': 0, '_global_id_in_cluster': 0, '_master': '', '_evaluation_master': '', '_is_chief': True, '_num_ps_replicas': 0, '_num_worker_replicas': 1}
INFO:tensorflow:Calling model_fn.
WARNING:tensorflow:From c:\python\lib\site-packages\spleeter\model\functions\unet.py:29: The name tf.keras.initializers.he_uniform is deprecated. Please use tf.compat.v1.keras.initializers.he_uniform instead.
INFO:tensorflow:Apply unet for vocals_spectrogram
INFO:tensorflow:Apply unet for accompaniment_spectrogram
INFO:tensorflow:Done calling model_fn.
WARNING:tensorflow:From c:\python\lib\site-packages\tensorflow\python\ops\array_ops.py:1354: add_dispatch_support..wrapper (from tensorflow.python.ops.array_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.where in 2.0, which has the same broadcast rule as np.where
INFO:tensorflow:Graph was finalized.
WARNING:tensorflow:From c:\python\lib\site-packages\tensorflow\python\training\saver.py:1276: checkpoint_exists (from tensorflow.python.training.checkpoint_management) is deprecated and will be removed in a future version.
Instructions for updating:
Use standard file APIs to check for files with this prefix.
INFO:tensorflow:Restoring parameters from pretrained_models\2stems\model
INFO:tensorflow:Running local_init_op.
INFO:tensorflow:Done running local_init_op.
WARNING:tensorflow:The dtype of the watched tensor must be floating (e.g. tf.float32), got tf.string
WARNING:tensorflow:The dtype of the watched tensor must be floating (e.g. tf.float32), got tf.int32
WARNING:tensorflow:The dtype of the watched tensor must be floating (e.g. tf.float32), got tf.string
INFO:tensorflow:Loading audio b'test.mp3' from 0.0 to 600.0
Spleeter.exe is still shown as running but is using 0% cpu. It did get as far as creating the following directory and files:
D:\>dir pretrained_models /s
Volume in drive D is D-Data
Volume Serial Number is 366A-6FA3
Directory of D:\pretrained_models
2019-11-06 13:04 <DIR> .
2019-11-06 13:04 <DIR> ..
2019-11-06 13:04 <DIR> 2stems
0 File(s) 0 bytes
Directory of D:\pretrained_models\2stems
2019-11-06 13:04 <DIR> .
2019-11-06 13:04 <DIR> ..
2019-10-24 03:35 176 ._checkpoint
2019-11-06 13:04 2 .probe
2019-10-24 03:35 67 checkpoint
2019-10-24 03:35 78,614,080 model.data-00000-of-00001
2019-10-24 03:35 5,244 model.index
2019-10-24 03:35 805,575 model.meta
6 File(s) 79,425,144 bytes
Total Files Listed:
6 File(s) 79,425,144 bytes
5 Dir(s) 776,089,026,560 bytes free
from spleeter.
How long should a run take? I started a run against a song (2:48 duration) this afternoon and it is still running at 9:25 pm. Here is what it shows so far:
D:>spleeter separate -i test.mp3
INFO:tensorflow:Downloading model archive https://github.com/deezer/spleeter/releases/download/v1.4.0/2stems.tar.gz
INFO:tensorflow:Using config: {'_model_dir': 'pretrained_models\2stems', '_tf_random_seed': None, '_save_summary_steps': 100, '_save_checkpoints_steps': None, '_save_checkpoints_secs': 600, '_session_config': gpu_options {
per_process_gpu_memory_fraction: 0.7
}
, '_keep_checkpoint_max': 5, '_keep_checkpoint_every_n_hours': 10000, '_log_step_count_steps': 100, '_train_distribute': None, '_device_fn': None, '_protocol': None, '_eval_distribute': None, '_experimental_distribute': None, '_experimental_max_worker_delay_secs': None, '_service': None, '_cluster_spec': <tensorflow.python.training.server_lib.ClusterSpec object at 0x00000196FADC2B38>, '_task_type': 'worker', '_task_id': 0, '_global_id_in_cluster': 0, '_master': '', '_evaluation_master': '', '_is_chief': True, '_num_ps_replicas': 0, '_num_worker_replicas': 1}
INFO:tensorflow:Calling model_fn.
WARNING:tensorflow:From c:\python\lib\site-packages\spleeter\model\functions\unet.py:29: The name tf.keras.initializers.he_uniform is deprecated. Please use tf.compat.v1.keras.initializers.he_uniform instead.INFO:tensorflow:Apply unet for vocals_spectrogram
INFO:tensorflow:Apply unet for accompaniment_spectrogram
INFO:tensorflow:Done calling model_fn.
WARNING:tensorflow:From c:\python\lib\site-packages\tensorflow\python\ops\array_ops.py:1354: add_dispatch_support..wrapper (from tensorflow.python.ops.array_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.where in 2.0, which has the same broadcast rule as np.where
INFO:tensorflow:Graph was finalized.
WARNING:tensorflow:From c:\python\lib\site-packages\tensorflow\python\training\saver.py:1276: checkpoint_exists (from tensorflow.python.training.checkpoint_management) is deprecated and will be removed in a future version.
Instructions for updating:
Use standard file APIs to check for files with this prefix.
INFO:tensorflow:Restoring parameters from pretrained_models\2stems\model
INFO:tensorflow:Running local_init_op.
INFO:tensorflow:Done running local_init_op.
WARNING:tensorflow:The dtype of the watched tensor must be floating (e.g. tf.float32), got tf.string
WARNING:tensorflow:The dtype of the watched tensor must be floating (e.g. tf.float32), got tf.int32
WARNING:tensorflow:The dtype of the watched tensor must be floating (e.g. tf.float32), got tf.string
INFO:tensorflow:Loading audio b'test.mp3' from 0.0 to 600.0Spleeter.exe is still shown as running but is using 0% cpu. It did get as far as creating the following directory and files:
D:\>dir pretrained_models /s Volume in drive D is D-Data Volume Serial Number is 366A-6FA3 Directory of D:\pretrained_models 2019-11-06 13:04 <DIR> . 2019-11-06 13:04 <DIR> .. 2019-11-06 13:04 <DIR> 2stems 0 File(s) 0 bytes Directory of D:\pretrained_models\2stems 2019-11-06 13:04 <DIR> . 2019-11-06 13:04 <DIR> .. 2019-10-24 03:35 176 ._checkpoint 2019-11-06 13:04 2 .probe 2019-10-24 03:35 67 checkpoint 2019-10-24 03:35 78,614,080 model.data-00000-of-00001 2019-10-24 03:35 5,244 model.index 2019-10-24 03:35 805,575 model.meta 6 File(s) 79,425,144 bytes Total Files Listed: 6 File(s) 79,425,144 bytes 5 Dir(s) 776,089,026,560 bytes free
Same issue.
btw, I am not using the original sample, but a mp3-form audio from my music collection.
ffmpeg and ffplay can read the file successfully, but spleeter keeps stuck on reading the file,
and spleeter works on the given sample(audio_example.mp3) well.
from spleeter.
Duplicate with #30 and #29 please retry with the new version released. It fixes FFmpeg reading.
from spleeter.
Related Issues (20)
- How to batch process audio files on spleeter?
- [Bug] Unable to install spleeter on Macbook running M1 chips because of old numpy version !!! HOT 1
- Doesn't Work with Sonoma HOT 2
- [Bug] Version 3.12 compatible
- Regarding the use of separate_to_file, a deprecation warning is prompted! HOT 1
- Cannot do `poetry add spleeter` due to `tensorflow-io-gcs-filesystem` error
- [Discussion] your question HOT 1
- [Feature] your feature name
- I created web UI. You can have it
- [Bug] Fail to install (with python 3.10.13) HOT 3
- Install fail on macOS Sonoma 14.2, on Apple M2 laptop HOT 4
- Why is the audio unchanged after separation? HOT 5
- Index Error
- [Discussion] cuda memory optimisation issues
- [Feature] Create a Docker image for Apple Silicon
- [Discussion] Is there any way to release memory after separating is done?? HOT 2
- How to use 2stems-finetune?
- [Discussion] license for model weights
- AssertionError: Nesting violated for default stack of <class 'tensorflow.python.framework.ops.Graph'> objects
- Separator failing with "Trying to set the stream twice. This isn't supported. "
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spleeter.