joheras / CLoDSA

122 stars 33 forks source link

Detection - Coco Output too much "[[]]" #76

Closed Natriumpikant closed 1 year ago

Natriumpikant commented 1 year ago

Hello again :)

Thanks for fixing my first issue.

While working in my coco-dataset i found another little issue:

Input Annotation File example: { "id": 25, "image_id": 7, "category_id": 6, "iscrowd": 0, "area": 33020, "bbox": [ 315, 907, 130, 254 ], "segmentation": [], "width": 1080, "height": 1920 },

Output Annotation File example: { "id": 26, "image_id": 7, "category_id": 13, "iscrowd": 0, "area": 34419, "bbox": [ 738, 813, 231, 149 ], "segmentation": [ [] ], "width": 1080, "height": 1920 },

Have a look at the second example(output) : "segmentation": [[]]

There is one of this [] too much. After pre-processing with Notepad++ and deleting at for every ID the coco file works well. Maybe you want to fix this little issue. Thanks for your work :)

joheras commented 1 year ago

Thanks. I will fix this issue in the new version of Clodsa that will be released in the next few days. Best, Jónathan

El mié, 5 oct 2022 a las 12:20, Natriumpikant @.***>) escribió:

Hello again :)

Thanks for fixing my first issue.

While working in my coco-dataset i found another little issue:

Input Annotation File example: { "id": 25, "image_id": 7, "category_id": 6, "iscrowd": 0, "area": 33020, "bbox": [ 315, 907, 130, 254 ], "segmentation": [], "width": 1080, "height": 1920 },

Output Annotation File example: { "id": 26, "image_id": 7, "category_id": 13, "iscrowd": 0, "area": 34419, "bbox": [ 738, 813, 231, 149 ], "segmentation": [ [] ], "width": 1080, "height": 1920 },

Have a look at the second example: "segmentation": [[]]

There is one of this [] too much. After pre-processing with Notepad++ the coco file works well. Maybe you want to fix this little issue. Thanks for your work :)

— Reply to this email directly, view it on GitHub https://github.com/joheras/CLoDSA/issues/76, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJRAGZ7MTTBFIOP5EFP253WBVI7RANCNFSM6AAAAAAQ5OBBKQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

joheras commented 1 year ago

It has been fixed in the new version of Clodsa. Thanks, Jónathan