How do you determing the correct dimension of Mel Spectrogram Feature Extraction for NN
问题 I trying to implement a Mel Spectrogram feature extraction: n_mels = 128 # Extracting MelFrequency Spectrum for every file def extract_features(file_name): try: audio, sample_rate = librosa.load(file_name, res_type='kaiser_fast') mely = librosa.feature.melspectrogram(y=audio, sr=sample_rate, n_mels=n_mels) except Exception as e: print("Error encountered while parsing file: ", file) return None return mely.T It appears that I am implementing this feature extraction incorrectly as when I check