Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.
This repository was archived by the owner on Dec 19, 2024. It is now read-only.

Ann ids are not unique when converting to the COCO format #217

@Robotatron

Description

@Robotatron

Describe the Bug:
When using datasetinsights to convert the dataset for instance segmentation to the COCO format, the annotation IDs generated in the COCO are not unique. Frameworks such as Detectron2 will refuse to train because of this.

How to Reproduce?
Using datasetinsights to convert the dataset for instance segmentation to the COCO format

What did you expect to happen:
All annotation IDs are unique

Console logs / stack traces

Screenshots
image

Anything else you would like to add:
Generated several datasets with Unity Perception to confirm. Every generated dataset converted with datasetinsights had duplicate ann ids.

Environment:

  • OS + version: Debian 10
  • datasetinsights version: The latest commit with Instance Segmentation Support - bf6f824

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions