From 6ab15c2ff3552de3e0f2ed8f3ffd39c0e2c4b7d6 Mon Sep 17 00:00:00 2001 From: Cedric Luo Date: Fri, 27 May 2022 15:42:37 +0800 Subject: [PATCH] remove gt_sem_seg --- mmdet/datasets/pipelines/loading.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mmdet/datasets/pipelines/loading.py b/mmdet/datasets/pipelines/loading.py index 109276830b4..79bbf809981 100644 --- a/mmdet/datasets/pipelines/loading.py +++ b/mmdet/datasets/pipelines/loading.py @@ -625,7 +625,7 @@ def __call__(self, results): for t in tests[1:]: keep = keep & t - keys = ('gt_bboxes', 'gt_labels', 'gt_masks', 'gt_semantic_seg') + keys = ('gt_bboxes', 'gt_labels', 'gt_masks') for key in keys: if key in results: results[key] = results[key][keep]