# transformers 5.24.1 (Apache-2.0), harvested by tools/harvest_corpus.py
=== input

    segmentation_maps (`ImageInput`, *optional*):
        Deprecated, pass directly as `segmentation_maps` to [`SamProcessor.__call__`] instead.
        Ground truth segmentation maps to process alongside the input images. These maps are used for training
        or evaluation purposes and are resized and normalized to match the processed image dimensions.
    input_points (`NestedList`, *optional*):
        Deprecated, pass directly as `input_points` to [`SamProcessor.__call__`] instead.
        Input points for prompt-based segmentation. Should be a nested list with structure
        `[image_level, object_level, point_level, [x, y]]` where each point is specified as `[x, y]` coordinates
        in the original image space. Points are normalized to the target image size before being passed to the model.
    input_labels (`NestedList`, *optional*):
        Deprecated, pass directly as `input_labels` to [`SamProcessor.__call__`] instead.
        Labels for the input points, indicating whether each point is a foreground (1) or background (0) point.
        Should be a nested list with structure `[image_level, object_level, point_level]`. Must have the same
        structure as `input_points` (excluding the coordinate dimension).
    input_boxes (`NestedList`, *optional*):
        Deprecated, pass directly as `input_boxes` to [`SamProcessor.__call__`] instead.
        Bounding boxes for prompt-based segmentation. Should be a nested list with structure
        `[image_level, box_level, [x1, y1, x2, y2]]` where each box is specified as `[x1, y1, x2, y2]` coordinates
        in the original image space. Boxes are normalized to the target image size before being passed to the model.
    point_pad_value (`int`, *optional*):
        Deprecated, use [`SamProcessorKwargs.point_pad_value`] instead.
        The value used for padding input points when batching sequences of different lengths. This value marks
        padded positions and is preserved during coordinate normalization to distinguish real points from padding.
    mask_size (`dict[str, int]`, *optional*):
        Dictionary specifying the target mask size with keys `"height"` and `"width"`. This determines the
        resolution of the output segmentation masks generated by the model.
    mask_pad_size (`dict[str, int]`, *optional*):
        Dictionary specifying the padding size for masks with keys `"height"` and `"width"`. This is used when
        batching masks of different sizes to ensure consistent dimensions.
    
=== parse google
short_description: 'segmentation_maps (`ImageInput`, *optional*):'
long_description: |
      Deprecated, pass directly as `segmentation_maps` to [`SamProcessor.__call__`] instead.
      Ground truth segmentation maps to process alongside the input images. These maps are used for training
      or evaluation purposes and are resized and normalized to match the processed image dimensions.
  input_points (`NestedList`, *optional*):
      Deprecated, pass directly as `input_points` to [`SamProcessor.__call__`] instead.
      Input points for prompt-based segmentation. Should be a nested list with structure
      `[image_level, object_level, point_level, [x, y]]` where each point is specified as `[x, y]` coordinates
      in the original image space. Points are normalized to the target image size before being passed to the model.
  input_labels (`NestedList`, *optional*):
      Deprecated, pass directly as `input_labels` to [`SamProcessor.__call__`] instead.
      Labels for the input points, indicating whether each point is a foreground (1) or background (0) point.
      Should be a nested list with structure `[image_level, object_level, point_level]`. Must have the same
      structure as `input_points` (excluding the coordinate dimension).
  input_boxes (`NestedList`, *optional*):
      Deprecated, pass directly as `input_boxes` to [`SamProcessor.__call__`] instead.
      Bounding boxes for prompt-based segmentation. Should be a nested list with structure
      `[image_level, box_level, [x1, y1, x2, y2]]` where each box is specified as `[x1, y1, x2, y2]` coordinates
      in the original image space. Boxes are normalized to the target image size before being passed to the model.
  point_pad_value (`int`, *optional*):
      Deprecated, use [`SamProcessorKwargs.point_pad_value`] instead.
      The value used for padding input points when batching sequences of different lengths. This value marks
      padded positions and is preserved during coordinate normalization to distinguish real points from padding.
  mask_size (`dict[str, int]`, *optional*):
      Dictionary specifying the target mask size with keys `"height"` and `"width"`. This determines the
      resolution of the output segmentation masks generated by the model.
  mask_pad_size (`dict[str, int]`, *optional*):
      Dictionary specifying the padding size for masks with keys `"height"` and `"width"`. This is used when
      batching masks of different sizes to ensure consistent dimensions.
blank_after_short_description: False
blank_after_long_description: False
style: google
=== detect
rest
=== compose google
segmentation_maps (`ImageInput`, *optional*):
    Deprecated, pass directly as `segmentation_maps` to [`SamProcessor.__call__`] instead.
    Ground truth segmentation maps to process alongside the input images. These maps are used for training
    or evaluation purposes and are resized and normalized to match the processed image dimensions.
input_points (`NestedList`, *optional*):
    Deprecated, pass directly as `input_points` to [`SamProcessor.__call__`] instead.
    Input points for prompt-based segmentation. Should be a nested list with structure
    `[image_level, object_level, point_level, [x, y]]` where each point is specified as `[x, y]` coordinates
    in the original image space. Points are normalized to the target image size before being passed to the model.
input_labels (`NestedList`, *optional*):
    Deprecated, pass directly as `input_labels` to [`SamProcessor.__call__`] instead.
    Labels for the input points, indicating whether each point is a foreground (1) or background (0) point.
    Should be a nested list with structure `[image_level, object_level, point_level]`. Must have the same
    structure as `input_points` (excluding the coordinate dimension).
input_boxes (`NestedList`, *optional*):
    Deprecated, pass directly as `input_boxes` to [`SamProcessor.__call__`] instead.
    Bounding boxes for prompt-based segmentation. Should be a nested list with structure
    `[image_level, box_level, [x1, y1, x2, y2]]` where each box is specified as `[x1, y1, x2, y2]` coordinates
    in the original image space. Boxes are normalized to the target image size before being passed to the model.
point_pad_value (`int`, *optional*):
    Deprecated, use [`SamProcessorKwargs.point_pad_value`] instead.
    The value used for padding input points when batching sequences of different lengths. This value marks
    padded positions and is preserved during coordinate normalization to distinguish real points from padding.
mask_size (`dict[str, int]`, *optional*):
    Dictionary specifying the target mask size with keys `"height"` and `"width"`. This determines the
    resolution of the output segmentation masks generated by the model.
mask_pad_size (`dict[str, int]`, *optional*):
    Dictionary specifying the padding size for masks with keys `"height"` and `"width"`. This is used when
    batching masks of different sizes to ensure consistent dimensions.
