-
Notifications
You must be signed in to change notification settings - Fork 2k
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
CUDA error in backward. #81
Comments
Hi, commenting that line as you did will significantly change the math of the gradient computation and should give you very bad results. We are currently at Siggraph, but when we get back we will see what we can find from the .dump you shared. |
Thanks for your reply! |
The same problem appears to me, there are 3 issues for the invalid memory now, and none of them can work out... could someone help? thanks! |
Hi @ray8828 , if you have that issue can you post your hardware setup and the |
@HatsuneMiku888 I finally had the time to look at your output. It seems that you are using both Python-computed covariance matrices and colors ( |
@HatsuneMiku888 I found the line that causes the crash. Unfortunately, I have no explanation:
Last but not least, also for @ray8828 , another user has set up a Colab that seems to successfully run the code base on T&T. This could hopefully reduce issues with local project setups, so maybe this will work out for you |
I have met the same problem, after commenting out the line mentioned above, the code works well.(https://github.com/graphdeco-inria/diff-gaussian-rasterization/blob/main/cuda_rasterizer/backward.cu#L503 |
Hi, please note that this is not a fix, it will completely break the math behind the approach. If you continue to have issues with running it, please consider using the Colab linked on the main page. |
1073280485 is very close to 2^30, maybe there are some numeric overflow? |
@HatsuneMiku888 how good is your Python? Could you force it to create the |
Thank you for your reply. I know that is not a fix. I am trying to locate the bug, this error occurs at different iterations when I use different data. |
Sure, I will attempt to reproduce this error on the machine where it occurred. Btw, now I have a new problem. I faced the same |
Hello,I have the same error. And I want to know how to debug the cuda code in gaussian-splatting.I just know how to debug the python file. |
do you know the result,thank you |
Hi,
I experienced
RuntimeError: an illegal memory access was encountered
when I train 3d gaussian on the T&T dataset. It seems to happen in backpropagation. Here is the input of the backward function.And the error disappeared when I commented out https://github.com/graphdeco-inria/diff-gaussian-rasterization/blob/main/cuda_rasterizer/backward.cu#L503. I have no idea about why this line would cause illegal memory access.
The text was updated successfully, but these errors were encountered: