慕标029234
2023-03-04 15:59
(base) PS D:\Users\username\Desktop\asr_learn\03> python .\streaming.py
Traceback (most recent call last):
File "D:\Users\username\Desktop\asr_learn\03\streaming.py", line 21, in <module>
feat = ap.MelSpec(
File "D:\Users\username\Desktop\asr_learn\03\audio_processing.py", line 35, in __init__
self.stft_fn = STFT(filter_length=filter_length, hop_length=hop_length, win_length=win_length)
File "D:\Users\username\Desktop\asr_learn\03\stft.py", line 117, in __init__
fft_window = pad_center(fft_window, filter_length)
TypeError: pad_center() takes 1 positional argument but 2 were given
已经解决了,,可以修改这个库函数参数列表为图片那样,也可以修改fft_windows=pad_center()参数的传递方式
人工智能--语音入门
7561 学习 · 7 问题
相似问题