Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add steps to avoid category ID null when exporting as COCO in VIA #261

Merged
merged 1 commit into from
Jan 30, 2025

Conversation

sfmig
Copy link
Collaborator

@sfmig sfmig commented Jan 30, 2025

Description

What is this PR?

  • Bug fix
  • Addition of a new feature
  • Other

Ensures the category ID entered is a number, so that the COCO export works correctly.

Why is this PR needed?
When following the steps, the data exported in COCO format produced a null category.

This is because COCO does not accept a string category ID (but VIA does).

What does this PR do?
Clarifies in the labelling guide that the category ID needs to be an integer

References

this issue from the VIA tool

How has this PR been tested?

Separately using the VIA tool.

Does this PR require an update to the documentation?

It is an update of the existing guides.

Checklist:

  • [ n/a ] The code has been tested locally
  • [ n/a ] Tests have been added to cover all new functionality
  • The documentation has been updated to reflect any changes
  • The code has been formatted with pre-commit

Ensure the category ID entered is a number, so that the COCO export works correctly.


From [this issue](https://gitlab.com/vgg/via/-/issues/296)

Signed-off-by: sfmig <[email protected]>
@sfmig sfmig merged commit 9aa304b into main Jan 30, 2025
7 checks passed
@sfmig sfmig deleted the smg/steps-to-avoid-null-category-id-coco branch January 30, 2025 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant