Mirror of gentij/htdemucs-ort for Gridshift distribution
Browse files- .gitattributes +1 -0
- README.md +43 -0
- htdemucs.ort +3 -0
- manifest.json +26 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
htdemucs.ort filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
tags:
|
| 4 |
+
- audio
|
| 5 |
+
- source-separation
|
| 6 |
+
- demucs
|
| 7 |
+
- onnx
|
| 8 |
+
- onnxruntime
|
| 9 |
+
library_name: onnx
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# HTDemucs (ONNX Runtime) — Gridshift mirror
|
| 13 |
+
|
| 14 |
+
This is a mirror of [gentij/htdemucs-ort](https://huggingface.co/gentij/htdemucs-ort),
|
| 15 |
+
re-hosted under the [Gridshift Studio](https://huggingface.co/gridshiftstudio) organization
|
| 16 |
+
so that the desktop app's model-distribution pipeline remains stable across
|
| 17 |
+
upstream changes.
|
| 18 |
+
|
| 19 |
+
**Weights, format, and license are unchanged from upstream.**
|
| 20 |
+
|
| 21 |
+
## Usage
|
| 22 |
+
|
| 23 |
+
Consumed by [Gridshift](https://gridshift.studio)'s stem-separation feature via
|
| 24 |
+
the Rust stem-splitter crate (`reqwest` + `onnxruntime`). The `manifest.json`
|
| 25 |
+
in this repo lists the ONNX model file with its SHA-256 and size for
|
| 26 |
+
client-side integrity verification.
|
| 27 |
+
|
| 28 |
+
- **Audio format:** 44.1 kHz stereo, 343 980 samples per inference window
|
| 29 |
+
- **Stems:** drums, bass, other, vocals
|
| 30 |
+
- **Format:** ONNX Runtime `.ort` (converted from PyTorch HTDemucs)
|
| 31 |
+
- **File size:** ~200 MB
|
| 32 |
+
|
| 33 |
+
## License and attribution
|
| 34 |
+
|
| 35 |
+
Apache-2.0, inherited from the upstream Demucs project by Facebook Research.
|
| 36 |
+
The conversion to ONNX Runtime was done by [gentij](https://huggingface.co/gentij);
|
| 37 |
+
we redistribute that conversion without modification.
|
| 38 |
+
|
| 39 |
+
Please cite upstream Demucs if you use this model:
|
| 40 |
+
|
| 41 |
+
```
|
| 42 |
+
Défossez et al., "Hybrid Transformers for Music Source Separation", 2022.
|
| 43 |
+
```
|
htdemucs.ort
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:09dc165512d8ef7480bcb2cacea9dda82d571f8dbf421d8c44a2ca5568bec729
|
| 3 |
+
size 209884896
|
manifest.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "HTDemucs-ORT",
|
| 3 |
+
"format": "ort",
|
| 4 |
+
"version": "0.1.0",
|
| 5 |
+
"opset": 18,
|
| 6 |
+
"sample_rate_hz": 44100,
|
| 7 |
+
"window": 343980,
|
| 8 |
+
"hop": 171990,
|
| 9 |
+
"stems": ["drums","bass","other","vocals"],
|
| 10 |
+
"inputs": [
|
| 11 |
+
{ "name": "input", "layout": "BCT", "dtype": "f32", "shape": ["1","2","343980"] },
|
| 12 |
+
{ "name": "x", "layout": "BSCF", "dtype": "f32", "shape": ["1","4","2048","336"] }
|
| 13 |
+
],
|
| 14 |
+
"outputs": [
|
| 15 |
+
{ "name": "add_67", "layout": "BSCT", "dtype": "f32", "shape": ["1","4","2","343980"] }
|
| 16 |
+
],
|
| 17 |
+
"artifacts": [
|
| 18 |
+
{
|
| 19 |
+
"file": "htdemucs.ort",
|
| 20 |
+
"sha256": "09dc165512d8ef7480bcb2cacea9dda82d571f8dbf421d8c44a2ca5568bec729",
|
| 21 |
+
"size_bytes": 209884896,
|
| 22 |
+
"url": "https://huggingface.co/gentij/htdemucs-ort/resolve/main/htdemucs.ort"
|
| 23 |
+
}
|
| 24 |
+
],
|
| 25 |
+
"entry": "htdemucs.ort"
|
| 26 |
+
}
|