Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

preprocess error #202

Open
zhoup150344 opened this issue Nov 10, 2022 · 6 comments
Open

preprocess error #202

zhoup150344 opened this issue Nov 10, 2022 · 6 comments

Comments

@zhoup150344
Copy link

There are doubts in the preprocessing process, is the spatial language model in the code the four datasets of train, test, val, and split in the WMT16 multimodal translation task, and what code command line are these data sets imported through preprocess.py!以及我的preprocess.py的运行结果存在报错情况,如果能解答我的困惑,我将不胜感激!
As well as the running result of my preprocess.py, there are errors. If you can solve my confusion, I would be grateful!
B04C451113E7B59B9A1442197DA509C2

@GYJHSG
Copy link

GYJHSG commented Nov 17, 2022

要在终端运行指令,readme里面有,但我会碰到dill的问题,不知道你会不会碰到

@Gi-gigi
Copy link

Gi-gigi commented Mar 19, 2023

哥们,请问你问题解决了吗。

python -m spacy download de 这个代码运行不成功,而且
python preprocess.py -lang_src de -lang_trg en -share_vocab -save_data m30k_deen_shr.pkl 这个命令也报错,。。。。

@GreatenAnoymous
Copy link

我是ImportError: cannot import name 'TranslationDataset' from 'torchtext.datasets' 。貌似最新的torchtext里已经没有TranslationDataset这个类了

@GreatenAnoymous
Copy link

Up to now, the latest version of torchtext is 0.11.2, which discarded the TranslationDataset. If you want to use TranslationDataset, please install torchtext==0.3.1.

@Gi-gigi
Copy link

Gi-gigi commented Mar 20, 2023

我是用这个库“https://github.com/dreamgonfly/transformer-pytorch”的开源代码了 。亲测好用。 可能这个库跟不上时代了。

@dapaolufuduizhang
Copy link

哥们,请问你问题解决了吗。

python -m spacy download de 这个代码运行不成功,而且 python preprocess.py -lang_src de -lang_trg en -share_vocab -save_data m30k_deen_shr.pkl 这个命令也报错,。。。。

Hi,did you solve this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants