Giter VIP home page Giter VIP logo

qnet's Introduction

Cross-Spectral Local Descriptors via Quadruplet Network

PDF

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

  1. Install torch
  2. Cudnn torch

Datasets

Nirscenes patches

Two options: Download the generated t7 dataset from

Training and evaluation t7 files are different

VIS-LWIR ICIP2015

  1. Download the dataset from

Eval

Nirscenes eval (requires cuda, cudnn)

Evaluation code can be found in the eval folder. To eval one sequence:

  1. You have to generate or download the nirscenes patch dataset
  2. Install xlua
luarocks install xlua
luarocks install moses
  1. 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)

  1. You have to download the dataset first
  2. 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

  1. Install penlight, torchx and json
luarocks install penlight
luarocks install torchx
luarocks install json
  1. 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.

qnet's People

Contributors

cac-at-ula avatar ngunsu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.