Closed Loovelj closed 4 years ago
Hello,thans for your sosution , but I'm a little confused about the Variable ,for exalple:
preds_size = Variable(torch.LongTensor([preds.size(0)] * batch_size))
I think pytorch has abandoned the Variable when version greater than 1.0.0
Hello,thans for your sosution , but I'm a little confused about the Variable ,for exalple:
I think pytorch has abandoned the Variable when version greater than 1.0.0