each element in ImageFolder.imgs contains two elements, first is the
full path to an image, second is the corresponding label. So there is no
need to use os.path.join again to get full path of this image.
I checked the code you mentioned, and 'os.path.join' seems redundant.
I will merge the request you suggested.
Thank you very much for your interest in Proxy-Anchor loss and contribution to our repository!! :D
each element in ImageFolder.imgs contains two elements, first is the full path to an image, second is the corresponding label. So there is no need to use os.path.join again to get full path of this image.