Hi,when I run Run python utils.py to extract .wav to .h5, The following error occurred
start extracting .wav to .h5, 14000 files found...
0%| | 0/14000 [00:03<?, ?it/s]
Traceback (most recent call last):
File "utils.py", line 164, in
extract_to_h5()
File "utils.py", line 155, in extract_to_h5
mel = get_melspectrograms(audio_file)
File "utils.py", line 45, in get_melspectrograms
mel_basis = librosa.filters.mel(fs, fft_size, n_mels) # (n_mels, 1+n_fft//2)
TypeError: mel() takes 0 positional arguments but 3 were given
how can I solve it? Thanks
Hi,when I run Run python utils.py to extract .wav to .h5, The following error occurred
start extracting .wav to .h5, 14000 files found...
0%| | 0/14000 [00:03<?, ?it/s]
Traceback (most recent call last):
File "utils.py", line 164, in
extract_to_h5()
File "utils.py", line 155, in extract_to_h5
mel = get_melspectrograms(audio_file)
File "utils.py", line 45, in get_melspectrograms
mel_basis = librosa.filters.mel(fs, fft_size, n_mels) # (n_mels, 1+n_fft//2)
TypeError: mel() takes 0 positional arguments but 3 were given
how can I solve it? Thanks