You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I find this error, can you create a new version of jupyter notebook?
TypeError Traceback (most recent call last) in <cell line: 13>()
11 ##### Load the audio file and features
12
---> 13 inference_dataset = data_loaders.SwitchBoardLaughterInferenceDataset(
14 audio_path=audio_path, feature_fn=feature_fn, sr=sample_rate)
15
1 frames /content/laughter-detection/./utils/audio_utils.py in featurize_melspec(f, offset, duration, y, sr, hop_length, augment_fn, spec_augment_fn, **kwargs)
226 if augment_fn is not None:
227 y = augment_fn(y)
--> 228 S = librosa.feature.melspectrogram(y, sr, hop_length=hop_length).T
229 S = librosa.amplitude_to_db(S, ref=np.max)
230 if spec_augment_fn is not None:
TypeError: melspectrogram() takes 0 positional arguments but 2 positional arguments (and 1 keyword-only argument) were given
The text was updated successfully, but these errors were encountered:
I find this error, can you create a new version of jupyter notebook?
TypeError Traceback (most recent call last)
in <cell line: 13>()
11 ##### Load the audio file and features
12
---> 13 inference_dataset = data_loaders.SwitchBoardLaughterInferenceDataset(
14 audio_path=audio_path, feature_fn=feature_fn, sr=sample_rate)
15
1 frames
/content/laughter-detection/./utils/audio_utils.py in featurize_melspec(f, offset, duration, y, sr, hop_length, augment_fn, spec_augment_fn, **kwargs)
226 if augment_fn is not None:
227 y = augment_fn(y)
--> 228 S = librosa.feature.melspectrogram(y, sr, hop_length=hop_length).T
229 S = librosa.amplitude_to_db(S, ref=np.max)
230 if spec_augment_fn is not None:
TypeError: melspectrogram() takes 0 positional arguments but 2 positional arguments (and 1 keyword-only argument) were given
The text was updated successfully, but these errors were encountered: