ColumbiaDVMM / Spread-out_Local_Feature_Descriptor

Code for Learning Spread-out Local Feature Descriptors
39 stars 14 forks source link

about the implementation based on hardnet #3

Closed Danee-wawawa closed 6 years ago

Danee-wawawa commented 6 years ago

Hi, thank you very much for sharing the code. I have checked the code based on hardnet that you provide, but I can't find the part of the implementation of ''Spread-out_Local_Feature_Descriptor'' in it. It seems that the code is just hardnet, could you tell me where is the part of spread-out descriptor in the hardnet code. Thank you very much.

spongezhang commented 6 years ago

Sure. See HardNet.py line 404-405. If you enable gor, which is short for global orthogonal regularization, the regularization proposed in our paper, the trick will work. The actual implementation of gor is in Losses.py, line 156-162. Yes, the implementation of gor is that simple. :)

Danee-wawawa commented 6 years ago

Yes, I find it. Thank you very much.

spongezhang commented 6 years ago

No problem.