yuruntian / L2-Net

Code and mode for CVPR 2017 paper "L2-Net: Deep Learning of Discriminative Patch Descriptor in Euclidean Space"
111 stars 36 forks source link

How do you confirm the feature vector outputed from LRN will be a unit vector #7

Closed xuelunshen closed 5 years ago

xuelunshen commented 6 years ago

Paper writed this sentence "we use a Local Response Normalization layer (LRN) as the output layer to produce unit descriptors."

So, I want to know is it definitly get a unit feature vector from the LRN ?

yuruntian commented 6 years ago

@Xylon-Sean for example in pytorch : nn.LocalResponseNorm(2self.dim_desc, alpha=2self.dim_desc, beta=0.5, k=0)

xuelunshen commented 6 years ago

@yuruntian thank you, I trid these code and it produced the unit descriptors.