class_docstr: Load an image from file.
  
  Required keys are "img_prefix" and "img_info" (a dict that must contain the
  key "filename"). Added or updated keys are "filename", "img", "img_shape",
  "ori_shape" (same as `img_shape`), "pad_shape" (same as `img_shape`),
  "scale_factor" (1.0) and "img_norm_cfg" (means=0 and stds=1).
  
  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 'color'.
      file_client_args (dict): Arguments to instantiate a FileClient.
          See :class:`mmcv.fileio.FileClient` for details.
          Defaults to ``dict(backend='disk')``.
class_docstr_tok: ["Load","an","image","from","file",".","Required","keys","are","``","img_prefix","''","and","``","img_info","''","(","a","dict","that","must","contain","the","key","``","filename","''",")",".","Added","or","updated","keys","are","``","filename","''",",","``","img","''",",","``","img_shape","''",",","''","ori_shape","''","(","same","as","`","img_shape","`",")",",","``","pad_shape","''","(","same","as","`","img_shape","`",")",",","''","scale_factor","''","(","1.0",")","and","``","img_norm_cfg","''","(","means=0","and","stds=1",")",".","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","'color","'",".","file_client_args","(","dict",")",":","Arguments","to","instantiate","a","FileClient",".","See",":","class",":","`","mmcv.fileio.FileClient","`","for","details",".","Defaults","to","``","dict","(","backend='disk","'",")","``","."]
code: def __repr__(self):
      repr_str = (
          f"{self.__class__.__name__}("
          f"to_float32={self.to_float32}, "
          f"color_type='{self.color_type}', "
          f"file_client_args={self.file_client_args})"
      )
      return repr_str
  
imports: import os.path
  import mmcv
  import numpy
  import pycocotools.mask
  from mmdet.core import BitmapMasks, PolygonMasks
  from ..builder import PIPELINES
label_desc: Use image node_id 3 for calling the LoadImageFromFile obj's underlying member method code with example usage: obj.__repr__() and returns: repr_str