sunset1995 / torch_efficient_distloss

Efficient distortion loss with O(n) realization.
MIT License
130 stars 3 forks source link

interval value for last point sampled on ray? #1

Open hturki opened 2 years ago

hturki commented 2 years ago

Hi,

What do you set the interval value to for the last sampled point on each ray. Using a large term (1e10) as a substitute for infinity make the loss term very large.

sunset1995 commented 2 years ago

I left them constant (1/num_of_pts_on_a_ray) in my training.

BTW, you should use the normalized distance instead of the Euclidean distance (see Eq.11 in mip-nerf 360 paper).

Zhentao-Liu commented 1 year ago

I left them constant (1/num_of_pts_on_a_ray) in my training.

BTW, you should use the normalized distance instead of the Euclidean distance (see Eq.11 in mip-nerf 360 paper).

could I just leave it as zero? many thxs