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

ImportError: cannot import name '_DataLoaderIter #13

Open
wusuhuang opened this issue Oct 19, 2021 · 1 comment
Open

ImportError: cannot import name '_DataLoaderIter #13

wusuhuang opened this issue Oct 19, 2021 · 1 comment

Comments

@wusuhuang
Copy link

ImportError: cannot import name '_DataLoaderIter' from 'torch.utils.data.dataloader' (/opt/conda/lib/python3.8/site-packages/torch/utils/data/dataloader.py)

your pytorch version is 1.1.0, i should change my pytorch version to 1.1.0?

@LongguangWang
Copy link
Member

Hi @wusuhuang, it is recommanded to change the pytorch version to 1.1.0. Or you can try the solution here, maybe it can also solve this issue.

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

2 participants