Add Demucs, Spleeter, Open-Unmix and Mel-Band RoFormer models
Browse files- README.md +44 -0
- htdemucs_6s/LICENSE +16 -0
- htdemucs_6s/ggml-model-htdemucs-6s-f16.bin +3 -0
- mel_band_roformer_vocals/LICENSE +30 -0
- mel_band_roformer_vocals/mel_band_roformer_vocals.onnx +3 -0
- spleeter_5stems/LICENSE +21 -0
- spleeter_5stems/spleeter_5stems.onnx +3 -0
- umxhq/LICENSE +21 -0
- umxhq/umxhq.onnx +3 -0
README.md
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: per-model
|
| 4 |
+
license_link: https://huggingface.co/PaulChana/divider-models/blob/main/README.md
|
| 5 |
+
library_name: onnx
|
| 6 |
+
pipeline_tag: audio-to-audio
|
| 7 |
+
tags:
|
| 8 |
+
- music-source-separation
|
| 9 |
+
- stem-separation
|
| 10 |
+
- onnx
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# Divider models
|
| 14 |
+
|
| 15 |
+
Music source separation models converted for Divider, a desktop stem splitter. Divider downloads them on demand; each folder holds the weights and the `LICENSE` that applies to them.
|
| 16 |
+
|
| 17 |
+
Every model is a conversion of weights published by their authors. Nothing here was retrained or fine-tuned. Weights are stored as 16-bit floats and run at 32-bit precision.
|
| 18 |
+
|
| 19 |
+
| Folder | Model | Stems | Format | Weights licence |
|
| 20 |
+
|---|---|---|---|---|
|
| 21 |
+
| `htdemucs_6s` | Hybrid Transformer Demucs, 6-stem | drums, bass, vocals, guitar, piano, other | demucs.cpp GGML | **Research use only** |
|
| 22 |
+
| `spleeter_5stems` | Spleeter, 5-stem | vocals, piano, drums, bass, other | ONNX | MIT |
|
| 23 |
+
| `umxhq` | Open-Unmix UMX-HQ | vocals, drums, bass, other | ONNX | MIT |
|
| 24 |
+
| `mel_band_roformer_vocals` | Mel-Band RoFormer vocal model | vocals, instrumental | ONNX | MIT |
|
| 25 |
+
|
| 26 |
+
## Licences
|
| 27 |
+
|
| 28 |
+
The licence for each model is the `LICENSE` file in its folder. They differ, so check the one for the model you use.
|
| 29 |
+
|
| 30 |
+
- **Demucs (`htdemucs_6s`)** — the weights are **not** under the MIT licence of the Demucs code. The author states they "are not covered by the MIT license, and are provided only for scientific purposes" ([facebookresearch/demucs#327](https://github.com/facebookresearch/demucs/issues/327)).
|
| 31 |
+
- **Spleeter** — MIT, Copyright (c) 2019-present Deezer SA. Deezer distributes the code and pre-trained models under the MIT licence ([JOSS paper](https://joss.theoj.org/papers/10.21105/joss.02154)).
|
| 32 |
+
- **Open-Unmix** — MIT, Copyright (c) 2019 Inria (Fabian-Robert Stöter, Antoine Liutkus), from [sigsep/open-unmix-pytorch](https://github.com/sigsep/open-unmix-pytorch).
|
| 33 |
+
- **Mel-Band RoFormer** — weights by Kimberley Jensen, published at [KimberleyJSN/melbandroformer](https://huggingface.co/KimberleyJSN/melbandroformer) under the MIT licence. The network follows [ZFTurbo/Music-Source-Separation-Training](https://github.com/ZFTurbo/Music-Source-Separation-Training) and [lucidrains/BS-RoFormer](https://github.com/lucidrains/BS-RoFormer), both MIT.
|
| 34 |
+
|
| 35 |
+
## Inputs and outputs
|
| 36 |
+
|
| 37 |
+
All models take stereo audio at 44.1 kHz.
|
| 38 |
+
|
| 39 |
+
- **`spleeter_5stems.onnx`** — input `[segments, 2, 512, 1536]`, the STFT magnitude (n_fft 4096, hop 1024, first 1536 bins) in segments of 512 frames. Output `[segments, 5, 2, 512, 1536]`, a magnitude estimate per stem, used to build ratio masks.
|
| 40 |
+
- **`umxhq.onnx`** — input `[1, 2, frames, 2049]`, the STFT magnitude (n_fft 4096, hop 1024). Output `[1, 4, 2, frames, 2049]`, a magnitude estimate per stem, refined with one iteration of Open-Unmix's Wiener filter.
|
| 41 |
+
- **`mel_band_roformer_vocals.onnx`** — input `[1, 2, 801, 1025, 2]`, the complex STFT (n_fft 2048, hop 441) of an 8 s chunk as real and imaginary parts. Output of the same shape, the complex vocal mask. The instrumental is the mix minus the vocals.
|
| 42 |
+
- **`ggml-model-htdemucs-6s-f16.bin`** — read by [demucs.cpp](https://github.com/sevagh/demucs.cpp).
|
| 43 |
+
|
| 44 |
+
The STFTs are centred with reflect padding and a periodic Hann window, matching `torch.stft`.
|
htdemucs_6s/LICENSE
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Demucs 6-stem model (htdemucs_6s)
|
| 2 |
+
|
| 3 |
+
RESEARCH USE ONLY
|
| 4 |
+
|
| 5 |
+
The weights were trained by Meta AI (Alexandre Défossez, Simon Rouard) and are
|
| 6 |
+
published with https://github.com/facebookresearch/demucs. They are not covered
|
| 7 |
+
by the MIT licence of the Demucs code. The author states that the pre-trained
|
| 8 |
+
models "are not covered by the MIT license, and are provided only for
|
| 9 |
+
scientific purposes" (https://github.com/facebookresearch/demucs/issues/327).
|
| 10 |
+
|
| 11 |
+
The file ggml-model-htdemucs-6s-f16.bin is those weights converted to the
|
| 12 |
+
format read by demucs.cpp (https://github.com/sevagh/demucs.cpp), stored as
|
| 13 |
+
16-bit floats. No retraining or fine-tuning was done.
|
| 14 |
+
|
| 15 |
+
Demucs code: MIT License, Copyright (c) Meta Platforms, Inc. and affiliates.
|
| 16 |
+
demucs.cpp: MIT License, Copyright (c) 2023 Sevag H.
|
htdemucs_6s/ggml-model-htdemucs-6s-f16.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:09704f4ceae204e56e77d5eefd6ac71d7275be81fd507e6913371d59abcee856
|
| 3 |
+
size 54855129
|
mel_band_roformer_vocals/LICENSE
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Mel-Band RoFormer vocal model
|
| 2 |
+
|
| 3 |
+
The weights (MelBandRoformer.ckpt) were trained by Kimberley Jensen and are
|
| 4 |
+
published at https://huggingface.co/KimberleyJSN/melbandroformer, whose model
|
| 5 |
+
card declares the MIT License. The network definition follows
|
| 6 |
+
https://github.com/ZFTurbo/Music-Source-Separation-Training (MIT License,
|
| 7 |
+
Copyright (c) 2024 Roman Solovyev) and https://github.com/lucidrains/BS-RoFormer
|
| 8 |
+
(MIT License, Copyright (c) Phil Wang).
|
| 9 |
+
|
| 10 |
+
MIT License
|
| 11 |
+
|
| 12 |
+
Copyright (c) Kimberley Jensen
|
| 13 |
+
|
| 14 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 15 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 16 |
+
in the Software without restriction, including without limitation the rights
|
| 17 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 18 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 19 |
+
furnished to do so, subject to the following conditions:
|
| 20 |
+
|
| 21 |
+
The above copyright notice and this permission notice shall be included in all
|
| 22 |
+
copies or substantial portions of the Software.
|
| 23 |
+
|
| 24 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 25 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 26 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 27 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 28 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 29 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 30 |
+
SOFTWARE.
|
mel_band_roformer_vocals/mel_band_roformer_vocals.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3c798fffa4fc3816a0330ff7fa3556b79a4b6e19723b91ac0195cbfd16bf7fa0
|
| 3 |
+
size 474710260
|
spleeter_5stems/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2019-present, Deezer SA.
|
| 4 |
+
|
| 5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 6 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 7 |
+
in the Software without restriction, including without limitation the rights
|
| 8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 9 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 10 |
+
furnished to do so, subject to the following conditions:
|
| 11 |
+
|
| 12 |
+
The above copyright notice and this permission notice shall be included in all
|
| 13 |
+
copies or substantial portions of the Software.
|
| 14 |
+
|
| 15 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 21 |
+
SOFTWARE.
|
spleeter_5stems/spleeter_5stems.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1ecc2286c99002895b8c5ced1e5be949915bb4bc587c0b9426001179f3cace5e
|
| 3 |
+
size 98464544
|
umxhq/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2019 Inria (Fabian-Robert Stöter, Antoine Liutkus)
|
| 4 |
+
|
| 5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 6 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 7 |
+
in the Software without restriction, including without limitation the rights
|
| 8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 9 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 10 |
+
furnished to do so, subject to the following conditions:
|
| 11 |
+
|
| 12 |
+
The above copyright notice and this permission notice shall be included in all
|
| 13 |
+
copies or substantial portions of the Software.
|
| 14 |
+
|
| 15 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 21 |
+
SOFTWARE.
|
umxhq/umxhq.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dce4c6325f01493eaa821ae0a24dd77d129a8b526add210a93f70f0121d6f529
|
| 3 |
+
size 71324250
|