From d50692c8938c59dff5635ab85aca5d942265cc18 Mon Sep 17 00:00:00 2001 From: cvhub Date: Wed, 30 Oct 2024 11:28:53 +0800 Subject: [PATCH] fix: typos error for COCO keypoint annotations (#698) --- anylabeling/views/labeling/label_widget.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anylabeling/views/labeling/label_widget.py b/anylabeling/views/labeling/label_widget.py index a1935bf..d7a410d 100644 --- a/anylabeling/views/labeling/label_widget.py +++ b/anylabeling/views/labeling/label_widget.py @@ -5121,7 +5121,7 @@ def export_coco_annotation(self, mode, _value=False, dirpath=None): ) return converter = LabelConverter(pose_cfg_file=self.yaml_file) - elif mode in ["hbb", "seg"]: + elif mode in ["rectangle", "polygon"]: filter = "Classes Files (*.txt);;All Files (*)" self.classes_file, _ = QtWidgets.QFileDialog.getOpenFileName( self,