Instructions to use OzzyGT/htdemucs_diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use OzzyGT/htdemucs_diffusers with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("OzzyGT/htdemucs_diffusers", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
HTDemucs (diffusers layout)
HTDemucs (Hybrid Transformer Demucs, v4) by Simon Rouard, Francisco Massa and
Alexandre Défossez (Meta AI) separates a 44.1 kHz stereo mix into drums, bass, other and vocals. These are the weights
of adefossez/HTDemucs (the default htdemucs model) in the diffusers
layout.
They need the custom blocks to run: OzzyGT/htdemucs_custom_blocks.
License
The weights are published under CC BY-NC 4.0 (non-commercial, see LICENSE). The original card names no licence, and the Demucs README says: "The license of the weights is not clear: MusDB contains some data that were only usable for research purpose. [...] The 6 source variant of htdemucs was trained only on Meta internal dataset, which likely means CC-NC-BY license is applicable, as it was the case for all models released by FAIR." This model was trained on MUSDB HQ and 800 extra songs.
Citation
@inproceedings{rouard2022hybrid,
title={Hybrid Transformers for Music Source Separation},
author={Rouard, Simon and Massa, Francisco and D{\'e}fossez, Alexandre},
booktitle={ICASSP 23},
year={2023}
}
- Downloads last month
- -
Model tree for OzzyGT/htdemucs_diffusers
Base model
adefossez/HTDemucs