class_docstr: Load multi-channel images from a list of separate channel files.
  
  Required Keys:
  
  - img_path
  
  Modified Keys:
  
  - img
  - img_shape
  - ori_shape
  
  Args:
      to_float32 (bool): Whether to convert the loaded image to a float32
          numpy array. If set to False, the loaded image is an uint8 array.
          Defaults to False.
      color_type (str): The flag argument for :func:``mmcv.imfrombytes``.
          Defaults to 'unchanged'.
      imdecode_backend (str): The image decoding backend type. The backend
          argument for :func:``mmcv.imfrombytes``.
          See :func:``mmcv.imfrombytes`` for details.
          Defaults to 'cv2'.
      file_client_args (dict): Arguments to instantiate the
          corresponding backend in mmdet <= 3.0.0rc6. Defaults to None.
      backend_args (dict, optional): Arguments to instantiate the
          corresponding backend in mmdet >= 3.0.0rc7. Defaults to None.
class_docstr_tok: ["Load","multi-channel","images","from","a","list","of","separate","channel","files",".","Required","Keys",":","-","img_path","Modified","Keys",":","-","img","-","img_shape","-","ori_shape","Args",":","to_float32","(","bool",")",":","Whether","to","convert","the","loaded","image","to","a","float32","numpy","array",".","If","set","to","False",",","the","loaded","image","is","an","uint8","array",".","Defaults","to","False",".","color_type","(","str",")",":","The","flag","argument","for",":","func",":","``","mmcv.imfrombytes","``",".","Defaults","to","'unchanged","'",".","imdecode_backend","(","str",")",":","The","image","decoding","backend","type",".","The","backend","argument","for",":","func",":","``","mmcv.imfrombytes","``",".","See",":","func",":","``","mmcv.imfrombytes","``","for","details",".","Defaults","to","'cv2","'",".","file_client_args","(","dict",")",":","Arguments","to","instantiate","the","corresponding","backend","in","mmdet","<","=","3.0.0rc6",".","Defaults","to","None",".","backend_args","(","dict",",","optional",")",":","Arguments","to","instantiate","the","corresponding","backend","in","mmdet",">","=","3.0.0rc7",".","Defaults","to","None","."]
code: def __init__(
      self,
      to_float32: bool = False,
      color_type: str = "unchanged",
      imdecode_backend: str = "cv2",
      file_client_args: dict = None,
      backend_args: dict = None,
  ) -> None:
      self.to_float32 = to_float32
      self.color_type = color_type
      self.imdecode_backend = imdecode_backend
      self.backend_args = backend_args
      if file_client_args is not None:
          raise RuntimeError(
              "The `file_client_args` is deprecated, "
              "please use `backend_args` instead, please refer to"
              "https://github.com/open-mmlab/mmdetection/blob/main/configs/_base_/datasets/coco_detection.py"  # noqa: E501
          )
  
imports: from typing import Optional, Tuple, Union
  import mmcv
  import numpy
  import pycocotools.mask
  import torch
  from mmcv.transforms import BaseTransform
  from mmcv.transforms import LoadAnnotations
  from mmcv.transforms import LoadImageFromFile
  from mmengine.fileio import get
  from mmengine.structures import BaseDataElement
  from mmdet.registry import TRANSFORMS
  from mmdet.structures.bbox import get_box_type
  from mmdet.structures.bbox.box_type import autocast_box_type
  from mmdet.structures.mask import BitmapMasks, PolygonMasks
label_desc: Use image node_id 1 to create a new LoadMultiChannelImageFromFiles object from inherited base classes: BaseTransform with example: obj = LoadMultiChannelImageFromFiles(to_float32, color_type, imdecode_backend, file_client_args, backend_args)