def resize(self, img):
    img = skResize(img, (self.opt.crop_size, self.opt.crop_size))
    return img
def resize(self, img):
    img = skResize(img, (self.opt.crop_size, self.opt.crop_size))
    return img