Classifying environmental sounds using AlexNet

조회 수: 4 (최근 30일)
Ibrahim A
Ibrahim A 2020년 6월 10일
댓글: Ibrahim A 2020년 6월 23일
I am trying to extract Spectrograms and MFCC from audio files then calssify them using AlexNet or GooglNet. Any tips ?

채택된 답변

Utkarsh
Utkarsh 2020년 6월 19일
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
Utkarsh
Utkarsh 2020년 6월 19일
편집: Utkarsh 2020년 6월 19일
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 2020년 6월 23일
Thank you Utkarsh

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Image Data Workflows에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by