You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
zhiltsov-max
changed the title
Bad COCO export performance in streaming mode
Bad COCO export performance
Mar 6, 2025
zhiltsov-max
changed the title
Bad COCO export performance
COCO export performance can be improved
Mar 6, 2025
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.The text was updated successfully, but these errors were encountered: