https://github.com/fgnt/ci_sdr
Science Score: 41.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
✓DOI references
Found 4 DOI reference(s) in README -
✓Academic publication links
Links to: arxiv.org -
✓Committers with academic emails
1 of 3 committers (33.3%) from academic institutions -
✓Institutional organization owner
Organization fgnt has institutional domain (nt.uni-paderborn.de) -
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.2%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: fgnt
- License: mit
- Language: Python
- Default Branch: main
- Homepage: https://pypi.org/project/ci-sdr
- Size: 70.3 KB
Statistics
- Stars: 52
- Watchers: 5
- Forks: 8
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Convolutive Transfer Function Invariant SDR
This repository contains an implementation for the Convolutive transfer function Invariant Signal-to-Distortion Ratio objective for PyTorch as described in the publication Convolutive Transfer Function Invariant SDR training criteria for Multi-Channel Reverberant Speech Separation (IEEE ICASSP, RIS UPB, arXiv).
Here, a small example, how you can use this CI-SDR objective in your own source code:
```python import torch import ci_sdr
reference: torch.tensor = ...
reference.shape: [speakers, samples]
estimation: torch.tensor = ...
estimation shape: [speakers, samples]
sdr = cisdr.pt.cisdr_loss(estimation, reference)
sdr shape: [speakers]
```
The idea of this objective function is based in the theory from E. Vincent, R. Gribonval and C. Févotte, Performance measurement in blind audio source separation, IEEE Trans. Audio, Speech and Language Processing, known as
BSSEval.
The original author provided MATLAB source code (link) and the package mir_eval (link) contains a python port. Some people refer to these implementations as BSSEval v3 (link).
The PyTorch code in this package is tested to yield the same SDR values as mir_eval with the default parameters.
NOTE: If you want to use
BSSEval v3 SDRas metric, I recomment to usemir_eval.separation.bss_eval_sourcesand use as reference the clean/unreverberated source signals. The implementation in this repository has minor difference that makes it problematic to compare SDR values accorss different publications (e.g. here the permutation is calculated on the SDR, whilemir_evalcomputes it based on theSIR.).
Installation
Install it directly with Pip, if you just want to use it:
bash
pip install ci-sdr
or to get the recent version:
bash
pip install git+https://github.com/fgnt/ci_sdr.git
If you want to install it with all dependencies (test and doctest dependencies), run:
bash
pip install git+https://github.com/fgnt/ci_sdr.git#egg=ci_sdr[all]
When you want to change the code, clone this repository and install it as editable:
```bash git clone https://github.com/fgnt/cisdr.git cd cisdr pip install --editable .
pip install --editable .[all]
```
Citation
To cite this implementation, you can cite the following paper (IEEE ICASSP, RIS UPB, arXiv):
@inproceedings{boeddeker2021convolutive,
title={Convolutive transfer function invariant SDR training criteria for multi-channel reverberant speech separation},
author={Boeddeker, Christoph and Zhang, Wangyou and Nakatani, Tomohiro and Kinoshita, Keisuke and Ochiai, Tsubasa and Delcroix, Marc and Kamo, Naoyuki and Qian, Yanmin and Haeb-Umbach, Reinhold},
booktitle={IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP)},
pages={8428--8432},
year={2021},
organization={IEEE},
doi={10.1109/ICASSP39728.2021.9414661}}
}
Owner
- Name: Department of Communications Engineering University of Paderborn
- Login: fgnt
- Kind: organization
- Location: Paderborn, Germany
- Website: http://nt.uni-paderborn.de
- Repositories: 37
- Profile: https://github.com/fgnt
GitHub Events
Total
- Issues event: 1
- Issue comment event: 2
- Push event: 10
- Pull request event: 1
- Pull request review event: 4
- Pull request review comment event: 1
- Create event: 1
Last Year
- Issues event: 1
- Issue comment event: 2
- Push event: 10
- Pull request event: 1
- Pull request review event: 4
- Pull request review comment event: 1
- Create event: 1
Committers
Last synced: almost 3 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| Christoph Boeddeker | c****j@m****e | 66 |
| jensheit | h****r@n****e | 1 |
| neumann | t****n@m****e | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 8 months ago
All Time
- Total issues: 3
- Total pull requests: 4
- Average time to close issues: 9 months
- Average time to close pull requests: 1 day
- Total issue authors: 2
- Total pull request authors: 1
- Average comments per issue: 2.67
- Average comments per pull request: 0.75
- Merged pull requests: 4
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 1
- Average time to close issues: N/A
- Average time to close pull requests: about 24 hours
- Issue authors: 0
- Pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 1.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- kamo-naoyuki (2)
- yunzqq (1)
Pull Request Authors
- boeddeker (5)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 3
-
Total downloads:
- pypi 14,099 last-month
- Total docker downloads: 706
-
Total dependent packages: 3
(may contain duplicates) -
Total dependent repositories: 8
(may contain duplicates) - Total versions: 5
- Total maintainers: 3
pypi.org: ci-sdr
A sample Python project
- Homepage: https://github.com/fgnt/ci_sdr
- Documentation: https://ci-sdr.readthedocs.io/
- License: MIT License
-
Latest release: 0.0.2
published over 3 years ago
Rankings
spack.io: py-ci-sdr
This repository contains an implementation for the Convolutive transfer function Invariant Signal-to-Distortion Ratio objective for PyTorch as described in the publication Convolutive Transfer Function Invariant SDR training criteria for Multi-Channel Reverberant Speech Separation
- Homepage: https://github.com/fgnt/ci_sdr
- License: []
-
Latest release: 0.0.0
published about 4 years ago
Rankings
Maintainers (1)
conda-forge.org: ci-sdr
An implementation for the Convolutive transfer function Invariant Signal-to-Distortion Ratio objective for PyTorch as described in the publication Convolutive Transfer Function Invariant SDR training criteria for Multi-Channel Reverberant Speech Separation.
- Homepage: https://github.com/fgnt/ci_sdr
- License: MIT
-
Latest release: 0.0.2
published over 3 years ago
Rankings
Dependencies
- einops *
- numpy *
- scipy *
- torch *