I’m dealing with evaluation step for image-text matching problem. I want to compute the similarity between all images and a number of captions (batch_size). For example, with batch_size=32, at each iteration, DataLoader will return all images and 32 captions.
Is there anyway to do that?!