andreasveit / conditional-similarity-networks

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

Trouble with TripletImageLoader #9

Open soulslicer opened 5 years ago

soulslicer commented 5 years ago

Good day,

I am trying to understand the TripletImageLoader

It seems that you are already forming/forcing the an anchor/positive pair to be paired with only a fixed negative datapoint.

For example, the triplet_list.txt has

14488 25728 46328 18779 46424 20209 45804 43991 35790

Why do you do this? Shouldn't you be able to randomly sample any other datapoint when selecting the negative