SuperPoint icon indicating copy to clipboard operation
SuperPoint copied to clipboard

Problem about the used dist type

Open cxmscb opened this issue 2 years ago • 1 comments

Hi, rpautrat, sorry to disturb you. I wonder whether the dist type used in the test demo is the same as that of training. By reading the codes, the dist type used in the demo seems like the euclidean distance, but the dist type used in training is cosine distance.

cxmscb avatar May 08 '23 12:05 cxmscb

Hi, it doesn't matter too much, as both are easily related to each other: euclidean_dist = sqrt(2 - 2 * cos_dist). So we can use them interchangeably.

rpautrat avatar May 08 '23 14:05 rpautrat