DeepRecommender icon indicating copy to clipboard operation
DeepRecommender copied to clipboard

'DataParallel' object has no attribute 'encode_w'

Open wd1900 opened this issue 7 years ago • 2 comments

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.

wd1900 avatar Nov 03 '17 08:11 wd1900

model.module.encode_w

UdonDa avatar Apr 25 '18 01:04 UdonDa

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

mlcoop avatar Dec 07 '18 04:12 mlcoop