Skip to content

A C++ Inference library for the Spleeter project

License

Notifications You must be signed in to change notification settings

gregbartell/spleeterpp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CMake 47.0%
  • C++ 39.8%
  • Python 7.1%
  • Dockerfile 6.1%