diff --git a/label_convert/labelme_to_coco.py b/label_convert/labelme_to_coco.py index c3e877e..70a6420 100644 --- a/label_convert/labelme_to_coco.py +++ b/label_convert/labelme_to_coco.py @@ -198,7 +198,7 @@ def generate_json(self, img_list, save_dir): shape_type = shape.get("shape_type") if shape_type not in [RECTANGLE, POLYGON, CIRCLE]: print( - f"Current shape type is {shape_type}, not between {RECTANGLE}, {CIRCLE} and {POLYGON}, skip" + f"Current shape type is {shape_type}, not in [{RECTANGLE},{CIRCLE},{POLYGON}], skip" ) continue