yang123qwe / end2end_chinese_speech_recognition

端到端中文语音识别
84 stars 28 forks source link

请问一下,这个错误是什么意思 :AttributeError: module 'torchaudio' has no attribute 'load_wav' #16

Open stuppppid opened 1 year ago

stuppppid commented 1 year ago

Traceback (most recent call last): File "C:/语音识别/end2end_chinese_speechrecognition-master/main.py", line 32, in result = main(path_) File "C:/语音识别/end2end_chinese_speech_recognition-master/main.py", line 15, in main inst_T = getfu( path ) File "C:/语音识别/end2end_chinese_speech_recognition-master/main.py", line 7, in get_fu wavform, = ta.loadwav( path ) AttributeError: module 'torchaudio' has no attribute 'load_wav'

stuppppid commented 1 year ago

当前环境问题,将load_wav()改为load()