Views
No views yet
| Release | Test-Set SI-SNRi | Test-Set SDRi |
|---|---|---|
| 16-09-22 | 19.0dB | 19.4dB |
pip install speechbrain1from speechbrain.pretrained import SepformerSeparation as separator
2import torchaudio
3
4model = separator.from_hparams(source="speechbrain/sepformer-libri3mix", savedir='pretrained_models/sepformer-libri3mix')
5
6est_sources = model.separate_file(path='speechbrain/sepformer-wsj03mix/test_mixture_3spks.wav')
7
8torchaudio.save("source1hat.wav", est_sources[:, :, 0].detach().cpu(), 8000)
9torchaudio.save("source2hat.wav", est_sources[:, :, 1].detach().cpu(), 8000)
10torchaudio.save("source3hat.wav", est_sources[:, :, 2].detach().cpu(), 8000)
11run_opts={"device":"cuda"} when calling the from_hparams method.git clone https://github.com/speechbrain/speechbrain/cd speechbrain
pip install -r requirements.txt
pip install -e .cd recipes/LibriMix/separation
python train.py hparams/sepformer.yaml --data_folder=your_data_folder1@misc{speechbrain,
2 title={{SpeechBrain}: A General-Purpose Speech Toolkit},
3 author={Mirco Ravanelli and Titouan Parcollet and Peter Plantinga and Aku Rouhe and Samuele Cornell and Loren Lugosch and Cem Subakan and Nauman Dawalatabad and Abdelwahab Heba and Jianyuan Zhong and Ju-Chieh Chou and Sung-Lin Yeh and Szu-Wei Fu and Chien-Feng Liao and Elena Rastorgueva and François Grondin and William Aris and Hwidong Na and Yan Gao and Renato De Mori and Yoshua Bengio},
4 year={2021},
5 eprint={2106.04624},
6 archivePrefix={arXiv},
7 primaryClass={eess.AS},
8 note={arXiv:2106.04624}
9}1@inproceedings{subakan2021attention,
2 title={Attention is All You Need in Speech Separation},
3 author={Cem Subakan and Mirco Ravanelli and Samuele Cornell and Mirko Bronzi and Jianyuan Zhong},
4 year={2021},
5 booktitle={ICASSP 2021}
6}
7
8@article{subakan2023exploring,
9 author={Subakan, Cem and Ravanelli, Mirco and Cornell, Samuele and Grondin, François and Bronzi, Mirko},
10 journal={IEEE/ACM Transactions on Audio, Speech, and Language Processing},
11 title={Exploring Self-Attention Mechanisms for Speech Separation},
12 year={2023},
13 volume={31},
14 pages={2169-2180},
15