From 092554ad707c2749631dfe545c8a953b2b3f4a68 Mon Sep 17 00:00:00 2001 From: Daniel Bolya Date: Mon, 24 Feb 2020 19:55:24 -0500 Subject: [PATCH] I removed it. --- data/coco.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/data/coco.py b/data/coco.py index c7ebd53e4..f182c55bd 100644 --- a/data/coco.py +++ b/data/coco.py @@ -109,12 +109,6 @@ def pull_item(self, index): img_id = self.ids[index] if self.has_gt: - # What is this and why is this here? The targets are being loaded 2 lines down and that - # overwrites this, so why oh why is this here? What's the cause of this madness? - # But I can't risk it breaking things, so it stays. Is it mercy? No. It's fear. - target = self.coco.imgToAnns[img_id] - - ann_ids = self.coco.getAnnIds(imgIds=img_id) # Target has {'segmentation', 'area', iscrowd', 'image_id', 'bbox', 'category_id'}