Detectron.pytorch icon indicating copy to clipboard operation
Detectron.pytorch copied to clipboard

How can I do inference without mynn.DataParallel?

Open shiyi001 opened this issue 7 years ago • 4 comments

I used mynn.DataParallel during inference but found it costs lots of cpu.

How can I do inference without mynn.DataParallel?

shiyi001 avatar Oct 13 '18 11:10 shiyi001

Do you get an error if you just remove the line that wraps the model in mynn.DataParallel?

achalddave avatar Oct 25 '18 03:10 achalddave

I am sorry to bother you.

I really met some error when I removed mynn.DataParallel, but those were easy to fix.

Please close this issue. Thanks for your reply.

shiyi001 avatar Oct 25 '18 06:10 shiyi001

Excuse me, can you tell me what problem you have when removing mynn.DataParallel, and how to fix it?

1179021477 avatar Jul 10 '20 03:07 1179021477

Excuse me, can you tell me what problem you have when removing mynn.DataParallel, and how to fix it?

Sorry for the long time passed, I have forgotten the problem I encountered. But I remember that only a few changes are needed to fix this problem.

shiyi001 avatar Jul 16 '20 13:07 shiyi001