Totoro97/f2-nerf

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

Opened this issue · 2 comments

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

me,too.Could you solve this probleam?

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.