-
-
Notifications
You must be signed in to change notification settings - Fork 153
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
gradient computation #20
Labels
documentation
Improvements or additions to documentation
Comments
I have a simple writeup here. Feel free to ask any question if there is still any. |
TODO: add note about gradient w.r.t. the weights that is added recently. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, thanks for the great work. I have a question regarding to the gradient computation in
ngp_pl/models/csrc/volumerendering.cu
Lines 137 to 152 in e9d9c37
Can you explain slightly on how you get the formula of dL_dsigmas[s]? i.e., why does
dL_dsigmas[s] = deltas[s] * (
dL_drgb[ray_idx][0](rgbs[s][0]T-(R-r)) +
dL_drgb[ray_idx][1](rgbs[s][1]T-(G-g)) +
dL_drgb[ray_idx][2](rgbs[s][2]T-(B-b)) +
dL_dopacity[ray_idx](1-O) +
dL_ddepth[ray_idx](t*T-(D-d))
)
The text was updated successfully, but these errors were encountered: