You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/media/amax/836e911f-c5c3-4c4b-91f2-41bb8f3f5cb6/DATA/EventGroup3/why/pytorch-transformer-main/train.py", line 6, in
from dataset import en_preprocess,de_preprocess,train_dataset,en_vocab,de_vocab,PAD_IDX
File "/media/amax/836e911f-c5c3-4c4b-91f2-41bb8f3f5cb6/DATA/EventGroup3/why/pytorch-transformer-main/dataset.py", line 8, in
from torchtext.datasets import multi30k, Multi30k
ImportError: cannot import name 'multi30k' from 'torchtext.datasets' (/home/amax/anaconda3/envs/wang/lib/python3.9/site-packages/torchtext/datasets/init.py)
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "/media/amax/836e911f-c5c3-4c4b-91f2-41bb8f3f5cb6/DATA/EventGroup3/why/pytorch-transformer-main/train.py", line 6, in
from dataset import en_preprocess,de_preprocess,train_dataset,en_vocab,de_vocab,PAD_IDX
File "/media/amax/836e911f-c5c3-4c4b-91f2-41bb8f3f5cb6/DATA/EventGroup3/why/pytorch-transformer-main/dataset.py", line 8, in
from torchtext.datasets import multi30k, Multi30k
ImportError: cannot import name 'multi30k' from 'torchtext.datasets' (/home/amax/anaconda3/envs/wang/lib/python3.9/site-packages/torchtext/datasets/init.py)
The text was updated successfully, but these errors were encountered: