diff --git a/detectron2/data/datasets/voc_style_coco.py b/detectron2/data/datasets/voc_style_coco.py index b899f88..cbce1d9 100644 --- a/detectron2/data/datasets/voc_style_coco.py +++ b/detectron2/data/datasets/voc_style_coco.py @@ -95,6 +95,8 @@ def load_voc_coco_instances(dirname: str, split: str, class_names: Union[List[st # else: # cls = cls_name print(len(fileid)) + print(type(fileid)) + if len(fileid) > 10: cls = "unknown" else: