ubc-vision / image-matching-benchmark

Public release of the Image Matching Benchmark: https://image-matching-challenge.github.io
https://image-matching-challenge.github.io
Apache License 2.0
527 stars 93 forks source link

colmap mapper fails on some bags (specially for bag size 5) #49

Open rashikshrestha opened 1 year ago

rashikshrestha commented 1 year ago

Hi, When I tried to evaluate on multiview, the bundle adjustment step couldn't converge and failed to generate colmap outputs. This happens for a few bags only. Around 5 bags (size 5) failed when I tried with vanilla SIFT features with nfeatures=2048.

As a few bags were missing it couldn't proceed forward and generate the final metrics.

How can I solve or ignore this issue?

Thank you for your help. :)

ducha-aiki commented 1 year ago

Hi,

Which is the colmap version you use?

Readme:

Warning: If you use the multi-view part of the benchmark, please use COLMAP 3.5.
 Newer versions change the behaviour of COLMAP when it cannot find a good initial pair 
to start the reconstruction, which now triggers a failure instead of a warning. 
This cascades into the benchmark.
rashikshrestha commented 1 year ago

Thank you so much. Worked flawlessly with Colmap 3.5 I was using Colmap 3.9 before. It was an oversight on my part to miss literally the first line of Readme 😅