andreasveit / conditional-similarity-networks

BSD 3-Clause "New" or "Revised" License
222 stars 52 forks source link

Script used to create the triplet list #5

Closed hmishfaq closed 6 years ago

hmishfaq commented 7 years ago

Is it possible to share the script that has been used to create the triplet list?

Thanks Haque

theFool32 commented 7 years ago

Need it as well. Does it simply sample triplet from the database or use any trick?

Thanks.

andreasveit commented 7 years ago

We simply sample triplets randomly from the database. The procedure is outlined in the paper as well:

To supervise and evaluate the triplet networks, we sample triplet constraints from the annotations of the datasets. For the font dataset, we sample triplets such that two characters are of the same type or font and one is different. For the Zappos dataset, we sample triplets in an analogous way for the three categorical attributes. For the heel heights we have numerical measurements so that for each triplet we pick two shoes with similar height and one with different height.