cvg / LightGlue

LightGlue: Local Feature Matching at Light Speed (ICCV 2023)
Apache License 2.0
3.15k stars 291 forks source link

While Reproducing the results #108

Open AubreyCH opened 5 months ago

AubreyCH commented 5 months ago

Hi! Thank you for your excellent work! I've been trying to reproduce the results reported in the paper recently. Here's what I got:

  1. By using 2 4090s and following the official config, the results I got from pretraining on the homography dataset: 09fa20b94f85008974ca40bed1057ac0

  2. Finetune on Megadepth Then I followed settings described in the paper : lr as 1e-5, decay by 0.8 after 10 epochs, and I got the checkpoint_best with loss: Epoch 48 :New best val: loss/total=0.4931303240458171 the test results are as follows: 4f10be29187de7e8a9432651e6ba6b16

I also tried the settings in the official config: lr as 1e-4 , decay by 0.95 after 30 epochs, this is what i got:

Epoch 49: New best val: loss/total=0.3537058917681376

a007554757cc24d102906d06d8d86edb

And I've tried some other possible settings and still didn't reach the same results reported in the paper. Could you plz give more details on how you finetune the model on the megadepth dataset? Or any other suggestions on improving the performance?

QuangVinh1280 commented 5 months ago

Hello @AubreyCH , I am currently trying to understand the process of training LightGlue, but I encountered a problem during the fine-tuning stage because I don't have enough storage space to store the downloaded MegaDepth dataset. Could you kindly help me describe briefly about the structure and content stored in the MegaDepth dataset used? I would greatly appreciate your feedback.