Skip to content

Commit

Permalink
image_info.id -> incremental id
Browse files Browse the repository at this point in the history
  • Loading branch information
vorozhkog committed Nov 8, 2024
1 parent 9d107ff commit 4de2dec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def create_coco_annotation(
caption_id += 1
coco_captions["annotations"].append(
dict(
image_id=image_info.id,
image_id=incremental_id,
id=caption_id,
caption=tag.value,
)
Expand Down

0 comments on commit 4de2dec

Please sign in to comment.