remove dead code

This commit is contained in:
Lincoln Stein 2023-02-03 17:35:35 -05:00
parent b23664c794
commit d569c9dec6

View File

@ -101,7 +101,6 @@ class Txt2Mask(object):
image = ImageOps.exif_transpose(image) image = ImageOps.exif_transpose(image)
img = self._scale_and_crop(image) img = self._scale_and_crop(image)
# img = transform(img).unsqueeze(0)
inputs = self.processor(text=[prompt], inputs = self.processor(text=[prompt],
images=[img], images=[img],