google-research / sparf

This is the official code release for SPARF: Neural Radiance Fields from Sparse and Noisy Poses [CVPR 2023-Highlight]

Home Page:https://prunetruong.com/sparf.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NaN in Rays

FelTris opened this issue · comments

Hi, thanks for the cool work!
I think I know where the NaNs in the ray computation come from. For the LLFF dataloader if the bounds.min() is zero the scale factor will be divided by zero and therefore also the translational component of the poses will be scaled with this NaN value.
At least that was the case when I tried it on some custom data.
Hope this helps some people!

Hi,

Thanks for letting me know! I don't think I have encountered this issue in my trainings, but it's good to know for other.