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

AttributeError: module 'torch.utils.data.dataloader' has no attribute '_use_shared_memory' #40

Closed
huangbiubiu opened this issue May 24, 2019 · 2 comments

Comments

@huangbiubiu
Copy link

In PyTorch 1.1.0, it seems that _use_shared_memory it no longer available. So

if torch.utils.data.dataloader._use_shared_memory:
will raise the error.

@HugoFeng
Copy link
Contributor

I have the same problem, and I simply comment out these lines. Then it runs fine

@martin-danelljan
Copy link
Contributor

Thank you for sharing the issue. This is properly fixed in the latest commit.

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