docstr: Detection model is initialized and set to self.model.
docstr_tok: ["Detection","model","is","initialized","and","set","to","self.model","."]
code: def load_model(self):
      """
      Detection model is initialized and set to self.model.
      """
  
      # create model
      model = DetInferencerWrapper(
          self.config_path,
          self.model_path,
          device=self.device,
          scope=self.scope,
          image_size=self.image_size,
      )
  
      self.set_model(model)
  
file_path: sahi/sahi/models/mmdet.py
imports: import logging
  from typing import Any, Dict, List, Optional, Union
  import numpy
  from sahi.models.base import DetectionModel
  from sahi.prediction import ObjectPrediction
  from sahi.utils.compatibility import fix_full_shape_list, fix_shift_amount_list
  from sahi.utils.cv import get_bbox_from_bool_mask
  from sahi.utils.import_utils import check_requirements
label_desc: Use image node_id 3 for calling the MmdetDetectionModel obj's underlying member method code with example usage: obj.load_model() without return types