This resposity is the pytorch implementation of our paper HCDH: Hadamard Codebook based Deep Hashing (link).
- Python 3.6
- PyTorch == 1.4.0
The data list of datasets CIFAR-10ใNUS-WIDE and ImageNet are provides in Baidu Yun (code: tkrb).
Train/Test
python main.py --gpus 0 --dataset cifar_s1 --feat-dim 32 --prefix AlexNet_32bit
Please consider citing our paper in your publications if the project helps your research. BibTeX reference is as follows.
@article{Chen2019HadamardCB,
title={Hadamard Codebook Based Deep Hashing},
author={S. Chen and Liujuan Cao and Mingbao Lin and Yan Wang and Xiaoshuai Sun and Chenglin Wu and Jingfei Qiu and Rongrong Ji},
journal={ArXiv},
year={2019},
volume={abs/1910.09182}
}