class_docstr: Support MMDET object detection models.
  Refer to https://github.com/open-mmlab/mmdetection
code: def _load_config(self):
      # read config files
      if isinstance(self.config_file, str):
          self.config = mmengine.Config.fromfile(self.config_file)
      else:
          if not isinstance(self.config_file, dict):
              raise ValueError(
                  f"The variable config_file has type {type(self.config_file)}."
                  f"Detection Model's config_file should either be a str of file path, or a dict as config."
              )
  
imports: import logging
  import os
  import time
  import warnings
  from typing import Optional
  import torch
  from torch import nn
  from ..constants import BBOX, BBOX_FORMATS, COLUMN, IMAGE, IMAGE_VALID_NUM, LABEL, XYXY
  from .utils import freeze_model_layers, lookup_mmdet_config, update_mmdet_config
label_desc: Use image node_id 10 for calling the MMDetAutoModelForObjectDetection obj's underlying member method code with example usage: obj._load_config() without return types