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
您好,老師,當(dāng)我運行本節(jié)課的實例,streaming.py時,出現(xiàn)一下報錯:
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我也搞不懂