From 5d2dedc3e35df48c41a84ee2d53878d6845712c6 Mon Sep 17 00:00:00 2001 From: Sashank Aryal Date: Thu, 14 Nov 2024 22:34:49 -0600 Subject: [PATCH] fix docstrings --- fiftyone/core/labels.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/fiftyone/core/labels.py b/fiftyone/core/labels.py index 139896533a..30def849fa 100644 --- a/fiftyone/core/labels.py +++ b/fiftyone/core/labels.py @@ -424,7 +424,7 @@ def has_mask(self): return self.mask is not None or self.mask_path is not None def get_mask(self): - """Returns the segmentation mask for this instance. + """Returns the detection mask for this instance. Returns: a numpy array, or ``None`` @@ -442,7 +442,6 @@ def import_mask(self, update=False): attribute. Args: - outpath: the path to write the map update (False): whether to clear this instance's :attr:`mask_path` attribute after importing """ @@ -1102,7 +1101,6 @@ def import_mask(self, update=False): attribute. Args: - outpath: the path to write the map update (False): whether to clear this instance's :attr:`mask_path` attribute after importing """