Classifying environmental sounds using AlexNet

4 views (last 30 days)
I am trying to extract Spectrograms and MFCC from audio files then calssify them using AlexNet or GooglNet. Any tips ?

Accepted Answer

Utkarsh
Utkarsh on 19 Jun 2020
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 Comments
Utkarsh
Utkarsh on 19 Jun 2020
Edited: Utkarsh on 19 Jun 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')

Sign in to comment.

More Answers (0)

Categories

Find more on Image Data Workflows in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!