Open zideliu opened 2 years ago
Same error, have you found the way to solve it?
Same error, have you found the way to solve it?
change pytorch version may be help you
Same error, have you found the way to solve it?
change pytorch version may be help you Sorry to bother you, I would like to ask which version of pytorch can work normally.
I couldn't run
main.py
, because of inplace operationFile "main.py", line 202, in
loss_decoder.backward(retain)graph=True)
one of the Variables needed for gradient computation has been modified by an inplace operation:[torch.cuda.FloatTensor [1024,128]], which is output 0 of AsStridedBackward0, is at version3; expected version 2 instead