Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doubt in feature extraction #3

Open
n33lkanth opened this issue May 9, 2021 · 1 comment
Open

Doubt in feature extraction #3

n33lkanth opened this issue May 9, 2021 · 1 comment

Comments

@n33lkanth
Copy link

n33lkanth commented May 9, 2021

Hi,
I am working on the feature extraction (Mel-spectrogram) for training the ML model for Sound event detection.
I have a doubt regarding the steps required for the feature extraction process. Is it mandatory/required to convert the Amplitude to dB scale (librosa.power_to_db) or I can proceed without it? As after calculating Mel-power Spectrogram I am getting -ve values also which is creating a problem in Log-compression as -ve values give NaN.

Note: I am normalizing a file with its own mean and std.

@HimanshuKGP007
Copy link

As discussed in the video tutorials, we are required to convert the Amplitude to the dB scale before extracting the Mel Spectrograms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants