NVlabs / neuralangelo

Official implementation of "Neuralangelo: High-Fidelity Neural Surface Reconstruction" (CVPR 2023)
https://research.nvidia.com/labs/dir/neuralangelo/
Other
4.27k stars 383 forks source link

Analytical gradient implementation #160

Closed ckrsls closed 7 months ago

ckrsls commented 7 months ago

Hello, thanks for your work! I was reproducing your project with analytical gradient but found: gradient = torch.autograd.grad(sdf.sum(), x, create_graph=True)[0] Could you explain why there is a sum operation in the code?