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

The version #36

Open
shark803 opened this issue Feb 17, 2024 · 2 comments
Open

The version #36

shark803 opened this issue Feb 17, 2024 · 2 comments

Comments

@shark803
Copy link

Can the author show the version of pytorch and torchtext. The code cannot run in my env.

pytorch 1.13
cuda 11.7
torchtext: 0.14.0

The error message is "ModuleNotFoundError: No module named 'torchtext.legacy' "

We replace the torchtext.legacy to torchtext.
the error message is "AttributeError: module 'torchtext.data' has no attribute 'Iterator'"

@zk19971101
Copy link

i encountered the same problem about torchtext. my anaconda env is :
pytorch 1.12.0
torchtext 0.13.0
cuda 11.6

@shy19960518
Copy link

pip install torchtext==0.10.0

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

3 participants