-
Notifications
You must be signed in to change notification settings - Fork 91
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
About training LightGlue in two stages #36
Comments
We figured out later that we could simplify the implementation by training the confidence classifier at the same time as the rest of the model but detaching its inputs. This only adds a marginal computational overhead and the end results are strictly identical. glue-factory/gluefactory/models/matchers/lightglue.py Lines 590 to 595 in 4a82835
glue-factory/gluefactory/models/matchers/lightglue.py Lines 75 to 88 in 4a82835
|
Hello, thanks for your work!
In the LightGlue paper, it is mentioned, 'we first train it to predict correspondences and only after train the confidence classifier. The latter thus does not impact the accuracy at the final layer or the convergence of the training.' However, in the actual code, it seems that they are trained together, and there is no distinction between the two stages.
The text was updated successfully, but these errors were encountered: