Return values in the coco.py __get_item__ method
RishabhMaheshwary opened this issue · 0 comments
RishabhMaheshwary commented
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