From 1919b0e34125a3e9a4287550b9d9a357fac50f96 Mon Sep 17 00:00:00 2001 From: kinaryml Date: Tue, 18 Apr 2023 02:54:03 -0700 Subject: [PATCH] Updated docstrings for get_labels --- mediapipe/tasks/python/vision/image_segmenter.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/mediapipe/tasks/python/vision/image_segmenter.py b/mediapipe/tasks/python/vision/image_segmenter.py index f70f1653..4f57b89d 100644 --- a/mediapipe/tasks/python/vision/image_segmenter.py +++ b/mediapipe/tasks/python/vision/image_segmenter.py @@ -258,17 +258,6 @@ class ImageSegmenter(base_vision_task_api.BaseVisionTaskApi): If there is no label map provided in the model file, empty label list is returned. - - Returns: - If the output_type is CATEGORY_MASK, the returned vector of images is - per-category segmented image mask. - If the output_type is CONFIDENCE_MASK, the returned vector of images - contains only one confidence image mask. A segmentation result object that - contains a list of segmentation masks as images. - - Raises: - ValueError: If any of the input arguments is invalid. - RuntimeError: If image segmentation failed to run. """ return self.labels