code: def convert_bboxes_from_albumentations(
      bboxes: Sequence[BoxType],
      target_format: str,
      rows: int,
      cols: int,
      check_validity: bool = False,
  ) -> List[BoxType]:
      """Convert a list of bounding boxes from the format used by albumentations to a format, specified
      in `target_format`.
  
      Args:
          bboxes: List of albumentation bounding box `(x_min, y_min, x_max, y_max)`.
          target_format: required format of the output bounding box. Should be 'coco', 'pascal_voc' or 'yolo'.
          rows: Image height.
          cols: Image width.
          check_validity: Check if all boxes are valid boxes.
  
      Returns:
          List of bounding boxes.
  
      """
      return [
          convert_bbox_from_albumentations(
              bbox, target_format, rows, cols, check_validity
          )
          for bbox in bboxes
      ]
  
imports: from __future__ import division
  from typing import Any, Dict, List, Optional, Sequence, Tuple, TypeVar, cast
  import numpy
  from .transforms_interface import BoxInternalType, BoxType
  from .utils import DataProcessor, Params
label_desc: Use image node_id 10 for calling a global function with example usage: convert_bboxes_from_albumentations(bboxes, target_format, rows, cols, check_validity) and returns: unknown