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
Issue Summary:
After completing a segmentation task (masks) using auto-labeling followed by manual review and corrections of more than 1000 images, I encountered an error when attempting to export the dataset in COCO format. The export to CVAT format works correctly, but exporting to COCO format fails with the following error: ValueError: could not broadcast input array from shape (220,264) into shape (219,264)
The steps I followed:
Perform auto-labeling for a segmentation task.
Manually revise and correct labels across ~1000 images.
Attempt to export the annotated dataset to COCO format.
4.Export to cvat and try to solve the issue manully
Expected Behavior
Successful export of the dataset to COCO format.
Possible Solution
To prevent this issue, it would be helpful if CVAT ensures that generated masks do not exceed the image dimensions either by clipping or resizing the mask accordingly before export.
Context
No response
Environment
The text was updated successfully, but these errors were encountered:
It, actually, ensures. You may try to draw a mask in UI and it will fit into image dimensions.
Do you have any data to reproduce the issue (e.g. task backup)?
Thank you for your response.
After further debugging, it appears that the issue was caused by the auto-labeling process(add1 pixel either to the right or bottom of the mask). The dataset contains over 35,000 annotations, and the problem occurred in 1,950 of them, all of which were auto-labeled. After removing these masks and re-annotating them using the SAM model, the issue was resolved.
At this point, we need to review the code we used for deploying the model with CVAT to ensure this doesn’t happen again.
Actions before raising this issue
Steps to Reproduce
Issue Summary:
After completing a segmentation task (masks) using auto-labeling followed by manual review and corrections of more than 1000 images, I encountered an error when attempting to export the dataset in COCO format. The export to CVAT format works correctly, but exporting to COCO format fails with the following error:
ValueError: could not broadcast input array from shape (220,264) into shape (219,264)
The steps I followed:
4.Export to cvat and try to solve the issue manully
Expected Behavior
Successful export of the dataset to COCO format.
Possible Solution
To prevent this issue, it would be helpful if CVAT ensures that generated masks do not exceed the image dimensions either by clipping or resizing the mask accordingly before export.
Context
No response
Environment
The text was updated successfully, but these errors were encountered: