Unofficial Python package of D3Net implementation by Sony Research AI, used in Spleeter Web.
Project description
D3Net (Music Source Separation) for Spleeter Web
This is a modified version of the official D3Net repo made to be compatible with Spleeter Web!
This is inference code for D3Net based music source separation.
Quick Music Source Separation Demo by D3Net
From the Colab link below, you can try using D3Net to generate and listen to separated audio sources of your audio music file. Please give it a try!
Getting started
Prerequisites
- nnabla
- librosa
- pydub
- numpy
- soundfile
- yaml
Inference: Music source separation with pretrained model
Download the pre-trained D3Net model for Music Source Separation here.
Run the below inference command for a sample audio file test.wav
in current directory:
python ./separate.py -i ./test.wav -o output/ -m d3net-mss.h5 -c cudnn
Arguments:
-i : Input files. (Any audio format files supported by FFMPEG.)
-o : Output directory. (Output folder path to save separated instruments)
-m : Model file. (Pre-trained model)
-c : Context. (Extension modules : cpu
or cudnn
)
Training: Train the music source separation model from scratch (coming soon)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file d3net-spleeterweb-0.1.3.tar.gz
.
File metadata
- Download URL: d3net-spleeterweb-0.1.3.tar.gz
- Upload date:
- Size: 17.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.27.1 setuptools/59.6.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50531045410968207aa1d7cd5e4a1ae870316d3f5396371d7ac642602ca2f908 |
|
MD5 | bb91be3755a86852b01b997f86ce4711 |
|
BLAKE2b-256 | ec154530826b74f9306454c7f17f7398e231b8e3cfa287f261dd2692b2d7e05a |
File details
Details for the file d3net_spleeterweb-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: d3net_spleeterweb-0.1.3-py3-none-any.whl
- Upload date:
- Size: 26.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.27.1 setuptools/59.6.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ed7a8578686aad99686e30dfbf74b38dbbbf6c816ded5f4ef7304ad4730494f |
|
MD5 | 0d1509e7d6f823364184e87d114f111c |
|
BLAKE2b-256 | 4a6c830a790d83b7e31ef0a87015bba7c456ca23c4ba70f4c1be360f37bd9b74 |