python ./bin/main.py model=transformer 이 명령으로 훈련시키고, 나온 결과로 테스트 해보는데,
AttributeError: 'SpeechTransformer' object has no attribute 'greedy_search' 오류가 발생했습니다.
C:\Users\user\anaconda3\envs\stt\lib\site-packages\numpy_distributor_init.py:30: UserWarning: loaded more than 1 DLL from .libs:
C:\Users\user\anaconda3\envs\stt\lib\site-packages\numpy.libs\libopenblas.JPIJNSWNNAN3CE6LLI5FWSPHUT2VXMTH.gfortran-win_amd64.dll
C:\Users\user\anaconda3\envs\stt\lib\site-packages\numpy.libs\libopenblas.WCDJNK7YVMPZQ2ME2ZZHJJRJ3JIKNDB7.gfortran-win_amd64.dll
warnings.warn("loaded more than 1 DLL from .libs:"
C:\Users\user\anaconda3\envs\stt\lib\site-packages\torchaudio\extension\extension.py:13: UserWarning: torchaudio C++ extension is not available.
warnings.warn('torchaudio C++ extension is not available.')
Traceback (most recent call last):
File "./bin/inference.py", line 75, in
y_hats = model.greedy_search(feature.unsqueeze(0), input_length, opt.device)
File "C:\Users\user\anaconda3\envs\stt\lib\site-packages\torch\nn\modules\module.py", line 947, in getattr
raise AttributeError("'{}' object has no attribute '{}'".format(
AttributeError: 'SpeechTransformer' object has no attribute 'greedy_search'
python ./bin/main.py model=transformer 이 명령으로 훈련시키고, 나온 결과로 테스트 해보는데, AttributeError: 'SpeechTransformer' object has no attribute 'greedy_search' 오류가 발생했습니다.
C:\Users\user\anaconda3\envs\stt\lib\site-packages\numpy_distributor_init.py:30: UserWarning: loaded more than 1 DLL from .libs: C:\Users\user\anaconda3\envs\stt\lib\site-packages\numpy.libs\libopenblas.JPIJNSWNNAN3CE6LLI5FWSPHUT2VXMTH.gfortran-win_amd64.dll C:\Users\user\anaconda3\envs\stt\lib\site-packages\numpy.libs\libopenblas.WCDJNK7YVMPZQ2ME2ZZHJJRJ3JIKNDB7.gfortran-win_amd64.dll warnings.warn("loaded more than 1 DLL from .libs:" C:\Users\user\anaconda3\envs\stt\lib\site-packages\torchaudio\extension\extension.py:13: UserWarning: torchaudio C++ extension is not available. warnings.warn('torchaudio C++ extension is not available.') Traceback (most recent call last): File "./bin/inference.py", line 75, in
y_hats = model.greedy_search(feature.unsqueeze(0), input_length, opt.device)
File "C:\Users\user\anaconda3\envs\stt\lib\site-packages\torch\nn\modules\module.py", line 947, in getattr
raise AttributeError("'{}' object has no attribute '{}'".format(
AttributeError: 'SpeechTransformer' object has no attribute 'greedy_search'
뭐가 문제일까요..? ㅠㅠ