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' has no attribute 'device' #314

Closed
c1a1o1 opened this issue Jul 4, 2018 · 2 comments
Closed

AttributeError: module 'torch' has no attribute 'device' #314

c1a1o1 opened this issue Jul 4, 2018 · 2 comments

Comments

@c1a1o1
Copy link

c1a1o1 commented Jul 4, 2018

AttributeError: module 'torch' has no attribute 'device'

@junyanz
Copy link
Owner

junyanz commented Jul 4, 2018

Are you using PyTorch 0.4? The current code assumes PyTorch 0.4

@c1a1o1
Copy link
Author

c1a1o1 commented Jul 4, 2018

Thank you very much!

@c1a1o1 c1a1o1 closed this as completed Jul 4, 2018
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