QATM_pytorch
QATM_pytorch copied to clipboard
Fixing an error of no features getting detected for certain images
In some 1 -> 1 matching scenarios, no features are detected, as the Tensor returned by the Normalization method (MyNormLayer
) has NaNs in it. The fix is to just add an epsilon while normalizing, as a zero standard deviation is common for several kinds of images.