CNN14 Trained on VGGSound dataset with SimCLR and Fine Tuned on ESC50
This repository provides all the necessary tools to perform audip classification with
CNN14 model
model, implemented with SpeechBrain. For a better experience we encourage you to learn more about
SpeechBrain
. The encoder is first trained with SimCLR on the VGGSound dataset, and then fine tuned on ESC50 folds 1,2,3.
Release
Classification Accuracy Valid
Classification Accuracy Test
26-11-22
90%
82%
Install SpeechBrain
First of all, please install SpeechBrain with the following command:
pip install speechbrain
Please notice that we encourage you to read our tutorials and learn more about
SpeechBrain
.
Perform Classification on your own file
from speechbrain.inference.classifiers import AudioClassifier
model = AudioClassifier.from_hparams(source="speechbrain/cnn14-esc50", savedir='pretrained_models/cnn14-esc50')
out_probs, score, index, text_lab = model.classify_file('speechbrain/cnn14-esc50/example_dogbark.wav')
print(text_lab)
Limitations
The SpeechBrain team does not provide any warranty on the performance achieved by this model when used on other datasets.
Referencing SpeechBrain
@misc{speechbrain,
title={{SpeechBrain}: A General-Purpose Speech Toolkit},
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},
year={2021},
eprint={2106.04624},
archivePrefix={arXiv},
primaryClass={eess.AS},
note={arXiv:2106.04624}
}
Referencing This Pretrained Model
The encoder is originally trained for our
paper
. You can reference our paper if you use this model for your research.
@inproceedings{wang2022CRL,
title={Learning Representations for New Sound Classes With Continual Self-Supervised Learning},
author={Zhepei Wang, Cem Subakan, Xilin Jiang, Junkai Wu, Efthymios Tzinis, Mirco Ravanelli, Paris Smaragdis},
year={2022},
booktitle={Accepted to IEEE Signal Processing Letters}
}
cnn14-esc50 huggingface.co is an AI model on huggingface.co that provides cnn14-esc50's model effect (), which can be used instantly with this speechbrain cnn14-esc50 model. huggingface.co supports a free trial of the cnn14-esc50 model, and also provides paid use of the cnn14-esc50. Support call cnn14-esc50 model through api, including Node.js, Python, http.
cnn14-esc50 huggingface.co is an online trial and call api platform, which integrates cnn14-esc50's modeling effects, including api services, and provides a free online trial of cnn14-esc50, you can try cnn14-esc50 online for free by clicking the link below.
speechbrain cnn14-esc50 online free url in huggingface.co:
cnn14-esc50 is an open source model from GitHub that offers a free installation service, and any user can find cnn14-esc50 on GitHub to install. At the same time, huggingface.co provides the effect of cnn14-esc50 install, users can directly use cnn14-esc50 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.