Closed RishabhMaheshwary closed 2 years ago
Why the return values here contain two images and targets? Should not it be simply. if self._transforms is not None: img, target = self._transforms(img, target) return img, target
if self._transforms is not None: img, target = self._transforms(img, target) return img, target
Why the return values here contain two images and targets? Should not it be simply.
if self._transforms is not None: img, target = self._transforms(img, target) return img, target