Kai-46 / nerfplusplus

improves over nerf in 360 capture of unbounded scenes
BSD 2-Clause "Simplified" License
911 stars 101 forks source link

ZeroDivisionError: integer division or modulo by zero #52

Open JayNyce opened 1 year ago

JayNyce commented 1 year ago

Running on custom dataset gives me zero division error

idx = what_val_to_log % len(val_ray_samplers) ZeroDivisionError: integer division or modulo by zero

Brial45 commented 1 year ago

You can refer to https://github.com/Kai-46/nerfplusplus/issues/2 to solve your problem, or just edit the argument from "validation" to "test" like below: image