vbalnt / tfeat

TFeat descriptor models for BMVC 2016 paper "Learning local feature descriptors with triplets and shallow convolutional neural networks"
MIT License
148 stars 45 forks source link

Added simple example of using TFeat for patch description #5

Closed ducha-aiki closed 7 years ago

ducha-aiki commented 7 years ago

Also added stats file (mean, var) from pnnet repository and graffity refpng from hpatches dataset as example image

edgarriba commented 7 years ago

@ducha-aiki why do you include ref.png?

ducha-aiki commented 7 years ago

@edgarriba because I strongly believe that any example "how to use something" should run "as is".

ducha-aiki commented 7 years ago

Changes applied

vbalnt commented 7 years ago

Thanks, this is also related to issue #1.

The code merged above, shows how to do the proper normalisation, to mimic the one that is done in the torch code (and more importantly, the one that the weights were trained with)