Transfer Hashing: From Shallow To Deep
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

A demo for Deep Transfer Hashing

Preprocessed data

  • BBC
  • bbc_PCA_6_2of3.mat
  • bbc_PCA_6_1of3.mat
  • Reuters
  • db_data_img.mat
  • db_data_tag.mat

Prepare data for training and testing


Model definition


Training script


Generate hash code for train/test data


Evaluate performance

  • /utils
  • WTT.m
  • hash_test.m


  • Joey Tianyi Zhou, Heng Zhao, Xi Peng, Meng Fang, Zheng Qin and Rick Siow Mong Goh, "Transfer Hashing: From Shallow To Deep", Transaction on Neural Network and Learning Systems (TNNLS)
  • Joey Tianyi Zhou, Xinxing Xu, Sinno J. Pan, Ivor W. Tsang, Zheng Qin, and Rick Siow Mong Goh. "Transfer Hashing with Privileged Information," in Proceedings of the 25th International Joint Conference on Artificial Intelligence (IJCAI-16), NYC, USA, 2016.