-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RuntimeError: Backward is not reentrant #16
Comments
Sorry for the late reply. Deformable-Convolution-V2-PyTorch/test.py Lines 627 to 631 in 1b5851a
As in comment, it won't affect the performance. Feel free to ignore. Please reopen this issue if you have a solution. Thx |
thx |
I checked the code. Numerically the code should be correct. I verified that the error is very small using CUDA 9.0 on a GTX 1080 ~ 1e-16. The error is raised when calculating the gradient for input. The code uses atomicadd to calculate that since one can not possibly know how many time a pixel get used. Then the problem is the sequence of atomicadd is uncertain. Different sequence of adding will result in different value up to numerical error. The gradient on the bias/weight/offset does not have the atomicadd and thus have no such issue. |
That's only one possible cause of the issue though. I will double check and see if there is any other problem. For now I don't see any. |
You mean I can ignore this exception? |
It raises RuntimeError: Backward is not reentrant when i run the test.py.
Is this a serious problem? and how can i resolve it?
Thanks for you time and suggestion.
The text was updated successfully, but these errors were encountered: