SuperPoint
SuperPoint copied to clipboard
Problem about the used dist type
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.
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.