dunbar12138 / DSNeRF

Code release for DS-NeRF (Depth-supervised Neural Radiance Fields)
https://www.cs.cmu.edu/~dsnerf/
MIT License
746 stars 126 forks source link

Why calculate the weights twice #75

Closed tangtaogo closed 1 year ago

tangtaogo commented 1 year ago

Hi, thanks for your great work! I have the question about why to recalculate weights when calculating sigma_loss. While we already have the weights in the forward here.

dunbar12138 commented 1 year ago

Hi, thanks for your interest!

This is because we might want to sample different points and also different numbers of points when calculating the loss.

tangtaogo commented 1 year ago

ok, thanks!