Awesome
Cross-Spectral Local Descriptors via Quadruplet Network
Bibtex
@Article{s17040873,
AUTHOR = {Aguilera, Cristhian A. and Sappa, Angel D. and Aguilera, Cristhian and Toledo, Ricardo},
TITLE = {Cross-Spectral Local Descriptors via Quadruplet Network},
JOURNAL = {Sensors},
VOLUME = {17},
YEAR = {2017},
NUMBER = {4},
ARTICLE NUMBER = {873},
URL = {http://www.mdpi.com/1424-8220/17/4/873},
ISSN = {1424-8220},
DOI = {10.3390/s17040873}
}
Instructions
First install the torch framework and cudnn
Datasets
Nirscenes patches
Two options: Download the generated t7 dataset from
Training and evaluation t7 files are different
VIS-LWIR ICIP2015
- Download the dataset from
Eval
Nirscenes eval (requires cuda, cudnn)
Evaluation code can be found in the eval folder. To eval one sequence:
- You have to generate or download the nirscenes patch dataset
- Install xlua
luarocks install xlua
luarocks install moses
- Run
cd eval
th nirscenes_eval.lua -dataset_path [path] -net [trained network]
For example, to eval the field sequence using the Q-Net article trained network.
th nirscenes_eval.lua -dataset_path ../datasets/nirscenes/test -net ../trained_networks/qnet.t7
For more options, run
th nirscenes_eval -h
VIS-LWIR eval (ICIP2015) (just cuda support)
- You have to download the dataset first
- Run
cd eval
th icip2015_eval.lua -dataset_path ../datasets/icip2015/ -net [trained network]
For example. To eval Q-Net
cd eval
th icip2015_eval.lua -dataset_path ../datasets/icip2015/ -net ../trained_networks/qnet.t7
Training
- Install penlight, torchx and json
luarocks install penlight
luarocks install torchx
luarocks install json
- Train a network
cd train
th nirscenes_quadruplets_train.lua
Run
th nirscenes_quadruplets_train.lua -h
to see the options
Note The training code is different from the one used in the article. This new version is smaller. Additionally, the dataset was generated from zero. So, small differences in FPR95 may happen.