[BUG] Memory leak when using add_coco_labels
for instance segmentation with coco_id_field set
#4407
Open
1 of 3 tasks
Labels
bug
Bug fixes
Describe the problem
When trying to add COCO format instance segmentation prediction data to my dataset using
add_coco_labels
the program will begin rapidly using RAM until eventually it runs out of RAM and crashes. This only happens if I set thecoco_id_field
tococo_id
so that I can sync up my annotations with my samples properly. If I omit thecoco_id_field
and let the function run with the default behavior, my annotations get mismatched but the program does not eat nearly as much RAM and actually does finish running. This code also produces the same erroneous behavior if I provideadd_coco_labels
with a view containing only the test data split instead of the whole dataset.Code to reproduce issue
System information
fiftyone --version
): v0.23.8Willingness to contribute
The FiftyOne Community encourages bug fix contributions. Would you or another
member of your organization be willing to contribute a fix for this bug to the
FiftyOne codebase?
from the FiftyOne community
The text was updated successfully, but these errors were encountered: