LiaoFJ

Results 3 comments of LiaoFJ

@wilsonjwcsu Same problem with pytorch=1.8.1 coincidentally i saw the https://discuss.pytorch.org/t/solved-pytorch1-5-runtimeerror-one-of-the-variables-needed-for-gradient-computation-has-been-modified-by-an-inplace-operation/90256. And to tackle with this problem i simply changed the order of the backward() and step() See: From: ``` def...

Thanks @wilsonjwcsu, in my view I guess there is almost the same while the difference is that the parameters update twice seperately or once together. Sorry I didn't do control...