DIVA-DIA / DeepDIVA

⛔️ DEPRECATED <Python Framework for Reproducible Deep Learning Experiments>
https://diva-dia.github.io/DeepDIVAweb
GNU Lesser General Public License v3.0
32 stars 31 forks source link

Rename `self.train` -> `self.use_triplet_output` in `ImageFolderTriplet` #16

Open ashlaban opened 5 years ago

ashlaban commented 5 years ago

Renaming this member from train to use_triplet_output more clearly indicates that this is a switchable property (if one e.g. would want to eval both the triplet loss and the mAP "accuracy" metric on the same dataset).

https://github.com/DIVA-DIA/DeepDIVA/blob/4dccf3b5fab5d45abd09977f37079f1803520988/datasets/image_folder_triplet.py#L103