Awesome
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:
-
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.
-
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:
-
Installing and compiling the library in the MatConvNet, Please refer to http://www.vlfeat.org/matconvnet/install/ for more information about installing MatConvNet.
-
demo run main.m for the demo.