Spleeter Cog model

Replicate

This is an implementation of Spleeter as a Cog model. Cog packages machine learning models as standard containers.

First, run get_weights.sh from the project root to download pre-trained weights:

./download_model.sh

You can then build a container and run predictions like so:

cog predict -i audio="<path/to/your/audio/file>"

To publish the model to Replicate, run:

cog login
cog push r8.im/<your-username>/<your-model-name>