Awesome
Spleeter C++ Inference
How ?
Spleeter is based on tensorflow
. As
described in their documentation, we can easily run the inference of such a
model in C++.
Build
Note: The system is tested on osx 10.15, ubuntu 18.04 and Windows10 (VS2019)
We base our work on cmake
.
mkdir build && cd build
cmake ..
cmake --build .
This will:
- Download the
Spleeter
pre-trained models - Download the pre-built
tensorflow
C API library - Build the
spleeter++
library and its associated tests
Documentation
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