code: def _get_config_module(fname):
      """Load a configuration as a python module."""
      config_dpath = _get_config_directory()
      config_fpath = join(config_dpath, fname)
      config_mod = Config.fromfile(config_fpath)
      return config_mod
  
imports: import copy
  from os.path import dirname, exists, join
  import numpy
  import torch
  from mmengine.config import Config
  from mmengine.dataset import pseudo_collate
  from mmengine.structures import InstanceData, PixelData
  from mmdet.utils.util_random import ensure_rng
  from ..registry import TASK_UTILS
  from ..structures import DetDataSample, TrackDataSample
  from ..structures.bbox import HorizontalBoxes
label_desc: Use image node_id 2 for calling a global function with example usage: _get_config_module(fname) and returns: config_mod