how do i use torchvision.transforms on images read by opencv?
class resize_rescale():
def init(self, output_size):
assert isinstance(output_size, int)
self.output_size = output_size
def __call__(self, all_3_imgs):
    print('in resize_rescale !!!')

anc_img, pos_img, neg_img = all_3_imgs
    return anc_img, pos_img, neg_img

dataset = siamese_dataset(att_faces_dataset,  transform = transforms.Compose([resize_rescale(256),
]))