最新回答 / 慕标029234
已经解决了,<...图片...>,可以修改这个库函数参数列表为图片那样,也可以修改<...图片...>fft_windows=pad_center()参数的传递方式
2023-03-04
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
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
2023-03-04
您好,老师,当我运行本节课的实例,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__
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__
2023-03-04
这个代码运行不了,我试了一下报这个错
ModuleNotFoundError: No module named 'numba.decorators'
我换了版本还不行,我是python3.9我也搞不懂
ModuleNotFoundError: No module named 'numba.decorators'
我换了版本还不行,我是python3.9我也搞不懂