-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Request: as_coco Parameter Adjustment for sv.DetectionDataset in Supervision API #1181
Comments
Hi @YoungjaeDev 👋🏻 does CVAT requires only |
@SkalskiP |
cvat.apps.dataset_manager.bindings.CvatImportError: Image C00_012_0007_000000: can't import annotation #0 (bbox): annotation has no label. This is error log |
I am very willing to implement any necessary changes to facilitate your use of supervision in combination with CVAT. I just need to know if changing the |
No, the |
Okey! 🙏🏻 I just need to consider how this affects the |
Yes, thank you |
Search before asking
Description
I am currently utilizing the
as_coco
function from sv.DetectionDataset within the Supervision API extensively and find it incredibly useful. However, I've encountered an issue when importing these labels into CVAT label tool. It seems that CVAT accepts category_id starting from 1, whereas the as_coco output starts with category_id at 0. This discrepancy leads to import failures.Would it be possible to add a parameter to the as_coco function to adjust the starting index of category_id? This feature would greatly enhance compatibility with CVAT and streamline the workflow for users facing similar issues.
Thank you for considering this enhancement. I look forward to any updates you might have on this request.
Use case
No response
Additional
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: