akarshzingade / image-similarity-deep-ranking

369 stars 103 forks source link

Use of batch_y in the data generator #2

Closed IAmAbdusKhan closed 6 years ago

IAmAbdusKhan commented 6 years ago

Hey Akarsh . Can you please tell me why have we put class_mode = 'categorical' . What is the use of batch_y ?

akarshzingade commented 6 years ago

Hey Abdus. You should neglect batch_y as it has no meaning for this particular implementation. batch_y generally contains the ground truth labels. In the case of Image Similarity, there is no such (explicit) label for a given triplet.

IAmAbdusKhan commented 6 years ago

Thanks mate .