Skip to content

Statistics raise an error when there is a label annotation not in the category. #1204

@jihyeonyi

Description

@jihyeonyi

I manually made a datumaro dataset which has 4 labels in the LabelCategories but has unknown label annotation(label=4).
When I tried to calculate annotation statistics, it raised an error like this:
image

I think compute_ann_statistics and corresponding validator should be checked to fix this bug.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions