Skip to content

run Run python utils.py to extract .wav to .h5 #3

@Bingtai1015

Description

@Bingtai1015

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions