nn.ReLU(inplace=True) make an error
<SCODE>RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation
<ECODE> But this error just appears in some places. Why it occurs?
ycszen
apaszke
Ok. Thank you. It works after removing it.
ycszen
osuemer
It is the default value. Just don’t override it.
apaszke