Closed atj1012 closed 6 years ago
Hey @atj1012
like he said in the answer: "...you will have to segregate similar images to different folders.. ". This means that indeed there should be positive/similar images in the same folder (SimilarityClass1, SimilarityClass2 etc.). Hence the triplet sampling gets simplified by declaring the negative images as one random image from all other similarity class folders then the query image. Hope this helps.
Best regards Timo
Timo is correct. Please let us know if you have further questions :)
Hey akarsh,
I have a doubt about your previous explanation about the triplet.txt file generation....
as you mentioned above:
which according to me means that any directory should have different/non-similar images... but on the contrary in the code of tripletSampler.py, you are finding the no of positive images from the same directory...
where image_name is the query image and image_names is the list of images in the current directory/class .
So this sounds incorrect to me as there should be no positive images or similar images in the same directory.
Could you please explain if you understand my doubt.