From 01956a273503970ec3bd366869e62907ced23a6f Mon Sep 17 00:00:00 2001 From: rizavelioglu Date: Tue, 15 Aug 2023 14:22:37 +0200 Subject: [PATCH] fixes #285 --- supervision/dataset/formats/coco.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/supervision/dataset/formats/coco.py b/supervision/dataset/formats/coco.py index 35a8d0f3..d54d39da 100644 --- a/supervision/dataset/formats/coco.py +++ b/supervision/dataset/formats/coco.py @@ -215,7 +215,7 @@ def save_coco_annotations( coco_images.append(coco_image) detections = annotations[image_name] - coco_annotation, label_id = detections_to_coco_annotations( + coco_annotation, annotation_id = detections_to_coco_annotations( detections=detections, image_id=image_id, annotation_id=annotation_id,