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

Discussion on colmap #57

Open
ZhenyuSun-Walker opened this issue Sep 28, 2024 · 2 comments
Open

Discussion on colmap #57

ZhenyuSun-Walker opened this issue Sep 28, 2024 · 2 comments

Comments

@ZhenyuSun-Walker
Copy link

Dear sir, now when I try to run the python lib/colmap/imgs2poses.py -s <source path> with the correct and high-quality images (number is 20), the result is shown as below.

Sparse map created
Finished running COLMAP, see dataset/20240928-224635_scene_kitchen_20/colmap_output.txt for logs
Post-colmap
Cameras 5
Images # 3
Index out of range: ind=8, len(cams)=3
ERROR: the correct camera poses for current points cannot be accessed
Done with imgs2poses

Why it produces such result? Actually I can succeed in completing this process when I use other dataset, including your examples as well as my own customed datasets.

@5p6
Copy link

5p6 commented Oct 3, 2024

I have the same problem,the dataset that i use just could not pass the colmap progran.

Need to run COLMAP
Features extracted
Features matched
Sparse map created
Finished running COLMAP, see dataset\colmap_output.txt for logs
Post-colmap
Cameras 5
Images # 2
ERROR: the correct camera poses for current points cannot be accessed
Done with imgs2poses

@TQTQliu
Copy link
Owner

TQTQliu commented Oct 7, 2024

The error caused by running the colmap script is due to low overlap, which can also be found Fyusion/LLFF#36 (comment).

You can first run colmap sparse reconstruction https://colmap.github.io/cli.html# , and then run the script lib/colmap/imgs2poses.py to get poses_bounds.npy.

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

3 participants