yangerkun / IJCAI2018_SSDH

Semantic Structure-based Unsupervised Deep Hashing IJCAI2018
42 stars 15 forks source link

How to run this code? #1

Open CSer-Tang-hao opened 5 years ago

CSer-Tang-hao commented 5 years ago

Can you provide a more detailed Readme? I can't find the data files.

yangerkun commented 5 years ago

Hi, This project only contains the codes, you should download and input the data by yourself. Concretely, to run the code, you need to put the data path and labels properly, which are specified in img_train.txt, img_test.txt, and img_database.txt The format is as follows: home/path/to/image1.png 1 0 1 0 1 0 1 home/path/to/image2.png 1 0 1 0 1 0 1 home/path/to/image3.png 1 0 1 0 1 0 1 home/path/to/image4.png 1 0 1 0 1 0 1 ... ... The first part is the image path, and the second part is the corresponding one-hot image label.