cvat
cvat copied to clipboard
COCO json with category ID: 0 not loading
My actions before raising this issue
- [x] Read/searched the docs
- [x] Searched past issues
Unable to upload COCO json annotations when category ID starts from 0
Expected Behaviour
Upload all annotations
Current Behaviour
can\t import annotation #0 (bbox)
error.
Possible Solution
Steps to Reproduce (for bugs)
Context
The COCO json is exported from fiftyone dataset view as shown here
Your Environment
- Git hash commit (
git log -1
): - Docker version
docker version
(e.g. Docker 17.0.05): - Are you using Docker Swarm or Kubernetes?
- Operating System and version (e.g. Linux, Windows, MacOS):
- Code example or link to GitHub repo or gist to reproduce problem:
- Other diagnostic information / logs:
Logs from `cvat` container
Next steps
You may join our Gitter channel for community support.
@kirill-sizov @yasakova-anastasia Could you please comment on the issue?
I was able to reproduce this issue.
Hi, the id 0 in COCO format is reserved to mean "no label".
Related https://github.com/openvinotoolkit/datumaro/issues/733
UPD: I think, we could add a special import option in Datumaro to specify the "no label" id, or to add a special handling for id = 0 in CVAT, as it's not possible to import annotations without labels in CVAT.