code: def get_model(cfg):
      """Returns a pre-defined model by name
  
      Returns
      -------
      The model.
      """
      name = cfg.CONFIG.MODEL.NAME.lower()
      if name not in _models:
          err_str = (
              '"%s" is not among the following model list:\n\t' % (name)
          )
          err_str += "%s" % ("\n\t".join(sorted(_models.keys())))
          raise ValueError(err_str)
      net = _models[name](cfg)
      return net
  
imports: from .action_recognition import *
  from .video_language.coot_model import MultiModalTransformer
  from .pose.directpose_resnet_fpn import *
label_desc: Use image node_id 1 for calling a global function with example usage: get_model(cfg) and returns: net