First of all, thank you for the excellent repository.
I have one question: does XFeat exclude the MegaDepth1500 data during training?
The pairs in assets/megadepth_1500.json that are read at evaluation include items that are not filtered out by the following operation in megadepth.py:
self.pair_infos = [pair_info for pair_info in self.pair_infos
if pair_info[1] > min_overlap_score and pair_info[1] < max_overlap_score]
—in other words, those with min_overlap_score = 0.3 or higher.
For example, the pair listed in assets/megadepth_1500.json
"pair_names": [
"Undistorted_SfM/0015/images/205993922_4ad25ed386_o.jpg",
"Undistorted_SfM/0015/images/2912685234_7c4c21ee78_o.jpg"
],
corresponds to the indices [356, 898] indicated by npz['pair_infos'][3251] in scene_info_0.1_0.7/0015_0.3_0.5.npz.
The overlap value is 0.3182, so it appears this pair would be included in the default training.