[BUG] Default mask targets are not used when creating new segmentation annotation tasks #4976
Open
1 of 3 tasks
Labels
bug
Bug fixes
Describe the problem
The documentation states that datasets can have
dataset.default_mask_targets
ordataset.mask_targets
here:https://docs.voxel51.com/user_guide/using_datasets.html#storing-mask-targets
When creating a new segmentation task with FiftyOne without specifying
mask_targets
, classes 0-255 appear on CVAT. I doubt this default behavior is intuitive for users and perhaps this should work like annotating classifications, where users must specifyclasses
or the annotation run crashes.dataset.take(2).annotate("masks8", label_field="asdf", label_type="segmentation")
Code to reproduce issue
System information
python --version
): 3.11.8fiftyone --version
): 0.25.1Other info/logs
The following diff seems to resolve the problem, but thought I'd open the issue first as this is more of a API/information flow change than a bug perhaps...
Willingness 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: