from torchtext.legacy.data import TabularDataset
torchtext를 설치했는데 import가 안되는 에러가 발생
해결방법
pip install torchtext==0.10.1
torchtext의 버전을 바꿔준다.
torchtext의 레거시 모듈이 version 0.11.0 에서는 사라졌다고함
Reference
'Python > error list' 카테고리의 다른 글
[ERROR] 'numpy.float64' object has no attribute 'isna' (0) | 2023.08.13 |
---|