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: 'DataParallel' object has no attribute 'src_device_obj' #20

Open
Kenny-Li2023 opened this issue Jun 25, 2021 · 2 comments

Comments

@Kenny-Li2023
Copy link

image
Hello, how can I solve this problem?

@yayaYsmile
Copy link

I'm having the same problem, did you fix it? Thank you very much!

@CyberShadow
Copy link

I think this error happens when trying to load the model with a PyTorch version that is too new. In the README:

Ubuntu 16.04
NVIDIA GPU + CUDA and corresponidng Pytorch framework (v0.4.1)
Python 3.6

src_device_obj was added in PyTorch around version 1.1.0 I think.

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