tamyiuchau / spleeterpp

A C++ Inference library for the Spleeter project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Documentation Status Build Status

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 (VS2017)

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

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

About

A C++ Inference library for the Spleeter project

License:MIT License


Languages

Language:CMake 47.0%Language:C++ 39.8%Language:Python 7.1%Language:Dockerfile 6.1%