Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
DSDH.m Update DSDH.m Sep 7, 2017
README.md
RRC.m Add files via upload Sep 6, 2017
calcHammingDist.m Add files via upload Sep 6, 2017
calcHammingRank.m
calcMAP.m
calcNeighbor.m
compilenn.m
compute_B.m Add files via upload Sep 6, 2017
compute_S.m
data_prepare.m Update data_prepare.m Sep 7, 2017
logExpTrick.m
main.m
net_structure.m Add files via upload Sep 6, 2017
return_map.m
test.m
train.m
update.m Add files via upload Sep 6, 2017

README.md

DSDH-HashingCode

This repository is the source code for our paper Deep Supervised Discrete Hashing (https://papers.nips.cc/paper/6842-deep-supervised-discrete-hashing.pdf) Qi Li, Zhenan Sun, Ran He and Tieniu Tan. This is a demo on the CIFAR-10 dataset with the DSDH implementaion. Part of the code is modified from DPSH(https://cs.nju.edu.cn/lwj/).

Stage 1:

  1. Download the CIFAR-10 dataset from the website(https://www.cs.toronto.edu/~kriz/cifar-10-matlab.tar.gz), unzip the file and put the folder 'cifar-10-batches-mat/' in the current folder.

  2. Download the Pretrained CNN model VGG-F from the website(http://www.vlfeat.org/matconvnet/models/imagenet-vgg-f.mat), and put it in the current folder.

Stage 2:

  1. Installing and compiling the library in the MatConvNet, Please refer to http://www.vlfeat.org/matconvnet/install/ for more information about installing MatConvNet.

  2. demo run main.m for the demo.

You can’t perform that action at this time.