From f8f91d043f910ef67b83de5c5721c48ba6578ba8 Mon Sep 17 00:00:00 2001 From: Guanghua Yu <742925032@qq.com> Date: Tue, 10 Nov 2020 13:26:09 +0800 Subject: [PATCH] remove segmentation field in voc2coco (#1667) --- tools/x2coco.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/x2coco.py b/tools/x2coco.py index 12b940a30..caf0132a5 100644 --- a/tools/x2coco.py +++ b/tools/x2coco.py @@ -246,7 +246,6 @@ def voc_get_coco_annotation(obj, label2id): 'bbox': [xmin, ymin, o_width, o_height], 'category_id': category_id, 'ignore': 0, - 'segmentation': [] # This script is not for segmentation } return anno -- GitLab