Occupancy grid for Ray Sampling in NeRFs #377
-
Hi, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi, in the very beginning, the author firstly uses the mark_untrained_density_grid func to filter out the unseen grids, marking the unseen grid as -1 and seen grid 0. And when the iteration is 0 at the very beginning, the mlp_output is 0, but after exponential activation, the mlp is 1. Then the grid_out, which is density_grid_tmp is scalbnf(MIN_CONE_STEPSIZE(), level) (I cannot understand the __float_as_uint operation in the code). Then in the ema_grid_samples_nerf function, the density_grid_tmp value will be assign to density_grid=0 part, and density_grid=-1 part will be unchanged. So perhaps because of the exponential activation, the mlp is 1 although the mlp_out=0. |
Beta Was this translation helpful? Give feedback.
-
Hi there, there exists a safeguard against zero-everywhere occupancy here: instant-ngp/src/testbed_nerf.cu Line 562 in 8625c25 The threshold for setting a cell as occupied may never be larger than the mean density. |
Beta Was this translation helpful? Give feedback.
Hi there, there exists a safeguard against zero-everywhere occupancy here:
instant-ngp/src/testbed_nerf.cu
Line 562 in 8625c25
The threshold for setting a cell as occupied may never be larger than the mean density.