code: def model(
      backbone: MMDetBackboneConfig,
      num_classes: int,
      checkpoints_path: Optional[Union[str, Path]] = "checkpoints",
      force_download=False,
      cfg_options=None,
  ) -> nn.Module:
      return build_model(
          model_type="one_stage_detector_mask",
          backbone=backbone,
          num_classes=num_classes,
          pretrained=backbone.pretrained,
          checkpoints_path=checkpoints_path,
          force_download=force_download,
          cfg_options=cfg_options,
      )
  
file_path: icevision/icevision/models/mmdet/common/mask/single_stage/model.py
imports: from turtle import back
  from icevision.imports import *
  from mmcv import Config
  from mmdet.models import build_detector
  from mmcv.runner import load_checkpoint
  from icevision.models.mmdet.utils import *
  from icevision.models.mmdet.common.utils import *
label_desc: Use image node_id 1 for calling a global function with example usage: model(backbone, num_classes, checkpoints_path, force_download, cfg_options) and returns: build_model