Views
No views yet
dog_bark, children_playing, air_conditioner, street_music, gun_shot, siren, engine_idling, jackhammer, drilling, car_horn| Release | Accuracy 1-fold (%) |
|---|---|
| 04-06-21 | 75.5 |
pip install speechbrain1import torchaudio
2from speechbrain.inference.classifiers import EncoderClassifier
3classifier = EncoderClassifier.from_hparams(source="speechbrain/urbansound8k_ecapa", savedir="pretrained_models/gurbansound8k_ecapa")
4out_prob, score, index, text_lab = classifier.classify_file('speechbrain/urbansound8k_ecapa/dog_bark.wav')
5print(text_lab)run_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/UrbanSound8k/SoundClassification
python train.py hparams/train_ecapa_tdnn.yaml --data_folder=your_data_folder1 author = {Brecht Desplanques and
2 Jenthe Thienpondt and
3 Kris Demuynck},
4 editor = {Helen Meng and
5 Bo Xu and
6 Thomas Fang Zheng},
7 title = {{ECAPA-TDNN:} Emphasized Channel Attention, Propagation and Aggregation
8 in {TDNN} Based Speaker Verification},
9 booktitle = {Interspeech 2020},
10 pages = {3830--3834},
11 publisher = {{ISCA}},
12 year = {2020},
13}1 Author = {Salamon, J. and Jacoby, C. and Bello, J. P.},
2 Booktitle = {22nd {ACM} International Conference on Multimedia (ACM-MM'14)},
3 Month = {Nov.},
4 Pages = {1041--1044},
5 Title = {A Dataset and Taxonomy for Urban Sound Research},
6 Year = {2014}}1@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}