code: def _get_mmlab_installation_guide(package_name):
      if package_name == "mmdet":
          err_msg = 'Please install MMDetection by: pip install "mmdet==3.2.0".'
      elif package_name == "mmcv":
          err_msg = 'Please install MMCV by: mim install "mmcv==2.1.0"'
      elif package_name == "mmengine":
          err_msg = (
              'Please install MMEngine by: mim install "mmengine<0.8"'
          )
      else:
          raise ValueError(
              "Available package_name are: mmdet, mmcv, mmengine."
          )
  
      return err_msg
  
imports: import contextlib
  import logging
  import math
  import sys
  import warnings
  from typing import Dict, List, Optional, Tuple, Union
  import torch
  from lightning.pytorch.accelerators import find_usable_cuda_devices
  from torch import nn
  from autogluon.common.utils.resource_utils import ResourceManager
  from ..constants import DDP_STRATEGIES, OBJECT_DETECTION, OCR
label_desc: Use image node_id 12 for calling a global function with example usage: _get_mmlab_installation_guide(package_name) and returns: err_msg