Aller au contenu
ModelPrésentéExterne
Télécharger

Pocket Voice Cleanup Demucs Htdemucs Coreml

Core ML export of the real-valued separator core from Meta's Demucs 4.0.1 htdemucs model.

TypeOtherVersionRevision eb960d7CClasse

Source du modèle

Type
Other
Taille du fichier
99,8 MB
Version
vRevision eb960d7
Mis à jour
11 oct. 2026
Téléchargements
8
Source
Hugging Face

Description de la source

HTDemucs Core ML Voice Cleanup

Core ML export of the real-valued separator core from Meta's Demucs 4.0.1 htdemucs model.

Model choice

Demucs 4.0.1 is still the latest stable Demucs release. The upstream repository documents an unreleased 4.1.0a1 section, but the stable package remains 4.0.1. The base htdemucs checkpoint is used here instead of htdemucs_ft because the fine-tuned variant is a heavier bag of per-source models.

Upstream model details:

  • Demucs version: 4.0.1
  • Model id: htdemucs
  • Checkpoint: 955717e8
  • Source order: drums, bass, other, vocals
  • Vocals source index: 3
  • Weights: upstream Demucs htdemucs

Why this is a separator-core export

The full waveform HTDemucs graph uses complex-valued STFT and ISTFT tensors. Core ML does not accept those complex tensors through the PyTorch converter, so the export boundary is the internal cac=True separator boundary:

  • Preprocessing performs the Demucs STFT and feeds real/imaginary channels.
  • Core ML runs the learned separator core.
  • Postprocessing reconstructs the vocals waveform and downmixes it.

Files

  • manifest.json: runtime preprocessing contract.
  • htdemucs_separator_core.mlpackage: Core ML model package.
  • scripts/export_htdemucs_coreml_core.py: export script used to generate the Core ML package and manifest.

The package was exported with coremltools as an ML Program targeting iOS 26 and checked with xcrun coremlcompiler compile.

Reference processing flow

  1. Decode the input sample to PCM.
  2. Resample to 44.1 kHz.
  3. Duplicate mono to stereo.
  4. Chunk and pad to 343980 samples.
  5. Build the Demucs STFT tensor.
  6. Run the Core ML model.
  7. Reconstruct the vocals stem.
  8. Downmix to mono.

License

This Core ML package contains the upstream Demucs htdemucs weights, which are provided for research purposes only under the upstream Demucs terms.

Sources

1 source
Hugging FacePrincipalVersion eb960d7470e5513ae275981d7f75b467c076e05b
huggingface.co/reiscook/pocket-voice-cleanup-demucs-htdemucs-coreml/tree/eb960d7470e5513ae275981d7f75b467c076e05b

Vérifié 14 août

Artefacts du modèle

1 artefact

htdemucs_separator_core.mlpackage/Data/com.apple.CoreML/weights/weight.bin

bin · 99,8 MB · SHA-256 2575fe7ab6e4…19ff · Hugging Face

Télécharger

Extraits de sources

2 extraits

--- license: other tags: - coreml - demucs - audio-source-separation - ios pipeline_tag: audio-to-audio --- # HTDemucs Core ML Voice Cleanup Core ML export of the real-valued separator core from Meta's Demucs 4.0.1 `htdemucs` model. ## Model choice Demucs 4.0.1 is still the latest stable Demucs release. The upstream repository documents an unreleased `4.1.0a1` section, but the stable package remains 4.0.1. The base `htdemucs` checkpoint is used here instead of `htdemucs_ft` because the fine-tuned variant is a heavier bag of per-source models. Upstream model details: - Demucs version: `4.0.1` - Model id: `htdemucs` - Checkpoint: `955717e8` - Source order: `drums`, `bass`, `other`, `vocals` - Vocals source index: `3` - Weights: upstream Demucs `htdemucs` ## Why this is a separator-core export The full waveform HTDemucs graph uses complex-valued STFT and ISTFT tensors. Core ML does not accept those complex tensors through the PyTorch converter, so the export boundary is the internal `cac=True` separator boundary: - Preprocessing performs the Demucs STFT and feeds real/imaginary channels. - Core ML runs the learned separator core. - Postprocessing reconstructs the vocals waveform and downmixes it. ## Files - `manifest.json`: runtime preprocessing contract. - `htdemucs_separator_core.mlpackage`: Core ML model package. - `scripts/export_htdemucs_coreml_core.py`: export script used to generate the Core ML package and manifest. The package was exported with `coremltools` as an ML Program targeting iOS 26 and checked with `xcrun coremlcompiler compile`. ## Reference processing flow 1. Decode the input sample to PCM. 2. Resample to 44.1 kHz. 3. Duplicate mono to stereo. 4. Chunk and pad to `343980` samples. 5. Build the Demucs STFT tensor. 6. Run the Core ML model. 7. Reconstruct the vocals stem. 8. Downmix to mono. ## License This Core ML package contains the upstream Demucs `htdemucs` weights, which are provided for research purposes only under the upstream Demucs terms.

Source context: 8 downloads · 0 likes · Pipeline audio-to-audio · Repo reiscook/pocket-voice-cleanup-demucs-htdemucs-coreml