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 'ExceptionWrapper' from 'torch._utils' #1

Open
rookiecm opened this issue Jan 2, 2020 · 0 comments

Comments

@rookiecm
Copy link

rookiecm commented Jan 2, 2020

Thank you for your contributions.
When i run python setup.py install and python main_async.py, I got the following error:

Traceback (most recent call last): File "main_async.py", line 5, in <module> from dataloaderAsync import DataLoader File "/data1/mengcao/Dataloader.async-master/dataloaderAsync/__init__.py", line 2, in <module> from .dataloader import DataLoader File "/data1/mengcao/Dataloader.async-master/dataloaderAsync/dataloader.py", line 14, in <module> from torch._utils import ExceptionWrapper ImportError: cannot import name 'ExceptionWrapper' from 'torch._utils' (/data1/mengcao/anaconda3/envs/face/lib/python3.7/site-packages/torch/_utils.py)

Could you please figure it out ? Thank you.

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

1 participant