Spleeter is based on tensorflow
. As
described in their documentation, we can easily run the inference of such a
model in C++.
We base our work on cmake
.
mkdir build && cd build
cmake ..
cmake --build .
For windows, we only support Visual Studio 2017 in Release mode (see this).
mkdir build && cd build
cmake -G"Visual Studio 15 2017 Win64" ..
cmake --build .
This will:
- Download the
Spleeter
pre-trained models - Download the pre-built
tensorflow_cc
library - Build the
spleeter++
library and its associated tests
The developer doc is available on readthedoc.
If you ever want to build it, we provide a dockerfile:
docker build -t sp-docs -f docs/Dockerfile .
docker run -it --rm -v$(pwd):/code sp-docs doxygen
docker run -it --rm -v$(pwd):/code sp-docs make html