Closed ybai-hf closed 1 year ago
Image.center_crop passes itself (self) to the underlying function which assumes the input to be torch.Tensor. A better fix should be done in Image.__getitem__
Image.center_crop
Image.__getitem__
Image.center_crop
passes itself (self) to the underlying function which assumes the input to be torch.Tensor. A better fix should be done inImage.__getitem__