Closed piercus closed 3 months ago
Thank you for taking the time to report this issue. To address the inplace operation problem, you may alter the code in ./model/MVANet.py
at line 139 from:
g_hw_b_c = g_hw_b_c + self.dropout2(self.linear2(self.dropout(self.activation(self.linear1(g_hw_b_c)))))
to:
g_hw_b_c = g_hw_b_c + self.dropout2(self.linear2(self.dropout(self.activation(self.linear1(g_hw_b_c)).clone())))
This modification should resolve the issue. We have committed the corrected version, which is now available for direct use.
Great thanks a lot :-)
Thanks for this work, very interesting paper
in place error raised
I faced following error while trying to run
Result :
After doing some investigation i feel the problem is coming from self.activation = get_activation_fn('relu') and m.inplace = True
I have been able to find a workaround be using
gelu
instead ofrelu
, but i'm still not sure why is this piece of code :Full trace