---
Source code for paper "Discrete Latent Factor Model for Cross-Modal Hashing"
---
## Introduction
### 0. About the paper
This repo is the source code for the paper "Discrete Latent Factor Model for Cross-Modal Hashing" on TIP-2019. The authors are: [Qing-Yuan Jiang](http://lamda.nju.edu.cn/jiangqy) and [Wu-Jun Li](http://cs.nju.edu.cn/lwj). If you have any questions about the source code, please contact: jiangqy#lamda.nju.edu.cn or qyjiang24#gmail.com.

### 1. Running Environment
```matlab
Matlab 2016
```

### 2. Datasets
We use three datasets to perform our experiments, i.e., MIRFLICKR-25K, IAPR-TC12 and NUS-WIDE datasets.

#### 2.1. Dataset download:

You can download all dataset from pan.baidu.com. The links are listed as follows:


- [FLICKR-25K](https://pan.baidu.com/s/14WkNMvfTdobZ_t29RShXpA ) Password: pism

- [IAPR-TC12](https://pan.baidu.com/s/1k17NEH-F0NColkBkTRoupA) Password: hf8j

- [NUS-WIDE](https://pan.baidu.com/s/1l_m3ktrrCJIEQshA-ezOuw) Password: cmdi

Or download from:

- [FLICKR-25K](http://lamda.nju.edu.cn/jiangqy/data/DLFH_data/flickr.zip)


### 3. Run demo

#### 3.1. Matlab version:

Run src/DLFH_demo.m.

```matlab
DLFH_demo
```
