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

Question about fast convergence of training from scratch #20

Open
zhaotingy opened this issue Feb 23, 2022 · 1 comment
Open

Question about fast convergence of training from scratch #20

zhaotingy opened this issue Feb 23, 2022 · 1 comment

Comments

@zhaotingy
Copy link

Again, very nice paper.
I am training GIFT from scratch (joint training of both extractor and embeder). But I noticed that it converges super fast with less than 10k iterations and accuracy no longer further improves. Just want to see if you observe similar results or any idea?

@liuyuan-pal
Copy link
Collaborator

Thanks for your interest again!

Since we only take the average of all non-zero triplet loss terms. The loss may seem to jitter around the margin value while subsequent training will still improve the results. Meanwhile, the hard example mining distance threshold needs to be large at the beginning and decreases slowly in training.

The codes are written several years ago and training parts still have a large space for improvements, like:

  1. training with a fixed detector instead of simply using a harris corner detector.
  2. training on image pairs with known poses and depths like MegaDepth or ScanNet, instead of using only the homography for training.

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