Classifying environmental sounds using AlexNet

I am trying to extract Spectrograms and MFCC from audio files then calssify them using AlexNet or GooglNet. Any tips ?

 Respuesta aceptada

Utkarsh
Utkarsh el 19 de Jun. de 2020

0 votos

Hi Ibrahim,
For classification of spectrogram with alexnet, you might wish to train the last layers of alexnet according to your dataset (spectrograms of audio). For more details about transfer learning with alexnet refer here.
You may also refer here for an approach without alexnet.

3 comentarios

Ibrahim A
Ibrahim A el 19 de Jun. de 2020
Hi Utkarsh,
Thank you for your response. But I am not sure how to convert my audio dataset from .wav to images so I can classify them with AlexNet. Check out the attached paper to see what I exactly mean.
Thanks
Utkarsh
Utkarsh el 19 de Jun. de 2020
Editada: Utkarsh el 19 de Jun. de 2020
You may refer here for documentation on how to create a spectrogram for an audio
Have you tried this for saving the spectrogram? (It will save the spectrogram without any border,label,etc)
s = spectrogram(x); %x contains the loaded audio in an array
spectrogram(x,'yaxis')
set(gca, 'Visible', 'off');
colorbar('off');
saveas(gcf,'file_name.png')
Ibrahim A
Ibrahim A el 23 de Jun. de 2020
Thank you Utkarsh

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Deep Learning Toolbox en Centro de ayuda y File Exchange.

Productos

Versión

R2020a

Preguntada:

el 10 de Jun. de 2020

Comentada:

el 23 de Jun. de 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by