← Open Source

Vocal Remover using Deep Neural Networks.

ApplicationsContent creationPython
Momentum
+0stars in 24 hours0.0%
1.76k
Stars
257
Forks
+-2
This week
8
Contributors
Created 2019-07-21 · Updated 2026-12-04 · #11548 today
Top developers
tsurumesoaverwhydannyball710
README

vocal-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

Nearby in the ranking
Similar items

AI Rank for iPhone

Follow AI model rankings

Download on the App Store