doom-sed / README.md
yoshipon's picture
Update README.md
0755003 verified
|
Raw History Blame Contribute Delete
2.25 kB
---
base_model: laion/clap-htsat-fused
language:
- en
library_name: m3l
license: apache-2.0
model_name: DOOM-SED
pipeline_tag: audio-classification
---
# DOOM-SED
Downstream-oriented open-vocabulary model for sound event detection
## Usage
### Installation
Install [M3L](https://github.com/b-sigpro/m3l):
```bash
pip install m3l-toolkit
```
### BEATs checkpoint
Download the pre-trained `BEATs_iter3_plus_AS2M.pt` checkpoint from the [official BEATs repository](https://github.com/microsoft/unilm/tree/master/beats).
Set the `BEATS_CKPT_PATH` environment variable to the **directory containing the checkpoint file**, not the file itself:
```bash
export BEATS_CKPT_PATH=/path/to/beats
```
The checkpoint must be located at:
```text
$BEATS_CKPT_PATH/BEATs_iter3_plus_AS2M.pt
```
This checkpoint is required for inference and is not included in this model repository.
### Inference
Create a `label_names.json` file containing a JSON array of sound event labels to detect, for example:
```json
["Dog barking", "Siren", "Footsteps"]
```
Run inference with:
```bash
python -m m3l.audiotext.ov_sed.pipelines.detect one \
--disable_strict=false
hf://b-sigpro/doom-sed \
label_names.json \
input.wav \
output.pkl \
```
Input audio is converted to mono at 16 kHz. The output is a pickle file containing prediction scores (`y_pred`) and the corresponding label names (`label_names`).
## Citation
If you use this model in your research, please cite the following work:
```bibtex
@inproceedings{sakurai2026doomsed,
title = {{DOOM-SED}: Downstream-Oriented Open-Vocabulary Model for Sound Event Detection},
author = {Shun Sakurai and Yudai Kandori and Yoshiaki Bando and Keisuke Imoto and Masaki Onishi},
booktitle = {Proceedings of the 11th Workshop on Detection and Classification of Acoustic Scenes and Events (DCASE 2026)},
pages = {245--249},
year = {2026}
}
```
## License
This model is released under the **apache-2.0** license.
Note that this model is built on the following base models and is also subject to their respective license terms:
- [LAION-CLAP](https://huggingface.co/laion/clap-htsat-fused) — apache-2.0
- [BEATs](https://github.com/microsoft/unilm/blob/master/beats) — mit