From 95c37afd3f48ec5c8e6ea74dd472f92d128ccc86 Mon Sep 17 00:00:00 2001 From: jribault Date: Tue, 5 Nov 2024 15:06:16 +0000 Subject: [PATCH] add 'score' prediction to coco converter --- src/label_studio_sdk/converter/imports/coco.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/label_studio_sdk/converter/imports/coco.py b/src/label_studio_sdk/converter/imports/coco.py index 669e05a1..afc45217 100644 --- a/src/label_studio_sdk/converter/imports/coco.py +++ b/src/label_studio_sdk/converter/imports/coco.py @@ -43,6 +43,7 @@ def create_bbox(annotation, categories, from_name, image_height, image_width, to "image_rotation": 0, "original_width": image_width, "original_height": image_height, + "score": annotation['score'], } return item