From d364199d87e13dd8267efc41cb4a5ea2bb0a370c Mon Sep 17 00:00:00 2001 From: SWHL Date: Wed, 1 Nov 2023 09:02:52 +0800 Subject: [PATCH] Fixed issue #9 --- label_convert/labelme_to_coco.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/label_convert/labelme_to_coco.py b/label_convert/labelme_to_coco.py index 18e118b..3303c35 100644 --- a/label_convert/labelme_to_coco.py +++ b/label_convert/labelme_to_coco.py @@ -250,7 +250,7 @@ def main(): converter = LabelmeToCOCO( args.src_dir, args.out_dir, args.val_ratio, args.have_test, args.test_ratio ) - converter(mode_list=args.mode_list.split(",")) + converter() if __name__ == "__main__":