pectinid16 / ISDH-Tensorflow

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ISDH-Tensorflow

Implemement of Instance Similarity Deep Hashing for Multi-Label Image Retrieval

Requirements

Getting Started:

  • Prepare the datasets
    Download the flickr dataset and put the images into folder /data/flickr/images/

  • Transform the train images in tfrecord format
    Run python tf_record.py, and train-flickr.tfrecords will be generated

  • Prepare the AlexNet weights trained on ImageNet
    Download from here and put it on current directory

  • Train:
    Run sh train-flickr.sh, and the trained model will be saved in models/ISDH-48b/.

  • Test:
    Run sh test-flickr.sh, and generated hash codes will be saved in ./results/ISDH_48b_test_flickr.txt.

Other Datasets:

Acknowledgement

About

License:Apache License 2.0


Languages

Language:Python 97.4%Language:Shell 2.6%