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

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 this issue Jan 30, 2024 · 2 comments

Comments

@zZH1222hui
Copy link

zZH1222hui commented Jan 30, 2024

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
Copy link

me,too.Could you solve this probleam?

@zZH1222hui
Copy link
Author

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.

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