I use pytorch 1.2.0, I first init the model, then use model.cuda() to put the model into gpu, then, I call
model = nn.DataParallel(model) model = convert_model(model)
train the model, give me such error, could you give me some information to avoid this ? thank you
I use pytorch 1.2.0, I first init the model, then use
model.cuda()
to put the model into gpu, then, I callmodel = nn.DataParallel(model) model = convert_model(model)
train the model, give me such error, could you give me some information to avoid this ? thank you