Closed FrozenSilent closed 1 year ago
Hi! Thanks for this useful tool for NeRF accelerating. I have found a bug in the example code. If batch_over_images in the data loader is set to False, running the example code will result in an error. I have figured out that the following line https://github.com/KAIR-BAIR/nerfacc/blob/ebeb5ddf733c04b425d5070efae9c3d23f64b078/examples/datasets/dnerf_synthetic.py#L179 should be changed to
batch_over_images
False
image_id = [index] * num_rays
yeah you are right that should be the fix! Feel free to open a PR if you want
Sure! I have opened a PR.
Close it as fixed!
Hi! Thanks for this useful tool for NeRF accelerating. I have found a bug in the example code. If
batch_over_images
in the data loader is set toFalse
, running the example code will result in an error. I have figured out that the following line https://github.com/KAIR-BAIR/nerfacc/blob/ebeb5ddf733c04b425d5070efae9c3d23f64b078/examples/datasets/dnerf_synthetic.py#L179 should be changed to