In official tutorial, they suggest “torch.save(model.module.state_dict(), PATH) " when using Dataparallel
But when I try this, I met same problem [‘Net’ object has no attribute ‘module’].
Why? So should I  always save model using  " torch.save(net.state_dict()”?