Skip to content

Latest commit

 

History

History
 
 

pytorch

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

PyTorch DeepCompare

So far only evaluation code is supported. Run eval.py script to evaluate a model on a particular subset. You will need to use lua to convert dataset to the compatible format. eval.py has functional definitions for all models, so that you can easily grab the parameters and model function and reuse it in your own code.

The numbers on Brown dataset are slightly different due to different evaluation code:

setssiam2stream_l2siam2stream2chsiamsiam_l22ch2stream
yosemite, notredame5.635.373.055.768.402.22
yosemite, liberty12.0211.039.0213.5818.907.48
notredame, yosemite12.8510.295.7312.6315.183.99
notredame, liberty7.936.195.868.6212.555.46
liberty, yosemite13.329.427.6515.2920.115.27
liberty, notredame5.193.163.024.436.051.88

Installation

Install PyTorch following instructions from https://pytorch.org, then run:

pip install -r requirements.txt

And install torchnet:

pip install git+https://github.com/pytorch/tnt.git@master