NVIDIA / DeepRecommender

Deep learning for recommender systems
MIT License
1.69k stars 341 forks source link

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

Open wd1900 opened 7 years ago

wd1900 commented 7 years ago

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.

UdonDa commented 6 years ago
model.module.encode_w
mlcoop commented 5 years ago

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