gaopengcuhk / Stable-Pix2Seq

A full-fledged version of Pix2Seq
Apache License 2.0
235 stars 20 forks source link

Return values in the coco.py __get_item__ method #13

Closed RishabhMaheshwary closed 2 years ago

RishabhMaheshwary commented 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