ryan5453 / demucs

Demucs is an audio source separator created by Facebook Research.

  • Public
  • 363.5K runs
  • A100 (40GB)
  • GitHub
  • Paper
  • License

Input

*file

Upload the file to be processed here.

string

Choose the demucs audio that proccesses your audio. The readme has more information on what to choose.

Default: "htdemucs"

string

If you just want to isolate one stem, you can choose it here.

Default: "none"

Including output_format and 9 more...

Output

{ "bass": "https://storage.googleapis.com/replicate-files/DGKrtyY9DLJpDNwK8wyx1YJTwffy136G7ST6XM2Mwzp4i2vSA/file", "drums": "https://storage.googleapis.com/replicate-files/tyAr6QMjIl7mP5YPNZWf29VzlG4eRQZScDf64DdxMfMdLafVC/file", "other": "https://storage.googleapis.com/replicate-files/evRBGYcxmfpCJ0qwn8ELHW0BzfsytARPYUOqeK728qcnLafVC/file", "vocals": "https://storage.googleapis.com/replicate-files/fWw45bCZ5ZWILSET8mslNXu2gI4DiBD3NDaCixz2WnvcR7XJA/file" }
Generated in

This example was created by a different version, ryan5453/demucs:53191dee.

Run time and cost

This model costs approximately $0.068 to run on Replicate, or 14 runs per $1, but this varies depending on your inputs. It is also open source and you can run it on your own computer with Docker.

This model runs on Nvidia A100 (40GB) GPU hardware. Predictions typically complete within 60 seconds. The predict time for this model varies significantly based on the inputs.

Readme

About

Demucs is an audio source separator model created by Facebook Research. The model ingests an audio file, and returns stems (the separated parts such as the vocals, drums, and bass.)

The original author of Demucs left Meta and therefore the original repository is not maintained, so this Cog uses a fork by the original author. You can find the fork here.

Model Versions

Demucs v4 (Hybrid Transformers Demucs)

  • htdemucs - base model
  • htdemucs_ft - fine-tuned version (this has better results but will take 4x as long)
  • htdemucs_6s - adds piano and guitar stems (piano does not work very well)

Demucs v3 (Hybrid Demucs)

  • hdemucs_mmi - base model

Demucs v2

  • mdx_q - quantized of the base model (trained on only MusDB)
  • mdx_extra_q - quantized version of the base model with extra data