Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IndexError at "video_datasets.py" #36

Open
jyj0121 opened this issue Sep 5, 2023 · 1 comment
Open

IndexError at "video_datasets.py" #36

jyj0121 opened this issue Sep 5, 2023 · 1 comment

Comments

@jyj0121
Copy link

jyj0121 commented Sep 5, 2023

Dear authors,
I'm really appreciated for your excellent work and neat code.
I'm currently running k-planes with my multiview dataset after converting to a format that is compatible with DyNeRF.
I've tried two personal datasets with the default "dynerf_hybrid.py" configurations.
In the case of Dataset 1(consisting of nine views with a resolution of 1920x1088 per view), it works fine until 90001 iterations
However, in the case of Dataset 2(consisting of sixteen views with a resolution 1920x1088 per view), it throws out the following error
at the iterations equal to "ist_step".

File "D:\ETRI\2023\Immersive\Standardization\INVR\K-Planes-main\plenoxels\datasets\video_datasets.py", line 268, in getitem
"timestamps": self.timestamps[index], # (num_rays or 1, )
IndexError: index 858331320 is out of bounds for dimension 0 with size 501350400

Am I running something wrong?
Thank you very much.

@sarafridov
Copy link
Owner

Apologies for the slow response...this is difficult to debug since I'm not sure what is different between the two datasets that would make things break on one of them although it works on the other. I don't think there would be any issue with changing the number of views. Was the preprocessing (including computing ist weights) done the same on both datasets? It's also likely to work fine as a fallback option if you run without ist sampling for the dataset where that errors, though details in the dynamic regions will be slightly blurrier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants