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

COCO export performance can be improved #93

Open
zhiltsov-max opened this issue Mar 6, 2025 · 0 comments
Open

COCO export performance can be improved #93

zhiltsov-max opened this issue Mar 6, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@zhiltsov-max
Copy link
Collaborator

Currently, we convert all the values in COCO exporter (convert_instance() etc.) info primitives for builtin json library compatibility. However, we rely on orjson, for dumping, and it natively supports numpy and some other value types. It looks like these conversions could be optimized or at least reviewed, as they can take a significant portion of export time, especially for masks and polygons with big number of points.

@zhiltsov-max zhiltsov-max changed the title Bad COCO export performance in streaming mode Bad COCO export performance Mar 6, 2025
@zhiltsov-max zhiltsov-max changed the title Bad COCO export performance COCO export performance can be improved Mar 6, 2025
@zhiltsov-max zhiltsov-max added the enhancement New feature or request label Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants