smank/htdemucs-onnx
0
HTDemucs — ONNX conversions
ONNX conversions of the Demucs v4 (Hybrid Transformer) family, packaged for SonicDemixer (on-device stem separation for macOS). All graphs share one contract: input mix [1, 2, segmentSamples] float32 planar waveform → output sources [1, numStems, 2, segmentSamples], opset 17, STFT/iSTFT embedded in the graph (no complex dtypes).
Integrity: files are LFS-tracked; the LFS OID is the SHA-256 that consuming apps verify after download.
License & attribution
MIT. These are derivative conversions of:
- Demucs / HTDemucs — code and pretrained weights © Meta Platforms (FAIR), MIT. https://github.com/facebookresearch/demucs
- ONNX-exportable HTDemucs + conv-based STFT/iSTFT — Mixxx Development Team demucs fork (GSoC 2025, Anmol Mishra), MIT. https://github.com/mixxxdj/demucs
Conversion scripts: tools/model-conversion/ in the SonicDemixer repository.
