Skip to content

Commit bdcbeb4

Browse files
committed
update training guide
1 parent d573322 commit bdcbeb4

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,17 @@ We present a simple yet effective supervised deep hash approach that constructs
1212
<img src="https://www.csie.ntu.edu.tw/~r01944012/ssdh_intro.png" width="800">
1313

1414
The details can be found in the following [arXiv preprint.](http://arxiv.org/abs/1507.00101)
15-
1615
Presentation slide can be found [here](http://www.csie.ntu.edu.tw/~r01944012/deepworkshop-slide.pdf)
1716

1817

19-
20-
### Citing the deep hashing work
18+
## Citing the deep hashing work
2119

2220
If you find our work useful in your research, please consider citing:
2321

2422
Supervised Learning of Semantics-Preserving Hashing via Deep Neural Networks for Large-Scale Image Search
2523
Huei-Fang Yang, Kevin Lin, Chu-Song Chen
2624
arXiv preprint arXiv:1507.00101
2725

28-
Deep Learning of Binary Hash Codes for Fast Image Retrieval
29-
K. Lin, H.-F. Yang, J.-H. Hsiao, C.-S. Chen
30-
CVPR Workshop (CVPRW) on Deep Learning in Computer Vision, DeepVision 2015, June 2015.
3126

3227

3328
## Prerequisites
@@ -54,7 +49,7 @@ Launch matlab and run `demo.m`. This demo will generate 48-bits binary codes for
5449
>> demo
5550

5651

57-
<img src="https://www.csie.ntu.edu.tw/~r01944012/ssdh_demo.png" width="400">
52+
<img src="https://www.csie.ntu.edu.tw/~r01944012/ssdh_demo.png" width="350">
5853

5954

6055
## Retrieval evaluation on CIFAR10
@@ -110,7 +105,11 @@ Launch matlab, run `demo.m` and enjoy!
110105

111106
## Train SSDH on another dataset
112107

113-
It should be easy to train the model using another dataset as long as that dataset has label annotations. You need to convert the dataset into leveldb/lmdb format using "create_imagenet.sh". We will show you how to do this.
108+
It should be easy to train the model using another dataset as long as that dataset has label annotations.
109+
110+
0. Convert your training/test set into leveldb/lmdb format using `create_imagenet.sh`.
111+
0. Modify the `source` in `/example/SSDH/train_val.prototxt` to link to your training/test set.
112+
0. Run `./examples/SSDH/train.sh`, and start training on your dataset.
114113

115114

116115
## Contact

0 commit comments

Comments
 (0)