devraj89 / LABEL-CONSISTENT-MATRIX-FACTORIZATION-BASED-HASHING-FOR-CROSS-MODAL-RETRIEVAL

This code implements the paper "LABEL CONSISTENT MATRIX FACTORIZATION BASED HASHING FOR CROSS-MODAL RETRIEVAL" in ICIP 2017.
MIT License
1 stars 1 forks source link

wiki_ours2 #1

Open zyfsa opened 6 years ago

zyfsa commented 6 years ago

hi,I have a question about the sampleInds = sampleInds(1:N). where I can find it. Now I want to train my own dataset

devraj89 commented 6 years ago

Hi

Thanks for your interest in our work. So basically the sampleInds was used to select a random number of samples to constitute the training dataset. As far as I remember for MirFlickr and NUS-Wide sampleInds was a vector of 5000 numbers. So when we did sampleInds = sampleInds(1:N) we were just selecting the data for getting the training set.

For your own dataset suppose you want to select N number of samples for your training simply do this sampleInds = 1:N I hope this clears your doubt. Please get in touch with me in case of any further issues.

152ls12 commented 5 years ago

Hi error:Undefined function 'sampleInds' for input arguments of type 'double',what should I do.