tsurumeso/vocal-remover
tsurumeso/vocal-remover has 1,764 GitHub stars and 257 forks. GitHot measured -1 stars in 24 hours and 0 in 7 days. Last checked 2026-11-11 03:33 UTC. Last push 2026-09-10.
Vocal Remover using Deep Neural Networks
Measured star growth
- in 24h
- -1
- in 7 days
- 0
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Originalvocal-remover
This is a deep-learning-based tool for extracting the instrumental track from your songs.
Installation
Getting vocal-remover
Download the latest version from here.
Install PyTorch
See: GET STARTED
Install the other packages
cd vocal-remover
pip install -r requirements.txt
Usage
The following command separates the input into instrumental and vocal tracks. They are saved as *_Instruments.wav and *_Vocals.wav.
Run on CPU
python inference.py --input path/to/an/audio/file
Run on GPU
python inference.py --input path/to/an/audio/file --gpu 0
Advanced options
The --tta option performs Test-Time Augmentation to improve separation quality.
python inference.py --input path/to/an/audio/file --tta --gpu 0
The --postprocess option masks the instrumental track based on the vocal volume to improve separation quality.
[!WARNING] This is an experimental feature. If you encounter any problems with this option, please disable it.
python inference.py --input path/to/an/audio/file --postprocess --gpu 0
Train your own model
Place your dataset
path/to/dataset/
+- instruments/
| +- 01_foo_inst.wav
| +- 02_bar_inst.mp3
| +- ...
+- mixtures/
+- 01_foo_mix.wav
+- 02_bar_mix.mp3
+- ...
Train a model
python train.py --dataset path/to/dataset --mixup_rate 0.5 --reduction_rate 0.5 --gpu 0
References
- [1] Jansson et al., "Singing Voice Separation with Deep U-Net Convolutional Networks", https://ejhumphrey.com/assets/pdf/jansson2017singing.pdf
- [2] Takahashi et al., "Multi-scale Multi-band DenseNets for Audio Source Separation", https://arxiv.org/pdf/1706.09588.pdf
- [3] Takahashi et al., "MMDENSELSTM: AN EFFICIENT COMBINATION OF CONVOLUTIONAL AND RECURRENT NEURAL NETWORKS FOR AUDIO SOURCE SEPARATION", https://arxiv.org/pdf/1805.02410.pdf
- [4] Choi et al., "PHASE-AWARE SPEECH ENHANCEMENT WITH DEEP COMPLEX U-NET", https://openreview.net/pdf?id=SkeRTsAcYm
- [5] Jansson et al., "Learned complex masks for multi-instrument source separation", https://arxiv.org/pdf/2103.12864.pdf
- [6] Liutkus et al., "The 2016 Signal Separation Evaluation Campaign", Latent Variable Analysis and Signal Separation - 12th International Conference
Explore related projects
tensorflow/tensorflow
An Open Source Machine Learning Framework for Everyone
201,505 starshuggingface/transformers
🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.
168,815 starsAUTOMATIC1111/stable-diffusion-webui
Stable Diffusion web UI
165,289 starsComfy-Org/ComfyUI
The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
146,271 stars