Totoro97 / f2-nerf

Fast neural radiance field training with free camera trajectories
https://totoro97.github.io/projects/f2-nerf/
Apache License 2.0
933 stars 69 forks source link

When I run colmap2poses.py, I get an error:IndexError: index 23 is out of nounds for axis 0 with size 12. #121

Open zZH1222hui opened 9 months ago

zZH1222hui commented 9 months ago

When I run this file, some datasets do not display such error messages and run successfully. But most datasets will encounter this error when running this file. I want to know what caused this?

f9e7cb95078a2f3245cef5c1cac8329

SunBlazes commented 8 months ago

me,too.Could you solve this probleam?

zZH1222hui commented 8 months ago

me,too.Could you solve this probleam?

It's easy.

image_id_to_image_idx = np.zeros(self.n_images + 10, dtype=np.int32)

it just need change "10",you can write a larger number until this error no longer occurs.