Skip to content

Fixed multistage BA#1030

Open
travisdriver wants to merge 3 commits intomasterfrom
fix/run_ba
Open

Fixed multistage BA#1030
travisdriver wants to merge 3 commits intomasterfrom
fix/run_ba

Conversation

@travisdriver
Copy link
Collaborator

@travisdriver travisdriver commented Jan 16, 2026

Fixed multistage BA such that it uses the intermediate result to initialize the next step. I also consolidated run_ba and _run_ba_and_evalulate since they were doing the same thing except that the latter computed metrics after each step (which is now controlled by a flag).

I wonder if we really need multistage BA for 2-view pose estimation, or if using one stage gives similar performance while significantly reducing runtime (I believe 2-view estimation is our most time consuming step)? This change will likely already speed things up since we're not just running the same BA with different thresholds now.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this an update to the base lightglue repo? is it needed in this PR?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not really sure what's happening here. I deleted and reinitialized the submodule using git submodule update --init --recursive, and it's still recording a couple small changes.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we dont specify a commit in gtsfm, so its using 746fac2 which is the latest (from 6 months ago), and it looks like this PR is moving it to a earlier commit, which is from 2024. So not a good idea to proceed with that. Could you check your lightglue branch and make sure its up to date with their origin/main?

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

Successfully merging this pull request may close these issues.

3 participants