Skip to content
This repository has been archived by the owner on Aug 3, 2021. It is now read-only.

'DataParallel' object has no attribute 'encode_w' #5

Open
wd1900 opened this issue Nov 3, 2017 · 2 comments
Open

'DataParallel' object has no attribute 'encode_w' #5

wd1900 opened this issue Nov 3, 2017 · 2 comments
Assignees

Comments

@wd1900
Copy link

wd1900 commented Nov 3, 2017

HI,
when I used multi-gpu , I met the error as following picture shows.
image

how could I do to solve the problem?

I think this is related with nn.DataParallel, but I'm a new newbie in pytorch.

@okuchaiev okuchaiev self-assigned this Nov 3, 2017
@UdonDa
Copy link

UdonDa commented Apr 25, 2018

model.module.encode_w

@mlcoop
Copy link

mlcoop commented Dec 7, 2018

@UdonDa could you please expand your answer?
where to fix the code so it would work on multiple gpu?
thanx

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants