code: def create_model(
      model_name: str = None,
      pretrained: bool = False,
      checkpoint_path: str = None,
      device: str = None,
      **kwargs,
  ):
      configs = get_configs(model_name)
      configs.update(**kwargs)
  
      model = towhee_model(
          RepLKNet,
          configs=configs,
          pretrained=pretrained,
          checkpoint_path=checkpoint_path,
          device=device,
      )
      return model
  
file_path: towhee/towhee/models/replknet/replknet.py
imports: import torch
  from torch import nn
  from towhee.models.utils import create_model
  from towhee.models.replknet import RepLKNetStage, fuse_bn, conv_bn_relu, get_configs
label_desc: Use image node_id 1 for calling a global function with example usage: create_model(model_name, pretrained, checkpoint_path, device) and returns: model