Skip to content

floating point exception in importance_sampling when setting n_intervals_per_ray as a Tensor. #304

Description

@JiaweiXu8

Hi, thank you very much for your excellent work!

However, I find that when I set n_intervals_per_ray as a torch.Tensor in importance_sampling, it raises an exception. In contrast, when n_intervals_per_ray is a number, it runs correctly. I am not sure if the implementation of this function has several bugs.

My version is nerfacc==0.5.3 and torch==2.6.0+cu118.

Image Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions