CS-Net icon indicating copy to clipboard operation
CS-Net copied to clipboard

fix a runtime error in later pytorch versions

Open amedyukhina opened this issue 2 years ago • 1 comments

RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation

amedyukhina avatar May 27 '22 21:05 amedyukhina

Changing the out += residual to out = out + residual does fix the issue.

jackred avatar Jul 27 '23 16:07 jackred